power.point: Exact power; point mean-difference; standard parameterization

Description Usage Arguments Value Examples

View source: R/mean_diff_point.R

Description

Calculates the exact power of an unpaired, balanced TOST with n samples in each group. The true mean-difference is assumed to be a point, i.e. fixed value.

Usage

1
power.point(alpha, theta1, theta2, theta0, sigma, n)

Arguments

alpha

type I error

theta1

lower limit of equivalence interval

theta2

upper limit of equivalence interval

theta0

mean-difference

sigma

standard deviation of the measurements

n

sample size in each group

Value

Exact power of the TOST for a fixed point mean-difference

Examples

1
2
pwr <- power.point(alpha = 0.05, theta1 = -1, theta2 = 2, theta0 = 1, sigma = 1, n = 15)
n.point(alpha = 0.05, theta1 = -1, theta2 = 2, theta0 = 1, sigma = 1, pwr = pwr)

cpalmes/schuirmann.constant documentation built on Dec. 31, 2020, 10:07 p.m.