Dear Statalists,
To control for endogeneity, can I use the Lag for the Discrete hazard proportional odd. For instance,
At first, setting the data as a panel:
xtset ID TIME
Then writing the following code:
logit Dep l.X1 l.X2 l.X3 l.X4 l.X5 e2 e3, nolog cluster (COMPID).
Thanks in advance.
Related Posts with Lag for Survival Analysis (Discrete hazard proportional odd)
Extracting Year From DateHi, I have looked through older discussions and applied suggestions but my code returns an empty var…
DOS windows how to remove itDear all, My question will be quite simple I think but I just need to know if my wish could be real…
Measuring Spells - two special cases in panel dataHi Statalist. I have code to identify and measure the length of a spell - the spell relates to coup…
Variable types for regressionsCan anybody let me know what are the variable types on which a regression can run? …
GEE: results significant only with independent and exchangeable correlation structureHello there! I am trying to fit a GEE Poisson model on a panel dataset consisting of T=360 and N=30…
Subscribe to:
Post Comments (Atom)
0 Response to Lag for Survival Analysis (Discrete hazard proportional odd)
Post a Comment