lmomRCmark {lmomco} | R Documentation |
Sample L-moment for Right-Tail Censoring by a Marking Variable
Description
Compute the sample L-moments for right-tail censored data set in which censored data values are identified by a marking variable.
Usage
lmomRCmark(x, rcmark=NULL, r=1, sort=TRUE)
Arguments
x |
A vector of data values. |
rcmark |
The right-tail censoring (upper) marking variable for unknown threshold: 1 is uncensored, 0 is censored. |
r |
The L-moment order to return, default is the mean. |
sort |
Do the data need sorting? The availability of this option is to avoid unnecessary overhead of sorting on each call to this function by the primary higher-level function |
Value
An R list
is returned.
lambdas |
Vector of the L-moments. First element is
|
ratios |
Vector of the L-moment ratios. Second element is
|
trim |
Level of symmetrical trimming used in the computation, which will equal |
leftrim |
Level of left-tail trimming used in the computation. |
rightrim |
Level of right-tail trimming used in the computation. |
source |
An attribute identifying the computational source of the L-moments: “lmomsRCmark”. |
Author(s)
W.H. Asquith
References
Wang, Dongliang, Hutson, A.D., Miecznikowski, J.C., 2010, L-moment estimation for parametric survival models given censored data: Statistical Methodology, v. 7, no. 6, pp. 655–667.
See Also
Examples
# See example under lmomsRCmark