power.ctepd-package | R Documentation |
This package provides a set of tools for power and sample size calculations in clinical trials and epidemiology.
"power.ctepd" is a R package for power and sample size calculatins in clinical trials and epidemiology. Please use the following steps to install 'power.ctepd' package:
1. First, you need to install the 'devtools' package. You can skip this step if you have 'devtools' installed in your R. Invoke R and then type
install.packages("devtools")
2. Load the devtools package.
library(devtools)
3. Install "power.ctepd" package with R commond
install_github("statapps/power.ctepd")
"power.ctepd" uses different statistical methods to identify cut-point (thershold parameter) for the biomarker in either generalized linear models or Cox proportional hazards model.
Bingshu E. Chen
Maintainer: Bingshu E. Chen <bingshu.chen@queensu.ca>
Chen, B. E., Jiang, W. and Tu, D. (2014). A hierarchical Bayes model for biomarker subset effects in clinical trials. Computational Statistics and Data Analysis. vol 71, page 324-334.
power.t.test,
pwr.p.test,
pwr.2p.test
pw = power.surv.test(n = 75, s0 = 0.83, s1 = 0.92, sig.level = 0.1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.