Hi everyone,
I am trying to analyse how the variable "score" varies over time. I have used the following regression:
xtset country_num year
xtreg score second_period third_period, fe vce(robust)
where second_period and third_period are dummy variables capturing two different periods in my time span.
If I'm not mistaken, specifying the option vce(robust) means the model employs Arellano’s estimator, which corrects for both heteroskedasticity and within-group serial correlation. I also conducted a test for heteroskedasticity through the xttest3 command and rejected homoskedasticity.
I would now like to test if the dummy for the second period is statistically different from the dummy for the third period. I think I should use the following code: test second_period = third_period. However, to perform a t-test I need homoskedasticity.
How can I test if the two dummies are different in the presence of heteroskedasticity and serial correlation?
Thanks in advance!
Related Posts with t-tests under heteroskedasticity
Subtracting constant in panelHello, I am having a panel model where it says that : ΔY= (1-a) + b1yI,t-1 + b2ytI,-1 + Zi,t …
Counting observations in one column based on another columnI have a dataset concerning music that has one column which contains the number of plays the song ha…
how to turn household level data into individual level dataHi everyone, I have a household level data where parents give information on themselves and their c…
encode foreach errorI am trying to encode multiple variables and replace remaining strings with a numeric character - ho…
finding rho from xtsurHi, I am running the following model on Stata15: Code: xtsur (unableheat nomeal temp_shock $rhs $…
Subscribe to:
Post Comments (Atom)
0 Response to t-tests under heteroskedasticity
Post a Comment