Hi everyone,
I am running a fixed-effects model with robust standard errors and I'd like to test for within-group serial correlation. The relevant code is the following:
xtset country_num year
xtreg score second_period third_period, fe vce(robust)
I read that I should use xtserial for the test, but when I try to run the following code: xtserial score, I get the error message "no observations". I don't know why I get it and how I could avoid it.
Sorry if this sounds trivial and thanks in advance!
Related Posts with Problem with xtserial
Encoding strings stored as negative numbersHello I noticed something which puzzled me when trying to convert a variable stored partly as negat…
Rolling average using a variable as weight with tssmooth or otherI would like to calculate the rolling average of the estimated beta coefficient via statsby (say "_b…
Bug in "tsegen"There is a bug in "tsegen" when the number of lags increase above 100. Is there any way to fix it? …
xi works with ml program but fv does notMy ML program works well with manually generated dummy variables and it works well with xi: too. So …
test posting results Code: Cohort | Freq. Percent Cum. ------------+---------------------------------…
Subscribe to:
Post Comments (Atom)
0 Response to Problem with xtserial
Post a Comment