Description Usage Arguments Value Examples
This function generates simulation data for the nested reduced-rank regression under the multivariate functional regression scenario. With user-specified model dimensions and ranks, this function first generates functional multivariate predictors and responses and then transform the functional regression problem into a conventional finite-dimensional regression problem through basis expansion and truncation. The B-spline basis is used to conduct basis expansion.
1 2 |
n |
sample size. |
ns |
number of time points at which the predictor trajectory is observed. |
nt |
number of time points at which the response trajectory is observed. |
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 predictor trajectory. |
jy |
number of basis functions to expand the response trajectory. |
p |
number of predictors. |
d |
number of responses. |
s2n |
a positive number to specify the signal to noise ratio. |
rho_X |
a scalar between 0 and 1 to specify the correlation strength among covariates. |
rho_E |
a scalar between 0 and 1 to specify the correlation strength among random errors. |
Sigma |
the correlation structure. Two options are available, "CorrAR": autoregressive, "CorrCS": compound symmetry. |
The function returns a list:
Ag |
the matrix U. |
Bg |
the matrix V. |
Al |
the matrix A. |
Bl |
the matrix B. |
C |
the coefficient matrix C. |
Alstar |
A* in equation (7) of the NRRR paper. |
Blstar |
B* in equation (7) of the NRRR paper. |
Cstar |
(U \otimes I_jy)A* B*^T(V \otimes I_jx)^T in equation (7) of the NRRR paper. |
tseq |
a sequence of time points at which the response trajectory is observed. |
psi |
the set of basis functions to expand the response trajectory. |
Jpsi |
the correlation matrix of psi. Jpsihalf is (Jpsi)^(1/2). |
sseq |
a sequence of time points at which the predictor trajectory is observed. |
phi |
the set of basis functions to expand the predictor trajectory. |
Jphi |
the correlation matrix of phi. |
E |
the random error matrix. |
Y |
an array of dimension |
X |
an array of dimension |
Ytrue |
an array of dimension |
Yest |
the response matrix used in NRRR estimation, and is of dimension n-by-jy*d. |
Xest |
the design matrix used in NRRR estimation, and is of dimension n-by-jx*p. |
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.