SIGMAS: compute all required SIGMA matrices for "pfrr" and "upfrr"
Description
Returns Sigmahat, Sigmahat_fit and Sigmahat_res for principal fitted response reduction and unstructured principal fitted response reduction using the choice of fx.
Usage
SIGMAS(Y, fx)
Arguments
Y
\(n \times r\) response matrix
fx
the chosen fx
Value
A list of Sigmahat, Sigmahat_fit and Sigmahat_res.
Details
Both of principal fitted response reduction and unstructured principal fitted response reduction require
to compute many SIGMAs. The SIGMAs are as follows:
Sigmahat = (Y^T Y)/n;
Sigmahat_fit = (Y^T P_fx Y)/n;
Sigmahat_res = Sigmahat - Sigmahat_fit.