Hi all,
I have some questions regardings the dynamic random-effects probit model, especially with the command -xtdyn-
So my panel data has information on 2001, 2003, 2005, 2007, 2009, 2011 and 2013. When I try -xtdyn-, it returns the error saying "no observations r(2000)". I thought the reason for that error is that the years are not consecutive.
So to test my thought, I re-defined the year variable to make it consecutive. So instead of 2001, 2003, 2005, 2007, 2009, 2011 and 2013, it is now 2001, 2002, 2003, 2004, 2005, 2006 and 2007. And the command works.
I suspect that redefining the year variable is going to create some problems, but I am not so sure. Is there going to be any problem if I do that? If so, could you please let me know what the problem will be?
The dynamic random-effects probit model uses the lagged and initial value of the dependent variable and initial values and within-unit averages of the time-varying explanatory variables. Can I construct those variables manually and use -xtprobit-? Would they be equivalent?
Thank you for your help.
Related Posts with Fitting dynamic random-effects probit model - xtdyn-
How can I test the meditation effect for count models (i.e. poisson, negative binomial)Dear statisticians, I want to test whether a variable M plays a mediating role in the effect of X o…
Interactions with geographic variables to avoid loosing observations in a comparative analysisHi! I'm analyzing the association of different economic variables with the subjective well-being of…
coefplot displacing CI barsHello, I'm using the coefplot command to plot the association between a given covariate and a numbe…
Coding variables with options "Yes" "No" and "Other"Hello all, I have what I believe should be a pretty simple problem but I'm getting tripped up, most…
Help with pcspike to display a paired plot with namesI am using Nick Cox's example code to produce a 'paired plot with names' as in Dr. Cox's "Speaking S…
Subscribe to:
Post Comments (Atom)
0 Response to Fitting dynamic random-effects probit model - xtdyn-
Post a Comment