censtats {NADA} | R Documentation |
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. |
Details
If the data do not fulfill the criteria for the application of any method no summary statistics will be produced.
Value
A dataframe with the summary statistics.
Author(s)
R. Lopaka Lee <rclee@usgs.gov>
Dennis Helsel <dhelsel@practicalstats.com>
References
Helsel, Dennis R. (2005). Nondectects and Data Analysis; Statistics for censored environmental data. John Wiley and Sons, USA, NJ.
Examples
data(DFe)
with(DFe, censtats(Summer, SummerCen))