censtats: Produces summary statistics using ROS, MLE, and K-M methods.
Description
A convenience function that produces a comparative table of
summary statistics obtained using the cenros, cenmle
and cenfit routines. These methods are, Regression on
Order Statistics (ROS), Maximum Likelihood Estimation (MLE), and
Kaplan-Meier (K-M).
Usage
censtats(obs, censored)
Arguments
obs
A numeric vector of observations.
censored
A logical vector indicating TRUE where an observation in x is
censored (a less-than value) and FALSE otherwise.
Value
A dataframe with the summary statistics.
Details
If the data do not fulfill the criteria for the application of
any method no summary statistics will be produced.
References
Helsel, Dennis R. (2005). Nondectects and Data Analysis; Statistics for
censored environmental data. John Wiley and Sons, USA, NJ.