Estimate the groupwise envelope subspace with specified dimension.
genvMU(M, U, MU, u, n, ng, L)
A matrix M for the non-Grassmann manifold optimization problem in Cook et al. (2016)
A matrix U for the non-Grassmann manifold optimization problem in Cook et al. (2016)
Sum of matrix M and U.
A given dimension of the groupwise envelope space. It should be an interger between \(0\) and \(r\).
The number of observations.
A \(L\) by \(1\) vector of the number of observations in each group.
The number of groups.
An \(r\) by \(u\) matrix for the orthonormal basis of the groupwise envelope subspace.
An \(r\) by \((r-u)\) matrix for the orthonormal basis of the complement of the groupwise envelope subspace.
Cook, R. D., Forzani, L. and Su, Z. (2016) A Note on Fast Envelope Estimation. Journal of Multivariate Analysis. 150, 42-54.