Learn R Programming

Tcomp (version 1.0.1)

tourism: Tourism competition data

Description

The data from the tourism forecasting competition described in George Athanasopolous, Rob J. Hyndman, Haiyan Song, Doris C. Wu (2011) ``The tourism forecasting competition'', International Journal of Forecasting 27 (2011) 822-844.

Usage

tourism

Arguments

Format

A list of 1311 series, of class Mcomp. Each series within tourism is of class Mdata with the following structure:

sn

Name of the series

st

Series number and period. For example "Y1" denotes first yearly series, "Q20" denotes 20th quarterly series and so on.

n

The number of observations in the time series

h

The number of required forecasts

period

Interval of the time series. Possible values are "YEARLY", "QUARTERLY" & "MONTHLY"

type

The type of series. For data in tourism, this is always "TOURISM".

description

"No description available". Kept for consistency with the M3 and M1 data.

x

A time series of length n (the historical data)

xx

A time series of length h (the future data)

See Also

subset.Mcomp, plot.Mdata

Examples

Run this code
# NOT RUN {
plot(tourism$Y1)
# }

Run the code above in your browser using DataLab