File Exchange

image thumbnail

Accelerated Failure Time (AFT) models

version 1.2 (19.7 KB) by

Fits accelerated failure time models in the presence of right and/or left censoring.

1 Download


View License

The “aft” function fits models of the form:


where usually T is a time to event variable and g0, g1, ... and sigma are to be estimated. Since T is a time to event variable censoring might be involved. The “aft” function deals with possibly right and/or left censored data. With "sigma" we denote the scale parameter, and the regression coefficients are denoted by vector g=[g0 g1 g2...]. The covariates are denoted with Z1, Z2, ...

The distribution of "epsilon" defines the distribution of T. The user can specify this distribution using one of the following available options:
Exponential, Weibull, Log-normal, Log-logistic, Generalized Gamma.

The “aft” routine is supposed to be a MATLAB alternative to proc lifereg of SAS, or survreg of R. However the “aft” has less options.

Comments and Ratings (0)



Just deleted an unnecessary m.file which was forgotten in there. No changes at all.

MATLAB Release
MATLAB 7.10 (R2010a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video