The tuning parameters are selected using a permutation scheme. For each
candidate tuning parameter value, the following is performed:
(1) Repeat the following n times, for n large:
(a) The
samples in $(X1,...,XK)$ are randomly permuted to obtain data sets $(X1*,...,XK*)$.
(b) Sparse multiple CCA is run on the permuted data sets $(X1*,...,XK*)$
to get canonical variates $(w1*,...,wK*)$.
(c) Record $t* = sum_(i
This function only selets tuning parameters for the FIRST sparse multiple CCA factors.
MultiCCA.permute(xlist, penalties, ws=NULL,
type="standard", nperms=10, niter=3, trace=TRUE, standardize=TRUE)
# See examples in MultiCCA function
Run the code above in your browser using DataLab