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

i am running a simulation and want to save the white standard errors by sample. Is there an outest option for that?

 

proc reg data=appx8_e outest=robols_est outseb;
hc1:model y = x2 x3/hcc hccmethod=1;
by sample;
run;

 

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
PeterClemmensen
Tourmaline | Level 20

Ok. If you want the names of the output 'blocks' that PROC REG produces, simply put 

 

ods trace on;

before your code, and read the name of the relevant output in the log. Then use that name in the ODS OUTPUT Statement to get the underlying data. 

 

Hope this helps. Otherwise, feel free to ask further 🙂

View solution in original post

3 REPLIES 3
PeterClemmensen
Tourmaline | Level 20

Hi and welcome to the SAS Communities. I don't think there is an outest option to do that. However, you can fetch any underlying data from your procedure output with an ODS OUTPUT Statement.

chill4lsu
Calcite | Level 5
Thank you. I will try that. My objective is to further process in SAS the output from 1000 samples. Data management is not one of my skills 😞


PeterClemmensen
Tourmaline | Level 20

Ok. If you want the names of the output 'blocks' that PROC REG produces, simply put 

 

ods trace on;

before your code, and read the name of the relevant output in the log. Then use that name in the ODS OUTPUT Statement to get the underlying data. 

 

Hope this helps. Otherwise, feel free to ask further 🙂

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 790 views
  • 0 likes
  • 2 in conversation