BookmarkSubscribeRSS Feed
deleted_user
Not applicable
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!!
2 REPLIES 2
Paige
Quartz | Level 8
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.
deleted_user
Not applicable
Thanks!!

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1400 views
  • 0 likes
  • 2 in conversation