Greetings,

 

For the following quarterly data I did a classical decomposition by hand in
a spreadsheet and got reasonably similar results using Minitab 15. 

 

            x

1          36

2          44

3          45

4          106

5          38

6          46

7          47

8          112

9          42

10         49

11         48

12         118

13         42

14         50

15         51

16         118

 

Trying my luck with R, I tried to use the decompose function but it gives me
the following:

 

Error in decompose(data.t) : time series has no or less than 3 periods

 

data.t is indeed a time series (is.ts returns true) and when I plot data.t
it looks like a times series.  Any suggestions on how to use decompose here
(if it is the right function)?  Thanks.

 

Tom

 


	[[alternative HTML version deleted]]

