Professional Documents
Culture Documents
Call:
lm(formula = log(Elec.ts) ~ Time + I(Time^2) + factor(Imth))
Residuals:
Min
1Q
Median
-0.087594 -0.022203 -0.000396
3Q
0.020059
Max
0.104350
Coefficients:
acf(resid(Elec.lm))
0.4
0.0
0.2
ACF
0.6
0.8
1.0
Series resid(Elec.lm)
10
15
Lag
20
25
0.4
0.2 0.0
0.2
ACF
0.6
0.8
1.0
Series resid(best.arma)
10
15
20
25
Lag
14000
10000
6000
2000
1960
1965
1970
1975
1980
1985
1990
1995
Time
500
0
Wave height
500
100
200
300
400
Time
0.5
0.0
ACF
0.5
1.0
Series waveht
10
15
20
25
Lag
0.0
0.2
0.6
Partial ACF
0.2
0.4
Series waveht
10
15
Lag
20
25
ACF
0.0
0.2
0.4
0.6
0.8
1.0
Series wave.arma$res[(1:4)]
10
15
20
25
Lag
Partial ACF
0.15
0.05
0.05
0.10
Series wave.arma$res[(1:4)]
10
15
20
25
60
40
0
20
Frequency
80
100
Lag
400
200
200
400
600
height / mm
Reference:
Cowpertwait, Paul SP, and Andrew V. Metcalfe. Introductory time
series withR. Springer Science & Business Media, 2009.