Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_arimabackwardselection.wasp
Title produced by softwareARIMA Backward Selection
Date of computationTue, 02 Dec 2014 18:58:49 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2014/Dec/02/t1417547091nk9hzv838mjq5qg.htm/, Retrieved Thu, 16 May 2024 12:53:25 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=262854, Retrieved Thu, 16 May 2024 12:53:25 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact82
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [ARIMA Backward Selection] [] [2014-12-02 18:58:49] [feba87b71495ef91d18b6c2716812399] [Current]
Feedback Forum

Post a new message
Dataseries X:
112
118
132
129
121
135
148
148
136
119
104
118
115
126
141
135
125
149
170
170
158
133
114
140
145
150
178
163
172
178
199
199
184
162
146
166
171
180
193
181
183
218
230
242
209
191
172
194
196
196
236
235
229
243
264
272
237
211
180
201
204
188
235
227
234
264
302
293
259
229
203
229
242
233
267
269
270
315
364
347
312
274
237
278
284
277
317
313
318
374
413
405
355
306
271
306
315
301
356
348
355
422
465
467
404
347
305
336
340
318
362
348
363
435
491
505
404
359
310
337
360
342
406
396
420
472
548
559
463
407
362
405
417
391
419
461
472
535
622
606
508
461
390
432




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Sir Ronald Aylmer Fisher' @ fisher.wessa.net

\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 & 3 seconds \tabularnewline
R Server & 'Sir Ronald Aylmer Fisher' @ fisher.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=262854&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]3 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Sir Ronald Aylmer Fisher' @ fisher.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=262854&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=262854&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 time3 seconds
R Server'Sir Ronald Aylmer Fisher' @ fisher.wessa.net







ARIMA Parameter Estimation and Backward Selection
Iterationma1sma1
Estimates ( 1 )0.22630.8015
(p-val)(0.0056 )(0 )
Estimates ( 2 )00.8342
(p-val)(NA )(0 )
Estimates ( 3 )NANA
(p-val)(NA )(NA )

\begin{tabular}{lllllllll}
\hline
ARIMA Parameter Estimation and Backward Selection \tabularnewline
Iteration & ma1 & sma1 \tabularnewline
Estimates ( 1 ) & 0.2263 & 0.8015 \tabularnewline
(p-val) & (0.0056 ) & (0 ) \tabularnewline
Estimates ( 2 ) & 0 & 0.8342 \tabularnewline
(p-val) & (NA ) & (0 ) \tabularnewline
Estimates ( 3 ) & NA & NA \tabularnewline
(p-val) & (NA ) & (NA ) \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=262854&T=1

[TABLE]
[ROW][C]ARIMA Parameter Estimation and Backward Selection[/C][/ROW]
[ROW][C]Iteration[/C][C]ma1[/C][C]sma1[/C][/ROW]
[ROW][C]Estimates ( 1 )[/C][C]0.2263[/C][C]0.8015[/C][/ROW]
[ROW][C](p-val)[/C][C](0.0056 )[/C][C](0 )[/C][/ROW]
[ROW][C]Estimates ( 2 )[/C][C]0[/C][C]0.8342[/C][/ROW]
[ROW][C](p-val)[/C][C](NA )[/C][C](0 )[/C][/ROW]
[ROW][C]Estimates ( 3 )[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C](p-val)[/C][C](NA )[/C][C](NA )[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=262854&T=1

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

As an alternative you can also use a QR Code:  

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

ARIMA Parameter Estimation and Backward Selection
Iterationma1sma1
Estimates ( 1 )0.22630.8015
(p-val)(0.0056 )(0 )
Estimates ( 2 )00.8342
(p-val)(NA )(0 )
Estimates ( 3 )NANA
(p-val)(NA )(NA )







Estimated ARIMA Residuals
Value
0.111999903313948
4.5662540896047
9.90389422575892
-4.57895685919005
-5.20619071545502
12.1021735738771
7.4051520010258
-1.67572377795885
-8.98427959912817
-11.2318654766807
-9.16267533634068
12.9974830952335
-5.5574489069401
8.27220072781951
5.43916146674262
-5.2854085544031
-4.25354479105258
16.3100822172783
9.41106769929469
-2.1296456879667
-5.01053710095124
-13.798879218683
-7.31887168012364
18.7916853059546
1.47667452216727
-0.477576462927094
21.5328713175135
-16.2544785210762
15.8233293708226
-8.28352603742594
12.8029686632615
-2.89720443126358
-9.75751111945201
-8.42694994355889
-6.10995564436516
8.64992622614472
-1.02366423244193
9.01899367940609
-5.09171092444501
-2.14285779633456
-6.42733773199989
38.6604658738254
-5.12299300151846
12.741674988531
-27.1532725256111
-3.48586085422899
-11.7129827166397
18.5937275351676
-3.03921302345233
-5.98314957802276
42.812820635051
-8.1716863364294
1.21055083830231
-14.7430112422238
21.1443920111594
-5.72479811251676
-14.5835944462981
-14.8549649054042
-17.5130778497235
12.4446886174544
-0.690126363320791
-10.4690139734017
16.6508257407661
-12.835459482569
10.3061431798696
38.47043226688
15.0060436263066
-11.5488504538689
-18.6444492416364
-11.3299503859981
-6.93304858885757
20.6589387271563
6.54946586138301
-2.06393560152893
22.9806300468465
3.89470233104307
-5.69470877106213
13.9116366580944
26.8458816712222
-16.5386026106993
-14.292771625559
-22.2533268528565
-24.2069036552912
31.1632322784541
-9.89651977885207
-4.26338204972733
22.9525991951088
-16.363336539616
12.4819001538985
42.8987591054136
5.37203504050999
-0.90057956158473
-35.2722404710122
-20.6075994403201
-7.03154397563229
16.0984458129526
7.57103702842675
-10.4994751605075
39.7184117794012
-8.08591242424823
1.83051338832783
30.0286818497596
24.0775144718769
-3.70564205426196
-33.7601254572078
-26.4512759717092
-26.5799112610314
25.3829230626617
-10.6560192038785
-12.5365172909846
16.9761671435986
-18.5302716780694
19.1602563708631
43.2430650492892
21.4852648535792
7.71858716555035
-74.9503796369797
-0.768777314421359
-22.7626043186602
16.6546191200268
23.1056181224901
-11.2624585521281
55.1669259468411
-10.7383387330681
14.4429167294145
10.65937878219
48.5073193224735
-10.0398506136002
-35.1287839736255
-33.8130241994224
-18.9671263305001
38.0448802087809
-18.0846145031134
-17.0573615987485
-10.2440581959321
42.8850553601534
-8.32102644658562
53.6891227113356
34.0531207249105
-24.4410253358662
-62.4729047194144
0.576182324209763
-49.7803985285735
26.2355129872816

\begin{tabular}{lllllllll}
\hline
Estimated ARIMA Residuals \tabularnewline
Value \tabularnewline
0.111999903313948 \tabularnewline
4.5662540896047 \tabularnewline
9.90389422575892 \tabularnewline
-4.57895685919005 \tabularnewline
-5.20619071545502 \tabularnewline
12.1021735738771 \tabularnewline
7.4051520010258 \tabularnewline
-1.67572377795885 \tabularnewline
-8.98427959912817 \tabularnewline
-11.2318654766807 \tabularnewline
-9.16267533634068 \tabularnewline
12.9974830952335 \tabularnewline
-5.5574489069401 \tabularnewline
8.27220072781951 \tabularnewline
5.43916146674262 \tabularnewline
-5.2854085544031 \tabularnewline
-4.25354479105258 \tabularnewline
16.3100822172783 \tabularnewline
9.41106769929469 \tabularnewline
-2.1296456879667 \tabularnewline
-5.01053710095124 \tabularnewline
-13.798879218683 \tabularnewline
-7.31887168012364 \tabularnewline
18.7916853059546 \tabularnewline
1.47667452216727 \tabularnewline
-0.477576462927094 \tabularnewline
21.5328713175135 \tabularnewline
-16.2544785210762 \tabularnewline
15.8233293708226 \tabularnewline
-8.28352603742594 \tabularnewline
12.8029686632615 \tabularnewline
-2.89720443126358 \tabularnewline
-9.75751111945201 \tabularnewline
-8.42694994355889 \tabularnewline
-6.10995564436516 \tabularnewline
8.64992622614472 \tabularnewline
-1.02366423244193 \tabularnewline
9.01899367940609 \tabularnewline
-5.09171092444501 \tabularnewline
-2.14285779633456 \tabularnewline
-6.42733773199989 \tabularnewline
38.6604658738254 \tabularnewline
-5.12299300151846 \tabularnewline
12.741674988531 \tabularnewline
-27.1532725256111 \tabularnewline
-3.48586085422899 \tabularnewline
-11.7129827166397 \tabularnewline
18.5937275351676 \tabularnewline
-3.03921302345233 \tabularnewline
-5.98314957802276 \tabularnewline
42.812820635051 \tabularnewline
-8.1716863364294 \tabularnewline
1.21055083830231 \tabularnewline
-14.7430112422238 \tabularnewline
21.1443920111594 \tabularnewline
-5.72479811251676 \tabularnewline
-14.5835944462981 \tabularnewline
-14.8549649054042 \tabularnewline
-17.5130778497235 \tabularnewline
12.4446886174544 \tabularnewline
-0.690126363320791 \tabularnewline
-10.4690139734017 \tabularnewline
16.6508257407661 \tabularnewline
-12.835459482569 \tabularnewline
10.3061431798696 \tabularnewline
38.47043226688 \tabularnewline
15.0060436263066 \tabularnewline
-11.5488504538689 \tabularnewline
-18.6444492416364 \tabularnewline
-11.3299503859981 \tabularnewline
-6.93304858885757 \tabularnewline
20.6589387271563 \tabularnewline
6.54946586138301 \tabularnewline
-2.06393560152893 \tabularnewline
22.9806300468465 \tabularnewline
3.89470233104307 \tabularnewline
-5.69470877106213 \tabularnewline
13.9116366580944 \tabularnewline
26.8458816712222 \tabularnewline
-16.5386026106993 \tabularnewline
-14.292771625559 \tabularnewline
-22.2533268528565 \tabularnewline
-24.2069036552912 \tabularnewline
31.1632322784541 \tabularnewline
-9.89651977885207 \tabularnewline
-4.26338204972733 \tabularnewline
22.9525991951088 \tabularnewline
-16.363336539616 \tabularnewline
12.4819001538985 \tabularnewline
42.8987591054136 \tabularnewline
5.37203504050999 \tabularnewline
-0.90057956158473 \tabularnewline
-35.2722404710122 \tabularnewline
-20.6075994403201 \tabularnewline
-7.03154397563229 \tabularnewline
16.0984458129526 \tabularnewline
7.57103702842675 \tabularnewline
-10.4994751605075 \tabularnewline
39.7184117794012 \tabularnewline
-8.08591242424823 \tabularnewline
1.83051338832783 \tabularnewline
30.0286818497596 \tabularnewline
24.0775144718769 \tabularnewline
-3.70564205426196 \tabularnewline
-33.7601254572078 \tabularnewline
-26.4512759717092 \tabularnewline
-26.5799112610314 \tabularnewline
25.3829230626617 \tabularnewline
-10.6560192038785 \tabularnewline
-12.5365172909846 \tabularnewline
16.9761671435986 \tabularnewline
-18.5302716780694 \tabularnewline
19.1602563708631 \tabularnewline
43.2430650492892 \tabularnewline
21.4852648535792 \tabularnewline
7.71858716555035 \tabularnewline
-74.9503796369797 \tabularnewline
-0.768777314421359 \tabularnewline
-22.7626043186602 \tabularnewline
16.6546191200268 \tabularnewline
23.1056181224901 \tabularnewline
-11.2624585521281 \tabularnewline
55.1669259468411 \tabularnewline
-10.7383387330681 \tabularnewline
14.4429167294145 \tabularnewline
10.65937878219 \tabularnewline
48.5073193224735 \tabularnewline
-10.0398506136002 \tabularnewline
-35.1287839736255 \tabularnewline
-33.8130241994224 \tabularnewline
-18.9671263305001 \tabularnewline
38.0448802087809 \tabularnewline
-18.0846145031134 \tabularnewline
-17.0573615987485 \tabularnewline
-10.2440581959321 \tabularnewline
42.8850553601534 \tabularnewline
-8.32102644658562 \tabularnewline
53.6891227113356 \tabularnewline
34.0531207249105 \tabularnewline
-24.4410253358662 \tabularnewline
-62.4729047194144 \tabularnewline
0.576182324209763 \tabularnewline
-49.7803985285735 \tabularnewline
26.2355129872816 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=262854&T=2

[TABLE]
[ROW][C]Estimated ARIMA Residuals[/C][/ROW]
[ROW][C]Value[/C][/ROW]
[ROW][C]0.111999903313948[/C][/ROW]
[ROW][C]4.5662540896047[/C][/ROW]
[ROW][C]9.90389422575892[/C][/ROW]
[ROW][C]-4.57895685919005[/C][/ROW]
[ROW][C]-5.20619071545502[/C][/ROW]
[ROW][C]12.1021735738771[/C][/ROW]
[ROW][C]7.4051520010258[/C][/ROW]
[ROW][C]-1.67572377795885[/C][/ROW]
[ROW][C]-8.98427959912817[/C][/ROW]
[ROW][C]-11.2318654766807[/C][/ROW]
[ROW][C]-9.16267533634068[/C][/ROW]
[ROW][C]12.9974830952335[/C][/ROW]
[ROW][C]-5.5574489069401[/C][/ROW]
[ROW][C]8.27220072781951[/C][/ROW]
[ROW][C]5.43916146674262[/C][/ROW]
[ROW][C]-5.2854085544031[/C][/ROW]
[ROW][C]-4.25354479105258[/C][/ROW]
[ROW][C]16.3100822172783[/C][/ROW]
[ROW][C]9.41106769929469[/C][/ROW]
[ROW][C]-2.1296456879667[/C][/ROW]
[ROW][C]-5.01053710095124[/C][/ROW]
[ROW][C]-13.798879218683[/C][/ROW]
[ROW][C]-7.31887168012364[/C][/ROW]
[ROW][C]18.7916853059546[/C][/ROW]
[ROW][C]1.47667452216727[/C][/ROW]
[ROW][C]-0.477576462927094[/C][/ROW]
[ROW][C]21.5328713175135[/C][/ROW]
[ROW][C]-16.2544785210762[/C][/ROW]
[ROW][C]15.8233293708226[/C][/ROW]
[ROW][C]-8.28352603742594[/C][/ROW]
[ROW][C]12.8029686632615[/C][/ROW]
[ROW][C]-2.89720443126358[/C][/ROW]
[ROW][C]-9.75751111945201[/C][/ROW]
[ROW][C]-8.42694994355889[/C][/ROW]
[ROW][C]-6.10995564436516[/C][/ROW]
[ROW][C]8.64992622614472[/C][/ROW]
[ROW][C]-1.02366423244193[/C][/ROW]
[ROW][C]9.01899367940609[/C][/ROW]
[ROW][C]-5.09171092444501[/C][/ROW]
[ROW][C]-2.14285779633456[/C][/ROW]
[ROW][C]-6.42733773199989[/C][/ROW]
[ROW][C]38.6604658738254[/C][/ROW]
[ROW][C]-5.12299300151846[/C][/ROW]
[ROW][C]12.741674988531[/C][/ROW]
[ROW][C]-27.1532725256111[/C][/ROW]
[ROW][C]-3.48586085422899[/C][/ROW]
[ROW][C]-11.7129827166397[/C][/ROW]
[ROW][C]18.5937275351676[/C][/ROW]
[ROW][C]-3.03921302345233[/C][/ROW]
[ROW][C]-5.98314957802276[/C][/ROW]
[ROW][C]42.812820635051[/C][/ROW]
[ROW][C]-8.1716863364294[/C][/ROW]
[ROW][C]1.21055083830231[/C][/ROW]
[ROW][C]-14.7430112422238[/C][/ROW]
[ROW][C]21.1443920111594[/C][/ROW]
[ROW][C]-5.72479811251676[/C][/ROW]
[ROW][C]-14.5835944462981[/C][/ROW]
[ROW][C]-14.8549649054042[/C][/ROW]
[ROW][C]-17.5130778497235[/C][/ROW]
[ROW][C]12.4446886174544[/C][/ROW]
[ROW][C]-0.690126363320791[/C][/ROW]
[ROW][C]-10.4690139734017[/C][/ROW]
[ROW][C]16.6508257407661[/C][/ROW]
[ROW][C]-12.835459482569[/C][/ROW]
[ROW][C]10.3061431798696[/C][/ROW]
[ROW][C]38.47043226688[/C][/ROW]
[ROW][C]15.0060436263066[/C][/ROW]
[ROW][C]-11.5488504538689[/C][/ROW]
[ROW][C]-18.6444492416364[/C][/ROW]
[ROW][C]-11.3299503859981[/C][/ROW]
[ROW][C]-6.93304858885757[/C][/ROW]
[ROW][C]20.6589387271563[/C][/ROW]
[ROW][C]6.54946586138301[/C][/ROW]
[ROW][C]-2.06393560152893[/C][/ROW]
[ROW][C]22.9806300468465[/C][/ROW]
[ROW][C]3.89470233104307[/C][/ROW]
[ROW][C]-5.69470877106213[/C][/ROW]
[ROW][C]13.9116366580944[/C][/ROW]
[ROW][C]26.8458816712222[/C][/ROW]
[ROW][C]-16.5386026106993[/C][/ROW]
[ROW][C]-14.292771625559[/C][/ROW]
[ROW][C]-22.2533268528565[/C][/ROW]
[ROW][C]-24.2069036552912[/C][/ROW]
[ROW][C]31.1632322784541[/C][/ROW]
[ROW][C]-9.89651977885207[/C][/ROW]
[ROW][C]-4.26338204972733[/C][/ROW]
[ROW][C]22.9525991951088[/C][/ROW]
[ROW][C]-16.363336539616[/C][/ROW]
[ROW][C]12.4819001538985[/C][/ROW]
[ROW][C]42.8987591054136[/C][/ROW]
[ROW][C]5.37203504050999[/C][/ROW]
[ROW][C]-0.90057956158473[/C][/ROW]
[ROW][C]-35.2722404710122[/C][/ROW]
[ROW][C]-20.6075994403201[/C][/ROW]
[ROW][C]-7.03154397563229[/C][/ROW]
[ROW][C]16.0984458129526[/C][/ROW]
[ROW][C]7.57103702842675[/C][/ROW]
[ROW][C]-10.4994751605075[/C][/ROW]
[ROW][C]39.7184117794012[/C][/ROW]
[ROW][C]-8.08591242424823[/C][/ROW]
[ROW][C]1.83051338832783[/C][/ROW]
[ROW][C]30.0286818497596[/C][/ROW]
[ROW][C]24.0775144718769[/C][/ROW]
[ROW][C]-3.70564205426196[/C][/ROW]
[ROW][C]-33.7601254572078[/C][/ROW]
[ROW][C]-26.4512759717092[/C][/ROW]
[ROW][C]-26.5799112610314[/C][/ROW]
[ROW][C]25.3829230626617[/C][/ROW]
[ROW][C]-10.6560192038785[/C][/ROW]
[ROW][C]-12.5365172909846[/C][/ROW]
[ROW][C]16.9761671435986[/C][/ROW]
[ROW][C]-18.5302716780694[/C][/ROW]
[ROW][C]19.1602563708631[/C][/ROW]
[ROW][C]43.2430650492892[/C][/ROW]
[ROW][C]21.4852648535792[/C][/ROW]
[ROW][C]7.71858716555035[/C][/ROW]
[ROW][C]-74.9503796369797[/C][/ROW]
[ROW][C]-0.768777314421359[/C][/ROW]
[ROW][C]-22.7626043186602[/C][/ROW]
[ROW][C]16.6546191200268[/C][/ROW]
[ROW][C]23.1056181224901[/C][/ROW]
[ROW][C]-11.2624585521281[/C][/ROW]
[ROW][C]55.1669259468411[/C][/ROW]
[ROW][C]-10.7383387330681[/C][/ROW]
[ROW][C]14.4429167294145[/C][/ROW]
[ROW][C]10.65937878219[/C][/ROW]
[ROW][C]48.5073193224735[/C][/ROW]
[ROW][C]-10.0398506136002[/C][/ROW]
[ROW][C]-35.1287839736255[/C][/ROW]
[ROW][C]-33.8130241994224[/C][/ROW]
[ROW][C]-18.9671263305001[/C][/ROW]
[ROW][C]38.0448802087809[/C][/ROW]
[ROW][C]-18.0846145031134[/C][/ROW]
[ROW][C]-17.0573615987485[/C][/ROW]
[ROW][C]-10.2440581959321[/C][/ROW]
[ROW][C]42.8850553601534[/C][/ROW]
[ROW][C]-8.32102644658562[/C][/ROW]
[ROW][C]53.6891227113356[/C][/ROW]
[ROW][C]34.0531207249105[/C][/ROW]
[ROW][C]-24.4410253358662[/C][/ROW]
[ROW][C]-62.4729047194144[/C][/ROW]
[ROW][C]0.576182324209763[/C][/ROW]
[ROW][C]-49.7803985285735[/C][/ROW]
[ROW][C]26.2355129872816[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=262854&T=2

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

As an alternative you can also use a QR Code:  

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

Estimated ARIMA Residuals
Value
0.111999903313948
4.5662540896047
9.90389422575892
-4.57895685919005
-5.20619071545502
12.1021735738771
7.4051520010258
-1.67572377795885
-8.98427959912817
-11.2318654766807
-9.16267533634068
12.9974830952335
-5.5574489069401
8.27220072781951
5.43916146674262
-5.2854085544031
-4.25354479105258
16.3100822172783
9.41106769929469
-2.1296456879667
-5.01053710095124
-13.798879218683
-7.31887168012364
18.7916853059546
1.47667452216727
-0.477576462927094
21.5328713175135
-16.2544785210762
15.8233293708226
-8.28352603742594
12.8029686632615
-2.89720443126358
-9.75751111945201
-8.42694994355889
-6.10995564436516
8.64992622614472
-1.02366423244193
9.01899367940609
-5.09171092444501
-2.14285779633456
-6.42733773199989
38.6604658738254
-5.12299300151846
12.741674988531
-27.1532725256111
-3.48586085422899
-11.7129827166397
18.5937275351676
-3.03921302345233
-5.98314957802276
42.812820635051
-8.1716863364294
1.21055083830231
-14.7430112422238
21.1443920111594
-5.72479811251676
-14.5835944462981
-14.8549649054042
-17.5130778497235
12.4446886174544
-0.690126363320791
-10.4690139734017
16.6508257407661
-12.835459482569
10.3061431798696
38.47043226688
15.0060436263066
-11.5488504538689
-18.6444492416364
-11.3299503859981
-6.93304858885757
20.6589387271563
6.54946586138301
-2.06393560152893
22.9806300468465
3.89470233104307
-5.69470877106213
13.9116366580944
26.8458816712222
-16.5386026106993
-14.292771625559
-22.2533268528565
-24.2069036552912
31.1632322784541
-9.89651977885207
-4.26338204972733
22.9525991951088
-16.363336539616
12.4819001538985
42.8987591054136
5.37203504050999
-0.90057956158473
-35.2722404710122
-20.6075994403201
-7.03154397563229
16.0984458129526
7.57103702842675
-10.4994751605075
39.7184117794012
-8.08591242424823
1.83051338832783
30.0286818497596
24.0775144718769
-3.70564205426196
-33.7601254572078
-26.4512759717092
-26.5799112610314
25.3829230626617
-10.6560192038785
-12.5365172909846
16.9761671435986
-18.5302716780694
19.1602563708631
43.2430650492892
21.4852648535792
7.71858716555035
-74.9503796369797
-0.768777314421359
-22.7626043186602
16.6546191200268
23.1056181224901
-11.2624585521281
55.1669259468411
-10.7383387330681
14.4429167294145
10.65937878219
48.5073193224735
-10.0398506136002
-35.1287839736255
-33.8130241994224
-18.9671263305001
38.0448802087809
-18.0846145031134
-17.0573615987485
-10.2440581959321
42.8850553601534
-8.32102644658562
53.6891227113356
34.0531207249105
-24.4410253358662
-62.4729047194144
0.576182324209763
-49.7803985285735
26.2355129872816



Parameters (Session):
par1 = FALSE ; par2 = 1 ; par3 = 1 ; par4 = 0 ; par5 = 12 ; par6 = 0 ; par7 = 1 ; par8 = 0 ; par9 = 1 ;
Parameters (R input):
par1 = FALSE ; par2 = 1 ; par3 = 1 ; par4 = 0 ; par5 = 12 ; par6 = 0 ; par7 = 1 ; par8 = 0 ; par9 = 1 ;
R code (references can be found in the software module):
library(lattice)
if (par1 == 'TRUE') par1 <- TRUE
if (par1 == 'FALSE') par1 <- FALSE
par2 <- as.numeric(par2) #Box-Cox lambda transformation parameter
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) #degree (p) of the non-seasonal AR(p) polynomial
par7 <- as.numeric(par7) #degree (q) of the non-seasonal MA(q) polynomial
par8 <- as.numeric(par8) #degree (P) of the seasonal AR(P) polynomial
par9 <- as.numeric(par9) #degree (Q) of the seasonal MA(Q) polynomial
armaGR <- function(arima.out, names, n){
try1 <- arima.out$coef
try2 <- sqrt(diag(arima.out$var.coef))
try.data.frame <- data.frame(matrix(NA,ncol=4,nrow=length(names)))
dimnames(try.data.frame) <- list(names,c('coef','std','tstat','pv'))
try.data.frame[,1] <- try1
for(i in 1:length(try2)) try.data.frame[which(rownames(try.data.frame)==names(try2)[i]),2] <- try2[i]
try.data.frame[,3] <- try.data.frame[,1] / try.data.frame[,2]
try.data.frame[,4] <- round((1-pt(abs(try.data.frame[,3]),df=n-(length(try2)+1)))*2,5)
vector <- rep(NA,length(names))
vector[is.na(try.data.frame[,4])] <- 0
maxi <- which.max(try.data.frame[,4])
continue <- max(try.data.frame[,4],na.rm=TRUE) > .05
vector[maxi] <- 0
list(summary=try.data.frame,next.vector=vector,continue=continue)
}
arimaSelect <- function(series, order=c(13,0,0), seasonal=list(order=c(2,0,0),period=12), include.mean=F){
nrc <- order[1]+order[3]+seasonal$order[1]+seasonal$order[3]
coeff <- matrix(NA, nrow=nrc*2, ncol=nrc)
pval <- matrix(NA, nrow=nrc*2, ncol=nrc)
mylist <- rep(list(NULL), nrc)
names <- NULL
if(order[1] > 0) names <- paste('ar',1:order[1],sep='')
if(order[3] > 0) names <- c( names , paste('ma',1:order[3],sep='') )
if(seasonal$order[1] > 0) names <- c(names, paste('sar',1:seasonal$order[1],sep=''))
if(seasonal$order[3] > 0) names <- c(names, paste('sma',1:seasonal$order[3],sep=''))
arima.out <- arima(series, order=order, seasonal=seasonal, include.mean=include.mean, method='ML')
mylist[[1]] <- arima.out
last.arma <- armaGR(arima.out, names, length(series))
mystop <- FALSE
i <- 1
coeff[i,] <- last.arma[[1]][,1]
pval [i,] <- last.arma[[1]][,4]
i <- 2
aic <- arima.out$aic
while(!mystop){
mylist[[i]] <- arima.out
arima.out <- arima(series, order=order, seasonal=seasonal, include.mean=include.mean, method='ML', fixed=last.arma$next.vector)
aic <- c(aic, arima.out$aic)
last.arma <- armaGR(arima.out, names, length(series))
mystop <- !last.arma$continue
coeff[i,] <- last.arma[[1]][,1]
pval [i,] <- last.arma[[1]][,4]
i <- i+1
}
list(coeff, pval, mylist, aic=aic)
}
arimaSelectplot <- function(arimaSelect.out,noms,choix){
noms <- names(arimaSelect.out[[3]][[1]]$coef)
coeff <- arimaSelect.out[[1]]
k <- min(which(is.na(coeff[,1])))-1
coeff <- coeff[1:k,]
pval <- arimaSelect.out[[2]][1:k,]
aic <- arimaSelect.out$aic[1:k]
coeff[coeff==0] <- NA
n <- ncol(coeff)
if(missing(choix)) choix <- k
layout(matrix(c(1,1,1,2,
3,3,3,2,
3,3,3,4,
5,6,7,7),nr=4),
widths=c(10,35,45,15),
heights=c(30,30,15,15))
couleurs <- rainbow(75)[1:50]#(50)
ticks <- pretty(coeff)
par(mar=c(1,1,3,1))
plot(aic,k:1-.5,type='o',pch=21,bg='blue',cex=2,axes=F,lty=2,xpd=NA)
points(aic[choix],k-choix+.5,pch=21,cex=4,bg=2,xpd=NA)
title('aic',line=2)
par(mar=c(3,0,0,0))
plot(0,axes=F,xlab='',ylab='',xlim=range(ticks),ylim=c(.1,1))
rect(xleft = min(ticks) + (0:49)/50*(max(ticks)-min(ticks)),
xright = min(ticks) + (1:50)/50*(max(ticks)-min(ticks)),
ytop = rep(1,50),
ybottom= rep(0,50),col=couleurs,border=NA)
axis(1,ticks)
rect(xleft=min(ticks),xright=max(ticks),ytop=1,ybottom=0)
text(mean(coeff,na.rm=T),.5,'coefficients',cex=2,font=2)
par(mar=c(1,1,3,1))
image(1:n,1:k,t(coeff[k:1,]),axes=F,col=couleurs,zlim=range(ticks))
for(i in 1:n) for(j in 1:k) if(!is.na(coeff[j,i])) {
if(pval[j,i]<.01) symb = 'green'
else if( (pval[j,i]<.05) & (pval[j,i]>=.01)) symb = 'orange'
else if( (pval[j,i]<.1) & (pval[j,i]>=.05)) symb = 'red'
else symb = 'black'
polygon(c(i+.5 ,i+.2 ,i+.5 ,i+.5),
c(k-j+0.5,k-j+0.5,k-j+0.8,k-j+0.5),
col=symb)
if(j==choix) {
rect(xleft=i-.5,
xright=i+.5,
ybottom=k-j+1.5,
ytop=k-j+.5,
lwd=4)
text(i,
k-j+1,
round(coeff[j,i],2),
cex=1.2,
font=2)
}
else{
rect(xleft=i-.5,xright=i+.5,ybottom=k-j+1.5,ytop=k-j+.5)
text(i,k-j+1,round(coeff[j,i],2),cex=1.2,font=1)
}
}
axis(3,1:n,noms)
par(mar=c(0.5,0,0,0.5))
plot(0,axes=F,xlab='',ylab='',type='n',xlim=c(0,8),ylim=c(-.2,.8))
cols <- c('green','orange','red','black')
niv <- c('0','0.01','0.05','0.1')
for(i in 0:3){
polygon(c(1+2*i ,1+2*i ,1+2*i-.5 ,1+2*i),
c(.4 ,.7 , .4 , .4),
col=cols[i+1])
text(2*i,0.5,niv[i+1],cex=1.5)
}
text(8,.5,1,cex=1.5)
text(4,0,'p-value',cex=2)
box()
residus <- arimaSelect.out[[3]][[choix]]$res
par(mar=c(1,2,4,1))
acf(residus,main='')
title('acf',line=.5)
par(mar=c(1,2,4,1))
pacf(residus,main='')
title('pacf',line=.5)
par(mar=c(2,2,4,1))
qqnorm(residus,main='')
title('qq-norm',line=.5)
qqline(residus)
residus
}
if (par2 == 0) x <- log(x)
if (par2 != 0) x <- x^par2
(selection <- arimaSelect(x, order=c(par6,par3,par7), seasonal=list(order=c(par8,par4,par9), period=par5)))
bitmap(file='test1.png')
resid <- arimaSelectplot(selection)
dev.off()
resid
bitmap(file='test2.png')
acf(resid,length(resid)/2, main='Residual Autocorrelation Function')
dev.off()
bitmap(file='test3.png')
pacf(resid,length(resid)/2, main='Residual Partial Autocorrelation Function')
dev.off()
bitmap(file='test4.png')
cpgram(resid, main='Residual Cumulative Periodogram')
dev.off()
bitmap(file='test5.png')
hist(resid, main='Residual Histogram', xlab='values of Residuals')
dev.off()
bitmap(file='test6.png')
densityplot(~resid,col='black',main='Residual Density Plot', xlab='values of Residuals')
dev.off()
bitmap(file='test7.png')
qqnorm(resid, main='Residual Normal Q-Q Plot')
qqline(resid)
dev.off()
ncols <- length(selection[[1]][1,])
nrows <- length(selection[[2]][,1])-1
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'ARIMA Parameter Estimation and Backward Selection', ncols+1,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Iteration', header=TRUE)
for (i in 1:ncols) {
a<-table.element(a,names(selection[[3]][[1]]$coef)[i],header=TRUE)
}
a<-table.row.end(a)
for (j in 1:nrows) {
a<-table.row.start(a)
mydum <- 'Estimates ('
mydum <- paste(mydum,j)
mydum <- paste(mydum,')')
a<-table.element(a,mydum, header=TRUE)
for (i in 1:ncols) {
a<-table.element(a,round(selection[[1]][j,i],4))
}
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'(p-val)', header=TRUE)
for (i in 1:ncols) {
mydum <- '('
mydum <- paste(mydum,round(selection[[2]][j,i],4),sep='')
mydum <- paste(mydum,')')
a<-table.element(a,mydum)
}
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,'Estimated ARIMA Residuals', 1,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Value', 1,TRUE)
a<-table.row.end(a)
for (i in (par4*par5+par3):length(resid)) {
a<-table.row.start(a)
a<-table.element(a,resid[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable1.tab')