Learn R Programming

skewsamp (version 1.0.0)

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

Description

Estimate N on the basis of one pilot sample.

Usage

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 \(\delta\)

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.