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 Medicine26:4505--4519.