Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Data Manipulation > Statistical Data Analysis > Probability & Statistics > Nonparametric Statistical Distributions > Censoring >
Mathematica > Mathematics and Algorithms > Statistical Data Analysis > Probability & Statistics > Nonparametric Statistical Distributions > Censoring >

Censoring

Censoring
represents a censored event time t with censoring c.
Censoring
represents a vector of censored event times with censoring c.
Censoring
represents a vector of event times with corresponding censoring .
  • The following censoring types c can be used in Censoring:
0, None{t,t}no censoring
1, Right{t,∞}right-censoring
-1,Left{-∞,t}left-censoring
Use with right-censored data in SurvivalDistribution:
Convert tables with censoring indicators to interval notation:
Use with right-censored data in SurvivalDistribution:
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=
 
Convert tables with censoring indicators to interval notation:
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
Convert a right-censored observation to interval notation:
Alternatively, use Right:
Work with left-censored observations:
Alternatively, use Left:
The observation is unchanged in the absence of censoring:
You can also specify no censoring as None:
Thread a single censoring indicator over a list of events:
Use a mix of censoring indicators:
Interval-censored observations are converted as well:
A dataset of length 2 is treated as a single interval-censored observation:
One right-censored observation results in:
If two observations were intended, use two indicators:
New in 8
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF