correct | R Documentation |
function corrects the standard errors based on options of prewhitening using a AR(1) process estimation of error terms to obtain HAC errors/
correct(reg, res, prewhit)
reg |
matrix of regressors |
res |
residuals |
prewhit |
Option of using prewhitening process. If |
hac Heteroskedasticy and autocorrelation consistent errors
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.