get.power.betabinom: Estimate the power to compare two beta-binomial...

Description Usage Arguments Value Author(s)

Description

A power study useful in the context of ExomeDepth.

Usage

1
2
3
4
5
6
7
get.power.betabinom(size,
my.phi,
my.p,
my.alt.p,
theory = FALSE,
frequentist = FALSE,
limit = FALSE)

Arguments

size

Number of samples from the beta-binomial distribution.

my.phi

Over-dispersion parameter.

my.p

Expected p under the null.

my.alt.p

Expected p under the alternative.

theory

logical, should a theoretical limit (large sample size) be used? Defaults to FALSE.

frequentist

logical, should a frequentist version be used? Defaults to FALSE.

limit

logical, should another large sample size limit be used? Defaults to FALSE.

Value

An expected Bayes factor.

Author(s)

Vincent Plagnol


drramki-chop/edm documentation built on June 6, 2020, 8:48 a.m.