An easy way to create duration variables in binary cross-sectional time-series data

被引:1
|
作者
Philips, Andrew Q. [1 ]
机构
[1] Univ Colorado, Dept Polit Sci, Boulder, CO 80309 USA
来源
STATA JOURNAL | 2020年 / 20卷 / 04期
关键词
st0621; mkduration; binary cross-sectional time series; event history; duration;
D O I
10.1177/1536867X20976322
中图分类号
O1 [数学]; C [社会科学总论];
学科分类号
03 ; 0303 ; 0701 ; 070101 ;
摘要
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.
引用
收藏
页码:916 / 930
页数:15
相关论文
共 50 条