baytrends (version 1.1.0)

censpp: Probability Plotting Positions

Description

Generates the sequence of probability points for uncensored and censored values

Usage

censpp(x, a = 0.44)

# S3 method for default censpp(x, a = 0.44)

# S3 method for lcens censpp(x, a = 0.44)

# S3 method for mcens censpp(x, a = 0.44)

Arguments

x

a vector of observations

a

the offset fraction to be used; typically in [0, 0.5].

Value

A list with these components:

Note that xrcn and pprcn are provided only if there are right-censored values.

x

sorted uncensored observations.

pp

corresponding plotting positions for uncensored observations.

xcen

sorted left-censored observations.

ppcen

corresponding plotting positions for left-censored observations.

xrcn

sorted right-censored observations.

pprcn

corresponding plotting positions for right-censored observations.

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

See Also

ppoints

Examples

Run this code
# NOT RUN {
# This example demonstrates the probability adjustments made for censoring
# The raw, uncensored data:
ppoints(7, .44)
# censor ar 0.5 (the lowest 3 values)
censpp(as.lcens(ppoints(7, .44), 0.5))

# }

Run the code above in your browser using DataCamp Workspace