Description Usage Arguments Details Value Author(s) See Also
View source: R/starting_values.R
Scaled Cholesky square roots of the sample covariance matrix and its inverse.
1  start_resids(Y, mode_rep = NULL)

Y 
An array of numeric data. 
mode_rep 
A vector of integers. The modes specified by

This function will take the sample covariance matrix of the
ith matricization of an input array Y and will return
(1) its lowertriangular Cholesky square root scaled down to have
determinant 1 and (2) the inverse of its lowertriangular Cholesky
square root scaled down to have determinant 1. This function is
primarily used to obtain starting values for the Gibbs sampler
implemented in equi_mcmc
.
Sig
A list where Sig[[i]]
is the
lowertriangular Cholesky square root of the sample covariance
matrix of the ith mode, scaled down to have determinant
1.
Sig_inv
A list where Sig_inv[[i]]
is the inverse of the
lowertriangular Cholesky square root of the sample covariance matrix of
the ith mode, scaled down to have determinant 1.
If mode_rep
is not NULL
, then the list elements in Sig
and Sig_inv
specified in mode_rep
will be the identity matrix
instead of samplebased matrices.
David Gerard.
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
Please suggest features or report bugs in the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.