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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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