sdlFill: Estimate Statistics

View source: R/sdlFill.R

sdlFillR Documentation

Estimate Statistics

Description

Support function for computing statistics for left-censored data.

Usage

sdlFill(x, method = "fill", 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 "fill" or "log fill"

alpha

the offset for plotting postion (not used, required for other methods).

Value

A list containing the mean and standard deviation, filled in values for the censored values, and the maximum censor level.

Note

This function uses the method of Gleit (1985). That method computes the mean and standard deviation of the data, estimates synthetic values for the censored values using a method similar to ROS, and repeats the process until the mean and standard deviation stabilize.

References

Gleit, A., 1985, Estimation for small normal data sets with detection limits: Environmental Science and Technology, v. 19, no. 12, p. 1201–1206.


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