replication_power: Power analysis following Conditional Replicability Analysis

Description Usage Arguments

Description

Computes conditional estimates of power to replicate a study based on a CoReAnalysis fit.

Usage

1
2
replication_power(object, samp_size_ratio = 2^(seq(from = -2, to = 3, by =
  0.5)), plot = FALSE)

Arguments

object

a CoReAnalysis object.

samp_size_ratio

the ratio of the sample size in the replication study to the sample size in the original study. For example, if the sample, size in both studies is the same then the ratio is 1 and if the replication study will have 200 subjects where the original study had 100 subjects then the ration will be 100.

plot

if TRUE, then a ggplot2 object will be returned.


ammeir2/CoReAnalysis documentation built on May 17, 2019, 1:28 p.m.