Boik.test: Boik's LBI test

Description Usage Arguments Value Author(s) References Examples

View source: R/test.R

Description

Computes LBI's test statistics (tr(R'R))^2/(p tr((R'R)^2)), where R is residual matrix of input data matrix under additivity assumption, and returns corresponung p-value.

Usage

1
Boik.test(x, nsim = 1000, ...)

Arguments

x

A b-by-t data matrix, which rows corresponding to b-block effects and columns are t-treatment effects.

nsim

Number of simulation for compueting exact p-value. The defaut value is 1000.

Value

Exact and asymptotic p-value for input

Author(s)

Zahra. Shenavari, ....

References

Boik, R. J. (1993a). Testing additivity in two-way classifications with no replications: the locally best invariant test. Journal of Applied Statistics 20(1): 41-55.

Examples

1
2
3
## Not run: this is an example
data(MVGH)
Boik.test(MVGH, nsim=10000)

sdateam/combinIT documentation built on May 6, 2019, 12:10 p.m.