lrapproximations: Assess the accuracy of the log rank statistic approximation...

View source: R/lrapproximations.R

lrapproximationsR 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)

PHInfiniteEstimates documentation built on Nov. 24, 2023, 9:06 a.m.