MB-PLS regression applied to a set of quantitative blocks of variables.
MBPLS(
X,
Y,
block,
name.block = NULL,
ncomp = NULL,
scale = TRUE,
scale.block = TRUE,
scale.Y = TRUE
)Returns a list of the following elements:
Numeric vector of the optimal value of the criterion (sum of saliences) obtained for each dimension.
Matrix of the specific weights of each predictor block on the global components, for each dimension.
Matrix of normed global components.
Matrix of global components (scores of individuals).
Matrix of global weights (normed) associated with deflated X.
Matrix of global loadings.
Matrix of global projection (to compute scores from pretreated X).
Matrix of percentages of inertia explained in each predictor block.
Matrix giving the percentages, and cumulative percentages, of total inertia of X and Y blocks explained by the global components.
A list containing un-normed Y components (U), normed Y weights (W.Y) and Y loadings (Load.Y)
A list containing block components (T.b) and block weights (W.b)
Dataset obtained by horizontally merging all the predictor blocks of variables.
Response block of variables.
Vector indicating the number of variables in each predictor block.
Names of the predictor blocks of variables (NULL by default).
Number of dimensions to compute. By default (NULL), all the global components are extracted.
Logical, if TRUE (by default) the variables in X are scaled to unit variance (all variables in X are centered anyway).
Logical, if TRUE (by default) each predictor block of variables is divided by the square root of its inertia (Frobenius norm).
Logical, if TRUE (by default) then variables in Y are scaled to unit variance (all variables in Y are centered anyway).
S. Wold (1984). Three PLS algorithms according to SW. In: Symposium MULDAST (Multivariate Analysis in
Science and Technology), Umea University, Sweden. pp. 26–30.
E. Tchandao Mangamana, R. Glèlè Kakaï, E.M. Qannari (2021). A general strategy for setting up supervised methods of multiblock data analysis. Chemometrics and Intelligent Laboratory Systems, 217, 104388.
summary.MBPLS plot.MBPLS
data(ham)
X=ham$X
block=ham$block
Y=ham$Y
res.mbpls <- MBPLS(X, Y, block, name.block = names(block))
summary(res.mbpls)
plot(res.mbpls)
Run the code above in your browser using DataLab