Professional Documents
Culture Documents
Time Series Project: Lindie Beukes Hélène Sonnekus
Time Series Project: Lindie Beukes Hélène Sonnekus
Lindie Beukes
Hélène Sonnekus
Round 1
Simulations
Simulation Process
Simulate data in R
Read data into SPSS
Inspect the following:
• Resisual Plot:
• Normality of Residuals:
Descriptive Statistics
Estimates Std
Estimates StdError
Error tt Approx Sig
Approx Sig
Non-Seasonal
Non-Seasonal Lags Lags AR1
MA1 .173
.620 .057
.046 3.030
13.587 .003
.000
Melard's
Melard's algorithm
algorithm was
was used
used forfor estimation.
estimation.
• Resisual Plot:
• Normality of Residuals:
Descriptive
DescriptiveStatistics
Statistics
NN Minimum
Minimum Maximum
Maximum Mean
Mean Std.Std.
Statistic
Statistic Statistic
Statistic Statistic
Statistic Statistic
Statistic Std. Error
Std. Deviation
Deviation
Error Statistic
Statistic
Error for
Error for V2
V2 from
fromARIMA,
ARIMA,
300
300 -3.09188
-2.52648 2.43056 .0593217
3.53768 -.0795616 .05772432
.05546748 .99981460
.96072494
MOD_4, NOCON
MOD_3, NOCON
Valid N (listwise) 300
Valid N (listwise) 300
• Resisual Plot:
• Normality of Residuals:
Descriptive Statistics
Descriptive
DescriptiveStatistics
Statistics
N Minimum Maximum Mean Std.
N Minimum Maximum Mean Std.
Std.
N
Statistic Minimum
Statistic Maximum
Statistic Statistic Mean
Std. Error Deviation
Statistic
Statistic Statistic Statistic Statistic Std. Error Deviation
Statistic
Deviation
Error Statistic Statistic Statistic Statistic Std. Error Statistic
Error forfor
V2V2fromfrom ARIMA,
ARIMA, 300 -2.52648 3.53768 .0593217 .05546748
Error for V2NOCON
MOD_3, from ARIMA, 300 -3.09188 2.43056 -.0795616 .05772432 .96072494
.99981460
MOD_4, NOCON 300 -2.33407 3.63265 -.0090055 .05760986 .99783200
MOD_3, NOCON
Valid
Valid N (listwise)
N (listwise) 300
300
Valid N (listwise) 300
• Resisual Plot:
• Normality of Residuals:
Descriptive Statistics
Descriptive Statistics
Descriptive
DescriptiveStatistics
Statistics
NN Minimum
Minimum Maximum
Maximum Mean
Mean Std.
Std.
N Minimum Maximum Mean Std.
Std.
N
Statistic Minimum
Statistic Maximum
Statistic Statistic Mean
Std. Deviation
Deviation
Statistic
Statistic Statistic
Statistic Statistic
Statistic Statistic
Statistic Std.Error
Std. Error
Statistic
Error Deviation
Statistic
Statistic
Deviation
Error Statistic Statistic Statistic Statistic Std. Error Statistic
Error
Error forfor
for V2V2
V2 fromfrom
from ARIMA,
ARIMA,
ARIMA, 300 -2.52648 3.53768 .0593217
Error for V2NOCON
MOD_3, from ARIMA, 300
300 -3.53200
-3.09188 2.85306
2.43056 .0257887 .05546748
-.0795616 .05802645 .96072494
.05772432 1.005048
.99981460
MOD_3, NOCON
MOD_4, NOCON 300 -2.33407 3.63265 -.0090055 .05760986 .99783200
MOD_3, NOCON
Valid
Valid
Valid N N (listwise)
N (listwise)
(listwise) 300
300
Valid N (listwise) 300
300
• Resisual Plot:
• Normality of Residuals:
Descriptive Statistics
Descriptive Statistics
Descriptive
Descriptive Statistics
DescriptiveStatistics
Statistics
N N Minimum
Minimum Maximum
Maximum Mean
Mean Std.
Std.
Std.
N
N Minimum
Minimum Maximum
Maximum Mean
Mean Std.
Std.
N
Statistic Minimum
Statistic Maximum
Statistic Statistic Mean
Std. Error Deviation
Deviation
Statistic
Deviation
Statistic
Statistic
Statistic Statistic
Statistic
Statistic Statistic
Statistic
Statistic Statistic
Statistic
Statistic Std.Error
Std.
Std. Error
Error Statistic
Deviation
Statistic
Statistic
Deviation
Error Statistic Statistic Statistic Statistic Std. Error Statistic
Error forfor
for V2V2fromfrom ARIMA,
ARIMA,
ARIMA, 300 -3.09188
-2.52648 3.53768 -.0795616
.0593217
Error for V2NOCON
MOD_3, from ARIMA, 300
300 -3.53200
-2.01865 2.85306
2.83490
2.43056 .0257887 .05546748
.2037248 .05802645 .96072494
.05016107
.05772432 1.005048
.86881529
.99981460
MOD_3, NOCON
MOD_4, NOCON 300 -2.33407 3.63265 -.0090055 .05760986 .99783200
MOD_3, NOCON
Valid
Valid N N (listwise)
N (listwise) 300
300
Valid N (listwise)
300
300
(listwise) 300
• Resisual Plot:
• Normality of Residuals:
Descriptive Statistics
Descriptive Statistics
Descriptive
Descriptive Statistics
DescriptiveStatistics
Descriptive Statistics
Statistics
N N Minimum
Minimum Maximum
Maximum Mean
Mean Std.
Std.
Std.
N
N Minimum
Minimum Maximum
Maximum Mean
Mean Std.
Std.
Std.
N
Statistic Minimum
Minimum
Statistic Maximum
Maximum
Statistic StatisticMean
Mean
Std. Error Deviation
Deviation
Statistic
Deviation
Statistic
Statistic
Statistic Statistic
Statistic
Statistic Statistic
Statistic
Statistic Statistic
Statistic
Statistic Std.Error
Std.
Std. Error Deviation
Error Statistic
Deviation
Statistic
Statistic
Deviation
Error Statistic Statistic
Statistic Statistic
Statistic Statistic
Statistic Std.
Std.
Error
Error Statistic
Statistic
Error forfor
for V2V2 from
from ARIMA,
ARIMA,
ARIMA, 300 -3.09188
-2.52648 3.53768 -.0795616
.0593217
Error
Errorfor
forV2
MOD_3, V2 from
from ARIMA,
NOCON ARIMA, 300
300 -3.53200
-2.01865 2.85306
2.83490
2.43056 .0257887 .05546748
.2037248 .05802645 .96072494
.05016107
.05772432 1.005048
.86881529
.99981460
MOD_3, NOCON
MOD_4, NOCON 300 -2.52648
-2.33407 3.53768
3.63265 .0593217
-.0090055 .05546748
.05760986 .96072494
.99783200
MOD_3,
MOD_3, NOCON
NOCON
Valid
Valid N N (listwise)
N (listwise) 300
300
N(listwise)
300
300
Valid
ValidN (listwise)
(listwise) 300
• Resisual Plot:
• Normality of Residuals:
Descriptive Statistics
Descriptive Statistics
Descriptive
Descriptive Statistics
DescriptiveStatistics
Statistics
N N Minimum
Minimum Maximum
Maximum Mean
Mean Std.
Std.
Std.
N
N Minimum
Minimum Maximum
Maximum Mean
Mean Std.
Std.
N
Statistic Minimum
Statistic Maximum
Statistic Statistic Mean
Std. Error Deviation
Deviation
Statistic
Deviation
Statistic
Statistic
Statistic Statistic
Statistic
Statistic Statistic
Statistic
Statistic Statistic
Statistic
Statistic Std.Error
Std.
Std. Error
Error Statistic
Deviation
Statistic
Statistic
Deviation
Error Statistic Statistic Statistic Statistic Std. Error Statistic
Error forfor
for V2V2fromfrom ARIMA,
ARIMA,
ARIMA, 300 -3.09188
-2.52648 3.53768 -.0795616
.0593217
Error for V2NOCON
MOD_3, from ARIMA, 300
300 -3.53200
-2.01865
-1.40878 2.85306
2.83490
3.01216
2.43056 .0257887 .05546748
.2037248
.6481893 .05802645 .96072494
.05016107
.04397057
.05772432 1.005048
.86881529
.76159261
.99981460
MOD_3, NOCON
MOD_4, NOCON 300 -2.33407 3.63265 -.0090055 .05760986 .99783200
MOD_3, NOCON
Valid
Valid N N (listwise)
N (listwise) 300
300
Valid N (listwise)
300
300
(listwise) 300
• Resisual Plot:
• Normality of Residuals:
Descriptive Statistics
Descriptive Statistics
Descriptive
Descriptive Statistics
DescriptiveStatistics
Statistics
N N Minimum
Minimum Maximum
Maximum Mean
Mean Std.
Std.
Std.
N
N Minimum
Minimum Maximum
Maximum Mean
Mean Std.
Std.
Std.
N
N
Statistic Minimum
Minimum
Statistic Maximum
Maximum
Statistic StatisticMean
Mean
Std. Error Deviation
Deviation
Statistic
Deviation
Statistic
Statistic
Statistic Statistic
Statistic
Statistic Statistic
Statistic
Statistic Statistic
Statistic
Statistic Std.Error
Std.
Std. Error Deviation
Error Statistic
Deviation
Statistic
Statistic
Deviation
Error Statistic
Statistic Statistic
Statistic Statistic
Statistic Statistic
Statistic Std.
Std.
Error
Error Statistic
Statistic
Error forfor
for V2V2fromfrom ARIMA,
ARIMA,
ARIMA, 300 -3.09188
-2.52648 3.53768 -.0795616
.0593217
Error for
for V2
MOD_3, V2NOCON
from
from ARIMA,
ARIMA, 300
300 -3.53200
-2.01865 2.85306
2.83490
2.43056 .0257887 .05546748
.2037248 .05802645 .96072494
.05016107
.05772432 1.005048
.86881529
.99981460
MOD_3, NOCON
MOD_4, NOCON 300
300 -2.77026
-2.33407 3.19462
3.63265 .0933737
-.0090055 .05525708
.05760986 .95708073
.99783200
MOD_3,
MOD_3, NOCON
NOCON
Valid
Valid N N (listwise)
N (listwise)
(listwise) 300
300
300
Valid N
N (listwise)
(listwise) 300
300
300
• No seasonality
• Stationary ?
• Fixed mean
• Constant Variance
ACF and PACF
Autocorrelations
Ż t = φ0 + φ1 Ż t-1 + at
φ0 = 6.042 (SE = 1.309)
φ1 = 0.680 (SE = 0.094)
Let φ0 = μ + C = constant term
μ = 6.095
C = μ(1 - φ1 ) = 1.9504
Residual Analysis
ACF and PACF of residuals
Normality of Residuals
(1- φ1 B)(1-B)Ż t = φ0 + at
Ż t = φ0 + (1+ φ1)Ż t-1 - φ1 Ż t-2 + at
Let φ0 = μ + C = constant term
φ0 = 0.055 (SE = .372)
φ1 = -0.251 (SE = 0.133)
μ = 6.095
C = μ(1 - φ1 ) = 7.625
Residual Analysis
ACF and PACF of residuals
Normality of Residuals
• Exponential decay
• AR model
• Mixed model
Partial Autocorrelations
Ż t = φ0 + φ1 Ż t-1 + at
φ0 = 6.055 (SE = 0.358)
φ1 = 0.817 (SE = 0.060)
Let φ0 = μ + C = constant term
μ = 6.21
C = μ(1 - φ1 ) = 1.14
Residual Ananlysis
ACF and PACF of Residuals
Normality of Residuals
The End