qwdap.plsr: Partial Least Squares Regression

View source: R/plsr.r

qwdap.plsrR Documentation

Partial Least Squares Regression

Description

Partial least squares regression. This is a linear regression method used to establish the linear relationship between the original time series and the modes generated by quantum walks.

Usage

qwdap.plsr(in_data, data_range, plotting)

Arguments

in_data

a 'QWMS' object, which includes the target series and the selected modes which can be obtained from modes selection.

data_range

the range of the train samples.

plotting

whether to plot.

Value

a 'QWMODEL' object which includes the information of regression analysis.

Examples

data("traffic.n1")
res.plsr <- qwdap.plsr(traffic.n1,c(1,500),FALSE)


QWDAP documentation built on April 1, 2022, 9:06 a.m.

Related to qwdap.plsr in QWDAP...