View source: R/inferences4PLSC.R
Boot4PLSC | R Documentation |
Boot4PLSC
:
Creates "Bootstrap Bricks" and other bootstrqp statistics
=for the I
and J
sets
of a PLSC.
The bricks are
obtained from bootstraping the rows
of the two data-tables used for PLSC.
Boot4PLSC
uses the "transition formula" to get
the values of the row and column loadings
from multiplication of the latent variables.
Gives also the bootstraped eigenvalues
(if eigen = TRUE
).
Boot4PLSC(
DATA1,
DATA2,
center1 = TRUE,
center2 = TRUE,
scale1 = "ss1",
scale2 = "ss1",
Fi = NULL,
Fj = NULL,
nf2keep = 3,
nIter = 1000,
critical.value = 2,
eig = FALSE,
alphaLevel = 0.05
)
DATA1 |
an |
DATA2 |
an |
center1 |
when |
center2 |
when |
scale1 |
when |
scale2 |
when |
Fi |
(Default = |
Fj |
= (Default = |
nf2keep |
How many factors to
keep for the analysis (Default = |
nIter |
(Default = |
critical.value |
(Default = |
eig |
if |
alphaLevel |
the alpha level used to compute
the confidence intervals for the eigenvalues
(with CIS at 1-alpha). Default is |
Note: Boot4PLSC
gives the
eigenvalues of the matrix
X'Y
even though PLSC
works with the singular values
(i.e., the square roots of the eigenvalues) of
X'Y
. The eigenvalues were chosen because their sum is the
sum of squares (i.e., Inertia) of X'Y
.
Planned development: A compact version that gives only bootstrap ratios (not BootstrapBricks), should be useful for very large data sets.
a list with
bootstrapBrick.i
: the
the I * Dimensions * Iterations
Brick of
Bootstraped factor scores for the I
-set;
bootRatios.i
: the bootstrap ratios
for the I
-set;
bootRatiosSignificant.i
: the Significant
BRs for the I
-set;
bootstrapBrick.j
:
the J * Dimensions * Iterations
Brick of
Bootstraped factor scores for the J
-set;
bootRatios.j
: the bootstrap ratios for the J
-set;
bootRatiosSignificant.j
: the Significant
BRs for the J
-set;
In addition if eig = TRUE
, the list includes:
eigenValues
: the nIter * nL
table
of eigenvalues;
fixedEigenvalues
: the eigenvalues of
matrix nX'Y
.
eigenCIs
: the CIs for the
eigenvalues.
Hervé Abdi
scale0
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.