Last chance! 50% off unlimited learning
Sale ends in
Synthetic data generated from tensor predictor regression (TPR) model. Each response observation is univariate, and each predictor observation is a matrix.
data("square")
A list consisting of four components:
A x@data[,,i]
represents a predictor observation.
A
A
A list consisting of two
The dataset is generated from the tensor predictor regression (TPR) model:
Zhang, X. and Li, L., 2017. Tensor envelope partial least-squares regression. Technometrics, 59(4), pp.426-436.
# NOT RUN {
## Fit square dataset with the tensor predictor regression model
data("square")
x <- square$x
y <- square$y
# Model fitting with ordinary least square.
fit_std <- TPR.fit(x, y, method="standard")
# Draw the coefficient plot.
plot(fit_std)
# }
Run the code above in your browser using DataLab