Programming the statistical procedures from SAS

Proc model outputting RSQAURE etc

Reply
N/A
Posts: 0

Proc model outputting RSQAURE etc

Hi everyone,

I am using proc model to estimate a regression model with positive parameters summing to one, like in the Sample 25021.

My equations:
proc model data=data1;
bounds b1>=0, b2>=0, b3>=0, b4>=0, b5>=0;
restrict b1+b2+b3+b4+b5=1;
ex_mth = a + b1*A + b2*B + b3*C + b4*D + b5*E;
fit ex_mth / outest=pardata; by ID;

Does anyone know how to output the R-sqr, adj R-sqr and the t-value in a dataset? I can only output the parameters with OUTEST.
Thanks so much!!
Super Contributor
Posts: 281

Re: Proc model outputting RSQAURE etc

Use the ODS OUTPUT command to place any output into a SAS data set.

To find out the names of the output tables, you can look in the SAS docs for PROC MODEL.
N/A
Posts: 0

Re: Proc model outputting RSQAURE etc

Thanks!!
Ask a Question
Discussion stats
  • 2 replies
  • 68 views
  • 0 likes
  • 2 in conversation