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
Would constant annual variables across firms in a year be fully absorbed by the year dummy?Hi all, I am running the following regression using reghdfe written by @Sergio Correia: reghdfe f.D…
ElasticitiesHello, I would like to estimate the exports elasticity and the imports elasticity of some countries…
bysort queryHello, I am trying to use bys to generate sequential and total number of Lines of treatments by pati…
Storing the value of a variable from one observation in a local macro or scalarDear Statalist, I'm using Stata 16.0 trying to store a variable value from one observation in a loc…
Estimate GARCH-DCC with asymmetriesHas anyone had experience estimating GARCH-DCC models with asymmetries (GJR for example)? Can this b…
Subscribe to:
Post Comments (Atom)
0 Response to Problem with xtserial
Post a Comment