Description Usage Arguments Value References Examples
This function provides the initial estimators of U and V to initialize the blockwise coordinate descent algorithm.
1 | NRRR.ini(Y, X, r, rx, ry, jx, jy, p, d, n)
|
Y |
response matrix of dimension n-by-jy*d. |
X |
design matrix of dimension n-by-jx*p. |
r |
rank of the local reduced-rank structure. |
rx |
number of latent predictors. |
ry |
number of latent responses. |
jx |
number of basis functions to expand the functional predictor. |
jy |
number of basis functions to expand the functional response. |
p |
number of predictors. |
d |
number of responses. |
n |
sample size. |
The function returns a list:
Ag |
the estimated U. |
Bg |
the estimated V. |
Liu, X., Ma, S., & Chen, K. (2020). Multivariate Functional Regression via Nested Reduced-Rank Regularization. arXiv: Methodology.
1 2 3 4 5 6 7 8 | library(NRRR)
simDat <- NRRR.sim(n = 100, ns = 200, nt = 200, r = 5, rx = 3, ry = 3,
jx = 15, jy = 15, p = 10, d = 6, s2n = 1, rho_X = 0.5,
rho_E = 0, Sigma = "CorrAR")
fit_init <- with(simDat, NRRR.ini(Y = Yest, X = Xest, r = 5,
rx = 3, ry = 3, jx = 15, jy = 15,
p = 10, d = 6, n = 100))
fit_init$Ag
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.