Skip to content

SvenSerneels/tripls_r

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tripls_r - Univariate Trilinear Partial Least Squares Regression

R package for univariate trilinear partial least squares regression, including case specific prediction intervals

Description

This package provides R code for univariate trilinear partial least squares regression (tri-PLS1). The method is a provides a combination of dimension reduction and prediction. It is suited to predict a univariate dependent variable from three-way tensor input data. The method was first introduced by Ståhle [1]. A more efficient algorithm was later introduced for the univariate case [2], which is implemented here.

Besides the estimator itself, the package also delivers inference for the estimates and the predictions based on them. Inference in this package is based on a first order linear approximation of the estimator, including an efficient algorithm to calculate the Jacobian matrices of the tri-PLS1 estimators theselves as proposed in [3].

Overview

The package provides:

  • a cross-validation function to determine the optimal number of latent components
  • the tri-PLS1 estimator
  • a summary function
  • a predict function for new data
  • a plot function with several options, e.g. y vs. y predicted including prediction intervals.

To do

This package was written back in 2014 and was intended for distribution on CRAN. While the package is functional when installed locally, it does not comply with all CRAN standards. At some point, the corresponding adaptations may be included and the package may be distributed through the official channels.

References

  1. Aspects of the analysis of three-way data, Lars Ståhle, Chemometrics and Intelligent Laboratory Systems, 7 (1989), 95–100.
  2. Regression coefficients in multilinear PLS, Sijmen de Jong, Journal of Chemometrics, 12 (1998), 77–81.
  3. Case specific prediction intervals for tri-PLS1: The full local linearisation, Sven Serneels, Klaas Faber, Tim Verdonck, Pierre J. Van Espen, Chemometrics and Intelligent Laboratory Systems, 108 (2011), 93–99.

About

R package for trilinear partial least squares regression, including case specific prediction intervals

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages