Learn R Programming

wavethresh (version 4.7.3)

wpstREGR: Construct data frame using new time series using information from a previously constructed wpstRO object

Description

The makewpstRO function takes two time series, performs a nondecimated wavelet packet transform with the "dependent" variable one, stores the "best" packets (those that individually correlate with the response series) and returns the data frame that contains the response and the best packets. The idea is that the user then performs some kind of modelling between response and packets. This function takes a new "dependent" series and returns the best packets in a new data frame in the same format as the old one. The idea is that the model and the new data frame can be used together to predict new values for the response

Usage

wpstREGR(newTS, wpstRO)

Value

New values of the response time series

Arguments

newTS

The new "dependent" time series

wpstRO

The previously constructed wpstRO object made by makewpstRO

Author

G P Nason

Details

Description says it all

References

See reference to Nason and Sapatinas paper in the help for makewpstRO.

See Also

makewpstRO, wpst

Examples

Run this code
#
# See extended example in makewpstRO help, includes example of using this fn
#

Run the code above in your browser using DataLab