mdlMLE: Estimate Statistics

View source: R/mdlMLE.R

mdlMLER Documentation

Estimate Statistics

Description

Support function for computing statistics for left-censored data using the maximum likelihood method (Helsel and Cohn, 1988).

Usage

mdlMLE(x, method = "MLE", 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 "MLE" or "log MLE."

alpha

the offset for plotting position, used to compute the filled in values.

Value

A list containing the mean and standard deviation, filled in values for the censored values, and the censored levels. If method is "log MLE," then the list also contains the mean and standard deviation of the natural log-transformed values computed by maximum likelihood.

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, p.1997–2004


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