n_noether: Noether's (1987) formula for obtaining a sample size...

Description Usage Arguments Value

View source: R/ssp_chakraborti_helpers.R

Description

Noether's (1987) formula for obtaining a sample size estimation for the two-sample Wilcoxon Mann-Whitney test.

Usage

1
n_noether(alpha, power, p, q = 0.5)

Arguments

alpha

Type I error probability

power

1 - Type II error probability, the desired statistical power

p

probability P(X < Y) that a random observation from group X is smaller than a random observation from group Y

q

relative sample size of the X-sample. Number between 0 and 1. q = 0.5 means that the size of the X-sample will be 50% of the total sample size

Value

estimated required total sample size


skewsamp documentation built on Dec. 17, 2021, 1:07 a.m.