piepho.test: Piepho's third version test for interaction

Description Usage Arguments Value Author(s) References Examples

View source: R/test.R

Description

Piepho (1994) proposed three test statistics.The third one is based on Grubbs<e2><80><99> (1948) type estimator of variance for each level of block effect. reports Piepho's test statistics and coresponding p-value by Monte Carlo datasets or asympthotic distribution.

Usage

1
piepho.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

Kharrati-Kopaei, M., Miller, A. (2016). A method for testing interaction in unreplicated two-way tables: using all pairwise interaction contrasts. Statistical Computation and Simulation 86(6):1203-1215.

Examples

1
2
3
## Not run: this is an example
data(MVGH)
piepho.test(MVGH,sim=1000)

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