What do I need to do to see the HAC p-values/t-values to this regression?
proc autoreg data = model_input_6;
model depvariable= indpevariable;
run;
Thanks,
Umair
Hi Umair,
To obtain HAC standard errors, t-values and p-values associated with the parameter estimates, you can add the COVEST=HAC option to the MODEL statement in your PROC AUTOREG step. For example:
model y = x / covest=hac;
Additional kernel and bandwidth options can be specified in parentheses after the COVEST=HAC option. For details, please see the documentation on the COVEST= option available at the following link:
More details are available in the "Heteroscedasticity-and Autocorrelation-Consistent Covariance Matrix Estimator" section of the PROC AUTOREG documentation at the following link:
I hope this helps!
DW
Hi Umair,
To obtain HAC standard errors, t-values and p-values associated with the parameter estimates, you can add the COVEST=HAC option to the MODEL statement in your PROC AUTOREG step. For example:
model y = x / covest=hac;
Additional kernel and bandwidth options can be specified in parentheses after the COVEST=HAC option. For details, please see the documentation on the COVEST= option available at the following link:
More details are available in the "Heteroscedasticity-and Autocorrelation-Consistent Covariance Matrix Estimator" section of the PROC AUTOREG documentation at the following link:
I hope this helps!
DW
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.
Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.
Find more tutorials on the SAS Users YouTube channel.