tccv: Conditional critical value adaptive t-test

Description Usage Arguments Value Author(s) Examples

Description

Computes the conditional critical value of the adaptive one-sided one-sample t-test for the null hypothesis mu=0 against the alternative mu > 0, given first stage sum of observations, sum of squares, and adapted secon stage sum of squares

Usage

1
tccv(tu2, u1, v1, tn2, n, n1, alpha = 0.025)

Arguments

tu2

Sum of squares of extended second stage

u1

First stage sum of squares

v1

First stage sum of observations

tn2

Extended second stage sample size

n

Preplanned total sample size

n1

First stage sample size

alpha

Significance level

Value

Conditional level for the adapted test

Author(s)

Florian Klinglmueller

Examples

1
2
3
4
5
6
7
8
9
## From Timmesfeld et al. (2007) - should be 0.042
tu2 = 49968.5
u1 = 7989
v1 = 82.5
tn2 = 104
n1 = 15
n = 65
clev(tu2,u1,v1,tn2,n,n1)
tccv(tu2,u1,v1,tn2,n,n1)

floatofmath/resamplingMCP documentation built on May 16, 2019, 1:21 p.m.