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?
Panel subgraph colourI cannot change the colour of the titles of subgraphs in my panel data graph. I have created a MWE f…
Marginal effects for count data models from interval data: intcountHi, I am using intcount to estimate a count data model with interval data, i. e. the dependent vari…
xtreg with fe - cluster by time (nesting error)Hi, I have a balanced panel with a firmid variable and a time variable. I want to run a regression …
Factor AnalysisHow do I extract a communalities table (refer to picture-1), in stata when I perform factor analysis…
Eaalogit: Attribute non-attendance within classesHello Statalist, I am trying to control for attribute non-attendance in a choice experiment. The ch…
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