n_locshift_one: Estimate N on the basis of one pilot sample.

Description Usage Arguments Value

View source: R/ssp_chakraborti_helpers.R

Description

Estimate N on the basis of one pilot sample.

Usage

1
n_locshift_one(sample, alpha, power, delta, q)

Arguments

sample

pilot data

alpha

Type I error probability

power

1 - Type II error probability, the desired statistical power

delta

numeric value, location shift parameter δ

q

size of group0 relative to total sample size.

Value

numeric value, an estimate of the sample size required to detect a location shift of delta with a Wilcoxon Mann-Whitney test with power and alpha.


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