Title: | Power Analysis Tool for Joint Testing Hazards with Competing Risks Data |
---|---|
Description: | A power analysis tool for jointly testing the cause-1 cause-specific hazard and the any-cause hazard with competing risks data. |
Authors: | Qing Yang[aut], Wing K. Fung[aut], Eric Kawaguchi[ctb], Gang Li[aut, cre] |
Maintainer: | Eric Kawaguchi <[email protected]> |
License: | GPL-2 |
Version: | 1.0.1 |
Built: | 2024-11-22 03:04:53 UTC |
Source: | https://github.com/cran/powerCompRisk |
Power Analysis Tool for Joint Testing Hazards with Competing Risks Data.
powerCompRisk(alpha, beta, lambda_11, RR, HR_1, HR_all, attrition, r, f, a1)
powerCompRisk(alpha, beta, lambda_11, RR, HR_1, HR_all, attrition, r, f, a1)
alpha |
Type I error. |
beta |
Type II error. |
lambda_11 |
Cause-1 cause-specific hazard in group 1. |
RR |
Relative risk of cause-1 failure versus the any-cause failure in group 1. |
HR_1 |
Pre-specified cause-1 cause-specific hazard ratio between groups 1 and 2. |
HR_all |
Pre-specified any-cause hazard ratio between groups 1 and 2. |
attrition |
Attrition rate due to lost to follow-up. |
r |
Length of patient accrual period. |
f |
Maximum follow-up period. |
a1 |
Sample allocation proportion for group 1. |
A dataframe with variables Chi2 Joint
, Maximum Joint
, Bonferroni
methods. The first entry is the required number of cause-1 failures and the second entry is the required total number of patients.
Yang, Q., Fung, W.K., Li, G. (2017) Sample size determination for jointly testing a cause-specific hazard and the any-cause hazard in the presence of competing risks. UCLA Department of Biostatistics Technical Report.
library(powerCompRisk) powerCompRisk(alpha = 0.05, beta = 0.2, lambda_11 = 0.3, RR = 0.8, HR_1 = 1.44, HR_all = 1.33, attrition = 0.1, r = 1,f = 8, a1 = 0.5)
library(powerCompRisk) powerCompRisk(alpha = 0.05, beta = 0.2, lambda_11 = 0.3, RR = 0.8, HR_1 = 1.44, HR_all = 1.33, attrition = 0.1, r = 1,f = 8, a1 = 0.5)