plot.mapa.fit {MAPA} | R Documentation |
Produce estimated MAPA fit plot
Description
The following function plots the fitted components at each aggregation level of an estimated MAPA. The plot is the same as the one that can be produced optionally by mapaest.
Usage
## S3 method for class 'mapa.fit'
plot(x, xreg.plot=c(TRUE,FALSE),...)
Arguments
x |
Fitted MAPA model (from mapaest). |
xreg.plot |
Add infromation about xreg in the figure. |
... |
Additional arguments. |
Author(s)
Nikolaos Kourentzes, nikolaos@kourentzes.com.
References
Kourentzes N., Petropoulos F., Trapero J.R. (2014) Improving forecasting by estimating time series structural components across multiple frequencies. International Journal of Forecasting, 30(2), 291–302.
Kourentzes N., Petropoulos F. (2015) Forecasting with multivariate temporal aggregation: The case of promotional modelling. International Journal of Production Economics.
You can find more information about MAPA at Nikos' blog.
See Also
Examples
mapafit <- mapaest(admissions,outplot=0)
plot(mapafit)