BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
oyho
Calcite | Level 5

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

1 ACCEPTED SOLUTION

Accepted Solutions
PeterClemmensen
Tourmaline | Level 20

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."

 

View solution in original post

3 REPLIES 3
PeterClemmensen
Tourmaline | Level 20

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."

 

oyho
Calcite | Level 5
Thanks.


Actually, I did not doubt that it was documented somewhere, I was only unable to find it.


best

oyho
PeterClemmensen
Tourmaline | Level 20

No problem, glad you found your answer 🙂

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
  • 3 replies
  • 1274 views
  • 0 likes
  • 2 in conversation