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

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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
  • 1376 views
  • 0 likes
  • 2 in conversation