ods graphics on;
proc transreg data = edaniat.development_sample plots=all;
model identity(r_util_v2) = mspline(CVPRAGG905/nknots=10);
output tip=t;
run;
ods graphics off;
Thanks!
-Shelly
ods graphics on;
proc transreg data = edaniat.development_sample plots=all;
model identity(r_util_v2) = mspline(CVPRAGG905/nknots=10);
output tip=t;
run;
ods graphics off;
Thanks!
-Shelly
In general, when you want to capture output in a SAS dataset for further processing, check ODS Table Names for the procedure:
If what you want is listed there (which DETAILS is), you can use ODS OUTPUT; see
ODS OUTPUT: Store any statistic created by any SAS procedure
Add the DETAIL option to the MODEL statement.
Thanks for helping me, @sld. After I added detail option, the knots are displayed. However, I need to save the knots in a dataset for further processing.Do you know how to do it?
In general, when you want to capture output in a SAS dataset for further processing, check ODS Table Names for the procedure:
If what you want is listed there (which DETAILS is), you can use ODS OUTPUT; see
ODS OUTPUT: Store any statistic created by any SAS procedure
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.