Plot output from an object of the from the GAS package.
Plot output from an object of the from the GAS package.
This method provides plot functionalities for the uGASFit , mGASFit , uGASSim , mGASSim , uGASFor , mGASFor , uGASRoll and mGASRoll objects defined in the GAS package.
plot accepts the additional argument numeric argument which. By default which = NULL. If which is provided, plot() does not show the interactive menu and plot the corresponding option. The available options for each object class is printed by the function PlotMenu(x). By default which = NULL, that is, plot() display an interactive menu.
Returns
Displays a plot of an object of class uGASFit , mGASFit , uGASSim , mGASSim , uGASFor , mGASFor , uGASRoll , mGASRoll .
Author(s)
Leopoldo Catania
Examples
## Not run:## Plot filtered estimates of a GAS model estimated on the## Quarterly logarithmic change in percentage points of the Consumer Price Index data set (cpichg)library("GAS")data("cpichg")GASSpec = UniGASSpec(Dist ="std", ScalingType ="Identity", GASPar = list(location =TRUE, scale =TRUE, shape =FALSE))Fit = UniGASFit(GASSpec, cpichg)plot(Fit, which =1)## End(Not run)