Code covered by the BSD License  

Highlights from
KMPlot

Be the first to rate this file! 26 Downloads (last 30 days) File Size: 4.39 KB File ID: #22293
image thumbnail

KMPlot

by Giuseppe Cardillo

 

02 Dec 2008 (Updated 22 Sep 2011)

Plot the Kaplan-Meier estimation of the survival function

| Watch this File

File Information
Description

Survival times are data that measure follow-up time from a defined starting point to the occurrence of a given event, for example the time from the beginning to the end of a remission period or the time from the diagnosis of a disease to death. Standard statistical techniques cannot usually be applied because the underlying distribution is rarely Normal and the data are often ‘censored’. A survival time is described as censored when there is a follow-up time but the event has not yet occurred or is not known to have occurred. For example, if remission time is being studied and the patient is still in remission at the end of the study, then that patient’s remission time would be censored. If a patient for some reason drops out of a study before the end of the study period, then that patient’s follow-up time would also be considered to be
censored. The survival function S(t) is defined as the probability of surviving at least to time t. The graph of S(t) against t is called the survival curve. The Kaplan–Meier method can be used to estimate this curve from the observed survival times without the assumption of an underlying probability distribution. This function uses the vectorization technique.

My profile on LinkedIN http://it.linkedin.com/in/giuseppecardillo

Required Products Statistics Toolbox
MATLAB release MATLAB 7.6 (R2008a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
03 Dec 2008

help section change to correctly cite this file; median time computation was changed (in some cases there is not median time)

04 Dec 2008

The function was adapted to be recalled by LOGRANK function (a function of mine). More vectorization.

08 Jun 2009

error correction in confidence curve trimming

27 Jul 2009

improvement for censored data

23 Dec 2009

Changes in description

22 Sep 2011

Hazard rate computation added

Tag Activity for this File
Tag Applied By Date/Time
kaplanmeier plot Giuseppe Cardillo 02 Dec 2008 14:48:46
survival function Giuseppe Cardillo 02 Dec 2008 14:48:46
kaplanmeier plot Gordon 21 Mar 2009 06:57:00
kaplanmeier plot Min 06 Jun 2011 12:46:10
hazard rate Giuseppe Cardillo 22 Sep 2011 15:49:58

Contact us at files@mathworks.com