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
bootstrap likelihood ratio OR Lo-Mendell-Rubin adjusted likelihood ratio testDear Statalisters, Please I am looking for your help to obtain the syntax in order to calculate boo…
how to export stata result to excel using table and tabstat command Sex usual_residence registered_place income_1 income_2 Male New York Washington Dc 2000 2112 …
Negative independent valuesHello, For my research I am currently investigating the effect of financial ratios on the initial r…
Replacing missing values with the mean by group via a loopHello, I have a large dataset of 59,000,000 observations. There are a 50 variables each beginning …
Using rsens for sensitivity analysis after PSM Hi everyone, Just looking for some help carrying out a sensitivity analysis after psm. After carry…
Subscribe to:
Post Comments (Atom)
0 Response to Problem with xtserial
Post a Comment