Dear all
I am running several models in PROC PANEL (9.4) and would like the results gathered in a table without needing to read all of the result viewer. The parameter values do appear on the outest-file, but I have found no keyword to make the standar deviations appear as well. For sake of comparison, in PROC REG, the option OUTSEB does precisely what I need, but is unknown in PROC PANEL.
My code is as follows with &d being a local macro variable and &n_prod a global one:
proc panel data = panel0_&d outest = est_pnl0&d;
id idbruk rt;
psqt&d: model psqt = t_panel y_midl1-y_midl&n_prod / rantwo vcomp = nl;
aav&d: model aav = t_panel y_midl1-y_midl&n_prod / rantwo vcomp = nl;
run;
best
Øyvind
Use the COVOUT option in your PROC PANEL Statement.
As the documentation says, it:
"writes the standard errors and covariance matrix of the parameter estimates to the OUTEST= data set."
Use the COVOUT option in your PROC PANEL Statement.
As the documentation says, it:
"writes the standard errors and covariance matrix of the parameter estimates to the OUTEST= data set."
No problem, glad you found your answer 🙂
April 27 – 30 | Gaylord Texan | Grapevine, Texas
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!
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.