Learn R Programming

QWDAP (version 1.1.20)

qwdap.predict: Prediction

Description

Based on the established model, make predict. The core algorithm of VAR prediction comes from MTS(ver. 1.1.1).

Usage

qwdap.predict(in_model, data_range)

Value

the predict data.

Arguments

in_model

a 'QWMODEL' object, which is the model built by Stepwise Regression, PCR, PLSR, PPR, VAR in this package.

data_range

indicate the index range of the part data generated by quantum walks for predict.

Examples

Run this code
data(traffic.model.n1)
res.predict <- qwdap.predict(traffic.model.n1,c(501,720))

Run the code above in your browser using DataLab