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
Creating a treatment and control variable and making a Twoway Line Plot of Parallel TrendsHi all, I have run into a bit of an issue. I am attempting to make a parallel trend twoway line plo…
Cointegration between predictor vaiablesI am estimating a logit model. Several of the predictors are time series. Rather than differencing t…
Collapse vs dropI am trying to collapse this data of all treatment lines to include only the first treatments for th…
Interactions with dummiesDear all, In the following interaction, how can I specify if female==1 (for women)? I want to look …
Finding lags in panel dataDear members, I would like to know if there is a Stata program to help me find the most appropriate…
Subscribe to:
Post Comments (Atom)
0 Response to Problem with xtserial
Post a Comment