Skip to main content

11.3. Parametric Accelerated Failure Time Models

Verified Environments & Platforms:EcoDataEcoLabFincoVietLOD

Methodological Part 11.3. Parametric Accelerated Failure Time Models in 11. Survival, Event History and Competing-Risks Analysis provides step-by-step How-To implementation guides for 2 econometric model lessons spanning from Section 11.3.1 to 11.3.2. Full theoretical derivations are available at VietLOD Part 11.3 alongside cloud execution on EcoLab.

Video Tutorial: How-To Guide for Part 11.3: Parametric Accelerated Failure Time Models in Stata 18, R 4.x, and Python 3.11+

11.3.1. Methodological Overview and Structural Equations​

  • Methodological Focus: Provides consistent estimation and robust inference for Parametric Accelerated Failure Time Models specifications within Survival, Event History and Competing-Risks Analysis.
  • Mandatory Post-Estimation Diagnostics: Kiểm định Wald cho tham số hình dạng H0:p=1H_0: p = 1 hay ln⁡(p)=0\ln(p) = 0 khi rút gọn về phân phối Mũ, đồ thị phần dư Cox–Snell và so sánh tiêu chuẩn (AIC) và (BIC) với các phân phối tham số khác.

Core structural specification for Part 11.3:

ln⁡(Ti)=Xi⊤β+σεi,f(ε)=exp⁡(ε−eε)\ln(T_i) = X_i^\top \beta + \sigma \varepsilon_i, \quad f(\varepsilon) = \exp(\varepsilon - e^\varepsilon)

Estimator objective and moment conditions:

ℓpartial(β)=∑i=1Nδi[Xi⊤β−ln⁡(∑j∈R(ti)exp⁡(Xj⊤β))],S(t∣Xi)=exp⁡(−H0(t)exp⁡(Xi⊤β))\ell_{\text{partial}}(\beta) = \sum_{i=1}^N \delta_i \left[X_i^\top \beta - \ln\left(\sum_{j \in \mathcal{R}(t_i)} \exp(X_j^\top \beta)\right)\right], \quad S(t \mid X_i) = \exp\left(-H_0(t)\exp(X_i^\top \beta)\right)
Methodological Scope Boundary:When empirical data violate the identification conditions of Part 11.3, researchers should transition to the extended methodological parts in Chapter 11 or apply appropriate instrumental-variable and cluster-robust corrections.

11.3.2. Econometric Model Lessons in Part 11.3​

11.3.3. Comparative Execution Syntax Across Stata 18, R 4.x, and Python 3.11+​

Section & Model TitleEstimator KeyStata 18 MP SyntaxR 4.x SyntaxPython 3.11+ SyntaxSupport
11.3.1 · Weibull Accelerated Failure Time — AFTweibull_aftstset duration, failure(event) -> streg x1 x2, dist(weibull) timesurvival::survreg(Surv(duration, event) ~ x1 + x2, data = df, dist = 'weibull')WeibullAFTFitter().fit(df[['duration', 'event', 'x1', 'x2']], 'duration', 'event')Available
11.3.2 · Log-Normal Accelerated Failure Time — AFTlognormal_aftstset duration, failure(event) -> streg x1 x2, dist(lnormal) timesurvival::survreg(Surv(duration, event) ~ x1 + x2, data = df, dist = 'lognormal')LogNormalAFTFitter().fit(df[['duration', 'event', 'x1', 'x2']], 'duration', 'event')Available

11.3.4. Standard Implementation Workflow for Part 11.3​

Step 1. Load Standardized Practice Datasets From VietLOD, EcoData, or Finco

Download the model-specific .csv practice dataset in Part 11.3 or extract custom empirical panels from EcoData and Finco.

Step 2. Select the Optimal Estimator for Your Error and Sample Structure

Compare the estimators from 11.3.1 to 11.3.2 in the syntax matrix above and execute the estimation in Stata 18 MP, R 4.x, or Python 3.11+.

Step 3. Run Mandatory Diagnostics and Export Publication Tables on EcoLab

Verify all required diagnostics including Kiểm định Wald cho tham số hình dạng H0:p=1H_0: p = 1 hay ln⁡(p)=0\ln(p) = 0 khi rút gọn về phân phối Mũ, đồ thị phần dư Cox–Snell và so sánh tiêu chuẩn (AIC) và (BIC) với các phân phối tham số khác and dispatch the specification to EcoLab for automated journal-grade reporting.