power_null: Probability that pdelta = 0

Description Usage Arguments Value Examples

Description

Probability that pδ = 0

Usage

1
power_null(delta, n, theta)

Arguments

delta

Numeric vector. The width of the indifference zone in SD units.

n

Numeric. The sample size.

theta

The "true" effect size.

Value

Data frame with the following columns:

Examples

1
2
3
4
5
power_null(
   delta = c(0, 1/30, 1/2, 1),
   n = 33,
   theta = seq(-3, 3, 0.01)
   )

LucyMcGowan/sgpvalue documentation built on May 3, 2019, 4:30 p.m.