qwdap.sws | R Documentation |
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).
qwdap.sws(real, ctqw, index, select_method, plotting)
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. |
The 'QWMS' object include the original time series and the modes generated by quantum walks.
a 'QWMS' object.
data("traffic.qw")
data("trafficflow")
res.sws <- qwdap.sws(trafficflow,traffic.qw,1,"bidirection",TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.