qwdap.sws: Mode Selection by Stepwise Regression

View source: R/sws.r

qwdap.swsR Documentation

Mode Selection by Stepwise Regression

Description

Mode selection by Stepwise Regression. The purpose of this function is to select the part modes with similar characteristics to the observed time series from the modes generated by the quantum walk. And it is based on the linear model. The core algorithm comes from StepReg(ver. 1.4.2).

Usage

qwdap.sws(real, ctqw, index, select_method, plotting)

Arguments

real

the real series observed.

ctqw

the 'CTQW' object.

index

the index of the data for mode selection.

select_method

choose a stepwise method.

plotting

whether to plot.

Details

The 'QWMS' object include the original time series and the modes generated by quantum walks.

Value

a 'QWMS' object.

Examples

data("traffic.qw")
data("trafficflow")
res.sws <- qwdap.sws(trafficflow,traffic.qw,1,"bidirection",TRUE)

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

Related to qwdap.sws in QWDAP...