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?
Combining survey questionsDear all I have executed a survey for my master thesis, and now I need to combine the variables reg…
keyboard shortcut for cycling through tabs in the do-file editorHi there When using the keyboard shortcut (ctrl+tab) in the do-file editor to cycle through tabs, S…
(PPMLhdfe) Question about the feasibility of the resultsHello everybody, I am a completely new user of STATA. I want to estimate the effects of pandemic pr…
how to organize the output of table with the desending order of frequency rather than the contents of the variable? Code: * Example generated by -dataex-. For more info, type help dataex clear input str32 Country "B…
Putting a value's label on ExcelI have a variable with different values and I want each of those values in a different row of an exc…
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