mdlROS: Estimate Statistics

View source: R/mdlROS.R

mdlROSR Documentation

Estimate Statistics

Description

Support function for computing statistics for left-censored data using the "fill-in" probability plotting procedure method (Helsel and Cohn, 1988), now known as regression on order statistics. This method is also known as the "robust" approach (Helsel, 2012).

Usage

mdlROS(x, method = "ROS", alpha = 0.4)

Arguments

x

the data to estimate, Missing values permitted and ignored. Must be an object of class "lcens," a numeric vector, or the output from censpp.

method

the method to use, either "ROS" or "log ROS."

alpha

the offset for plotting postion.

Value

A list containing the mean and standard deviation, filled in values for the censored values, and the censored levels. If method is "log ROS," then the list also contains the mean and standard deviation of the natural log-transformed values computed by regression on order statistics.

References

Helsel, D.R. and Cohn, T.A., 1988, Estimation of descriptive statistics for multiply censored water quality data: Water Resources Research v. 24, n. 12, pp.1997–2004

Helsel, D.R. 2012, Statistics for censored environmental data using Minitab and R: New York, Wiley, 324 p.


USGS-R/smwrQW documentation built on Oct. 11, 2022, 6:13 a.m.