Learn R Programming

TRES (version 1.1.1)

TRES-package: Tensor Regression with Envelope Structure and Three Generic Envelope Estimation Approaches

Description

Provides three estimators for tensor response regression (TRR) and tensor predictor regression (TPR) models with tensor envelope structure. The three types of estimation approaches are generic and can be applied to any envelope estimation problems. The full Grassmannian (FG) optimization is often associated with likelihood-based estimation but requires heavy computation and good initialization; the one-directional optimization approaches (1D and ECD algorithms) are faster, stable and does not require carefully chosen initial values; the SIMPLS-type is motivated by the partial least squares regression and is computationally the least expensive.

Arguments

References

Cook RD, Zhang X (2016). <U+201C>Algorithms for Envelope Estimation.<U+201D> Journal of Computational and Graphical Statistics, 25(1), 284<U+2013>300. doi:10.1080/10618600.2015.1029577.

Li L, Zhang X (2017). <U+201C>Parsimonious Tensor Response Regression.<U+201D> Journal of the American Statistical Association, 112(519), 1131<U+2013>1146.

Zhang X, Li L (2017). <U+201C>Tensor Envelope Partial Least Squares Regression.<U+201D> Technometrics, 59(4), 426<U+2013>436.

Cook RD, Zhang X (2018). <U+201C>Fast Envelope Algorithms.<U+201D> Statistica Sinica, 28(3), 1179<U+2013>1197.

See Also

Useful links:

Examples

Run this code
# NOT RUN {
library(TRES)
## Load data "bat"
data("bat")
x <- bat$x
y <- bat$y
fit <- TRR.fit(x, y, method="standard")

## Print cofficient
coef(fit)

## Print the summary
summary(fit)

## Make the prediction on the original dataset
predict(fit, x)

## Draw the plot of two-way coefficient tensor (i.e., matrix)
plot(fit)

# }

Run the code above in your browser using DataLab