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: Call for Content

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!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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