I'm trying to incorporate a fixed effects-analysis into a SEM framework using xtdpdml.
A simplified extract of my code is:
However, I receive error codes such as "T value is too small given the lags specified. For example if xlag = 2 then T must equal at least 4"
Adding the ylag(0) option does not change this.
I found other users mentioning that xtdpdml might not work for datasets with T = 2, see:
https://www.statalist.org/forums/for...e-is-too-small
https://www.statalist.org/forums/for...on-models-2009
Is that correct, or is there a way to incorporate a fixed effects-analysis with T = 2 into a SEM framework?
A simplified extract of my code is:
Code:
xtset id year xtdpdml score partic, tfix
Adding the ylag(0) option does not change this.
I found other users mentioning that xtdpdml might not work for datasets with T = 2, see:
https://www.statalist.org/forums/for...e-is-too-small
https://www.statalist.org/forums/for...on-models-2009
Is that correct, or is there a way to incorporate a fixed effects-analysis with T = 2 into a SEM framework?
Comment