# Questions tagged [neweywest]

A type of the coefficient variance-covariance matrix estimator used to compute robust standard errors in time series context. Please consider using the more general *robust-standard-error* tag instead of this.

37 questions
1answer
31 views

### Is the optimal lag length for the Hansen and Hodrick and Newey West robust standard errors the same?

Is the optimal lag length for the Hansen and Hodrick and Newey West robust standard errors the same? I have read in Greene that the optimal is $T^{1/4}$ for Newey-West, is this the same for Hansen ...
0answers
38 views

### How to determine the bandwidth parameter? Newey-West

How to determine the bandwidth parameter? Following from the below paragraph is it easy to understand how Newey and West determine the bandwidth? "The heteroskedasticity consistent estimator (HCE) ...
0answers
132 views

### R - Testing for Granger causality when OLS assumption are violated

I am using the vars package to estimate a VAR-model. Since it seems, that the residuals of my model are neither homoscedastic or uncorrelated I computed Newey West ...
0answers
158 views

### Error trying to calculate Newey West Standard Errors for a VAR-model in R

I estimated a VAR-model in R using the vars package and want to estimate Newey West Standard Errors using the sandwich package <...
0answers
24 views

### NeweyWest correct - am I doing this right?

So I have a glm (Gaussian link function) in which year and sex are predictors, and income is the dependent variable. ...
0answers
1k views

2answers
7k views

### Newey-West t-statistics

I have a time-series which is autocorrelated by construction, and might be heteroscedastic. I have calculated the sample mean of this time-series, and would like to calculate the t-statistic ...
1answer
2k views

### Newey-West standard errors with cross-sectional OLS?

Consider the cross sectional: $Y_i = a + b X_i + e_i$ where I have reason to believe that $E[e_j e_k] \not= 0$ for a concerning number of $j\not= k$. What happens if I use a serial correlation ...
1answer
2k views

### Get the R2 from GMM Newey-West in SAS

I'm running a simple cross-sectional regression where I first run regressions for every year of observations and then I'm running this code to get the Newey-West corrected standard errors: ...
1answer
6k views

### vcovHC, vcovHAC, NeweyWest – which function to use?

I am trying to update my lm() based model to get correct standard errors and tests. I am really confused which VC matrix to use. The sandwich package offers ...
1answer
5k views

### How do joint test, r-squared behave when using autocorrelation / heteroskedasticity robust std. errors?

Recently we discussed on SO how to update a standard linear regression summary with NeweyWest standard errors. I used coeftestfrom the ...