Learn R Programming

forecastLSW (version 1.0)

print: Prints a forecastlpacf object

Description

Prints a forecastlpacf object, basically telling you what's there.

Usage

# S3 method for forecastlpacf
print(x, ...)

Value

None.

Arguments

x

The forecastlpacf object

...

Other arguments (not used)

Author

Guy Nason

Details

Prints a forecastlpacf object, basically telling you what's there.

References

Killick, R., Knight, M.I., Nason, G.P., Nunes M.A., Eckley I.A. (2023) Automatic Locally Stationary Time Series Forecasting with application to predicting U.K. Gross Value Added Time Series under sudden shocks caused by the COVID pandemic arXiv:2303.07772

See Also

forecastlpacf, summary.forecastlpacf

Examples

Run this code
#
# Simulate an example
#
x.test <- tvar2sim()
#
# Do a two-step ahead forecast
#
x.fl <- forecastlpacf(x.test, h=2, forecast.type="recursive")
#
# Print out the object
#
print(x.fl)
#
# This is what gets output
#
#Class 'forecastlpacf' : Forecast from Locally Stationary Time Series:
#       ~~~~  : List with 8 components with names
#              mean std.err lpacf ci binwidth p x d 
#
#
#summary(.):
#----------
#Number of steps ahead predicted:  2 
#Predictions are (3dp):  1.52 -0.365 
#Std err are (3dp):  0.952 0.955 
#Smoothing binwidth was:  293 
#Forecast was based on a p-backlag value selected as:  3 
#There was no explicit differencing.

Run the code above in your browser using DataLab