noe.compute.cgh: Intermediate Steps in the Noe Recursions for the Exact...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/noe.compute.cgh.R

Description

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.

Usage

1
   noe.compute.cgh(tn,ta,tb)

Arguments

tn

a scalar representing the number of individual events that comprise the joint event

ta

an ordered vector of lower endpoints; its length is tn

tb

an ordered vector of tn corresponding upper endpoints

Value

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.

Author(s)

David E. Matthews dematthews@uwaterloo.ca

See Also

confband, noe

Examples

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)

kmconfband documentation built on May 2, 2019, 2:49 p.m.