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)
Encoding strings stored as negative numbersHello I noticed something which puzzled me when trying to convert a variable stored partly as negat…
test posting results Code: Cohort | Freq. Percent Cum. ------------+---------------------------------…
Rolling average using a variable as weight with tssmooth or otherI would like to calculate the rolling average of the estimated beta coefficient via statsby (say "_b…
Bug in "tsegen"There is a bug in "tsegen" when the number of lags increase above 100. Is there any way to fix it? …
Overlapping maps from two different coordinate datasets.I have constructed two maps of Nepal both attached below. One reflects 7 provinces while the other r…
Subscribe to:
Post Comments (Atom)
0 Response to Lag for Survival Analysis (Discrete hazard proportional odd)
Post a Comment