Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_arimaforecasting.wasp
Title produced by softwareARIMA Forecasting
Date of computationSat, 13 Dec 2008 10:45:08 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2008/Dec/13/t1229190371c7r615rts8irknw.htm/, Retrieved Sun, 19 May 2024 06:45:00 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=33196, Retrieved Sun, 19 May 2024 06:45:00 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsworkshop arima forecast step 1
Estimated Impact176
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [ARIMA Forecasting] [loïqueverhasselt] [2008-12-13 17:45:08] [6440ec5a21e5d35520cb2ae6b4b70e45] [Current]
Feedback Forum

Post a new message
Dataseries X:
99.4
97.5
94.6
92.6
92.5
89.8
88.8
87.4
85.2
83.1
84.7
84.8
85.8
86.3
89
89
89.3
91.9
94.9
94.4
96.8
96.9
98
97.9
100.9
103.9
103.1
102.5
104.3
102.6
101.7
102.8
105.4
110.9
113.5
116.3
124
128.8
133.5
132.6
128.4
127.3
126.7
123.3
123.2
124.4
128.2
128.7
135.7
139
145.4
142.4
137.7
137
137.1
139.3
139.6
140.4
142.3
148.3




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 2 seconds \tabularnewline
R Server & 'Sir Ronald Aylmer Fisher' @ 193.190.124.24 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=33196&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]2 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Sir Ronald Aylmer Fisher' @ 193.190.124.24[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=33196&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=33196&T=0

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24







Univariate ARIMA Extrapolation Forecast
timeY[t]F[t]95% LB95% UBp-value(H0: Y[t] = F[t])P(F[t]>Y[t-1])P(F[t]>Y[t-s])P(F[t]>Y[20])
887.4-------
985.2-------
1083.1-------
1184.7-------
1284.8-------
1385.8-------
1486.3-------
1589-------
1689-------
1789.3-------
1891.9-------
1994.9-------
2094.4-------
2196.894.163491.045197.28160.04870.440910.4409
2296.994.051488.49999.60370.15730.1660.99990.451
239893.998486.3277101.6690.15330.22920.99120.4591
2497.993.973384.4624103.48420.20920.20330.97060.465
25100.993.961482.8322105.09060.11090.2440.92470.4692
26103.993.955881.3811106.53040.06060.13950.88360.4724
27103.193.953180.068107.83830.09830.08010.75780.4749
28102.593.951978.8632109.04050.13340.11740.740.4768
29104.393.951377.7454110.15710.10540.15060.71310.4784
30102.693.95176.6988111.20320.16290.11980.59210.4797
31101.793.950975.7118112.190.20250.17630.45940.4808
32102.893.950874.7752113.12640.18290.21420.48170.4817
33105.493.950873.8823114.01930.13170.19370.39040.4825
34110.993.950873.0273114.87420.05620.14170.39120.4832
35113.593.950872.206115.69550.0390.06330.35760.4838
36116.393.950771.4145116.4870.0260.04450.36560.4844
3712493.950770.65117.25150.00570.03010.27940.4849
38128.893.950769.9097117.99180.00220.00710.20860.4854
39133.593.950769.1915118.719e-040.00290.23440.4858
40132.693.950768.4936119.40790.00150.00120.25520.4862
41128.493.950767.8143120.08720.00490.00190.21880.4866
42127.393.950767.1523120.74920.00740.00590.26350.4869
43126.793.950766.5062121.39530.00970.00860.290.4872
44123.393.950765.8749122.02660.02020.01110.26840.4875
45123.293.950765.2576122.64390.02290.02250.21710.4878
46124.493.950764.6532123.24830.02080.02520.12840.488
47128.293.950764.0611123.84040.01240.02290.09990.4882
48128.793.950763.4805124.4210.01270.01380.07530.4885
49135.793.950762.9107124.99080.00420.01410.02890.4887
5013993.950762.3512125.55030.00260.00480.01530.4889
51145.493.950761.8014126.19e-040.0030.0080.4891
52142.493.950761.2609126.64060.00180.0010.01020.4893
53137.793.950760.7292127.17230.00490.00210.02110.4894
5413793.950760.2059127.69560.00620.00550.02640.4896
55137.193.950759.6905128.2110.00680.00690.03050.4897
56139.393.950759.1828128.71870.00530.00750.0490.4899
57139.693.950758.6824129.21910.00560.00590.0520.49
58140.493.950758.189129.71250.00550.00620.04760.4902
59142.393.950757.7023130.19920.00450.0060.0320.4903
60148.393.950757.2221130.67940.00190.00490.03180.4904

\begin{tabular}{lllllllll}
\hline
Univariate ARIMA Extrapolation Forecast \tabularnewline
time & Y[t] & F[t] & 95% LB & 95% UB & p-value(H0: Y[t] = F[t]) & P(F[t]>Y[t-1]) & P(F[t]>Y[t-s]) & P(F[t]>Y[20]) \tabularnewline
8 & 87.4 & - & - & - & - & - & - & - \tabularnewline
9 & 85.2 & - & - & - & - & - & - & - \tabularnewline
10 & 83.1 & - & - & - & - & - & - & - \tabularnewline
11 & 84.7 & - & - & - & - & - & - & - \tabularnewline
12 & 84.8 & - & - & - & - & - & - & - \tabularnewline
13 & 85.8 & - & - & - & - & - & - & - \tabularnewline
14 & 86.3 & - & - & - & - & - & - & - \tabularnewline
15 & 89 & - & - & - & - & - & - & - \tabularnewline
16 & 89 & - & - & - & - & - & - & - \tabularnewline
17 & 89.3 & - & - & - & - & - & - & - \tabularnewline
18 & 91.9 & - & - & - & - & - & - & - \tabularnewline
19 & 94.9 & - & - & - & - & - & - & - \tabularnewline
20 & 94.4 & - & - & - & - & - & - & - \tabularnewline
21 & 96.8 & 94.1634 & 91.0451 & 97.2816 & 0.0487 & 0.4409 & 1 & 0.4409 \tabularnewline
22 & 96.9 & 94.0514 & 88.499 & 99.6037 & 0.1573 & 0.166 & 0.9999 & 0.451 \tabularnewline
23 & 98 & 93.9984 & 86.3277 & 101.669 & 0.1533 & 0.2292 & 0.9912 & 0.4591 \tabularnewline
24 & 97.9 & 93.9733 & 84.4624 & 103.4842 & 0.2092 & 0.2033 & 0.9706 & 0.465 \tabularnewline
25 & 100.9 & 93.9614 & 82.8322 & 105.0906 & 0.1109 & 0.244 & 0.9247 & 0.4692 \tabularnewline
26 & 103.9 & 93.9558 & 81.3811 & 106.5304 & 0.0606 & 0.1395 & 0.8836 & 0.4724 \tabularnewline
27 & 103.1 & 93.9531 & 80.068 & 107.8383 & 0.0983 & 0.0801 & 0.7578 & 0.4749 \tabularnewline
28 & 102.5 & 93.9519 & 78.8632 & 109.0405 & 0.1334 & 0.1174 & 0.74 & 0.4768 \tabularnewline
29 & 104.3 & 93.9513 & 77.7454 & 110.1571 & 0.1054 & 0.1506 & 0.7131 & 0.4784 \tabularnewline
30 & 102.6 & 93.951 & 76.6988 & 111.2032 & 0.1629 & 0.1198 & 0.5921 & 0.4797 \tabularnewline
31 & 101.7 & 93.9509 & 75.7118 & 112.19 & 0.2025 & 0.1763 & 0.4594 & 0.4808 \tabularnewline
32 & 102.8 & 93.9508 & 74.7752 & 113.1264 & 0.1829 & 0.2142 & 0.4817 & 0.4817 \tabularnewline
33 & 105.4 & 93.9508 & 73.8823 & 114.0193 & 0.1317 & 0.1937 & 0.3904 & 0.4825 \tabularnewline
34 & 110.9 & 93.9508 & 73.0273 & 114.8742 & 0.0562 & 0.1417 & 0.3912 & 0.4832 \tabularnewline
35 & 113.5 & 93.9508 & 72.206 & 115.6955 & 0.039 & 0.0633 & 0.3576 & 0.4838 \tabularnewline
36 & 116.3 & 93.9507 & 71.4145 & 116.487 & 0.026 & 0.0445 & 0.3656 & 0.4844 \tabularnewline
37 & 124 & 93.9507 & 70.65 & 117.2515 & 0.0057 & 0.0301 & 0.2794 & 0.4849 \tabularnewline
38 & 128.8 & 93.9507 & 69.9097 & 117.9918 & 0.0022 & 0.0071 & 0.2086 & 0.4854 \tabularnewline
39 & 133.5 & 93.9507 & 69.1915 & 118.71 & 9e-04 & 0.0029 & 0.2344 & 0.4858 \tabularnewline
40 & 132.6 & 93.9507 & 68.4936 & 119.4079 & 0.0015 & 0.0012 & 0.2552 & 0.4862 \tabularnewline
41 & 128.4 & 93.9507 & 67.8143 & 120.0872 & 0.0049 & 0.0019 & 0.2188 & 0.4866 \tabularnewline
42 & 127.3 & 93.9507 & 67.1523 & 120.7492 & 0.0074 & 0.0059 & 0.2635 & 0.4869 \tabularnewline
43 & 126.7 & 93.9507 & 66.5062 & 121.3953 & 0.0097 & 0.0086 & 0.29 & 0.4872 \tabularnewline
44 & 123.3 & 93.9507 & 65.8749 & 122.0266 & 0.0202 & 0.0111 & 0.2684 & 0.4875 \tabularnewline
45 & 123.2 & 93.9507 & 65.2576 & 122.6439 & 0.0229 & 0.0225 & 0.2171 & 0.4878 \tabularnewline
46 & 124.4 & 93.9507 & 64.6532 & 123.2483 & 0.0208 & 0.0252 & 0.1284 & 0.488 \tabularnewline
47 & 128.2 & 93.9507 & 64.0611 & 123.8404 & 0.0124 & 0.0229 & 0.0999 & 0.4882 \tabularnewline
48 & 128.7 & 93.9507 & 63.4805 & 124.421 & 0.0127 & 0.0138 & 0.0753 & 0.4885 \tabularnewline
49 & 135.7 & 93.9507 & 62.9107 & 124.9908 & 0.0042 & 0.0141 & 0.0289 & 0.4887 \tabularnewline
50 & 139 & 93.9507 & 62.3512 & 125.5503 & 0.0026 & 0.0048 & 0.0153 & 0.4889 \tabularnewline
51 & 145.4 & 93.9507 & 61.8014 & 126.1 & 9e-04 & 0.003 & 0.008 & 0.4891 \tabularnewline
52 & 142.4 & 93.9507 & 61.2609 & 126.6406 & 0.0018 & 0.001 & 0.0102 & 0.4893 \tabularnewline
53 & 137.7 & 93.9507 & 60.7292 & 127.1723 & 0.0049 & 0.0021 & 0.0211 & 0.4894 \tabularnewline
54 & 137 & 93.9507 & 60.2059 & 127.6956 & 0.0062 & 0.0055 & 0.0264 & 0.4896 \tabularnewline
55 & 137.1 & 93.9507 & 59.6905 & 128.211 & 0.0068 & 0.0069 & 0.0305 & 0.4897 \tabularnewline
56 & 139.3 & 93.9507 & 59.1828 & 128.7187 & 0.0053 & 0.0075 & 0.049 & 0.4899 \tabularnewline
57 & 139.6 & 93.9507 & 58.6824 & 129.2191 & 0.0056 & 0.0059 & 0.052 & 0.49 \tabularnewline
58 & 140.4 & 93.9507 & 58.189 & 129.7125 & 0.0055 & 0.0062 & 0.0476 & 0.4902 \tabularnewline
59 & 142.3 & 93.9507 & 57.7023 & 130.1992 & 0.0045 & 0.006 & 0.032 & 0.4903 \tabularnewline
60 & 148.3 & 93.9507 & 57.2221 & 130.6794 & 0.0019 & 0.0049 & 0.0318 & 0.4904 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=33196&T=1

[TABLE]
[ROW][C]Univariate ARIMA Extrapolation Forecast[/C][/ROW]
[ROW][C]time[/C][C]Y[t][/C][C]F[t][/C][C]95% LB[/C][C]95% UB[/C][C]p-value(H0: Y[t] = F[t])[/C][C]P(F[t]>Y[t-1])[/C][C]P(F[t]>Y[t-s])[/C][C]P(F[t]>Y[20])[/C][/ROW]
[ROW][C]8[/C][C]87.4[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][/ROW]
[ROW][C]9[/C][C]85.2[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][/ROW]
[ROW][C]10[/C][C]83.1[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][/ROW]
[ROW][C]11[/C][C]84.7[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][/ROW]
[ROW][C]12[/C][C]84.8[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][/ROW]
[ROW][C]13[/C][C]85.8[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][/ROW]
[ROW][C]14[/C][C]86.3[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][/ROW]
[ROW][C]15[/C][C]89[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][/ROW]
[ROW][C]16[/C][C]89[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][/ROW]
[ROW][C]17[/C][C]89.3[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][/ROW]
[ROW][C]18[/C][C]91.9[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][/ROW]
[ROW][C]19[/C][C]94.9[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][/ROW]
[ROW][C]20[/C][C]94.4[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][C]-[/C][/ROW]
[ROW][C]21[/C][C]96.8[/C][C]94.1634[/C][C]91.0451[/C][C]97.2816[/C][C]0.0487[/C][C]0.4409[/C][C]1[/C][C]0.4409[/C][/ROW]
[ROW][C]22[/C][C]96.9[/C][C]94.0514[/C][C]88.499[/C][C]99.6037[/C][C]0.1573[/C][C]0.166[/C][C]0.9999[/C][C]0.451[/C][/ROW]
[ROW][C]23[/C][C]98[/C][C]93.9984[/C][C]86.3277[/C][C]101.669[/C][C]0.1533[/C][C]0.2292[/C][C]0.9912[/C][C]0.4591[/C][/ROW]
[ROW][C]24[/C][C]97.9[/C][C]93.9733[/C][C]84.4624[/C][C]103.4842[/C][C]0.2092[/C][C]0.2033[/C][C]0.9706[/C][C]0.465[/C][/ROW]
[ROW][C]25[/C][C]100.9[/C][C]93.9614[/C][C]82.8322[/C][C]105.0906[/C][C]0.1109[/C][C]0.244[/C][C]0.9247[/C][C]0.4692[/C][/ROW]
[ROW][C]26[/C][C]103.9[/C][C]93.9558[/C][C]81.3811[/C][C]106.5304[/C][C]0.0606[/C][C]0.1395[/C][C]0.8836[/C][C]0.4724[/C][/ROW]
[ROW][C]27[/C][C]103.1[/C][C]93.9531[/C][C]80.068[/C][C]107.8383[/C][C]0.0983[/C][C]0.0801[/C][C]0.7578[/C][C]0.4749[/C][/ROW]
[ROW][C]28[/C][C]102.5[/C][C]93.9519[/C][C]78.8632[/C][C]109.0405[/C][C]0.1334[/C][C]0.1174[/C][C]0.74[/C][C]0.4768[/C][/ROW]
[ROW][C]29[/C][C]104.3[/C][C]93.9513[/C][C]77.7454[/C][C]110.1571[/C][C]0.1054[/C][C]0.1506[/C][C]0.7131[/C][C]0.4784[/C][/ROW]
[ROW][C]30[/C][C]102.6[/C][C]93.951[/C][C]76.6988[/C][C]111.2032[/C][C]0.1629[/C][C]0.1198[/C][C]0.5921[/C][C]0.4797[/C][/ROW]
[ROW][C]31[/C][C]101.7[/C][C]93.9509[/C][C]75.7118[/C][C]112.19[/C][C]0.2025[/C][C]0.1763[/C][C]0.4594[/C][C]0.4808[/C][/ROW]
[ROW][C]32[/C][C]102.8[/C][C]93.9508[/C][C]74.7752[/C][C]113.1264[/C][C]0.1829[/C][C]0.2142[/C][C]0.4817[/C][C]0.4817[/C][/ROW]
[ROW][C]33[/C][C]105.4[/C][C]93.9508[/C][C]73.8823[/C][C]114.0193[/C][C]0.1317[/C][C]0.1937[/C][C]0.3904[/C][C]0.4825[/C][/ROW]
[ROW][C]34[/C][C]110.9[/C][C]93.9508[/C][C]73.0273[/C][C]114.8742[/C][C]0.0562[/C][C]0.1417[/C][C]0.3912[/C][C]0.4832[/C][/ROW]
[ROW][C]35[/C][C]113.5[/C][C]93.9508[/C][C]72.206[/C][C]115.6955[/C][C]0.039[/C][C]0.0633[/C][C]0.3576[/C][C]0.4838[/C][/ROW]
[ROW][C]36[/C][C]116.3[/C][C]93.9507[/C][C]71.4145[/C][C]116.487[/C][C]0.026[/C][C]0.0445[/C][C]0.3656[/C][C]0.4844[/C][/ROW]
[ROW][C]37[/C][C]124[/C][C]93.9507[/C][C]70.65[/C][C]117.2515[/C][C]0.0057[/C][C]0.0301[/C][C]0.2794[/C][C]0.4849[/C][/ROW]
[ROW][C]38[/C][C]128.8[/C][C]93.9507[/C][C]69.9097[/C][C]117.9918[/C][C]0.0022[/C][C]0.0071[/C][C]0.2086[/C][C]0.4854[/C][/ROW]
[ROW][C]39[/C][C]133.5[/C][C]93.9507[/C][C]69.1915[/C][C]118.71[/C][C]9e-04[/C][C]0.0029[/C][C]0.2344[/C][C]0.4858[/C][/ROW]
[ROW][C]40[/C][C]132.6[/C][C]93.9507[/C][C]68.4936[/C][C]119.4079[/C][C]0.0015[/C][C]0.0012[/C][C]0.2552[/C][C]0.4862[/C][/ROW]
[ROW][C]41[/C][C]128.4[/C][C]93.9507[/C][C]67.8143[/C][C]120.0872[/C][C]0.0049[/C][C]0.0019[/C][C]0.2188[/C][C]0.4866[/C][/ROW]
[ROW][C]42[/C][C]127.3[/C][C]93.9507[/C][C]67.1523[/C][C]120.7492[/C][C]0.0074[/C][C]0.0059[/C][C]0.2635[/C][C]0.4869[/C][/ROW]
[ROW][C]43[/C][C]126.7[/C][C]93.9507[/C][C]66.5062[/C][C]121.3953[/C][C]0.0097[/C][C]0.0086[/C][C]0.29[/C][C]0.4872[/C][/ROW]
[ROW][C]44[/C][C]123.3[/C][C]93.9507[/C][C]65.8749[/C][C]122.0266[/C][C]0.0202[/C][C]0.0111[/C][C]0.2684[/C][C]0.4875[/C][/ROW]
[ROW][C]45[/C][C]123.2[/C][C]93.9507[/C][C]65.2576[/C][C]122.6439[/C][C]0.0229[/C][C]0.0225[/C][C]0.2171[/C][C]0.4878[/C][/ROW]
[ROW][C]46[/C][C]124.4[/C][C]93.9507[/C][C]64.6532[/C][C]123.2483[/C][C]0.0208[/C][C]0.0252[/C][C]0.1284[/C][C]0.488[/C][/ROW]
[ROW][C]47[/C][C]128.2[/C][C]93.9507[/C][C]64.0611[/C][C]123.8404[/C][C]0.0124[/C][C]0.0229[/C][C]0.0999[/C][C]0.4882[/C][/ROW]
[ROW][C]48[/C][C]128.7[/C][C]93.9507[/C][C]63.4805[/C][C]124.421[/C][C]0.0127[/C][C]0.0138[/C][C]0.0753[/C][C]0.4885[/C][/ROW]
[ROW][C]49[/C][C]135.7[/C][C]93.9507[/C][C]62.9107[/C][C]124.9908[/C][C]0.0042[/C][C]0.0141[/C][C]0.0289[/C][C]0.4887[/C][/ROW]
[ROW][C]50[/C][C]139[/C][C]93.9507[/C][C]62.3512[/C][C]125.5503[/C][C]0.0026[/C][C]0.0048[/C][C]0.0153[/C][C]0.4889[/C][/ROW]
[ROW][C]51[/C][C]145.4[/C][C]93.9507[/C][C]61.8014[/C][C]126.1[/C][C]9e-04[/C][C]0.003[/C][C]0.008[/C][C]0.4891[/C][/ROW]
[ROW][C]52[/C][C]142.4[/C][C]93.9507[/C][C]61.2609[/C][C]126.6406[/C][C]0.0018[/C][C]0.001[/C][C]0.0102[/C][C]0.4893[/C][/ROW]
[ROW][C]53[/C][C]137.7[/C][C]93.9507[/C][C]60.7292[/C][C]127.1723[/C][C]0.0049[/C][C]0.0021[/C][C]0.0211[/C][C]0.4894[/C][/ROW]
[ROW][C]54[/C][C]137[/C][C]93.9507[/C][C]60.2059[/C][C]127.6956[/C][C]0.0062[/C][C]0.0055[/C][C]0.0264[/C][C]0.4896[/C][/ROW]
[ROW][C]55[/C][C]137.1[/C][C]93.9507[/C][C]59.6905[/C][C]128.211[/C][C]0.0068[/C][C]0.0069[/C][C]0.0305[/C][C]0.4897[/C][/ROW]
[ROW][C]56[/C][C]139.3[/C][C]93.9507[/C][C]59.1828[/C][C]128.7187[/C][C]0.0053[/C][C]0.0075[/C][C]0.049[/C][C]0.4899[/C][/ROW]
[ROW][C]57[/C][C]139.6[/C][C]93.9507[/C][C]58.6824[/C][C]129.2191[/C][C]0.0056[/C][C]0.0059[/C][C]0.052[/C][C]0.49[/C][/ROW]
[ROW][C]58[/C][C]140.4[/C][C]93.9507[/C][C]58.189[/C][C]129.7125[/C][C]0.0055[/C][C]0.0062[/C][C]0.0476[/C][C]0.4902[/C][/ROW]
[ROW][C]59[/C][C]142.3[/C][C]93.9507[/C][C]57.7023[/C][C]130.1992[/C][C]0.0045[/C][C]0.006[/C][C]0.032[/C][C]0.4903[/C][/ROW]
[ROW][C]60[/C][C]148.3[/C][C]93.9507[/C][C]57.2221[/C][C]130.6794[/C][C]0.0019[/C][C]0.0049[/C][C]0.0318[/C][C]0.4904[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=33196&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=33196&T=1

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Univariate ARIMA Extrapolation Forecast
timeY[t]F[t]95% LB95% UBp-value(H0: Y[t] = F[t])P(F[t]>Y[t-1])P(F[t]>Y[t-s])P(F[t]>Y[20])
887.4-------
985.2-------
1083.1-------
1184.7-------
1284.8-------
1385.8-------
1486.3-------
1589-------
1689-------
1789.3-------
1891.9-------
1994.9-------
2094.4-------
2196.894.163491.045197.28160.04870.440910.4409
2296.994.051488.49999.60370.15730.1660.99990.451
239893.998486.3277101.6690.15330.22920.99120.4591
2497.993.973384.4624103.48420.20920.20330.97060.465
25100.993.961482.8322105.09060.11090.2440.92470.4692
26103.993.955881.3811106.53040.06060.13950.88360.4724
27103.193.953180.068107.83830.09830.08010.75780.4749
28102.593.951978.8632109.04050.13340.11740.740.4768
29104.393.951377.7454110.15710.10540.15060.71310.4784
30102.693.95176.6988111.20320.16290.11980.59210.4797
31101.793.950975.7118112.190.20250.17630.45940.4808
32102.893.950874.7752113.12640.18290.21420.48170.4817
33105.493.950873.8823114.01930.13170.19370.39040.4825
34110.993.950873.0273114.87420.05620.14170.39120.4832
35113.593.950872.206115.69550.0390.06330.35760.4838
36116.393.950771.4145116.4870.0260.04450.36560.4844
3712493.950770.65117.25150.00570.03010.27940.4849
38128.893.950769.9097117.99180.00220.00710.20860.4854
39133.593.950769.1915118.719e-040.00290.23440.4858
40132.693.950768.4936119.40790.00150.00120.25520.4862
41128.493.950767.8143120.08720.00490.00190.21880.4866
42127.393.950767.1523120.74920.00740.00590.26350.4869
43126.793.950766.5062121.39530.00970.00860.290.4872
44123.393.950765.8749122.02660.02020.01110.26840.4875
45123.293.950765.2576122.64390.02290.02250.21710.4878
46124.493.950764.6532123.24830.02080.02520.12840.488
47128.293.950764.0611123.84040.01240.02290.09990.4882
48128.793.950763.4805124.4210.01270.01380.07530.4885
49135.793.950762.9107124.99080.00420.01410.02890.4887
5013993.950762.3512125.55030.00260.00480.01530.4889
51145.493.950761.8014126.19e-040.0030.0080.4891
52142.493.950761.2609126.64060.00180.0010.01020.4893
53137.793.950760.7292127.17230.00490.00210.02110.4894
5413793.950760.2059127.69560.00620.00550.02640.4896
55137.193.950759.6905128.2110.00680.00690.03050.4897
56139.393.950759.1828128.71870.00530.00750.0490.4899
57139.693.950758.6824129.21910.00560.00590.0520.49
58140.493.950758.189129.71250.00550.00620.04760.4902
59142.393.950757.7023130.19920.00450.0060.0320.4903
60148.393.950757.2221130.67940.00190.00490.03180.4904







Univariate ARIMA Extrapolation Forecast Performance
time% S.E.PEMAPESq.EMSERMSE
210.01690.0287e-046.95180.17380.4169
220.03010.03038e-048.11470.20290.4504
230.04160.04260.001116.01310.40030.6327
240.05160.04180.00115.41910.38550.6209
250.06040.07380.001848.1441.20361.0971
260.06830.10580.002698.88722.47221.5723
270.07540.09740.002483.66512.09161.4462
280.08190.0910.002373.07041.82681.3516
290.0880.11010.0028107.0962.67741.6363
300.09370.09210.002374.80521.87011.3675
310.0990.08250.002160.04911.50121.2252
320.10410.09420.002478.30831.95771.3992
330.1090.12190.003131.08483.27711.8103
340.11360.18040.0045287.27687.18192.6799
350.11810.20810.0052382.17319.55433.091
360.12240.23790.0059499.48912.48723.5337
370.12650.31980.008902.957622.57394.7512
380.13060.37090.00931214.470530.36185.5102
390.13450.4210.01051564.143539.10366.2533
400.13820.41140.01031493.764937.34416.111
410.14190.36670.00921186.751129.66885.4469
420.14550.3550.00891112.172827.80435.273
430.1490.34860.00871072.513726.81285.1781
440.15250.31240.0078861.378721.53454.6405
450.15580.31130.0078855.518921.3884.6247
460.15910.32410.0081927.157123.17894.8144
470.16230.36450.00911173.011429.32535.4153
480.16550.36990.00921207.510730.18785.4943
490.16860.44440.01111743.000343.5756.6011
500.17160.47950.0122029.435350.73597.1229
510.17460.54760.01372647.025866.17568.1348
520.17750.51570.01292347.330358.68337.6605
530.18040.46570.01161913.997347.84996.9174
540.18330.45820.01151853.238346.3316.8067
550.18610.45930.01151861.858246.54656.8225
560.18880.48270.01212056.554951.41397.1703
570.19150.48590.01212083.854452.09647.2178
580.19420.49440.01242157.533253.93837.3443
590.19680.51460.01292337.650458.44137.6447
600.19950.57850.01452953.841573.8468.5934

\begin{tabular}{lllllllll}
\hline
Univariate ARIMA Extrapolation Forecast Performance \tabularnewline
time & % S.E. & PE & MAPE & Sq.E & MSE & RMSE \tabularnewline
21 & 0.0169 & 0.028 & 7e-04 & 6.9518 & 0.1738 & 0.4169 \tabularnewline
22 & 0.0301 & 0.0303 & 8e-04 & 8.1147 & 0.2029 & 0.4504 \tabularnewline
23 & 0.0416 & 0.0426 & 0.0011 & 16.0131 & 0.4003 & 0.6327 \tabularnewline
24 & 0.0516 & 0.0418 & 0.001 & 15.4191 & 0.3855 & 0.6209 \tabularnewline
25 & 0.0604 & 0.0738 & 0.0018 & 48.144 & 1.2036 & 1.0971 \tabularnewline
26 & 0.0683 & 0.1058 & 0.0026 & 98.8872 & 2.4722 & 1.5723 \tabularnewline
27 & 0.0754 & 0.0974 & 0.0024 & 83.6651 & 2.0916 & 1.4462 \tabularnewline
28 & 0.0819 & 0.091 & 0.0023 & 73.0704 & 1.8268 & 1.3516 \tabularnewline
29 & 0.088 & 0.1101 & 0.0028 & 107.096 & 2.6774 & 1.6363 \tabularnewline
30 & 0.0937 & 0.0921 & 0.0023 & 74.8052 & 1.8701 & 1.3675 \tabularnewline
31 & 0.099 & 0.0825 & 0.0021 & 60.0491 & 1.5012 & 1.2252 \tabularnewline
32 & 0.1041 & 0.0942 & 0.0024 & 78.3083 & 1.9577 & 1.3992 \tabularnewline
33 & 0.109 & 0.1219 & 0.003 & 131.0848 & 3.2771 & 1.8103 \tabularnewline
34 & 0.1136 & 0.1804 & 0.0045 & 287.2768 & 7.1819 & 2.6799 \tabularnewline
35 & 0.1181 & 0.2081 & 0.0052 & 382.1731 & 9.5543 & 3.091 \tabularnewline
36 & 0.1224 & 0.2379 & 0.0059 & 499.489 & 12.4872 & 3.5337 \tabularnewline
37 & 0.1265 & 0.3198 & 0.008 & 902.9576 & 22.5739 & 4.7512 \tabularnewline
38 & 0.1306 & 0.3709 & 0.0093 & 1214.4705 & 30.3618 & 5.5102 \tabularnewline
39 & 0.1345 & 0.421 & 0.0105 & 1564.1435 & 39.1036 & 6.2533 \tabularnewline
40 & 0.1382 & 0.4114 & 0.0103 & 1493.7649 & 37.3441 & 6.111 \tabularnewline
41 & 0.1419 & 0.3667 & 0.0092 & 1186.7511 & 29.6688 & 5.4469 \tabularnewline
42 & 0.1455 & 0.355 & 0.0089 & 1112.1728 & 27.8043 & 5.273 \tabularnewline
43 & 0.149 & 0.3486 & 0.0087 & 1072.5137 & 26.8128 & 5.1781 \tabularnewline
44 & 0.1525 & 0.3124 & 0.0078 & 861.3787 & 21.5345 & 4.6405 \tabularnewline
45 & 0.1558 & 0.3113 & 0.0078 & 855.5189 & 21.388 & 4.6247 \tabularnewline
46 & 0.1591 & 0.3241 & 0.0081 & 927.1571 & 23.1789 & 4.8144 \tabularnewline
47 & 0.1623 & 0.3645 & 0.0091 & 1173.0114 & 29.3253 & 5.4153 \tabularnewline
48 & 0.1655 & 0.3699 & 0.0092 & 1207.5107 & 30.1878 & 5.4943 \tabularnewline
49 & 0.1686 & 0.4444 & 0.0111 & 1743.0003 & 43.575 & 6.6011 \tabularnewline
50 & 0.1716 & 0.4795 & 0.012 & 2029.4353 & 50.7359 & 7.1229 \tabularnewline
51 & 0.1746 & 0.5476 & 0.0137 & 2647.0258 & 66.1756 & 8.1348 \tabularnewline
52 & 0.1775 & 0.5157 & 0.0129 & 2347.3303 & 58.6833 & 7.6605 \tabularnewline
53 & 0.1804 & 0.4657 & 0.0116 & 1913.9973 & 47.8499 & 6.9174 \tabularnewline
54 & 0.1833 & 0.4582 & 0.0115 & 1853.2383 & 46.331 & 6.8067 \tabularnewline
55 & 0.1861 & 0.4593 & 0.0115 & 1861.8582 & 46.5465 & 6.8225 \tabularnewline
56 & 0.1888 & 0.4827 & 0.0121 & 2056.5549 & 51.4139 & 7.1703 \tabularnewline
57 & 0.1915 & 0.4859 & 0.0121 & 2083.8544 & 52.0964 & 7.2178 \tabularnewline
58 & 0.1942 & 0.4944 & 0.0124 & 2157.5332 & 53.9383 & 7.3443 \tabularnewline
59 & 0.1968 & 0.5146 & 0.0129 & 2337.6504 & 58.4413 & 7.6447 \tabularnewline
60 & 0.1995 & 0.5785 & 0.0145 & 2953.8415 & 73.846 & 8.5934 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=33196&T=2

[TABLE]
[ROW][C]Univariate ARIMA Extrapolation Forecast Performance[/C][/ROW]
[ROW][C]time[/C][C]% S.E.[/C][C]PE[/C][C]MAPE[/C][C]Sq.E[/C][C]MSE[/C][C]RMSE[/C][/ROW]
[ROW][C]21[/C][C]0.0169[/C][C]0.028[/C][C]7e-04[/C][C]6.9518[/C][C]0.1738[/C][C]0.4169[/C][/ROW]
[ROW][C]22[/C][C]0.0301[/C][C]0.0303[/C][C]8e-04[/C][C]8.1147[/C][C]0.2029[/C][C]0.4504[/C][/ROW]
[ROW][C]23[/C][C]0.0416[/C][C]0.0426[/C][C]0.0011[/C][C]16.0131[/C][C]0.4003[/C][C]0.6327[/C][/ROW]
[ROW][C]24[/C][C]0.0516[/C][C]0.0418[/C][C]0.001[/C][C]15.4191[/C][C]0.3855[/C][C]0.6209[/C][/ROW]
[ROW][C]25[/C][C]0.0604[/C][C]0.0738[/C][C]0.0018[/C][C]48.144[/C][C]1.2036[/C][C]1.0971[/C][/ROW]
[ROW][C]26[/C][C]0.0683[/C][C]0.1058[/C][C]0.0026[/C][C]98.8872[/C][C]2.4722[/C][C]1.5723[/C][/ROW]
[ROW][C]27[/C][C]0.0754[/C][C]0.0974[/C][C]0.0024[/C][C]83.6651[/C][C]2.0916[/C][C]1.4462[/C][/ROW]
[ROW][C]28[/C][C]0.0819[/C][C]0.091[/C][C]0.0023[/C][C]73.0704[/C][C]1.8268[/C][C]1.3516[/C][/ROW]
[ROW][C]29[/C][C]0.088[/C][C]0.1101[/C][C]0.0028[/C][C]107.096[/C][C]2.6774[/C][C]1.6363[/C][/ROW]
[ROW][C]30[/C][C]0.0937[/C][C]0.0921[/C][C]0.0023[/C][C]74.8052[/C][C]1.8701[/C][C]1.3675[/C][/ROW]
[ROW][C]31[/C][C]0.099[/C][C]0.0825[/C][C]0.0021[/C][C]60.0491[/C][C]1.5012[/C][C]1.2252[/C][/ROW]
[ROW][C]32[/C][C]0.1041[/C][C]0.0942[/C][C]0.0024[/C][C]78.3083[/C][C]1.9577[/C][C]1.3992[/C][/ROW]
[ROW][C]33[/C][C]0.109[/C][C]0.1219[/C][C]0.003[/C][C]131.0848[/C][C]3.2771[/C][C]1.8103[/C][/ROW]
[ROW][C]34[/C][C]0.1136[/C][C]0.1804[/C][C]0.0045[/C][C]287.2768[/C][C]7.1819[/C][C]2.6799[/C][/ROW]
[ROW][C]35[/C][C]0.1181[/C][C]0.2081[/C][C]0.0052[/C][C]382.1731[/C][C]9.5543[/C][C]3.091[/C][/ROW]
[ROW][C]36[/C][C]0.1224[/C][C]0.2379[/C][C]0.0059[/C][C]499.489[/C][C]12.4872[/C][C]3.5337[/C][/ROW]
[ROW][C]37[/C][C]0.1265[/C][C]0.3198[/C][C]0.008[/C][C]902.9576[/C][C]22.5739[/C][C]4.7512[/C][/ROW]
[ROW][C]38[/C][C]0.1306[/C][C]0.3709[/C][C]0.0093[/C][C]1214.4705[/C][C]30.3618[/C][C]5.5102[/C][/ROW]
[ROW][C]39[/C][C]0.1345[/C][C]0.421[/C][C]0.0105[/C][C]1564.1435[/C][C]39.1036[/C][C]6.2533[/C][/ROW]
[ROW][C]40[/C][C]0.1382[/C][C]0.4114[/C][C]0.0103[/C][C]1493.7649[/C][C]37.3441[/C][C]6.111[/C][/ROW]
[ROW][C]41[/C][C]0.1419[/C][C]0.3667[/C][C]0.0092[/C][C]1186.7511[/C][C]29.6688[/C][C]5.4469[/C][/ROW]
[ROW][C]42[/C][C]0.1455[/C][C]0.355[/C][C]0.0089[/C][C]1112.1728[/C][C]27.8043[/C][C]5.273[/C][/ROW]
[ROW][C]43[/C][C]0.149[/C][C]0.3486[/C][C]0.0087[/C][C]1072.5137[/C][C]26.8128[/C][C]5.1781[/C][/ROW]
[ROW][C]44[/C][C]0.1525[/C][C]0.3124[/C][C]0.0078[/C][C]861.3787[/C][C]21.5345[/C][C]4.6405[/C][/ROW]
[ROW][C]45[/C][C]0.1558[/C][C]0.3113[/C][C]0.0078[/C][C]855.5189[/C][C]21.388[/C][C]4.6247[/C][/ROW]
[ROW][C]46[/C][C]0.1591[/C][C]0.3241[/C][C]0.0081[/C][C]927.1571[/C][C]23.1789[/C][C]4.8144[/C][/ROW]
[ROW][C]47[/C][C]0.1623[/C][C]0.3645[/C][C]0.0091[/C][C]1173.0114[/C][C]29.3253[/C][C]5.4153[/C][/ROW]
[ROW][C]48[/C][C]0.1655[/C][C]0.3699[/C][C]0.0092[/C][C]1207.5107[/C][C]30.1878[/C][C]5.4943[/C][/ROW]
[ROW][C]49[/C][C]0.1686[/C][C]0.4444[/C][C]0.0111[/C][C]1743.0003[/C][C]43.575[/C][C]6.6011[/C][/ROW]
[ROW][C]50[/C][C]0.1716[/C][C]0.4795[/C][C]0.012[/C][C]2029.4353[/C][C]50.7359[/C][C]7.1229[/C][/ROW]
[ROW][C]51[/C][C]0.1746[/C][C]0.5476[/C][C]0.0137[/C][C]2647.0258[/C][C]66.1756[/C][C]8.1348[/C][/ROW]
[ROW][C]52[/C][C]0.1775[/C][C]0.5157[/C][C]0.0129[/C][C]2347.3303[/C][C]58.6833[/C][C]7.6605[/C][/ROW]
[ROW][C]53[/C][C]0.1804[/C][C]0.4657[/C][C]0.0116[/C][C]1913.9973[/C][C]47.8499[/C][C]6.9174[/C][/ROW]
[ROW][C]54[/C][C]0.1833[/C][C]0.4582[/C][C]0.0115[/C][C]1853.2383[/C][C]46.331[/C][C]6.8067[/C][/ROW]
[ROW][C]55[/C][C]0.1861[/C][C]0.4593[/C][C]0.0115[/C][C]1861.8582[/C][C]46.5465[/C][C]6.8225[/C][/ROW]
[ROW][C]56[/C][C]0.1888[/C][C]0.4827[/C][C]0.0121[/C][C]2056.5549[/C][C]51.4139[/C][C]7.1703[/C][/ROW]
[ROW][C]57[/C][C]0.1915[/C][C]0.4859[/C][C]0.0121[/C][C]2083.8544[/C][C]52.0964[/C][C]7.2178[/C][/ROW]
[ROW][C]58[/C][C]0.1942[/C][C]0.4944[/C][C]0.0124[/C][C]2157.5332[/C][C]53.9383[/C][C]7.3443[/C][/ROW]
[ROW][C]59[/C][C]0.1968[/C][C]0.5146[/C][C]0.0129[/C][C]2337.6504[/C][C]58.4413[/C][C]7.6447[/C][/ROW]
[ROW][C]60[/C][C]0.1995[/C][C]0.5785[/C][C]0.0145[/C][C]2953.8415[/C][C]73.846[/C][C]8.5934[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=33196&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=33196&T=2

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Univariate ARIMA Extrapolation Forecast Performance
time% S.E.PEMAPESq.EMSERMSE
210.01690.0287e-046.95180.17380.4169
220.03010.03038e-048.11470.20290.4504
230.04160.04260.001116.01310.40030.6327
240.05160.04180.00115.41910.38550.6209
250.06040.07380.001848.1441.20361.0971
260.06830.10580.002698.88722.47221.5723
270.07540.09740.002483.66512.09161.4462
280.08190.0910.002373.07041.82681.3516
290.0880.11010.0028107.0962.67741.6363
300.09370.09210.002374.80521.87011.3675
310.0990.08250.002160.04911.50121.2252
320.10410.09420.002478.30831.95771.3992
330.1090.12190.003131.08483.27711.8103
340.11360.18040.0045287.27687.18192.6799
350.11810.20810.0052382.17319.55433.091
360.12240.23790.0059499.48912.48723.5337
370.12650.31980.008902.957622.57394.7512
380.13060.37090.00931214.470530.36185.5102
390.13450.4210.01051564.143539.10366.2533
400.13820.41140.01031493.764937.34416.111
410.14190.36670.00921186.751129.66885.4469
420.14550.3550.00891112.172827.80435.273
430.1490.34860.00871072.513726.81285.1781
440.15250.31240.0078861.378721.53454.6405
450.15580.31130.0078855.518921.3884.6247
460.15910.32410.0081927.157123.17894.8144
470.16230.36450.00911173.011429.32535.4153
480.16550.36990.00921207.510730.18785.4943
490.16860.44440.01111743.000343.5756.6011
500.17160.47950.0122029.435350.73597.1229
510.17460.54760.01372647.025866.17568.1348
520.17750.51570.01292347.330358.68337.6605
530.18040.46570.01161913.997347.84996.9174
540.18330.45820.01151853.238346.3316.8067
550.18610.45930.01151861.858246.54656.8225
560.18880.48270.01212056.554951.41397.1703
570.19150.48590.01212083.854452.09647.2178
580.19420.49440.01242157.533253.93837.3443
590.19680.51460.01292337.650458.44137.6447
600.19950.57850.01452953.841573.8468.5934



Parameters (Session):
par1 = 40 ; par2 = 1 ; par3 = 1 ; par4 = 0 ; par5 = 12 ; par6 = 1 ; par7 = 0 ; par8 = 0 ; par9 = 0 ; par10 = FALSE ;
Parameters (R input):
par1 = 40 ; par2 = 1 ; par3 = 1 ; par4 = 0 ; par5 = 12 ; par6 = 1 ; par7 = 0 ; par8 = 0 ; par9 = 0 ; par10 = FALSE ;
R code (references can be found in the software module):
par1 <- as.numeric(par1) #cut off periods
par2 <- as.numeric(par2) #lambda
par3 <- as.numeric(par3) #degree of non-seasonal differencing
par4 <- as.numeric(par4) #degree of seasonal differencing
par5 <- as.numeric(par5) #seasonal period
par6 <- as.numeric(par6) #p
par7 <- as.numeric(par7) #q
par8 <- as.numeric(par8) #P
par9 <- as.numeric(par9) #Q
if (par10 == 'TRUE') par10 <- TRUE
if (par10 == 'FALSE') par10 <- FALSE
if (par2 == 0) x <- log(x)
if (par2 != 0) x <- x^par2
lx <- length(x)
first <- lx - 2*par1
nx <- lx - par1
nx1 <- nx + 1
fx <- lx - nx
if (fx < 1) {
fx <- par5
nx1 <- lx + fx - 1
first <- lx - 2*fx
}
first <- 1
if (fx < 3) fx <- round(lx/10,0)
(arima.out <- arima(x[1:nx], order=c(par6,par3,par7), seasonal=list(order=c(par8,par4,par9), period=par5), include.mean=par10, method='ML'))
(forecast <- predict(arima.out,fx))
(lb <- forecast$pred - 1.96 * forecast$se)
(ub <- forecast$pred + 1.96 * forecast$se)
if (par2 == 0) {
x <- exp(x)
forecast$pred <- exp(forecast$pred)
lb <- exp(lb)
ub <- exp(ub)
}
if (par2 != 0) {
x <- x^(1/par2)
forecast$pred <- forecast$pred^(1/par2)
lb <- lb^(1/par2)
ub <- ub^(1/par2)
}
if (par2 < 0) {
olb <- lb
lb <- ub
ub <- olb
}
(actandfor <- c(x[1:nx], forecast$pred))
(perc.se <- (ub-forecast$pred)/1.96/forecast$pred)
bitmap(file='test1.png')
opar <- par(mar=c(4,4,2,2),las=1)
ylim <- c( min(x[first:nx],lb), max(x[first:nx],ub))
plot(x,ylim=ylim,type='n',xlim=c(first,lx))
usr <- par('usr')
rect(usr[1],usr[3],nx+1,usr[4],border=NA,col='lemonchiffon')
rect(nx1,usr[3],usr[2],usr[4],border=NA,col='lavender')
abline(h= (-3:3)*2 , col ='gray', lty =3)
polygon( c(nx1:lx,lx:nx1), c(lb,rev(ub)), col = 'orange', lty=2,border=NA)
lines(nx1:lx, lb , lty=2)
lines(nx1:lx, ub , lty=2)
lines(x, lwd=2)
lines(nx1:lx, forecast$pred , lwd=2 , col ='white')
box()
par(opar)
dev.off()
prob.dec <- array(NA, dim=fx)
prob.sdec <- array(NA, dim=fx)
prob.ldec <- array(NA, dim=fx)
prob.pval <- array(NA, dim=fx)
perf.pe <- array(0, dim=fx)
perf.mape <- array(0, dim=fx)
perf.se <- array(0, dim=fx)
perf.mse <- array(0, dim=fx)
perf.rmse <- array(0, dim=fx)
for (i in 1:fx) {
locSD <- (ub[i] - forecast$pred[i]) / 1.96
perf.pe[i] = (x[nx+i] - forecast$pred[i]) / forecast$pred[i]
perf.mape[i] = perf.mape[i] + abs(perf.pe[i])
perf.se[i] = (x[nx+i] - forecast$pred[i])^2
perf.mse[i] = perf.mse[i] + perf.se[i]
prob.dec[i] = pnorm((x[nx+i-1] - forecast$pred[i]) / locSD)
prob.sdec[i] = pnorm((x[nx+i-par5] - forecast$pred[i]) / locSD)
prob.ldec[i] = pnorm((x[nx] - forecast$pred[i]) / locSD)
prob.pval[i] = pnorm(abs(x[nx+i] - forecast$pred[i]) / locSD)
}
perf.mape = perf.mape / fx
perf.mse = perf.mse / fx
perf.rmse = sqrt(perf.mse)
bitmap(file='test2.png')
plot(forecast$pred, pch=19, type='b',main='ARIMA Extrapolation Forecast', ylab='Forecast and 95% CI', xlab='time',ylim=c(min(lb),max(ub)))
dum <- forecast$pred
dum[1:12] <- x[(nx+1):lx]
lines(dum, lty=1)
lines(ub,lty=3)
lines(lb,lty=3)
dev.off()
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Univariate ARIMA Extrapolation Forecast',9,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'time',1,header=TRUE)
a<-table.element(a,'Y[t]',1,header=TRUE)
a<-table.element(a,'F[t]',1,header=TRUE)
a<-table.element(a,'95% LB',1,header=TRUE)
a<-table.element(a,'95% UB',1,header=TRUE)
a<-table.element(a,'p-value
(H0: Y[t] = F[t])',1,header=TRUE)
a<-table.element(a,'P(F[t]>Y[t-1])',1,header=TRUE)
a<-table.element(a,'P(F[t]>Y[t-s])',1,header=TRUE)
mylab <- paste('P(F[t]>Y[',nx,sep='')
mylab <- paste(mylab,'])',sep='')
a<-table.element(a,mylab,1,header=TRUE)
a<-table.row.end(a)
for (i in (nx-par5):nx) {
a<-table.row.start(a)
a<-table.element(a,i,header=TRUE)
a<-table.element(a,x[i])
a<-table.element(a,'-')
a<-table.element(a,'-')
a<-table.element(a,'-')
a<-table.element(a,'-')
a<-table.element(a,'-')
a<-table.element(a,'-')
a<-table.element(a,'-')
a<-table.row.end(a)
}
for (i in 1:fx) {
a<-table.row.start(a)
a<-table.element(a,nx+i,header=TRUE)
a<-table.element(a,round(x[nx+i],4))
a<-table.element(a,round(forecast$pred[i],4))
a<-table.element(a,round(lb[i],4))
a<-table.element(a,round(ub[i],4))
a<-table.element(a,round((1-prob.pval[i]),4))
a<-table.element(a,round((1-prob.dec[i]),4))
a<-table.element(a,round((1-prob.sdec[i]),4))
a<-table.element(a,round((1-prob.ldec[i]),4))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Univariate ARIMA Extrapolation Forecast Performance',7,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'time',1,header=TRUE)
a<-table.element(a,'% S.E.',1,header=TRUE)
a<-table.element(a,'PE',1,header=TRUE)
a<-table.element(a,'MAPE',1,header=TRUE)
a<-table.element(a,'Sq.E',1,header=TRUE)
a<-table.element(a,'MSE',1,header=TRUE)
a<-table.element(a,'RMSE',1,header=TRUE)
a<-table.row.end(a)
for (i in 1:fx) {
a<-table.row.start(a)
a<-table.element(a,nx+i,header=TRUE)
a<-table.element(a,round(perc.se[i],4))
a<-table.element(a,round(perf.pe[i],4))
a<-table.element(a,round(perf.mape[i],4))
a<-table.element(a,round(perf.se[i],4))
a<-table.element(a,round(perf.mse[i],4))
a<-table.element(a,round(perf.rmse[i],4))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable1.tab')