perm4PTCA | R Documentation |
perm4PTCA
Permutation test for the inertia and eigenvalues for PTCAperm4PTCA
Permutation for PTCA4CATA.
Computes an omnibus permutation test and
specific tests for the eigenvalues when
performing a PTCA analysis on Check All That Apply (CATA)
Data. Input is a Cube of data (products*Descriptors*Assessors).
Three different permutation schemes
are currently available (see paramater
permType
).
perm4PTCA( aCube, nIter = 1000, permType = "byRows", compact = FALSE, Malinvaud = TRUE )
aCube |
an I*J*K (i.e., products*Descriptors*Assessors) of CATA Data. |
nIter |
(Default = 1000). Number of Iterations (i.e., number of permuted samples computed). |
permType |
what type of permutation is used if 'byRows' (default) the data are permuted within the rows (i.e., products) for each assessor. if 'byCols' the data are permuted within the columns (i.e., descriptors) for each assessor. if 'byMat' the data are permuted within the whole data matrix (i.e., products*descriptors) for each assessor. |
compact |
if TRUE return (Default) only p-values for omnibus test |
Malinvaud |
(default = TRUE) return the results of the Malinvaud-Saporta chi square test |
a list with
fixedInertia
: the CA-inertia of the data matrix;
fixedEigenvalues
: the CA-eigenvalues of
the data matrix;
pOmnibus
: the probability associated
to the inertia.
If compact
is FALSE
, return also
permInertia
:
an nIter
* 1 vector containing the
permutated inertia;
pEigenvalues
: The probabilites
associated to each eigenvalue;
If compact
is is FALSE
, return also
permEigenvalues
: an
nIter
* L
matrix giving
the permuted eigenvalues.
Herve Abdi
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.