Weibull AFT — Accelerated Failure Time (parametric survival with TAF)

Coming soon

Advanced & specialized

This test is implemented and is currently going through StatMinds’ production verification: every statistic is independently checked against a trusted reference (scipy / R), locked with regression tests, and the screen is exercised across assumption-met/violated and significant/non-significant scenarios before it opens up.

See what’s live now

Parametric survival regression on the time-acceleration scale: log T = β₀ + β'X + σW where W is Weibull-error distributed.

Each covariate's coefficient β yields a Time-Acceleration Factor TAF = exp(β) — a multiplicative effect on survival time directly interpretable as 'X-fold longer/shorter survival'. The engine fits Weibull, log-normal, log-logistic, and exponential AFT companions, selects by AIC/BIC, and reports per-covariate TAF with 95% CIs plus median survival predictions. Preferred over Cox when proportional hazards fails OR when survival prediction at specific time horizons (rather than hazard ratios) is the primary deliverable.

Worked example

How do covariates lengthen or shorten survival time directly?

An accelerated-failure-time (Weibull) model expresses each covariate as a time-acceleration factor — how much it multiplies survival time.

Result

The treatment extended survival time by 45% (time-ratio = 1.45, 95% CI [1.16, 1.81], p = .001).

How you'd report it (APA)

A Weibull AFT model showed the treatment significantly extended survival time, time-ratio = 1.45, 95% CI [1.16, 1.81], p = .001.

Try it yourself: Load this ready-made sample and follow the run above.

When to use it

  • Survival regression when PH assumption fails
    Time-to-recurrence in a cancer trial: KM curves for treatment vs control cross at 18 months, indicating PH violation.
  • Median / quantile survival prediction at horizons
    Build a prognostic tool predicting median time-to-failure for an industrial component given operating temperature and load.

When NOT to — use instead

Hypotheses

H₀: β_j = 0 for all coefficients — covariates have no effect on survival time.
Hₐ: at least one β_j ≠ 0.

Parameter tested: log-time acceleration coefficients β; Weibull shape ρ (or equivalent for other distributions).

Assumptions (and what to do if they fail)

The fitted parametric distribution (Weibull / log-normal / log-logistic / exponential) adequately captures the survival shape.high

Check: AIC/BIC across 4 distributions — prefer the smallest.

If violated: Mis-specified distribution biases the time-acceleration factor and survival predictions.

The covariate effects are MULTIPLICATIVE on the time scale (time-acceleration assumption).medium

Check: Plot standardised Cox-Snell residuals.

If violated: Non-multiplicative effects bias the TAF estimate.

Continuous covariates enter linearly on the log-time scale.medium

Check: Visual — martingale residuals.

If violated: Non-linearity biases TAF estimates at the extremes.

Ready to run a Weibull AFT — Accelerated Failure Time (parametric survival with TAF) on your own data?

Guided setup, automatic assumption checks, effect sizes, figures and an APA write-up.

Run this test →