Learn R Programming

currentSurvival (version 1.1)

pvals.2cat: Computes p-Values for The Comparison of Two Survival Curves at Fixed Points in Time

Description

This is an internal function and is not usually called by user. This function computes p-values for the comparison of two survival curves at fixed time points.

Usage

pvals.2cat(pest, pval.test)

Arguments

pest

a matrix of point estimates accompanied with confidence intervals at fixed time points

pval.test

a type of a test used for the computation of p-values. Possible values are “naive”, “log”, “loglog”. The default value is “loglog”.

Value

a vector containing p-values for the comparison of the point estimates at fixed time points

References

Klein J.P., Logan B., Harhoff M., et al. (2007). Analyzing survival curves at a fixed point in time. Statistics in Medicine 26:4505--4519.

See Also

cci, clfs, pvals.cat

Examples

Run this code
# NOT RUN {
# This is an internal function and is not usually called by user.
# }

Run the code above in your browser using DataLab