censpp | R Documentation |
Generates the sequence of probability points for uncensored and censored values
censpp(x, a = 0.44) ## Default S3 method: censpp(x, a = 0.44) ## S3 method for class 'lcens' censpp(x, a = 0.44) ## S3 method for class 'mcens' censpp(x, a = 0.44)
x |
a vector of observations |
a |
the offset fraction to be used; typically in [0, 0.5]. |
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. |
The left-censored plotting positions are adjusted by the method of Helsel and Cohn (1988), which produces a mean of 0.5 for all data.
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
ppoints
# 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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.