Learn R Programming

skewsamp (version 1.0.0)

resample_n_locshift_one: Compute n_resamples estimates of N

Description

Compute n_resamples estimates of N

Usage

resample_n_locshift_one(sample, alpha, power, delta, n_resamples, 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\)

n_resamples

number of resamples to use in bootstrapping

q

size of group0 relative to total sample size.

Value

numeric vector of sample size estimates