Package: CoRpower 1.0.4

CoRpower: Power Calculations for Assessing Correlates of Risk in Clinical Efficacy Trials

Calculates power for assessment of intermediate biomarker responses as correlates of risk in the active treatment group in clinical efficacy trials, as described in Gilbert, Janes, and Huang, Power/Sample Size Calculations for Assessing Correlates of Risk in Clinical Efficacy Trials (2016, Statistics in Medicine). The methods differ from past approaches by accounting for the level of clinical treatment efficacy overall and in biomarker response subgroups, which enables the correlates of risk results to be interpreted in terms of potential correlates of efficacy/protection. The methods also account for inter-individual variability of the observed biomarker response that is not biologically relevant (e.g., due to technical measurement error of the laboratory assay used to measure the biomarker response), which is important because power to detect a specified correlate of risk effect size is heavily affected by the biomarker's measurement error. The methods can be used for a general binary clinical endpoint model with a univariate dichotomous, trichotomous, or continuous biomarker response measured in active treatment recipients at a fixed timepoint after randomization, with either case-cohort Bernoulli sampling or case-control without-replacement sampling of the biomarker (a baseline biomarker is handled as a trivial special case). In a specified two-group trial design, the computeN() function can initially be used for calculating additional requisite design parameters pertaining to the target population of active treatment recipients observed to be at risk at the biomarker sampling timepoint. Subsequently, the power calculation employs an inverse probability weighted logistic regression model fitted by the tps() function in the 'osDesign' package. Power results as well as the relationship between the correlate of risk effect size and treatment efficacy can be visualized using various plotting functions. To link power calculations for detecting a correlate of risk and a correlate of treatment efficacy, a baseline immunogenicity predictor (BIP) can be simulated according to a specified classification rule (for dichotomous or trichotomous BIPs) or correlation with the biomarker response (for continuous BIPs), then outputted along with biomarker response data under assignment to treatment, and clinical endpoint data for both treatment and placebo groups.

Authors:Stephanie Wu [aut], Michal Juraska [aut, cre], Peter Gilbert [aut], Yunda Huang [aut]

CoRpower_1.0.4.tar.gz
CoRpower_1.0.4.zip(r-4.5)CoRpower_1.0.4.zip(r-4.4)CoRpower_1.0.4.zip(r-4.3)
CoRpower_1.0.4.tgz(r-4.4-any)CoRpower_1.0.4.tgz(r-4.3-any)
CoRpower_1.0.4.tar.gz(r-4.5-noble)CoRpower_1.0.4.tar.gz(r-4.4-noble)
CoRpower_1.0.4.tgz(r-4.4-emscripten)CoRpower_1.0.4.tgz(r-4.3-emscripten)
CoRpower.pdf |CoRpower.html
CoRpower/json (API)

# Install 'CoRpower' in R:
install.packages('CoRpower', repos = c('https://mjuraska.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/mjuraska/corpower/issues

On CRAN:

4.15 score 14 scripts 206 downloads 7 exports 4 dependencies

Last updated 4 years agofrom:0cbe2b8019. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 02 2024
R-4.5-winOKNov 02 2024
R-4.5-linuxOKNov 02 2024
R-4.4-winOKNov 02 2024
R-4.4-macOKNov 02 2024
R-4.3-winOKNov 02 2024
R-4.3-macOKNov 02 2024

Exports:computeNcomputePowerplotPowerContplotPowerTriplotROCcurveTriplotRRgradVEplotVElatCont

Dependencies:latticeMatrixosDesignsurvival

CoRpower's Algorithms for Simulating Placebo Group and Baseline Immunogenicity Predictor Data

Rendered fromplaceboAndBIPdataSimulationAlgorithms.Rmdusingknitr::rmarkdownon Nov 02 2024.

Last update: 2019-04-17
Started: 2019-04-16

Introduction to R Package CoRpower

Rendered fromCoRpowerIntroduction.Rmdusingknitr::rmarkdownon Nov 02 2024.

Last update: 2019-09-27
Started: 2019-04-16