inside: Calculate all values for two-stage Mann-Whitney-Wilcoxon...

Description Usage Arguments Value Examples

View source: R/inside.R

Description

Calculate all values for two-stage Mann-Whitney-Wilcoxon statistic, with frequencies

Usage

1
inside(m1, m2, n1, n2, delta, alpha, xvn)

Arguments

m1

Number in group 1, first evaluation

m2

Number in group 1, second evaluation

n1

Number in group 2, first evaluation

n2

Number in group 2, second evaluation

delta

Under normal unit variance model for responses, separation between means in groups.

alpha

Two component real vector giving target probabilities at each stage.

xvn

Two component real vector giving normal deviates associated with alpha. Note that this required knowledge of the correlation, outside of this function.

Value

List with components MC size of normal critical value, MC size of CF critical value, Edgeworth 1-size of normal critical value, Edgeworth 1-size of CF critical value, Normal type 2 error for corrected critical values, Edgeworth type 2 error for corrected critical values, Monte Carlo type 2 error for uncorrected critical values, Monte Carlo type 2 error for corrected critical values.

Examples

1
inside(m1=2,n1=2,m2=2,n2=2,delta=1,alpha=c(.98,.95),xvn=c(-2.3263482318637529,-2.0863447264627704))

kolassa-dev/twostage documentation built on Sept. 12, 2021, 3:21 a.m.