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-
META ANALYSIS - meta regression -Prevalence studyHi to everybody. I've to do a metaregression analysis of Prevalence study. The aim of the study is: …
year dummies multicollinearityIn my fixed effects regression of about 30 panels in 30 years when i include year dummies by using -…
reshape for matchingI need an urgent help pleeeeease. I am going to do matching comparison between intervened group ( in…
Create same variable across groups in panel dataHello Statalists, Hope you can advise on this. Lets say I have data N=20 and T=100, and I want to …
When can I use "xtset id" in response to "repeated time values within panel"?Hi there, I currently have data for a large pool of individuals across four years (2015/16/17/18). …
Subscribe to:
Post Comments (Atom)
0 Response to Fitting dynamic random-effects probit model - xtdyn-
Post a Comment