Package preference. May 8, 2018

Size: px
Start display at page:

Download "Package preference. May 8, 2018"

Transcription

1 Type Package Package preference May 8, 2018 Title 2-Stage Preference Trial Design and Analysis Version URL BugReports Design and analyze two-stage randomized trials with a continuous outcome measure. The package contains functions to compute the required sample size needed to detect a given preference, treatment, and selection effect; alternatively, the package contains functions that can report the study power given a fixed sample size. Finally, analysis functions are provided to test each effect using either summary data (i.e. means, variances) or raw study data. License LGPL-2 Imports ggplot2, tidyr Suggests testthat RoxygenNote LazyData true NeedsCompilation no Author Briana Cameron [aut, cph], Denise Esserman [ctb], Michael Kane [cre, ctb] Maintainer Michael Kane <michael.kane@yale.edu> Repository CRAN Date/Publication :05:32 UTC R topics documented: preference-package effects_from_means fit_preference

2 2 preference-package fit_preference_summary imap_stratified_summary optimal_proportion overall_power overall_sample_size preference preference.trial pt_from_power pt_from_ss pt_plot sample_size treatment_effect_size Index 20 preference-package Design and Analysis of Two-stage Randomized Clinical Trials The preference package is used for the design and analysis of two-stage randomized trials with a continuous outcome measure. In this study, patients are first randomized to either a random or choice arm. Patients initially randomized to the choice arm are allowed to select their preferred treatment from the available treatment options; patients initially randomized to the random arm undergo a second randomization procedure to one of the available treatment options. The design has also been extended to include important stratification variables; the functions provided in this package can accommodate both the unstratified and stratified designs. In this study, there are three effects that may be of interest. The treatment effect captures the difference in outcome between patients randomized to treatment A and treatment B (similar to a traditional RCT). The selection effect captures the difference in outcome between patients that prefer treatment A and patients that prefer treatment B, regardless of the treatment that is actually received. Finally, the preference effect compares the outcomes of patients who receive their preferred treatment (either treatment A or treatment B) and patients who do not receive their preferred treatment. To aid in the design of these two-stage randomized studies, sample size functions are provided to determine the necessary sample size to detect a particular selection, preference, and/or treatment effect. If the sample size is fixed prior to the start of the study, functions are provided to calculate the study power to detect each effect. Finally, the optimal_proportion function can be used to determine the optimal proportion of patients randomized to the choice arm in the initial randomization. To analyze the data from the two-stage randomized trial, two analysis functions are provided. The function analyze_raw_data computes the test statistic and p-value for each effect given provided raw study data. The function analyze_summary_data uses provided summary data (mean, variance, and sample size) of each study group to compute the test statistic and p-value of each effect. Sample Size Function calls selection_sample_size: required sample size to detect a given selection effect

3 preference-package 3 preference_sample_size: required sample size to detect a given preference effect treatment_sample_size: required sample size to detect a given treatment effect overall_sample_size: required sample size to detect a given set of selection, preference, and treatment effects Power Function Calls selection_power: study power to detect a given selection effect preference_power: study power to detect a given preference effect treatment_power: study power to detect a given treatment effect overall_power: study power to detect a given set of selection, preference, and treatment effects Analysis Function Calls analyze_raw_data: computes test statistic and p-value for observed selection, preference, and treatment effects using provided raw data analyze_summary_data: computes test statistic and p-value for observed selection, preference, and treatment effects using provided summary data (mean, variance, sample size) Other Function Calls treatment_effect_size: computes the treatment effect that can be detected given a specified sample size and power optimal_proportion: computes the optimal proportion randomized to choice arm (defined for unstratified design only) effects_from_means: computes the treatment, selection, and preference effect sizes provided the study means in each treatment arm Data Sets imap: summary SF36 outcome data for the two-stage randomized IMAP study imap_strat: summary SF36 outcome data for the two-stage randomized IMAP study stratified by high vs. low STAI score Acknowledgments: This work was partially supported through a Patient-Centered Outcomes Research Institute (PCORI) Award (ME ) and Yale s CTSA Award (Ul1TR001863). We would also like to thank the IMAP team for sharing their data to demonstrate this package. Disclaimer: All statements in this report, including its findings and conclusions, are solely those of the authors and do not necessarily represent the views of the Patient-Centered Outcomes Research Institute (PCORI), its Board of Governors or Methodology Committee. References Rucker G (1989). "A two-stage trial design for testing treatment, self-selection and treatment preference effects." Stat Med, 8(4): (PubMed) McCaffery et al. (2010) "Psychosocial outcomes of three triage methods for the management of borderline abnormal cervical smears: an open randomised trial." BMJ, 340:b4491. (PubMed)

4 4 effects_from_means Walter et. al. (2011). "Optimal allocation of participants for the estimation of selection, preference and treatment effects in the two-stage randomised trial design." Stat Med, 31(13): (PubMed) McCaffery et al. (2011) "Determining the Impact of Informed Choice: Separating Treatment Effects from the Effects of Choice and Selection in Randomized Trials." Med Decis Making, 31(2): (PubMed) Turner RM, et al. (2014). "Sample Size and Power When Designing a Randomized Trial for the Estimation of Treatment, Selection, and Preference Effects." Medical Decision Making, 34: (PubMed) Cameron B, Esserman D (2016). "Sample Size and Power for a Stratified Doubly Randomized Preference Design." Stat Methods Med Res. (PubMed) effects_from_means Calculate Effect Sizes from Means Calculates the preference, selection and treatment effects given the means of each treatment group in the choice and random arms for the 2-stage randomized study. effects_from_means(mu1, mu2, mu11, mu22, phi, nstrata = 1, xi = NULL) mu1 mu2 mean response of the patients receiving treatment 1 in the random arm. For unstratified design, should be numeric value. For the stratified design, should be vector of length equal to number of strata with each entry corresponding to stratum- specific mean. mean response of the patients receiving treatment 2 in the random arm. For unstratified design, should be numeric value. For the stratified design, should be vector of length equal to number of strata with each entry corresponding to stratum- specific mean. mu11 mean response of the patients choosing treatment 1 in the choice arm. For unstratified design, should be numeric value. For the stratified design, should be vector of length equal to number of strata with each entry corresponding to stratum- specific mean. mu22 mean response of the patients choosing treatment 2 in the choice arm. For unstratified design, should be numeric value. For the stratified design, should be vector of length equal to number of strata with each entry corresponding to stratum- specific mean. phi proportion of patients preferring treatment 1. For unstratified design, should be numeric value. For the stratified design, should be vector of length equal to number of strata with each entry corresponding to stratum-specific preference rate. All elements should be numeric values between 0 and 1.

5 fit_preference 5 nstrata xi number of strata. Default is 1 (unstratified design). a numeric vector of the proportion of patients in each stratum. Length of vector should equal the number of strata in the study and sum of vector should be 1. Should only be specified for stratified design. References Rucker G (1989). "A two-stage trial design for testing treatment, self-selection and treatment preference effects." Stat Med, 8(4): (PubMed) effects_from_means(mu1=1, mu2=2, mu11=1.5, mu22=2.5, phi=0.5) fit_preference Fit the Preference Data Collected from a Two-stage Clinical Trial Computes the test statistics and p-values for the preference, selection, and treatment effects for the two-stage randomized trial using collected outcome, random, treatment, and strata values for specified significance level. fit_preference(outcome, random, treatment, strata, alpha = 0.05) outcome random treatment strata alpha (numeric) individual trial outcomes. (logical) was this individual part of the random arm? (character, factor, or integer) which treatment an individual received (optional integer) which strata the individual belongs to. (optional numeric) Level of significance (default=0.05) # Unstratified outcome <- c(10, 8, 6, 10, 5, 8, 7, 6, 10, 12, 11, 6, 8, 10, 5, 7, 9, 12, 6, 8, 9, 10, 7, 8,11) random <- c(rep(false, 13), rep(true, 12)) treatment <- c(rep(1, 5), rep(2, 8), rep(1, 6), rep(2, 6)) fit_preference(outcome, random, treatment) # Stratified # Same data plus strata information. strata <- c(1,1,2,2,2,1,1,1,1,2,2,2,2,1,1,1,2,2,2,1,1,1,2,2,2) fit_preference(outcome, random, treatment, strata, alpha=0.1)

6 6 fit_preference_summary fit_preference_summary Fit Preference Model from Summary Data Computes the test statistics and p-values for the preference, selection, and treatment effects in a two-stage randomized trial using summary data. fit_preference_summary(x1mean, x1var, m1, x2mean, x2var, m2, y1mean, y1var, n1, y2mean, y2var, n2, xi = 1, nstrata = 1, alpha = 0.05) x1mean x1var m1 x2mean x2var m2 y1mean y1var n1 y2mean y2var n2 xi mean of responses for patients choosing treatment 1. If study is stratified, should be vector with length equal to the number of strata. variance of responses for patients choosing treatment 1. If study is stratified, should be vector with length equal to the number of strata. number of patients choosing treatment 1. If study is stratified, should be vector with length equal to the number of strata. mean of responses for patients choosing treatment 2. If study is stratified, should be vector with length equal to the number of strata. variance of responses for patients choosing treatment 2. If study is stratified, should be vector with length equal to the number of strata. number of patients choosing treatment 2. If study is stratified, should be vector with length equal to the number of strata. mean of responses for patients randomized to treatment 1. If study is stratified, should be vector with length equal to the number of strata. variance of responses for patients randomized to treatment 1. If study is stratified, should be vector with length equal to the number of strata. number of patients randomized to treatment 1. If study is stratified, should be vector with length equal to the number of strata. mean of responses for patients randomized to treatment 2. If study is stratified, should be vector with length equal to the number of strata. variance of responses for patients randomized to treatment 2. If study is stratified, should be vector with length equal to the number of strata. number of patients randomized to treatment 2. If study is stratified, should be vector with length equal to the number of strata. a numeric vector of the proportion of patients in each stratum. Length of vector should equal the number of strata in the study and sum of vector should be 1. All vector elements should be numeric values between 0 and 1. Default is 1 (i.e. unstratified design).

7 fit_preference_summary 7 nstrata alpha number of strata. Default is 1 (i.e. unstratified design). Type I error rate, used to determine confidence interval level for the effect estimates. Default is 0.05 (i.e. 95% confidence interval) References Rucker G (1989). "A two-stage trial design for testing treatment, self-selection and treatment preference effects." Stat Med, 8(4): (PubMed) Cameron B, Esserman D (2016). "Sample Size and Power for a Stratified Doubly Randomized Preference Design." Stat Methods Med Res. (PubMed) # Unstratified x1mean <- 5 x1var <- 1 m1 <- 15 x2mean <- 7 x2var <- 1.1 m2 <- 35 y1mean <- 6 y1var <- 1 n1 <- 25 y2mean <- 8 y2var <- 1.2 n2 <- 25 fit_preference_summary(x1mean, x2var, m1, x2mean, x2var, m2, y1mean, y1var, n1, y2mean, y2var, n2) # Stratified x1mean <- c(5, 3) x1var <- c(1, 1) m1 <- c(15, 30) x2mean <- c(7, 7) x2var <- c(1.1, 3.1) m2 <- c(35, 40) y1mean <- c(6, 4) y1var <- c(1, 2) n1 <- c(25, 35) y2mean <- c(8, 12) y2var <- c(1.2, 1) n2 <- c(25, 20) fit_preference_summary(x1mean, x2var, m1, x2mean, x2var, m2, y1mean, y1var, n1, y2mean, y2var, n2, alpha=0.1)

8 8 optimal_proportion imap_stratified_summary Data from the the IMAP study The Improving Management of Abnormal Pap Smears study used a two-stage randomized preference trial design to evaluate psychosocial outcomes in women found to have atypical cells in a Pap Smear. Two systems for managing the atypical cells were tested (repeated Pap smears or HCV triage) and a doubly randomized design was used to evaluate the role of patient preference. The data set provides mean, standard deviation and sample sizes of the SF36 outcome for each treatment in both the choice and random arms. Three data sets are provided with the preference package based on the IMAP study. The first, imap_summary provides summary statistics of the entire trial. The second imap_summary_stratified, summary statistics of the study per strata. The third imap is a resampled version of the individual level data including stratification. Each of these data sets are compatible with the analysis functions fit_preference_summary, fit_preference, and preference, provided in this package. The examples sections in the documentation illustrate their use. References McCaffery et al. (2010) "Psychosocial outcomes of three triage methods for the management of borderline abnormal cervical smears: an open randomised trial." BMJ, 340:b4491. (PubMed) McCaffery et al. (2011) "Determining the Impact of Informed Choice: Separating Treatment Effects from the Effects of Choice and Selection in Randomized Trials." Med Decis Making, 31(2): (PubMed) optimal_proportion Unstratified Optimized Theta Calculates the optimal proportion of patients assigned to the choice arm in an unstratified two-stage randomized trial optimal_proportion(w_sel, w_pref, w_treat, sigma2, phi, delta_pi, delta_nu)

9 overall_power 9 w_sel w_pref w_treat sigma2 phi delta_pi delta_nu weight assigned to the estimation of the selection effect. Each weight should be a numeric value between 0 and 1 and sum of three weights should be 1. weight assigned to the estimation of the preference effect. Each weight should be a numeric value between 0 and 1 and sum of three weights should be 1. weight assigned to estimation of the treatment effect. Each weight should be a numeric value between 0 and 1 and sum of three weights should be 1. variance estimate. Should be a positive numeric value. proportion of patients preferring treatment 1. Should be numeric value between 0 and 1. overall study preference effect. overall study selection effect. References Walter et. al. (2011). "Optimal allocation of participants for the estimation of selection, preference and treatment effects in the two-stage randomised trial design." Stat Med, 31(13): (PubMed) optimal_proportion(w_sel=0.2, w_pref=0.4, w_treat=0.4, sigma2=1, phi=0.5, delta_pi=1, delta_nu=0.5) overall_power Power Calculation from Sample Size Calculates the study power to detect a set of effects given a particular sample size in a two-stage randomized clinical trial overall_power(n, phi, sigma2, delta_pi, delta_nu, delta_tau, alpha = 0.05, theta = 0.5, xi = 1, nstrata = 1, k = 1) N phi overall study sample size. the proportion of patients preferring treatment 1. Should be numeric value between 0 and 1. If study is stratified, should be vector with length equal to the number of strata in the study.

10 10 overall_sample_size sigma2 delta_pi delta_nu delta_tau alpha theta xi nstrata variance estimate. Should be positive numeric values. If study is stratified, should be vector of within-stratum variances with length equal to the number of strata in the study. overall study preference effect. overall study selection effect. overall study treatment effect. desired type I error rate. proportion of patients assigned to choice arm in the initial randomization. Should be numeric value between 0 and 1 (default=0.5). a numeric vector of the proportion of patients in each stratum. Length of vector should equal the number of strata in the study and sum of vector should be 1. All vector elements should be numeric values between 0 and 1. Default is 1 (i.e. unstratified design). number of strata. Default is 1 (i.e. unstratified design). k the ratio of treatment A to treatment B in the random arm (default 1). References Turner RM, et al. (2014). "Sample Size and Power When Designing a Randomized Trial for the Estimation of Treatment, Selection, and Preference Effects." Medical Decision Making, 34: (PubMed) Cameron B, Esserman D (2016). "Sample Size and Power for a Stratified Doubly Randomized Preference Design." Stat Methods Med Res. (PubMed) overall_sample_size Overall Sample Size Calculates the sample size required to detect a given set of effects in a two-stage randomized clinical trial. Returns the largest of the required sample sizes for a given set of treatment, selection, and preference effects. overall_sample_size(power, phi, sigma2, delta_pi, delta_nu, delta_tau, alpha = 0.05, theta = 0.5, xi = 1, nstrata = 1, k = 1) power desired study power. Should be numeric value between 0 and 1. phi the proportion of patients preferring treatment 1. Should be numeric value between 0 and 1. If study is stratified, should be vector with length equal to the number of strata in the study.

11 preference 11 sigma2 delta_pi delta_nu delta_tau alpha theta xi nstrata k variance estimate. Should be positive numeric values. If study is stratified, should be vector of within-stratum variances with length equal to the number of strata in the study. overall study preference effect. overall study selection effect. overall study treatment effect. desired type I error rate. proportion of patients assigned to choice arm in the initial randomization. Should be numeric value between 0 and 1 (default=0.5). a numeric vector of the proportion of patients in each stratum. Length of vector should equal the number of strata in the study and sum of vector should be 1. All vector elements should be numeric values between 0 and 1. Default is 1 (i.e. unstratified design). number of strata. Default is 1 (i.e. unstratified design). the ratio of treatment A to treatment B in the random arm. (default 1, i.e. equal distribution to the two treatments in the random arm) References Turner RM, et al. (2014). "Sample Size and Power When Designing a Randomized Trial for the Estimation of Treatment, Selection, and Preference Effects." Medical Decision Making, 34: (PubMed) Cameron B, Esserman D (2016). "Sample Size and Power for a Stratified Doubly Randomized Preference Design." Stat Methods Med Res. (PubMed) preference Fit Preference Data Collected from a Two-stage Clinical Trial The variables in the formula should reference columns in the data parameter and should have the following characteristics. outcome: Numeric values giving the outcome of interest. treatment: Character, categorical, or integer values denoting the treatment received by an individual. arm: Logical value indicating whether the sample was from the random arm (TRUE) or choice (FALSE). strata: An optional integer value denoting which strata individuals belong to. preference(form, data, alpha = 0.05)

12 12 preference.trial form data a formula of the form outcome ~ treatment:arm { strata}. See Details for more explanation. a data.frame containing variables specified in the formula alpha (optional numeric) Level of significance (default 0.05) # Unstratified outcome <- c(10, 8, 6, 10, 5, 8, 7, 6, 10, 12, 11, 6, 8, 10, 5, 7, 9, 12, 6, 8, 9, 10, 7, 8, 11) arm <- c(rep("choice", 13), rep("random", 12)) treatment <- c(rep(1, 5), rep(2, 8), rep(1, 6), rep(2, 6)) d <- data.frame(outcome=outcome, treatment=treatment, arm=arm) preference(outcome ~ treatment:arm, d) # Stratified outcome <- c(10, 8, 6, 10, 5, 8, 7, 6, 10, 12, 11, 6, 8, 10, 5, 7, 9, 12, 6, 8, 9, 10, 7, 8,11) random <- c(rep(false, 13), rep(true, 12)) treatment <- c(rep(1, 5), rep(2, 8), rep(1, 6), rep(2, 6)) strata <- c(1,1,2,2,2,1,1,1,1,2,2,2,2,1,1,1,2,2,2,1,1,1,2,2,2) d <- data.frame(outcome=outcome, treatment=treatment, arm=arm, strata=strata) preference(outcome ~ treatment:arm strata, d, alpha=0.1) preference.trial Create a Preference Trial Create a Preference Trial preference.trial(pref_ss, pref_effect, selection_ss, selection_effect, treatment_ss, treatment_effect, sigma2, pref_prop, choice_prop = 0.5, stratum_prop = 1, alpha = 0.05, k = 1) pref_ss pref_effect selection_ss the sample size of the preference arm. the effect size of the preference arm (delta_pi). the sample size of the selection arm.

13 preference.trial 13 selection_effect the effect size of selection arm (delta_nu). treatment_ss the sample size of the treatment arm. treatment_effect the sample size of the treatment arm (delta_tau) sigma2 pref_prop choice_prop stratum_prop the variance estimate of the outcome of interest. This value should be positive numeric values. If study is stratified, should be vector of within-stratum variances with length equal to the number of strata in the study. the proportion of patients preferring treatment 1. This value should be between 0 and 1 (phi). the proportion of patients assigned to choice arm in the initial randomization. Should be numeric value between 0 and 1 (default=0.5) (theta). xi a numeric vector of the proportion of patients in each stratum. Length of vector should equal the number of strata in the study and sum of vector should be 1. All vector elements should be numeric values between 0 and 1. Default is 1 (i.e. unstratified design) (xi). alpha the desired type I error rate (default 0.05). k the ratio of treatment A to treatment B in the random arm (default 1).. References Turner RM, et al. (2014). "Sample Size and Power When Designing a Randomized Trial for the Estimation of Treatment, Selection, and Preference Effects." Medical Decision Making, 34: (PubMed) Cameron B, Esserman D (2016). "Sample Size and Power for a Stratified Doubly Randomized Preference Design." Stat Methods Med Res. (PubMed) # Unstratified single trial. preference.trial(pref_ss=100, pref_effect=1, selection_ss=100, selection_effect=1, treatment_ss=100, treatment_effect=1, sigma2=1, pref_prop=0.6) # Stratified single trial. preference.trial(pref_ss=100, pref_effect=1, selection_ss=100, selection_effect=1, treatment_ss=100, treatment_effect=1, sigma2=list(c(1, 0.8)), pref_prop=list(c(0.6, 0.3)), choice_prop=0.5, stratum_prop=list(c(0.3, 0.7))) # Multiple trials unstratified. preference.trial(pref_ss=100, pref_effect=seq(0.1, 2, by=0.5), selection_ss=100, selection_effect=1, treatment_ss=100, treatment_effect=1, sigma2=1, pref_prop=0.6) # Multiple, stratified trials. preference.trial(pref_ss=100, pref_effect=seq(0.1, 2, by=0.5),

14 14 pt_from_power selection_ss=100, selection_effect=1, treatment_ss=100, treatment_effect=1, sigma2=list(c(1, 0.8)), pref_prop=list(c(0.6, 0.3)), choice_prop=0.5, stratum_prop=list(c(0.3, 0.7))) pt_from_power Design Preference Trials with Power Constraint(s) Create a set of preference trials with specified power. The power parameter guarantees that the power will be at least what is specified for each of the three arms. pt_from_power(power, pref_effect, selection_effect, treatment_effect, sigma2, pref_prop, choice_prop = 0.5, stratum_prop = 1, alpha = 0.05, k = 1) power pref_effect the desired power(s) for the trial(s) the effect size of the preference arm (delta_pi). selection_effect the effect size of selection arm (delta_nu). treatment_effect the sample size of the treatment arm (delta_tau) sigma2 pref_prop choice_prop stratum_prop the variance estimate of the outcome of interest. This value should be positive numeric values. If study is stratified, should be vector of within-stratum variances with length equal to the number of strata in the study. the proportion of patients preferring treatment 1. This value should be between 0 and 1 (phi). the proportion of patients assigned to choice arm in the initial randomization. Should be numeric value between 0 and 1 (default=0.5) (theta). xi a numeric vector of the proportion of patients in each stratum. Length of vector should equal the number of strata in the study and sum of vector should be 1. All vector elements should be numeric values between 0 and 1. Default is 1 (i.e. unstratified design) (xi). alpha the desired type I error rate (default 0.05). k the ratio of treatment A to treatment B in the random arm (default 1)..

15 pt_from_ss 15 # Unstratified trials with power constraints. pt_from_power(power=seq(.1, 0.8, by=0.1), pref_effect=1, selection_effect=1, treatment_effect=1, sigma2=1, pref_prop=0.6) # Stratified trials with power constraints. Note that the proportion # of patients in the choice arm (choice prop) is fixed for all strata. pt_from_power(power=seq(0.1, 0.8, by=0.1), pref_effect=1, selection_effect=1, treatment_effect=1, sigma2=list(c(1, 0.8)), pref_prop=list(c(0.6, 0.3)), choice_prop=0.5, stratum_prop=list(c(0.3, 0.7))) # or... pt_from_power(power=seq(0.1, 0.8, by=0.1), pref_effect=1, selection_effect=1, treatment_effect=1, sigma2=c(1, 0.8), pref_prop=c(0.6, 0.3), choice_prop=0.5, stratum_prop=c(0.3, 0.7)) pt_from_ss Design Preference Trials with Sample Size Constraint(s) Create a set of preference trials where the maximum sample size for an arm is specified. pt_from_ss(ss, pref_effect, selection_effect, treatment_effect, sigma2, pref_prop, choice_prop = 0.5, stratum_prop = 1, alpha = 0.05, k = 1) ss the maximum size of any of the three arms. pref_effect the effect size of the preference arm (delta_pi). selection_effect the effect size of selection arm (delta_nu). treatment_effect the sample size of the treatment arm (delta_tau) sigma2 pref_prop the variance estimate of the outcome of interest. This value should be positive numeric values. If study is stratified, should be vector of within-stratum variances with length equal to the number of strata in the study. the proportion of patients preferring treatment 1. This value should be between 0 and 1 (phi).

16 16 pt_plot choice_prop stratum_prop the proportion of patients assigned to choice arm in the initial randomization. Should be numeric value between 0 and 1 (default=0.5) (theta). xi a numeric vector of the proportion of patients in each stratum. Length of vector should equal the number of strata in the study and sum of vector should be 1. All vector elements should be numeric values between 0 and 1. Default is 1 (i.e. unstratified design) (xi). alpha the desired type I error rate (default 0.05).. k the ratio of treatment A to treatment B in the random arm (default 1). # Unstratified trials with power constraints. pt_from_ss(ss=seq(100, 1000, by=100), pref_effect=1, selection_effect=1, treatment_effect=1, sigma2=1, pref_prop=0.6) # Stratified trials with power constraints. Note that the proportion # of patients in the choice arm (choice prop) is fixed for all strata. pt_from_ss(ss=seq(100, 1000, by=100), pref_effect=1, selection_effect=1, treatment_effect=1, sigma2=list(c(1, 0.8)), pref_prop=list(c(0.6, 0.3)), choice_prop=0.5, stratum_prop=list(c(0.3, 0.7))) # or... pt_from_ss(ss=seq(100, 1000, by=100), pref_effect=1, selection_effect=1, treatment_effect=1, sigma2=c(1, 0.8), pref_prop=c(0.6, 0.3), choice_prop=0.5, stratum_prop=c(0.3, 0.7)) pt_plot Plot the effect sizes of a preference trial The pt_plot() function visualizes the change in the preference effect, the selection effect, or both as a function of the total sample size of the trial. If the preference effect varies but the selection effect does not, then it plots the preference effect by the total sample size. Similarly if the selection effect varies but not the preference effect then selection effect vs total sample size is shown. When both preference and selection effect vary then the selection effect is shown conditioned on the given preference effects. It is assumed that the set of trial provided as a parameter are related and are comparable. For example, the function does not check to if the strata are the same for all trials. If some other visualization is required then the user is reminded that a preference.trial object is a data frame and can be visualized in the usual way.

17 sample_size 17 pt_plot(pt) pt an object of class preference.trial. # Plot trials with fixed power and varying preference effect. trials <- pt_from_power(power = 0.8, pref_effect = seq(0.5, 2, by = 0.1), selection_effect = 1, treatment_effect = 1, sigma2 = 1, pref_prop = 0.6) pt_plot(trials) # Plot trials with fixed power and varying selection effect. trials <- pt_from_power(power = 0.8, pref_effect = 1, selection_effect = seq(0.5, 2, by = 0.1), treatment_effect = 1, sigma2 = 1, pref_prop = 0.6) pt_plot(trials) # Plot trials with fixed power and varying preference and # selection effects. # the selection effects of interest selection_effects <- rep(seq(0.5, 2, by = 0.1), 4) # the preference effects to condition on pref_effects <- rep(seq(0.4, 1, by = 0.2), each = length(selection_effects)/4) trials <- pt_from_power(power = 0.8, pref_effect = pref_effects, selection_effect = selection_effects, treatment_effect = 1, sigma2 = 1, pref_prop = 0.6) pt_plot(trials) sample_size Preference trial parameter accessors Accessor function have been created to get the sample size (sample_size), power (power), effect size (effect_size), arm proportion (proportion), significance (significance), and trial variance estimates (sigma2) for a set of preference trials. Note that these methods are preferred over accessing the underlying data frame directly since the structure is slightly non-standard (some columns are lists) and some values, like power, are not stored directly.

18 18 sample_size sample_size(x) ## S3 method for class 'preference.trial' sample_size(x) power(x) ## S3 method for class 'preference.trial' power(x) effect_size(x) ## S3 method for class 'preference.trial' effect_size(x) proportion(x) ## S3 method for class 'preference.trial' proportion(x) significance(x) ## S3 method for class 'preference.trial' significance(x) sigma2(x) ## S3 method for class 'preference.trial' sigma2(x) x the set of preference trials. # Create a set of trials with a sequence of preference effects. trials <- preference.trial(pref_ss=100, pref_effect=seq(0.1, 2, by=0.5), selection_ss=100, selection_effect=1, treatment_ss=100, treatment_effect=1, sigma2=1, pref_prop=0.6) # the sample sizes sample_size(trials) # the powers power(trials)

19 treatment_effect_size 19 # the effect sizes effect_size(trials) # the arm proportions proportion(trials) # the significance significance(trials) # the variance estimates sigma2(trials) treatment_effect_size Treatment Effect Back Calculation Calculates the treatment effect that can be detected given a desired study power and overall study sample size for the two-stage randomized design treatment_effect_size(n, power, sigma2, alpha = 0.05, theta = 0.5, xi = 1, nstrata = 1) N overall study sample size. power desired study power. Should be numeric value between 0 and 1. sigma2 alpha theta xi nstrata variance estimate. Should be positive numeric values. If study is stratified, should be vector of within-stratum variances with length equal to the number of strata in the study. desired type I error rate. proportion of patients assigned to choice arm in the initial randomization. Should be numeric value between 0 and 1 (default=0.5). a numeric vector of the proportion of patients in each stratum. Length of vector should equal the number of strata in the study and sum of vector should be 1. All vector elements should be numeric values between 0 and 1. Default is 1 (i.e. unstratified design). number of strata. Default is 1 (i.e. unstratified design). treatment_effect_size(n=300, power=0.9, sigma2=c(1,0.8), xi=c(0.3,0.7), nstrata=2)

20 Index Topic data imap_stratified_summary, 8 effect_size (sample_size), 17 effects_from_means, 4 fit_preference, 5 fit_preference_summary, 6 imap (imap_stratified_summary), 8 imap_stratified_summary, 8 imap_summary (imap_stratified_summary), 8 optimal_proportion, 8 overall_power, 9 overall_sample_size, 10 power (sample_size), 17 preference, 11 preference-package, 2 preference.trial, 12 proportion (sample_size), 17 pt_from_power, 14 pt_from_ss, 15 pt_plot, 16 sample_size, 17 sigma2 (sample_size), 17 significance (sample_size), 17 treatment_effect_size, 19 20

Package ICCbin. November 14, 2017

Package ICCbin. November 14, 2017 Version 1.1.1 Date 2017-11-13 Type Package Package ICCbin November 14, 2017 Title Facilitates Clustered Binary Data Generation, and Estimation of Intracluster Correlation Coefficient (ICC) for Binary Data

More information

Package inctools. January 3, 2018

Package inctools. January 3, 2018 Encoding UTF-8 Type Package Title Incidence Estimation Tools Version 1.0.11 Date 2018-01-03 Package inctools January 3, 2018 Tools for estimating incidence from biomarker data in crosssectional surveys,

More information

Package nopaco. R topics documented: April 13, Type Package Title Non-Parametric Concordance Coefficient Version 1.0.

Package nopaco. R topics documented: April 13, Type Package Title Non-Parametric Concordance Coefficient Version 1.0. Type Package Title Non-Parametric Concordance Coefficient Version 1.0.3 Date 2017-04-10 Package nopaco April 13, 2017 A non-parametric test for multi-observer concordance and differences between concordances

More information

Stratification in two-stage randomized design

Stratification in two-stage randomized design Stratification in the two-stage randomized trial design for testing treatment, self-selection, and treatment preference e ects Yale School of Public Health May 17, 016 Motivation: Need to understand how

More information

Package ega. March 21, 2017

Package ega. March 21, 2017 Title Error Grid Analysis Version 2.0.0 Package ega March 21, 2017 Maintainer Daniel Schmolze Functions for assigning Clarke or Parkes (Consensus) error grid zones to blood glucose values,

More information

Package CompareTests

Package CompareTests Type Package Package CompareTests February 6, 2017 Title Correct for Verification Bias in Diagnostic Accuracy & Agreement Version 1.2 Date 2016-2-6 Author Hormuzd A. Katki and David W. Edelstein Maintainer

More information

Package clust.bin.pair

Package clust.bin.pair Package clust.bin.pair February 15, 2018 Title Statistical Methods for Analyzing Clustered Matched Pair Data Version 0.1.2 Tests, utilities, and case studies for analyzing significance in clustered binary

More information

Package StepReg. November 3, 2017

Package StepReg. November 3, 2017 Type Package Title Stepwise Regression Analysis Version 1.0.0 Date 2017-10-30 Author Junhui Li,Kun Cheng,Wenxin Liu Maintainer Junhui Li Package StepReg November 3, 2017 Description

More information

Package pollen. October 7, 2018

Package pollen. October 7, 2018 Type Package Title Analysis of Aerobiological Data Version 0.71.0 Package pollen October 7, 2018 Supports analysis of aerobiological data. Available features include determination of pollen season limits,

More information

Package sbpiper. April 20, 2018

Package sbpiper. April 20, 2018 Version 1.7.0 Date 2018-04-20 Package sbpiper April 20, 2018 Title Data Analysis Functions for 'SBpipe' Package Depends R (>= 3.2.0) Imports colorramps, data.table, factoextra, FactoMineR, ggplot2 (>=

More information

Package ORIClust. February 19, 2015

Package ORIClust. February 19, 2015 Type Package Package ORIClust February 19, 2015 Title Order-restricted Information Criterion-based Clustering Algorithm Version 1.0-1 Date 2009-09-10 Author Maintainer Tianqing Liu

More information

Package hei. August 17, 2017

Package hei. August 17, 2017 Type Package Title Calculate Healthy Eating Index (HEI) Scores Date 2017-08-05 Version 0.1.0 Package hei August 17, 2017 Maintainer Tim Folsom Calculates Healthy Eating Index

More information

Package citccmst. February 19, 2015

Package citccmst. February 19, 2015 Version 1.0.2 Date 2014-01-07 Package citccmst February 19, 2015 Title CIT Colon Cancer Molecular SubTypes Prediction Description This package implements the approach to assign tumor gene expression dataset

More information

Package prognosticroc

Package prognosticroc Type Package Package prognosticroc February 20, 2015 Title Prognostic ROC curves for evaluating the predictive capacity of a binary test Version 0.7 Date 2013-11-27 Author Y. Foucher

More information

Package AbsFilterGSEA

Package AbsFilterGSEA Type Package Package AbsFilterGSEA September 21, 2017 Title Improved False Positive Control of Gene-Permuting GSEA with Absolute Filtering Version 1.5.1 Author Sora Yoon Maintainer

More information

Package MSstatsTMT. February 26, Title Protein Significance Analysis in shotgun mass spectrometry-based

Package MSstatsTMT. February 26, Title Protein Significance Analysis in shotgun mass spectrometry-based Package MSstatsTMT February 26, 2019 Title Protein Significance Analysis in shotgun mass spectrometry-based proteomic experiments with tandem mass tag (TMT) labeling Version 1.1.2 Date 2019-02-25 Tools

More information

Package memapp. R topics documented: June 2, Version 2.10 Date

Package memapp. R topics documented: June 2, Version 2.10 Date Version 2.10 Date 2018-06-01 Package memapp June 2, 2018 Title The Moving Epidemic Method Web Application Description The Moving Epidemic Method, created by T Vega and JE Lozano (2012, 2015) ,

More information

Package wally. May 25, Type Package

Package wally. May 25, Type Package Type Package Package wally May 25, 2017 Title The Wally Calibration Plot for Risk Prediction Models Version 1.0.9 Date 2017-04-28 Author Paul F Blanche , Thomas A. Gerds

More information

Package tumgr. February 4, 2016

Package tumgr. February 4, 2016 Type Package Title Tumor Growth Rate Analysis Version 0.0.4 Date 2016-02-03 Author Julia Wilkerson Package tumgr February 4, 2016 Maintainer Julia Wilkerson URL https://wilkersj.shinyapps.io/tumgrshiny,

More information

Package ordibreadth. R topics documented: December 4, Type Package Title Ordinated Diet Breadth Version 1.0 Date Author James Fordyce

Package ordibreadth. R topics documented: December 4, Type Package Title Ordinated Diet Breadth Version 1.0 Date Author James Fordyce Type Package Title Ordinated Diet Breadth Version 1.0 Date 2015-11-11 Author Package ordibreadth December 4, 2015 Maintainer James A. Fordyce Calculates ordinated diet breadth with some

More information

Package singlecase. April 19, 2009

Package singlecase. April 19, 2009 Package singlecase April 19, 2009 Type Package Title statistical tests for single case studies in neuropsychology Version 0.1 Date 2008-05-07 Author Matthieu Dubois Maintainer Matthieu

More information

Package xseq. R topics documented: September 11, 2015

Package xseq. R topics documented: September 11, 2015 Package xseq September 11, 2015 Title Assessing Functional Impact on Gene Expression of Mutations in Cancer Version 0.2.1 Date 2015-08-25 Author Jiarui Ding, Sohrab Shah Maintainer Jiarui Ding

More information

Package seqdesign. April 27, Version 1.1 Date

Package seqdesign. April 27, Version 1.1 Date Version 1.1 Date 2015-04-23 Package seqdesign April 27, 2015 Title Simulation and Group Sequential Monitoring of Randomized Two-Stage Treatment Efficacy Trials with Time-to-Event Endpoints Author Michal

More information

Evaluating Social Programs Course: Evaluation Glossary (Sources: 3ie and The World Bank)

Evaluating Social Programs Course: Evaluation Glossary (Sources: 3ie and The World Bank) Evaluating Social Programs Course: Evaluation Glossary (Sources: 3ie and The World Bank) Attribution The extent to which the observed change in outcome is the result of the intervention, having allowed

More information

Package appnn. R topics documented: July 12, 2015

Package appnn. R topics documented: July 12, 2015 Package appnn July 12, 2015 Type Package Title Amyloid Propensity Prediction Neural Network Version 1.0-0 Date 2015-07-11 Encoding UTF-8 Author Maintainer Carlos Família Amyloid

More information

Package medicalrisk. August 29, 2016

Package medicalrisk. August 29, 2016 Type Package Package medicalrisk August 29, 2016 Title Medical Risk and Comorbidity Tools for ICD-9-CM Data Version 1.2 Date 2016-01-23 Generates risk estimates and comorbidity flags from ICD-9-CM codes

More information

Package p3state.msm. R topics documented: February 20, 2015

Package p3state.msm. R topics documented: February 20, 2015 Package p3state.msm February 20, 2015 Type Package Depends R (>= 2.8.1),survival,base Title Analyzing survival data Version 1.3 Date 2012-06-03 Author Luis Meira-Machado and Javier Roca-Pardinas

More information

Package HAP.ROR. R topics documented: February 19, 2015

Package HAP.ROR. R topics documented: February 19, 2015 Type Package Title Recursive Organizer (ROR) Version 1.0 Date 2013-03-23 Author Lue Ping Zhao and Xin Huang Package HAP.ROR February 19, 2015 Maintainer Xin Huang Depends R (>=

More information

Package propoverlap. R topics documented: February 20, Type Package

Package propoverlap. R topics documented: February 20, Type Package Type Package Package propoverlap February 20, 2015 Title Feature (gene) selection based on the Proportional Overlapping Scores Version 1.0 Date 2014-09-15 Author Osama Mahmoud, Andrew Harrison, Aris Perperoglou,

More information

ivlewbel: Uses heteroscedasticity to estimate mismeasured and endogenous regressor models

ivlewbel: Uses heteroscedasticity to estimate mismeasured and endogenous regressor models ivlewbel: Uses heteroscedasticity to estimate mismeasured and endogenous regressor models Fernihough, A. ivlewbel: Uses heteroscedasticity to estimate mismeasured and endogenous regressor models Queen's

More information

Unit 1 Exploring and Understanding Data

Unit 1 Exploring and Understanding Data Unit 1 Exploring and Understanding Data Area Principle Bar Chart Boxplot Conditional Distribution Dotplot Empirical Rule Five Number Summary Frequency Distribution Frequency Polygon Histogram Interquartile

More information

Package PELVIS. R topics documented: December 18, Type Package

Package PELVIS. R topics documented: December 18, Type Package Type Package Package PELVIS December 18, 2018 Title Probabilistic Sex Estimate using Logistic Regression, Based on VISual Traits of the Human Os Coxae Version 1.0.5 Date 2018-12-18 Depends R (>= 3.4.0),

More information

Package QualInt. February 19, 2015

Package QualInt. February 19, 2015 Title Test for Qualitative Interactions Version 1.0.0 Package QualInt February 19, 2015 Author Lixi Yu, Eun-Young Suh, Guohua (James) Pan Maintainer Lixi Yu Description Used for testing

More information

Package speff2trial. February 20, 2015

Package speff2trial. February 20, 2015 Version 1.0.4 Date 2012-10-30 Package speff2trial February 20, 2015 Title Semiparametric efficient estimation for a two-sample treatment effect Author Michal Juraska , with contributions

More information

Package SAMURAI. February 19, 2015

Package SAMURAI. February 19, 2015 Type Package Package SAMURAI February 19, 2015 Title Sensitivity Analysis of a Meta-analysis with Unpublished but Registered Analytical Investigations Version 1.2.1 Date 2013-08-23 Author Noory Y. Kim.

More information

Package longroc. November 20, 2017

Package longroc. November 20, 2017 Type Package Package longroc November 20, 2017 Title Time-Dependent Prognostic Accuracy with Multiply Evaluated Bio Markers or Scores Version 1.0 Date 2017-11-18 Author Alessio Farcomeni Maintainer Alessio

More information

Package seqcombo. R topics documented: March 10, 2019

Package seqcombo. R topics documented: March 10, 2019 Package seqcombo March 10, 2019 Title Visualization Tool for Sequence Recombination and Reassortment Version 1.5.1 Provides useful functions for visualizing sequence recombination and virus reassortment

More information

This is a repository copy of Practical guide to sample size calculations: superiority trials.

This is a repository copy of Practical guide to sample size calculations: superiority trials. This is a repository copy of Practical guide to sample size calculations: superiority trials. White Rose Research Online URL for this paper: http://eprints.whiterose.ac.uk/97114/ Version: Accepted Version

More information

Sequence balance minimisation: minimising with unequal treatment allocations

Sequence balance minimisation: minimising with unequal treatment allocations Madurasinghe Trials (2017) 18:207 DOI 10.1186/s13063-017-1942-3 METHODOLOGY Open Access Sequence balance minimisation: minimising with unequal treatment allocations Vichithranie W. Madurasinghe Abstract

More information

UN Handbook Ch. 7 'Managing sources of non-sampling error': recommendations on response rates

UN Handbook Ch. 7 'Managing sources of non-sampling error': recommendations on response rates JOINT EU/OECD WORKSHOP ON RECENT DEVELOPMENTS IN BUSINESS AND CONSUMER SURVEYS Methodological session II: Task Force & UN Handbook on conduct of surveys response rates, weighting and accuracy UN Handbook

More information

Package msgbsr. January 17, 2019

Package msgbsr. January 17, 2019 Type Package Package msgbsr January 17, 2019 Title msgbsr: methylation sensitive genotyping by sequencing (MS-GBS) R functions Version 1.6.1 Date 2017-04-24 Author Benjamin Mayne Maintainer Benjamin Mayne

More information

Package EpiEstim. R topics documented: February 19, Version Date 2013/03/08

Package EpiEstim. R topics documented: February 19, Version Date 2013/03/08 Version 1.1-2 Date 2013/03/08 Package EpiEstim February 19, 2015 Title EpiEstim: a package to estimate time varying reproduction numbers from epidemic curves. Author Anne Cori Maintainer

More information

Two Factor Analysis of Variance

Two Factor Analysis of Variance BIOL 310 Two Factor Analysis of Variance In the previous discussions of analysis of variance (ANOVA), only one factor was involved. For example, in Chapter 7 the variable of interest in the sample problem

More information

Package frailtyhl. February 19, 2015

Package frailtyhl. February 19, 2015 Type Package Title Frailty Models via H-likelihood Version 1.1 Date 2012-05-04 Author Il Do HA, Maengseok Noh, Youngjo Lee Package frailtyhl February 19, 2015 Maintainer Maengseok Noh

More information

Package inote. June 8, 2017

Package inote. June 8, 2017 Type Package Package inote June 8, 2017 Title Integrative Network Omnibus Total Effect Test Version 1.0 Date 2017-06-05 Author Su H. Chu Yen-Tsung Huang

More information

Package MethPed. September 1, 2018

Package MethPed. September 1, 2018 Type Package Version 1.8.0 Date 2016-01-01 Package MethPed September 1, 2018 Title A DNA methylation classifier tool for the identification of pediatric brain tumor subtypes Depends R (>= 3.0.0), Biobase

More information

Package cssam. February 19, 2015

Package cssam. February 19, 2015 Type Package Package cssam February 19, 2015 Title cssam - cell-specific Significance Analysis of Microarrays Version 1.2.4 Date 2011-10-08 Author Shai Shen-Orr, Rob Tibshirani, Narasimhan Balasubramanian,

More information

Package ExactCIdiff. February 15, 2013

Package ExactCIdiff. February 15, 2013 Package ExactCIdiff February 15, 2013 Version 1.2 Date 2013-01-28 Title Inductive Confidence Intervals for the difference between two proportions Author Guogen Shan , Weizhen Wang

More information

Package labstats. December 5, 2016

Package labstats. December 5, 2016 Type Package Package labstats December 5, 2016 Title Data Sets for the Book ``Experimental Design for Laboratory Biologists'' Version 1.0.1 Date 2016-12-04 Author Stanley E. Lazic Maintainer Stanley E.

More information

Package BCRA. April 25, 2018

Package BCRA. April 25, 2018 Type Package Title Breast Cancer Risk Assessment Version 2.0 Date 2018-04-25 Author Fanni Zhang Maintainer Fanni Zhang Package BCRA April 25, 2018 Functions provide risk projections

More information

PROcess. June 1, Align peaks for a specified precision. A user specified precision of peak position.

PROcess. June 1, Align peaks for a specified precision. A user specified precision of peak position. PROcess June 1, 2010 align Align peaks for a specified precision. A vector of peaks are expanded to a collection of intervals, eps * m/z of the peak to the left and right of the peak position. They are

More information

Package xmeta. August 16, 2017

Package xmeta. August 16, 2017 Type Package Title A Toolbox for Multivariate Meta-Analysis Version 1.1-4 Date 2017-5-12 Package xmeta August 16, 2017 Imports aod, glmmml, numderiv, metafor, mvmeta, stats A toolbox for meta-analysis.

More information

Package RNAsmc. December 11, 2018

Package RNAsmc. December 11, 2018 Type Package Package RNAsmc December 11, 2018 Title RNA Secondary Structure Module Mining, Comparison and Plotting Version 0.4.0 Author Zheng HeWei Depends RRNA,stats,graphics Maintainer Zheng HeWei

More information

Package Actigraphy. R topics documented: January 15, Type Package Title Actigraphy Data Analysis Version 1.3.

Package Actigraphy. R topics documented: January 15, Type Package Title Actigraphy Data Analysis Version 1.3. Type Package Title Actigraphy Data Analysis Version 1.3.2 Date 2016-01-14 Package Actigraphy January 15, 2016 Author William Shannon, Tao Li, Hong Xian, Jia Wang, Elena Deych, Carlos Gonzalez Maintainer

More information

R documentation. of GSCA/man/GSCA-package.Rd etc. June 8, GSCA-package. LungCancer metadi... 3 plotmnw... 5 plotnw... 6 singledc...

R documentation. of GSCA/man/GSCA-package.Rd etc. June 8, GSCA-package. LungCancer metadi... 3 plotmnw... 5 plotnw... 6 singledc... R topics documented: R documentation of GSCA/man/GSCA-package.Rd etc. June 8, 2009 GSCA-package....................................... 1 LungCancer3........................................ 2 metadi...........................................

More information

Package BUScorrect. September 16, 2018

Package BUScorrect. September 16, 2018 Type Package Package BUScorrect September 16, 2018 Title Batch Effects Correction with Unknown Subtypes Version 0.99.12 Date 2018-06-07 Author , Yingying Wei Maintainer

More information

Package ClusteredMutations

Package ClusteredMutations Package ClusteredMutations April 29, 2016 Version 1.0.1 Date 2016-04-28 Title Location and Visualization of Clustered Somatic Mutations Depends seriation Description Identification and visualization of

More information

(C) Jamalludin Ab Rahman

(C) Jamalludin Ab Rahman SPSS Note The GLM Multivariate procedure is based on the General Linear Model procedure, in which factors and covariates are assumed to have a linear relationship to the dependent variable. Factors. Categorical

More information

Package influence.me

Package influence.me Type Package Package influence.me June 7, 2017 Title Tools for Detecting Influential Data in Mixed Effects Models Version 0.9-9 Date 2017-06-07 Author Rense Nieuwenhuis, Ben Pelzer, Manfred te Grotenhuis

More information

Chapter 1: Exploring Data

Chapter 1: Exploring Data Chapter 1: Exploring Data Key Vocabulary:! individual! variable! frequency table! relative frequency table! distribution! pie chart! bar graph! two-way table! marginal distributions! conditional distributions!

More information

Statistical Power Sampling Design and sample Size Determination

Statistical Power Sampling Design and sample Size Determination Statistical Power Sampling Design and sample Size Determination Deo-Gracias HOUNDOLO Impact Evaluation Specialist dhoundolo@3ieimpact.org Outline 1. Sampling basics 2. What do evaluators do? 3. Statistical

More information

Package biocancer. August 29, 2018

Package biocancer. August 29, 2018 Package biocancer August 29, 2018 Title Interactive Multi-Omics Cancers Data Visualization and Analysis Version 1.8.0 Date 2018-04-12 biocancer is a Shiny App to visualize and analyse interactively Multi-Assays

More information

Package CTT. February 4, 2018

Package CTT. February 4, 2018 Type Package Title Classical Test Theory Functions Version 2.3.2 Date 2018-02-02 Author John T. Willse Maintainer John T. Willse Package CTT February 4, 2018 A collection of common test

More information

Name: emergency please discuss this with the exam proctor. 6. Vanderbilt s academic honor code applies.

Name: emergency please discuss this with the exam proctor. 6. Vanderbilt s academic honor code applies. Name: Biostatistics 1 st year Comprehensive Examination: Applied in-class exam May 28 th, 2015: 9am to 1pm Instructions: 1. There are seven questions and 12 pages. 2. Read each question carefully. Answer

More information

The Strucplot Framework for Visualizing Categorical Data

The Strucplot Framework for Visualizing Categorical Data The Strucplot Framework for Visualizing Categorical Data David Meyer 1, Achim Zeileis 2 and Kurt Hornik 2 1 Department of Information Systems and Operations 2 Department of Statistics and Mathematics Wirtschaftsuniversität

More information

Research Methods in Forest Sciences: Learning Diary. Yoko Lu December Research process

Research Methods in Forest Sciences: Learning Diary. Yoko Lu December Research process Research Methods in Forest Sciences: Learning Diary Yoko Lu 285122 9 December 2016 1. Research process It is important to pursue and apply knowledge and understand the world under both natural and social

More information

Describe what is meant by a placebo Contrast the double-blind procedure with the single-blind procedure Review the structure for organizing a memo

Describe what is meant by a placebo Contrast the double-blind procedure with the single-blind procedure Review the structure for organizing a memo Please note the page numbers listed for the Lind book may vary by a page or two depending on which version of the textbook you have. Readings: Lind 1 11 (with emphasis on chapters 10, 11) Please note chapter

More information

Package PROcess. R topics documented: June 15, Title Ciphergen SELDI-TOF Processing Version Date Author Xiaochun Li

Package PROcess. R topics documented: June 15, Title Ciphergen SELDI-TOF Processing Version Date Author Xiaochun Li Title Ciphergen SELDI-TOF Processing Version 1.56.0 Date 2005-11-06 Author Package PROcess June 15, 2018 A package for processing protein mass spectrometry data. Depends Icens Imports graphics, grdevices,

More information

Package GANPAdata. February 19, 2015

Package GANPAdata. February 19, 2015 Type Package Title The GANPA Datasets Package Version 1.0 Date 2011-05-26 Package GANPAdata February 19, 2015 Author Zhaoyuan Fang, Weidong Tian and Hongbin Ji Maintainer Zhaoyuan Fang

More information

RESEARCH. Psychosocial outcomes of three triage methods for the management of borderline abnormal cervical smears: an open randomised trial

RESEARCH. Psychosocial outcomes of three triage methods for the management of borderline abnormal cervical smears: an open randomised trial Psychosocial outcomes of three triage methods for the management of borderline abnormal cervical smears: an open randomised trial Kirsten J McCaffery, senior research fellow, 1 Les Irwig, professor of

More information

Still important ideas

Still important ideas Readings: OpenStax - Chapters 1 11 + 13 & Appendix D & E (online) Plous - Chapters 2, 3, and 4 Chapter 2: Cognitive Dissonance, Chapter 3: Memory and Hindsight Bias, Chapter 4: Context Dependence Still

More information

Estimands. EFPIA webinar Rob Hemmings, Frank Bretz October 2017

Estimands. EFPIA webinar Rob Hemmings, Frank Bretz October 2017 Estimands EFPIA webinar Rob Hemmings, Frank Bretz October 2017 Why estimands? To explain which treatment effect is described to prescribers and other stakeholders. To align objectives with (design and)

More information

CHL 5225 H Advanced Statistical Methods for Clinical Trials. CHL 5225 H The Language of Clinical Trials

CHL 5225 H Advanced Statistical Methods for Clinical Trials. CHL 5225 H The Language of Clinical Trials CHL 5225 H Advanced Statistical Methods for Clinical Trials Two sources for course material 1. Electronic blackboard required readings 2. www.andywillan.com/chl5225h code of conduct course outline schedule

More information

Package LipidMS. July 12, 2018

Package LipidMS. July 12, 2018 Type Package Package LipidMS July 12, 2018 Title Lipid Annotation for LC-MS/MS using Data Independent Acquisition Version 0.1.0 Author M Isabel Alcoriza-Balaguer, J Carlos Garcia-Canaveras Maintainer M

More information

Package noia. February 20, 2015

Package noia. February 20, 2015 Type Package Package noia February 20, 2015 Title Implementation of the Natural and Orthogonal InterAction (NOIA) model Version 0.97.1 Date 2015-01-06 Author Arnaud Le Rouzic (2007-2014), Arne B. Gjuvsland

More information

Describe what is meant by a placebo Contrast the double-blind procedure with the single-blind procedure Review the structure for organizing a memo

Describe what is meant by a placebo Contrast the double-blind procedure with the single-blind procedure Review the structure for organizing a memo Business Statistics The following was provided by Dr. Suzanne Delaney, and is a comprehensive review of Business Statistics. The workshop instructor will provide relevant examples during the Skills Assessment

More information

ANOVA in SPSS (Practical)

ANOVA in SPSS (Practical) ANOVA in SPSS (Practical) Analysis of Variance practical In this practical we will investigate how we model the influence of a categorical predictor on a continuous response. Centre for Multilevel Modelling

More information

EPS 625 INTERMEDIATE STATISTICS TWO-WAY ANOVA IN-CLASS EXAMPLE (FLEXIBILITY)

EPS 625 INTERMEDIATE STATISTICS TWO-WAY ANOVA IN-CLASS EXAMPLE (FLEXIBILITY) EPS 625 INTERMEDIATE STATISTICS TO-AY ANOVA IN-CLASS EXAMPLE (FLEXIBILITY) A researcher conducts a study to evaluate the effects of the length of an exercise program on the flexibility of female and male

More information

Practitioner s Guide To Stratified Random Sampling: Part 1

Practitioner s Guide To Stratified Random Sampling: Part 1 Practitioner s Guide To Stratified Random Sampling: Part 1 By Brian Kriegler November 30, 2018, 3:53 PM EST This is the first of two articles on stratified random sampling. In the first article, I discuss

More information

Sample size calculations for cluster randomised crossover trials in Australian and New Zealand intensive care research

Sample size calculations for cluster randomised crossover trials in Australian and New Zealand intensive care research Sample size calculations for cluster randomised crossover trials in Australian and New Zealand intensive care research Sarah J Arnup, Joanne E McKenzie, David Pilcher, Rinaldo Bellomo and Andrew B Forbes

More information

The Metric Comparability of Meta-Analytic Effect-Size Estimators From Factorial Designs

The Metric Comparability of Meta-Analytic Effect-Size Estimators From Factorial Designs Psychological Methods Copyright 2003 by the American Psychological Association, Inc. 2003, Vol. 8, No. 4, 419 433 1082-989X/03/$12.00 DOI: 10.1037/1082-989X.8.4.419 The Metric Comparability of Meta-Analytic

More information

Still important ideas

Still important ideas Readings: OpenStax - Chapters 1 13 & Appendix D & E (online) Plous Chapters 17 & 18 - Chapter 17: Social Influences - Chapter 18: Group Judgments and Decisions Still important ideas Contrast the measurement

More information

PSYCH-GA.2211/NEURL-GA.2201 Fall 2016 Mathematical Tools for Cognitive and Neural Science. Homework 5

PSYCH-GA.2211/NEURL-GA.2201 Fall 2016 Mathematical Tools for Cognitive and Neural Science. Homework 5 PSYCH-GA.2211/NEURL-GA.2201 Fall 2016 Mathematical Tools for Cognitive and Neural Science Homework 5 Due: 21 Dec 2016 (late homeworks penalized 10% per day) See the course web site for submission details.

More information

ANOVA. Thomas Elliott. January 29, 2013

ANOVA. Thomas Elliott. January 29, 2013 ANOVA Thomas Elliott January 29, 2013 ANOVA stands for analysis of variance and is one of the basic statistical tests we can use to find relationships between two or more variables. ANOVA compares the

More information

HS Exam 1 -- March 9, 2006

HS Exam 1 -- March 9, 2006 Please write your name on the back. Don t forget! Part A: Short answer, multiple choice, and true or false questions. No use of calculators, notes, lab workbooks, cell phones, neighbors, brain implants,

More information

F i t p o w e r 5 a n d p o i s s o n A g e- Period-Cohort models for prediction of cancer incidence

F i t p o w e r 5 a n d p o i s s o n A g e- Period-Cohort models for prediction of cancer incidence nordpred F i t p o w e r 5 a n d p o i s s o n A g e- Period-Cohort models for prediction of cancer incidence Description 'nordpred' uses the power5 and poisson Age-Period-Cohort (APC) models to calculate

More information

Package mdsdt. March 12, 2016

Package mdsdt. March 12, 2016 Version 1.2 Date 2016-03-11 Package mdsdt March 12, 2016 Title Functions for Analysis of Data with General Recognition Theory Author Robert X.D. Hawkins , Joe Houpt ,

More information

Business Statistics Probability

Business Statistics Probability Business Statistics The following was provided by Dr. Suzanne Delaney, and is a comprehensive review of Business Statistics. The workshop instructor will provide relevant examples during the Skills Assessment

More information

Table of Contents. Plots. Essential Statistics for Nursing Research 1/12/2017

Table of Contents. Plots. Essential Statistics for Nursing Research 1/12/2017 Essential Statistics for Nursing Research Kristen Carlin, MPH Seattle Nursing Research Workshop January 30, 2017 Table of Contents Plots Descriptive statistics Sample size/power Correlations Hypothesis

More information

Comparing Two ROC Curves Independent Groups Design

Comparing Two ROC Curves Independent Groups Design Chapter 548 Comparing Two ROC Curves Independent Groups Design Introduction This procedure is used to compare two ROC curves generated from data from two independent groups. In addition to producing a

More information

Systematic reviews and meta-analyses of observational studies (MOOSE): Checklist.

Systematic reviews and meta-analyses of observational studies (MOOSE): Checklist. Systematic reviews and meta-analyses of observational studies (MOOSE): Checklist. MOOSE Checklist Infliximab reduces hospitalizations and surgery interventions in patients with inflammatory bowel disease:

More information

Package DeconRNASeq. November 19, 2017

Package DeconRNASeq. November 19, 2017 Type Package Package DeconRNASeq November 19, 2017 Title Deconvolution of Heterogeneous Tissue Samples for mrna-seq data Version 1.20.0 Date 2013-01-22 Author Ting Gong Joseph D. Szustakowski

More information

Lecture 21. RNA-seq: Advanced analysis

Lecture 21. RNA-seq: Advanced analysis Lecture 21 RNA-seq: Advanced analysis Experimental design Introduction An experiment is a process or study that results in the collection of data. Statistical experiments are conducted in situations in

More information

Introduction. Step 2: Student Role - Your Plan of Action. Confounding. Good luck and have fun!

Introduction. Step 2: Student Role - Your Plan of Action. Confounding. Good luck and have fun! Confounding Introduction You have learned that random error and bias must be considered as possible explanations for an observed association between an exposure and disease. This week we will examine the

More information

Package TFEA.ChIP. R topics documented: January 28, 2018

Package TFEA.ChIP. R topics documented: January 28, 2018 Type Package Title Analyze Transcription Factor Enrichment Version 0.99.8 Author Laura Puente Santamaría, Luis del Peso Package TFEA.ChIP January 28, 2018 Maintainer Laura Puente Santamaría

More information

Exercise Verify that the term on the left of the equation showing the decomposition of "total" deviation in a two-factor experiment.

Exercise Verify that the term on the left of the equation showing the decomposition of total deviation in a two-factor experiment. Exercise 2.2.1 Verify that the term on the left of the equation showing the decomposition of "total" deviation in a two-factor experiment y ijk y = ( y i y ) + ( y j y ) + [( y ij y ) ( y i y ) ( y j y

More information

Vocabulary. Bias. Blinding. Block. Cluster sample

Vocabulary. Bias. Blinding. Block. Cluster sample Bias Blinding Block Census Cluster sample Confounding Control group Convenience sample Designs Experiment Experimental units Factor Level Any systematic failure of a sampling method to represent its population

More information

Package TEQR. R topics documented: February 5, Version Date Title Target Equivalence Range Design Author M.

Package TEQR. R topics documented: February 5, Version Date Title Target Equivalence Range Design Author M. Package TEQR Version 6.0-0 Date 2016-02-02 Title Target Equivalence Range Design Author M. Suzette Blanchard February 5, 2016 Depends Maintainer M. Suzette Blanchard The TEQR package

More information

Supplementary Online Content

Supplementary Online Content Supplementary Online Content Neuhouser ML, Aragaki AK, Prentice RL, et al. Overweight, obesity, and postmenopausal invasive breast cancer risk: a secondary analysis of the Women s Health Initiative randomized

More information

Analysis of gene expression in blood before diagnosis of ovarian cancer

Analysis of gene expression in blood before diagnosis of ovarian cancer Analysis of gene expression in blood before diagnosis of ovarian cancer Different statistical methods Note no. Authors SAMBA/10/16 Marit Holden and Lars Holden Date March 2016 Norsk Regnesentral Norsk

More information