A priori power calculation for a hypothetical two-drugs combination study of synergy evaluation using linear-mixed models depending on the sample size per group.
PwrSampleSize(
npg = c(5, 8, 10),
time = c(0, 3, 5, 10),
grwrControl = 0.08,
grwrA = 0.07,
grwrB = 0.06,
grwrComb = 0.03,
sd_ranef = 0.01,
sgma = 0.1,
method = "Bliss",
vF = NULL,
plot_exmpDt = FALSE,
...
)The functions returns a plot showing the values of the power calculation depending on the values assigned to
npg.
If plot_exmpDt = TRUE, a plot representing the hypothetical data, with the regression lines for each
treatment group according to grwrControl, grwrA, grwrB and grwrComb values is also plotted. The values
assigned to sd_ranef and sgma are also shown.
The function also returns the data frame with the power for the analysis for each sample size
specified in npg.
A vector with the sample size (number of subjects) per group to calculate the power of the synergy analysis.
Vector with the times at which the tumor volume measurements have been performed.
Coefficient for Control treatment group tumor growth rate.
Coefficient for Drug A treatment group tumor growth rate.
Coefficient for Drug B treatment group tumor growth rate.
Coefficient for Combination (Drug A + Drug B) treatment group tumor growth rate.
Random effects standard deviation for the model.
Residuals standard deviation for the model.
String indicating the method for synergy calculation. Possible methods are "Bliss" and "HSA", corresponding to Bliss and highest single agent, respectively.
An optional nlme::varFunc object or one-sided formula describing the within-group heteroscedasticity structure. If given as a formula, it is used as the argument to nlme::varFixed, corresponding to fixed variance weights. See the documentation on nlme::varClasses for a description of the available nlme::varFunc classes. Defaults to NULL, corresponding to homoscedastic within-group errors.
Logical indicating if a plot representing the hypothetical data should also be returned.
Additional parameters to be passed to nlmeU::Pwr.lme method.
PwrSampleSize allows the user to define an hypothetical drug combination study, customizing several
experimental parameters, such as the sample size, time of measurements, or drug effect,
for the power evaluation of synergy for Bliss and HSA reference models. The power calculation is
based on F-tests of the fixed effects of the model as previously described (Helms, R. W. (1992),
Verbeke and Molenberghs (2009), Gałecki and Burzykowski (2013)).
The focus the power analysis with PwrSampleSize is on the sample size per group. The function allows
for the evaluation of how the statistical power changes when the sample size per group varies while the
other parameters are kept constant. For other a priori power analysis see also APrioriPwr() and PwrTime().
time, grwrControl, grwrA, grwrB, grwrComb, sd_ranef and sgma are parameters referring to
the initial exemplary data set and corresponding fitted model. These values can be obtained from a fitted model, using lmmModel_estimates(),
or be defined by the user.
npg is a vector indicating the different sample sizes for which the statistical power is going to be evaluated, keeping the
rest of parameters fixed.
Helms, R. W. (1992). Intentionally incomplete longitudinal designs: I. Methodology and comparison of some full span designs. Statistics in Medicine, 11(14–15), 1889–1913. https://doi.org/10.1002/sim.4780111411
Verbeke, G. & Molenberghs, G. (2000). Linear Mixed Models for Longitudinal Data. Springer New York. https://doi.org/10.1007/978-1-4419-0300-6
Andrzej Galecki & Tomasz Burzykowski (2013) Linear Mixed-Effects Models Using R: A Step-by-Step Approach First Edition. Springer, New York. ISBN 978-1-4614-3899-1
PostHocPwr, APrioriPwr(), PwrTime().