Learn R Programming

LogrankPower (version 1.0.0)

Log-Rank Test Power Calculation

Description

Power of the log-rank test is estimated using simulation datasets, with user specified total sample size (in one simulation dataset), type I error, effect size, the total number of simulation datasets, sample size ratio between two comparison groups, the death rate in the reference group, and the distribution of follow-up time (simulated from a negative binomial distribution). Method reference: Hogg, R. V., McKean, J., and Craig, A. T. (2004, ISBN 10: 0130085073). .

Copy Link

Version

Install

install.packages('LogrankPower')

Monthly Downloads

4

Version

1.0.0

License

GPL-2

Maintainer

Rong Lu

Last Published

October 11th, 2019

Functions in LogrankPower (1.0.0)

LRPowerSimulation

Data Simulation for Log-rank Test Power Calculation
LRPower

Log-rank Test Power Calculation