Description Usage Arguments Value Author(s) See Also Examples
View source: R/noe.compute.cgh.R
This function computes the c, g, and h vectors at the heart of the Noe recursions for computing the exact coverage probability of a nonparametric confidence band for the population survivor function, based on its single-sample Kaplan-Meier estimate.
1 | noe.compute.cgh(tn,ta,tb)
|
tn |
a scalar representing the number of individual events that comprise the joint event |
ta |
an ordered vector of lower endpoints; its length is |
tb |
an ordered vector of |
A tn \times 3 matrix. The three columns of the matrix are the vectors c, g, and h, respectively, used in the Noe recursion formulae.
David E. Matthews dematthews@uwaterloo.ca
1 2 3 4 5 | ## Check of Noe recursion calculations.
a<-c(0.001340,0.028958,0.114653,0.335379)
b<-c(0.664621,0.885347,0.971042,0.998660)
noe.compute.cgh(4,a,b)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.