An easy way to create duration variables in binary cross-sectional time-series data
2020 ◽
Vol 20
(4)
◽
pp. 916-930
Keyword(s):
In cross-sectional time-series data with a dichotomous dependent variable, failing to account for duration dependence when it exists can lead to faulty inferences. A common solution is to include duration dummies, polynomials, or splines to proxy for duration dependence. Because creating these is not easy for the common practitioner, I introduce a new command, mkduration, that is a straightforward way to generate a duration variable for binary cross-sectional time-series data in Stata. mkduration can handle various forms of missing data and allows the duration variable to easily be turned into common parametric and nonparametric approximations.
2017 ◽
Vol 25
(6)
◽
pp. 645-653
◽
Keyword(s):
2016 ◽
Keyword(s):
Keyword(s):
Keyword(s):
2017 ◽
Vol 12
(2)
◽
pp. 151
◽
2007 ◽
Vol 23
(4)
◽
pp. 227-237
◽
2008 ◽
Vol 9
(1)
◽
pp. 1-19
◽
2011 ◽
Vol 14
(2)
◽
pp. 71-79
Keyword(s):
2021 ◽
Vol 6
(1)
◽
pp. 1-4
Keyword(s):