Programming the statistical procedures from SAS

output my HCC p-values

New Contributor
Posts: 4

output my HCC p-values

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.

Respected Advisor
Posts: 2,655

Re: output my HCC p-values

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

New Contributor
Posts: 4

Re: output my HCC p-values

Posted in reply to SteveDenham

Thank you Steve

Ask a Question
Discussion stats
  • 2 replies
  • 2 in conversation