Description Usage Arguments Details Value Note Author(s) References Examples
Does a permutation test on the results from ASCA.Calculate by repeating the ASCA analysis many times with permutated samples.
1 | ASCA.DoPermutationTest(asca, perm = 1000)
|
asca |
a previously done ASCA analysis should be supplied. |
perm |
the number of permutations to be performed. |
The significance of treatment effects or of interactions between treatment effects can be evaluated by considering the p-values that are returned by ASCA.DoPermutationTest. The p-values are determined by the fraction permutations that have a larger value for the test statistic than the test statistic of the data matrix. The test statistic used is the sum of squares of the treatment level averages.
An array is returned that contains the p-value per factor or interaction of the ASCA.
Output of ASCA.Calculate is required.
Tim Dorscheidt, Gooitzen Zwanenburg
Gooitzen Zwanenburg, Huub C.J. Hoefsloot, Johan A. Westerhuis, Jeroen J. Jansen and Age K. Smilde, ANOVA principal component analysis and ANOVA simultaneous component analysis: a comparison. J Chemometrics, 25, (2011), p. 561 - 567
MARTI J. ANDERSON, and CAJO J. F. TER BRAAK, PERMUTATION TESTS FOR MULTI-FACTORIAL ANALYSIS OF VARIANCE. Journal of Statistical Computation and Simulation, 73(2), (2003) p. 85 - 113
1 2 3 4 5 6 | ## Do ASCA on all (both) factors and the interaction between the two factors
data(ASCAdata)
ASCA <- ASCA.Calculate(ASCAX, ASCAF, equation.elements = "1,2,12", scaling = TRUE)
## Do a permutation test to evaluate the significance to the two factors and the interaction.
ASCA.DoPermutationTest(ASCA, perm=1000)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.