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

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