Hello to everyone in this forum,
I wonder if there is a way to add Driscoll-Kraay standard errors to perform rolling regressions using fixed effects in Stata?
I know you can use Newey and robust errors with this code, but is there a way to add Driscoll-Kraay standard errors?
clear all
set more off
webuse grunfeld,clear
xtset company year
tab company, gen(company_)
asreg invest mvalue kstock company_*, wind(year -7 0) robust
//or
asreg invest mvalue kstock company_*, wind(year -7 0) newey(2)
Thank you very much for your help!
Related Posts with Is there a way to use panel data rolling regressions with driscoll-Kraay standard errors?
How to do k-fold cross-validation on bayesian model?Hello, I wirte a bayesian model, and I want to do cross-validation on the model. More specifically, …
Random sorting before 1:1 matching?Dear all, This is a question (more) related to the concept of propensity score matching (PSM). The f…
How to run a 2SLS model with a weak instrumentF-statistic is below Stock and Yogo's critical values. However, R squared and Shea's partial R squar…
Testing the model goodness of fit for mixed effect logistic regression modelHae, have developed a mixed effect logistic regression model but could not test its goodness of fit.…
Vector Autoregression in Stata When the Dependent Variable is Binary Logit ModelDear Stata Users: I am interested in estimating impulse response function in stata (VAR). Basically …
Subscribe to:
Post Comments (Atom)
0 Response to Is there a way to use panel data rolling regressions with driscoll-Kraay standard errors?
Post a Comment