lrapproximations {PHInfiniteEstimates}R Documentation

Assess the accuracy of the log rank statistic approximation to the true value, in the case without censoring. Provides plots of statistics, and empirical test level.

Description

Assess the accuracy of the log rank statistic approximation to the true value, in the case without censoring. Provides plots of statistics, and empirical test level.

Usage

lrapproximations(nobs = 10, ratio = 1, nsamp = 1000)

Arguments

nobs

number of observations in each group. This currently supports only equal group size data sets.

ratio

Ratio of group means; use 1 for null.

nsamp

Monte Carlo sample size.

Value

a vector of empirical test sizes.

Examples

lrapproximations(nsamp=100)

[Package PHInfiniteEstimates version 2.9.5 Index]