n.point: Exact sample size; point mean-difference

Description Usage Arguments Value Examples

View source: R/mean_diff_point.R

Description

Exact sample size calculation of a balanced, unpaired TOST. The result n are the samples in one group. The true mean-difference is assumed to be a point, i.e. fixed value.

Usage

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

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

pwr

Exact power of the TOST

Value

sample size in each group

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.