11. Survival, Event History and Competing-Risks Analysis
Chapter 11. Survival, Event History and Competing-Risks Analysis provides step-by-step How-To implementation guides for 11 econometric model lessons organized across 4 methodological parts from Section 11.1.1 to 11.4.5. Every guide is synchronized with the full academic lecture at VietLOD Chapter 11 and supports automated cloud execution on EcoLab.
Video Tutorial: How-To Guide for Chapter 11: Survival, Event History and Competing-Risks Analysis in Stata 18, R 4.x, and Python 3.11+
11.1. Central Research Question and Core Mathematical Specification
- Central Research Question: How to model duration until an economic or financial event under right censoring, time-varying covariates, unobserved frailty, and competing exit risks?
- Chapter Architecture: Encompasses
4specialized methodological parts from11.1to11.4and11empirical model lessons validated on Vietnamese datasets from EcoData and Finco.
Core structural equation for Chapter 11:
11.2. Explore the 4 Methodological Parts in Chapter 11
Step-by-step How-To guides, tri-engine scripts, and diagnostic workflows for Nonparametric Survival Analysis estimators.
Step-by-step How-To guides, tri-engine scripts, and diagnostic workflows for Semiparametric Cox Proportional Hazards Models estimators.
Step-by-step How-To guides, tri-engine scripts, and diagnostic workflows for Parametric Accelerated Failure Time Models estimators.
Step-by-step How-To guides, tri-engine scripts, and diagnostic workflows for Discrete-Time Hazard and Competing-Risks Models estimators.
11.3. Four-Step Workflow for Selecting and Executing Models in Chapter 11
Step 1. Select the Appropriate Methodological Part From 11.1 to 11.4
Match your economic hypothesis and sample structure against the identification requirements in Chapter 11 to select the appropriate A.B.C model lesson.
Step 2. Prepare Standardized Datasets From EcoData or Finco
Download the standardized .csv practice file for your target estimator from /src/ecoaz/data/ or extract live empirical series from EcoData and Finco.
Step 3. Estimate Parameters and Run Diagnostics in Stata 18, R 4.x, and Python 3.11+
Execute the tri-engine scripts provided in each model guide and verify the mandatory post-estimation diagnostics: Log-Rank & Wilcoxon Test, Grambsch–Therneau Schoenfeld Proportional Hazards Test, Cox–Snell Residuals, Gray's CIF Equality Test.
Step 4. Verify Three-Software Convergence and Export Publication Tables on EcoLab
Confirm numerical convergence across Stata, R, and Python using the three-panel empirical figure and generate journal-grade tables on EcoLab.
11.4. Complete Directory of 11 Econometric Model Lessons in Chapter 11
| Section | Econometric Model Lesson Title | Estimator Key | Level | Software Packages Stata · R · Python | Support |
|---|---|---|---|---|---|
| 11.1.1 | 11.1.1. Kaplan-Meier Nonparametric Survival Curve | kaplan_meier | L1 | base Stata · survival · lifelines | Available |
| 11.1.2 | 11.1.2. Nelson-Aalen Cumulative Hazard Estimator | nelson_aalen | L2 | base Stata · survival · lifelines | Available |
| 11.2.1 | 11.2.1. Cox Proportional Hazards Regression | cox_ph | L1 | base Stata · survival · lifelines | Available |
| 11.2.2 | 11.2.2. Time-Varying Covariate Cox Hazards | cox_time_varying | L3 | base Stata · survival · lifelines | Available |
| 11.3.1 | 11.3.1. Weibull Accelerated Failure Time — AFT | weibull_aft | L2 | base Stata · survival · lifelines | Available |
| 11.3.2 | 11.3.2. Log-Normal Accelerated Failure Time — AFT | lognormal_aft | L2 | base Stata · survival · lifelines | Available |
| 11.4.1 | 11.4.1. Prentice-Gloeckler Discrete-Time Complementary Log-Log Hazard | discrete_time_hazard | L4 | base Stata cloglog · discSurv / stats · statsmodels | Available |
| 11.4.2 | 11.4.2. Fine and Gray Competing-Risks Subdistribution Hazard | fine_gray_competing_risks | L4 | base Stata stcrreg · cmprsk · lifelines | Available |
| 11.4.3 | 11.4.3. Autoregressive Conditional Duration Model Engle Russell | acd_conditional_duration | L4 | streg · ACDm · statsmodels | Available |
| 11.4.4 | 11.4.4. Shared Gamma Frailty Proportional Hazards and AFT Duration Model | shared_gamma_frailty_hazard | L4 | stset · survival · scipy | Available |
| 11.4.5 | 11.4.5. Piecewise Constant Exponential Hazard Duration Model | piecewise_exponential_hazard | L4 | stset · eha · statsmodels | Available |
11.5. Key Academic References
- Kaplan, E. L, & Meier, P.(1958). Nonparametric estimation from incomplete observations. Journal of the American Statistical Association, 53, số 282, 457–481.
- Cox(1972). Econometric specification, identification, and asymptotic inference.
- Fine, & Gray(1999). Econometric specification, identification, and asymptotic inference.
- Prentice, R. L, & Gloeckler, L. A.(1978). Regression analysis of grouped survival data with application to breast cancer data. Biometrics, 34, số 1, 57–67.
- Jenkins(1995). Econometric specification, identification, and asymptotic inference.
- Cameron, A. C, & Trivedi, P. K.(2022). Microeconometrics Using Stata, 2nd ed, Vol. 2, Chương 22: Duration and Survival Data Models. Stata Press.
- Wooldridge, J. M.(2010). Econometric Analysis of Cross Section and Panel Data, 2nd ed, Chương 20: Duration Analysis. MIT Press.
- Rabe-Hesketh, S, & Skrondal, A.(2022). Multilevel and Longitudinal Modeling Using Stata, 4th ed, Vol. 2, Chương 14–15: Survival and Discrete-Time Event History. Stata Press.
- Chen, D.-G, & Peace, K. E.(2021). Applied Meta-Analysis with R and Stata, 2nd ed, Chương 9: Survival Time-to-Event Data. Chapman and Hall/CRC.