Learn R Programming

hiddenf (version 2.0)

MandelPvalue: Mandel's rows-linear test for non-additivity

Description

Computes the p-value from Mandel's rows-linear test for non-additivity. (The columns-linear test may be conducted by first transposing the input matrix argument.)

Usage

MandelPvalue(hfobj)

Arguments

hfobj
An object of class HiddenF created by the HiddenF function

Value

A p-value from a test of the hypothesis of additivity, along with component sums of squares used to compute p-value.

References

Mandel J. (1961) Non-Additivity in Two-Way Analysis of Variance, Journal of the American Statistical Association, 56:878-888.

See Also

HiddenF, additivityPvalues

Examples

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

Run the code above in your browser using DataLab