BookmarkSubscribeRSS Feed
nabilwm
Calcite | Level 5

I am using proc reg for my regression. I am obtaining my Heteroskedasticity Consistent p-value by specifying HCC in the option.

I am exporting my parameters estimates into a SAS table by using "outest". However, the "outset" provide the p-values and not the HCC p-values.

How can I add my HCC p-value to the output table created using the "outset"?

Thank you.

2 REPLIES 2
SteveDenham
Jade | Level 19

Try this:

Place ods trace on; before your PROC REG code, and ods trace off; after.  Then check the log for the tables generated in the output.  Once you can match up the table to the table name, you could use ods output to get the values in a dataset.  Finally, you could then merge the values with the dataset created with OUTSET.

Steve Denham

nabilwm
Calcite | Level 5

Thank you Steve

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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