Programming the statistical procedures from SAS

SYSLIN Procedure

Reply
Contributor
Posts: 52

SYSLIN Procedure

I have a system of equation like the below:

Y_c = a_c + b*X_c

where c is an index with 10,000 scenarios.

When I code the system of equations, how can I add the index on without writing the 10,000 equations individually?

Thank you.

Grand Advisor
Posts: 10,075

Re: SYSLIN Procedure

If C is a variable in your data set to identify the scenario then 1) sort the data by C

and 2) use

By C;

statement to create output for each level of C.

Ask a Question
Discussion stats
  • 1 reply
  • 170 views
  • 0 likes
  • 2 in conversation