Description Usage Arguments Details Value Note Author(s) References See Also Examples
Compute Product Limit Estimate (PLE) of F(x) for interval censored data (i.e., the nonparametric maximum likelihood estimate that generalizes the Kaplan-Meier estimate to interval censored data).
1 |
dd |
n by 2 matrix or data frame (see note below) |
nondet |
if |
mine |
minimum error for convergence in icfit. Default = 1e-06. |
maxc |
maximum number of iterations. Default is 10000. |
eps |
adjustment factor described by Ng. Default is 1e-14. |
This function is a driver function for icfit
that uses an EM-algorithm applied to interval censored data (see Turnbull, 1976).
Data frame with columns
a |
value of jth uncensored value (ordered) |
ple |
PLE of F(x) at a |
surv |
1 - F(), i.e the "survival" or "exceedance" function |
prob |
prob[X = x] from |
n |
sample size |
If nondet
is TRUE
column 1 of dd is the data value
and column 2 is 1 if a detect and 0 otherwise. If nondet
is
FALSE
dd
contains the left and right endpoints required
by icfit
.
E. L. Frome
Fay, M. P. (1999), "Comparing Several Score Tests for Interval Censored Data," Statistics in Medicine,18:273-85. (Corr: 1999, Vol 19, p.2681).
Ng, M. P. (2002), "A Modification of Peto's Nonparametric Estimation of Survival Curves for Interval-Censored Data," Biometrics, 58, 439-442.
Turnbull, B. W. (1976), "The Empirical Distribution Function with Arbitrarily Grouped, Censored and Truncated Data," Journal of the Royal Statistical Society, Series B (Methodological), 38(3), 290-295.
1 2 3 4 5 6 | # PLE for interval censored filmbadge data
data(filmbadge)
ple.fb<-pleicf(filmbadge[,1:2],FALSE) # PLE for input to qq.lnorm
tmp <- qq.lnorm(ple.fb) ; GM<-round(exp(tmp$par[1]));GSD<-round(exp(tmp$par[2]),2)
tp<-paste("Lognormal Q-Q plot for Filmbadge Data GM= ",GM,"GSD= ",GSD)
title(tp) # title for q-q plot with graphical parameter estimates
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.