Learn R Programming

hiddenf (version 2.0)

MalikPvalue: Malik's test for non-additivity

Description

Computes the p-value from the clustering-based test for non-additivity developed in Malik, et al. (2015).

Usage

MalikPvalue(hfobj, N=500,pnote=TRUE)

Arguments

hfobj
An object of class HiddenF created by the HiddenF function
N
The number of Monte Carlo datasets used to determine critical thresholds for Malik's test statistic. Default value is N=500
pnote
Boolean variable that can be used to suppress note about number of Monte Carlo datasets used to estimate pvalue

Value

References

Malik, WA, Mohring, J and Piepho, H. (2014) A clustering-based test for non-additivity in an unreplicated two-way layout, Communications in Statistics-Simulation and Computation.

See Also

HiddenF, additivityPvalues

Examples

Run this code
## Not run: 
# library(hiddenf)
# data(cjejuni.mtx)
# cjejuni.out <- HiddenF(cjejuni.mtx)
# cjejuni.MalikPvalue <- MalikPvalue(cjejuni.out)
# ## End(Not run)

Run the code above in your browser using DataLab