
Last chance! 50% off unlimited learning
Sale ends in
fit multivariate reduced rank regression for a specified rank.
rrr.fit(Y, X, nrank = nrank)
a matrix of response (n by q)
a matrix of covariate (n by p)
an integer specifying the desired rank
reduced rank estimate
# NOT RUN {
#require(secure)
Y <- matrix(rnorm(400), 100, 4)
X <- matrix(rnorm(800), 100, 8)
rrr.fit <- rrr.fit(Y, X, nrank = 3)
# }
Run the code above in your browser using DataLab