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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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