noe.compute.pv: Elements of the Noe Recursions for the Exact Coverage...

Description Usage Arguments Value Author(s) See Also Examples

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

Description

This function computes the probability vector at the heart of the Noe recursions for calculating the exact coverage probability of a nonparametric confidence band for the population survivor function, based on its single-sample Kaplan-Meier estimate.

Usage

1

Arguments

tn

a scalar quantity representing the total number of ordered uniform intervals for which a joint probability is required

tc

An ordered vector of endpoints between 0 and 1; its length is 2tn+1

Value

A probability vector of length 2tn+1 representing the partition of the rectangular distribution corresponding to the endpoints listed in the vector tc.

Author(s)

David E. Matthews dematthews@uwaterloo.ca

See Also

confband, noe, noe.compute.cgh

Examples

1
2
3
4
5
6
7
## 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)
cgh.mat<-noe.compute.cgh(4,a,b)
x<-cgh.mat[,1]
noe.compute.pv(4,x[-10])

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