Description Usage Format Details References Examples
Synthetic data generated from tensor response regression (TRR) model. Each response observation is a two-dimensional image, and each binary predictor observation takes values 0 and 1, representing two groups.
1 | data("bat")
|
A list consisting of four components:
A 1 \times 20 matrix, each entry takes values 0 and 1, representing two groups.
A 64\times 64\times 20 tensor, each matrix y@data[,,i]
represents an image.
A 64\times 64 \times 1 tensor with the bat pattern.
A list consisting of two 64 \times 14 envelope basis.
The dataset is generated from the tensor response regression (TRR) model:
Y_i = B X_i + ε_i, i = 1,…, n,
where n=20 and the regression coefficient B \in R^{64\times 64} is a given image with rank 14, representing the mean difference of the response Y between two groups. To make the model conform to the envelope structure, we construct the envelope basis Γ_k and the covariance matrices Σ_k, k=1,2, of error term as following. With the singular value decomposition of B, namely B = Γ_1 Λ Γ_2^T, we choose the envelope basis as Γ_k \in R^{64\times 14}, k=1,2. Then the envelope dimensions are u_1 = u_2 = 14. We generate another two matrices Ω_k \in R^{14\times 14} = A_k A_k^T and Ω_{0k} \in R^{50\times 50} = A_{0k}A_{0k}^T, where A_k \in R^{14\times 14} and A_{0k} \in R^{50\times 50} are randomly generated from Uniform(0,1) elementwise. Then we set the covariance matrices Σ_k = Γ_kΩ_k Γ_k^T + Γ_{0k}Ω_{0k} Γ_{0k}^T, followed by normalization with their Frobenius norms. We set the first 10 predictors X_i, i=1,…, 10, as 1 and the rest as 0. The error term is then generated from two-way tensor (matrix) normal distribution TN( 0; Σ_1, Σ_2).
Li, L. and Zhang, X., 2017. Parsimonious tensor response regression. Journal of the American Statistical Association, 112(519), pp.1131-1146.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.