I am attempting to use the 'forecast' package. I have a series of 54 monthly observations, read from a CSV file, and converted to a time series. Here is the raw data:
37.1 0 0 0 0 44.4 5.2 0 0 0 0 0 34.7 0 0 2 0 0 16.5 0 0 0 0 1.5 0 0 45.4
0 0.2 0 3 16.2 4 0 0 0 32 0 2.9 0 0 0 0 35.2 0 0 35.6 1.2 0 0 0 0 4 0
When plotted using
plot.ts(TPS_TS)
I generate the following graphic:
It appears to me that there is at least some periodic component to this data. I then attempt to identify seasonal components with
TPS_Components <- decompose(TPS_TS)
But that generates the following error message
Error in decompose(TPS_TS) : time series has no or less than 2 periods
Am I doing something wrong or is there truly nothing there that can be identified?