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
Super User

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
Super User

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
Super User

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 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

Register now!

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

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

View all other training opportunities.

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