Analysis of Lifetime Data

Nonparametric and semiparametric methods for analyzing reliability and survival data

Functions

coxphfitCox proportional hazards regression
ecdfEmpirical cumulative distribution function
ecdfhistHistogram based on empirical cumulative distribution function
ksdensityKernel smoothing function estimate for univariate and bivariate data
mleMaximum likelihood estimates
mlecovAsymptotic covariance of maximum likelihood estimators
fitdistFit probability distribution object to data
dfittoolOpen Distribution Fitter app
linhyptestLinear hypothesis test
evfitExtreme value parameter estimates
expfitExponential parameter estimates
gamfitGamma parameter estimates
lognfitLognormal parameter estimates
normfitNormal parameter estimates
probplotProbability plots
wblfitWeibull parameter estimates
wblplotWeibull probability plot

Topics

What Is Survival Analysis?

Learn about censoring, survival data, and the survivor and hazard functions.

Survivor Functions for Two Groups

This example shows how to find the empirical survivor functions and the parametric survivor functions using the Burr type XII distribution fit to data for two groups.

Hazard and Survivor Functions for Different Groups

This example shows how to estimate and plot the cumulative hazard and survivor functions for different groups.

Kaplan-Meier Method

Estimate the empirical hazard, survivor, and cumulative distribution functions.

Cox Proportional Hazards Model

Adjust survival rate estimates to quantify the effect of predictor variables.

Cox Proportional Hazards Model for Censored Data

This example shows how to construct a Cox proportional hazards model, and assess the significance of the predictor variables.

Cox Proportional Hazards Model with Time-Dependent Covariates

This example shows how to convert survival data to counting process form and then construct a Cox proportional hazards model with time-dependent covariates.

Analyzing Survival or Reliability Data

This example shows how to analyze lifetime data with censoring.