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 computationMon, 08 Dec 2008 14:36:28 -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/08/t1228772245c47vkpph70s5j9y.htm/, Retrieved Thu, 16 May 2024 21:38:20 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=31074, Retrieved Thu, 16 May 2024 21:38:20 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact165
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Univariate Data Series] [data set] [2008-12-01 19:54:57] [b98453cac15ba1066b407e146608df68]
F RMP   [(Partial) Autocorrelation Function] [correlatie zonder...] [2008-12-08 21:11:42] [e43247bc0ab243a5af99ac7f55ba0b41]
F   P     [(Partial) Autocorrelation Function] [correlatie met aa...] [2008-12-08 21:16:24] [e43247bc0ab243a5af99ac7f55ba0b41]
F RMP       [Spectral Analysis] [spectum analyse] [2008-12-08 21:19:50] [e43247bc0ab243a5af99ac7f55ba0b41]
F RMP         [Standard Deviation-Mean Plot] [sd- mean plot] [2008-12-08 21:28:17] [e43247bc0ab243a5af99ac7f55ba0b41]
F RMP             [ARIMA Backward Selection] [berekening arima ...] [2008-12-08 21:36:28] [f24298b2e4c2a19d76cf4460ec5d2246] [Current]
-   P               [ARIMA Backward Selection] [juiste oplossing] [2008-12-11 14:33:10] [2d4aec5ed1856c4828162be37be304d9]
Feedback Forum
2008-12-11 14:37:00 [Peter Melgers] [reply
Deze reproductie is niet juist. Een voorbeeld van wat het had moeten zijn:

http://www.freestatistics.org/blog/index.php?v=date/2008/Dec/11/t1229006028ro90f9mbogmsbmq.htm

Include mean: false (in 99% van de gevallen, tenzij er een deterministische trend aanwezig is zoals bv. bij de consumptieprijsindex)

Seasonal period = 12

Lambda = 0,5
d = 1
D = 1

Bij max. AR / MA / SAR en SMA gaan we overall het maximum selecteren (ook al weten we uit stap 4 dat dit waarschijnlijk niet nodig is).

We bekomen een grafiek met veel kleuren. De computer heeft voor ons 4 modellen berekend (elke RIJ is een model).

De parameters staan bovenaan:

AR1 = Ø1
AR2 = Ø2
AR3 = Ø3

In het midden van elk blokje staat een waarde. Deze waarde is het getal dat we zouden kunnen gaan invullen in ons model. Bijvoorbeeld AR1 = 0,46 
Ø1 = 0,46.

Onderaan in elke rechthoek staat ook een rechthoek in een bepaalde kleur. Deze kleur slaat op de p-waarde, in de legende kunnen we zien dat er 4 verschillende kleuren zijn.

Groen: p-waarde ligt tussen 0% en 1%
Bruin: p-waarde ligt tussen 1% en 5%
Rood: p-waarde ligt tussen 5% en 10%
Zwart: p-waarde > 10%  niet significant

AR3 is aan het zwarte blokje te zien niet significant.

Daarstraks twijfelden we aan p=2 of p=3. We kunnen nu dus besluiten dat het p=2 moet zijn aangezien AR3 niet significant is.

De seizoenale AR-parameters zijn allebei niet significant maar dat wisten we al.

Finale mode (onderste rij):

AR1: 0,46
AR2: 0,19
MA1: - 0,38 (enkel significant indien we een alfa fout van 5% nemen!)
SMA1: - 0,72

Onderzoek van de residu’s

We gaan kijken of de autocorrelatie er is uitgehaald.


In de Residual Autocorrelation Function zien we dat er geen enkele coëfficiënt significant verschillend is van 0, m.a.w. er is geen autocorrelatie.

Bij de Residual Partial Autocorrelation Function merken we hetzelfde. Er is één uitloper maar daar liggen we niet van wakker. Zelfs niet als het er een paar meer waren. (Behalve als ze terugkeren: lag 12, lag 24, …!)

In het Residual Cumulative Perodogram liggen alle waarden binnen de betrouwbaarheidsintervallen. (de 95% Kolmogorov-Smirnov betrouwbaarheidsintervallen)

De Residual Density Plot ziet er ook goed uit en de Residual NormalQ-Q Plot verloopt niet helemaal perfect maar het kon veel erger.


Hiermee is de berekening en controle van ons model afgerond.
2008-12-14 11:18:19 [Kevin Engels] [reply
Jouw blog klopt niet. Via de module ‘Time series Analyses (new)’ vinden we de ARIMA Backward selection. We stellen de lambda, D en d-waarde in op respectievelijk 0,50 en 1. De seasonal period veranderen we in 12, MAX AR = 3, MAX MA = 1, MAX SAR = 2, MAX SMA = 1.
http://www.freestatistics.org/blog/index.php?v=date/2008/Dec/08/t1228767432ymcglhmqvrue887.htm

Hierop zien we dat we ons vergist hebben, p zou immers gelijk moeten zijn aan 2 en niet aan 3 zoals we gezegd hadden.

We bekijken ook nog even de andere plots:
- Residual autocorrelation plot: er zit geen patroon meer in, m.a.w. geen autocorrelatie meer.
- Cumulative periodogram: de plot ligt mooi tussen de betrouwbaarheidsintervallen van Smirnov
- Density plot + histogram: vrij normaal verloop
- QQ-plot: deze plot verraadt als het ware een klein probleem, ze is niet helemaal perfect maar dit kan echter geen kwaad.
2008-12-15 10:56:02 [Lindsay Heyndrickx] [reply
stap4:Op de autocorrelatieplot zien we dat de eerste 5 coëfficiënten (1ste staafje niet meegerekend) allemaal positief zijn en naar 0 gaan (mits uitrekking van de eerste coëfficiënt). We kunnen dus stellen dat het om een AR proces gaat.
Nu we weten dat het om een AR proces gaat, moeten we nog de orde aflezen. Dit doen we via de partial autocorrelation.
De eerste twee staafjes zijn significant verschillend van 0. Het derde is echter een twijfelgeval.
Deze nemen we er voorlopig toch bij. We bekomen dan p=3

Om P te bepalen moeten we kijken naar de seizoenaliteit op de autocorrelation. Lag 12 is significant, lags 24, 36, 48 en 60 niet, we kunnen dus concluderen dat er geen seizoenaliteit is, dus P = 0.

We kijken ook naar het MA proces om de q en Q te bepalen:
Voor de q kijken we naar de partial correlation. De eerste 5 staafjes zijn niet negatief en convergeren niet naar 0. We besluiten dus dat q =0.

Voor de Q kijken we naar de partial correlation. We stellen duidelijke seizoenaliteit vast om de 12 lags.
Voor de orde kijken we naar de autocorrelatie. Enkel lag 12 significant verschillend van 0, de rest niet dus Q = 1.



Stap 5: Hier is geen modelvergelijking gemaakt maar de berekening is wel correct. Eerst hadden we dit moeten berekenen met de maximum parameters zodat er verschillende modellen getoond worden. http://www.freestatistics.org/blog/date/2008/Dec/10/t1228924748sjwn9w7kr0z3olz.htm
Rij 3 is niet significant dus we hebben hier te maken met een AR2 proces. Dit wil dus zeggen dat we kleine p op 2 moeten zetten. Hier zien we ook dat het een niet seizonaal MA1 proces is. Dus we moeten de grote Q =1 bepalen.
Nadat we de juiste parameters gevondenhebben kunnen we naar de andere grafieken kijken. Deze wijzen op een perfecte normaalverdeling behalve in de staarten. Ook zien we dat er geen autocorrelatie meer te vinden is. Bij het residual cumulative periodogram ligt het perfect tussen het betrouwbaarheidsinterval.

Post a new message
Dataseries X:
235.1
280.7
264.6
240.7
201.4
240.8
241.1
223.8
206.1
174.7
203.3
220.5
299.5
347.4
338.3
327.7
351.6
396.6
438.8
395.6
363.5
378.8
357
369
464.8
479.1
431.3
366.5
326.3
355.1
331.6
261.3
249
205.5
235.6
240.9
264.9
253.8
232.3
193.8
177
213.2
207.2
180.6
188.6
175.4
199
179.6
225.8
234
200.2
183.6
178.2
203.2
208.5
191.8
172.8
148
159.4
154.5
213.2
196.4
182.8
176.4
153.6
173.2
171
151.2
161.9
157.2
201.7
236.4
356.1
398.3
403.7
384.6
365.8
368.1
367.9
347
343.3
292.9
311.5
300.9
366.9
356.9
329.7
316.2
269
289.3
266.2
253.6
233.8
228.4
253.6
260.1
306.6
309.2
309.5
271
279.9
317.9
298.4
246.7
227.3
209.1
259.9
266
320.6
308.5
282.2
262.7
263.5
313.1
284.3
252.6
250.3
246.5
312.7
333.2
446.4
511.6
515.5
506.4
483.2
522.3
509.8
460.7
405.8
375
378.5
406.8
467.8
469.8
429.8
355.8
332.7
378
360.5
334.7
319.5
323.1
363.6
352.1
411.9
388.6
416.4
360.7
338
417.2
388.4
371.1
331.5
353.7
396.7
447
533.5
565.4
542.3
488.7
467.1
531.3
496.1
444
403.4
386.3
394.1
404.1
462.1
448.1
432.3
386.3
395.2
421.9
382.9
384.2
345.5
323.4
372.6
376
462.7
487
444.2
399.3
394.9
455.4
414
375.5
347
339.4
385.8
378.8
451.8
446.1
422.5
383.1
352.8
445.3
367.5
355.1
326.2
319.8
331.8
340.9
394.1
417.2
369.9
349.2
321.4
405.7
342.9
316.5
284.2
270.9
288.8
278.8
324.4
310.9
299
273
279.3
359.2
305
282.1
250.3
246.5
257.9
266.5
315.9
318.4
295.4
266.4
245.8
362.8
324.9
294.2
289.5
295.2
290.3
272
307.4
328.7
292.9
249.1
230.4
361.5
321.7
277.2
260.7
251
257.6
241.8
287.5
292.3
274.7
254.2
230
339
318.2
287
295.8
284
271
262.7
340.6
379.4
373.3
355.2
338.4
466.9
451
422
429.2
425.9
460.7
463.6
541.4
544.2
517.5
469.4
439.4
549
533
506.1
484
457
481.5
469.5
544.7
541.2
521.5
469.7
434.4
542.6
517.3
485.7
465.8
447
426.6
411.6
467.5
484.5
451.2
417.4
379.9
484.7
455
420.8
416.5
376.3
405.6
405.8
500.8
514
475.5
430.1
414.4
538
526
488.5
520.2
504.4
568.5
610.6
818
830.9
835.9
782
762.3
856.9
820.9
769.6
752.2
724.4
723.1
719.5
817.4
803.3
752.5
689
630.4
765.5
757.7
732.2
702.6
683.3
709.5
702.2
784.8
810.9
755.6
656.8
615.1
745.3
694.1
675.7
643.7
622.1
634.6
588
689.7
673.9
647.9
568.8
545.7
632.6
643.8
593.1
579.7
546
562.9
572.5




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time6 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 & 6 seconds \tabularnewline
R Server & 'Sir Ronald Aylmer Fisher' @ 193.190.124.24 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=31074&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]6 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=31074&T=0

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







ARIMA Parameter Estimation and Backward Selection
Iterationar1ar2ar3sma1
Estimates ( 1 )0.09380.2350.0655-0.7207
(p-val)(0.0776 )(0 )(0.2165 )(0 )
Estimates ( 2 )0.10940.24170-0.724
(p-val)(0.0348 )(0 )(NA )(0 )
Estimates ( 3 )NANANANA
(p-val)(NA )(NA )(NA )(NA )
Estimates ( 4 )NANANANA
(p-val)(NA )(NA )(NA )(NA )
Estimates ( 5 )NANANANA
(p-val)(NA )(NA )(NA )(NA )
Estimates ( 6 )NANANANA
(p-val)(NA )(NA )(NA )(NA )
Estimates ( 7 )NANANANA
(p-val)(NA )(NA )(NA )(NA )

\begin{tabular}{lllllllll}
\hline
ARIMA Parameter Estimation and Backward Selection \tabularnewline
Iteration & ar1 & ar2 & ar3 & sma1 \tabularnewline
Estimates ( 1 ) & 0.0938 & 0.235 & 0.0655 & -0.7207 \tabularnewline
(p-val) & (0.0776 ) & (0 ) & (0.2165 ) & (0 ) \tabularnewline
Estimates ( 2 ) & 0.1094 & 0.2417 & 0 & -0.724 \tabularnewline
(p-val) & (0.0348 ) & (0 ) & (NA ) & (0 ) \tabularnewline
Estimates ( 3 ) & NA & NA & NA & NA \tabularnewline
(p-val) & (NA ) & (NA ) & (NA ) & (NA ) \tabularnewline
Estimates ( 4 ) & NA & NA & NA & NA \tabularnewline
(p-val) & (NA ) & (NA ) & (NA ) & (NA ) \tabularnewline
Estimates ( 5 ) & NA & NA & NA & NA \tabularnewline
(p-val) & (NA ) & (NA ) & (NA ) & (NA ) \tabularnewline
Estimates ( 6 ) & NA & NA & NA & NA \tabularnewline
(p-val) & (NA ) & (NA ) & (NA ) & (NA ) \tabularnewline
Estimates ( 7 ) & NA & NA & NA & NA \tabularnewline
(p-val) & (NA ) & (NA ) & (NA ) & (NA ) \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=31074&T=1

[TABLE]
[ROW][C]ARIMA Parameter Estimation and Backward Selection[/C][/ROW]
[ROW][C]Iteration[/C][C]ar1[/C][C]ar2[/C][C]ar3[/C][C]sma1[/C][/ROW]
[ROW][C]Estimates ( 1 )[/C][C]0.0938[/C][C]0.235[/C][C]0.0655[/C][C]-0.7207[/C][/ROW]
[ROW][C](p-val)[/C][C](0.0776 )[/C][C](0 )[/C][C](0.2165 )[/C][C](0 )[/C][/ROW]
[ROW][C]Estimates ( 2 )[/C][C]0.1094[/C][C]0.2417[/C][C]0[/C][C]-0.724[/C][/ROW]
[ROW][C](p-val)[/C][C](0.0348 )[/C][C](0 )[/C][C](NA )[/C][C](0 )[/C][/ROW]
[ROW][C]Estimates ( 3 )[/C][C]NA[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C](p-val)[/C][C](NA )[/C][C](NA )[/C][C](NA )[/C][C](NA )[/C][/ROW]
[ROW][C]Estimates ( 4 )[/C][C]NA[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C](p-val)[/C][C](NA )[/C][C](NA )[/C][C](NA )[/C][C](NA )[/C][/ROW]
[ROW][C]Estimates ( 5 )[/C][C]NA[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C](p-val)[/C][C](NA )[/C][C](NA )[/C][C](NA )[/C][C](NA )[/C][/ROW]
[ROW][C]Estimates ( 6 )[/C][C]NA[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C](p-val)[/C][C](NA )[/C][C](NA )[/C][C](NA )[/C][C](NA )[/C][/ROW]
[ROW][C]Estimates ( 7 )[/C][C]NA[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C](p-val)[/C][C](NA )[/C][C](NA )[/C][C](NA )[/C][C](NA )[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=31074&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=31074&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
Iterationar1ar2ar3sma1
Estimates ( 1 )0.09380.2350.0655-0.7207
(p-val)(0.0776 )(0 )(0.2165 )(0 )
Estimates ( 2 )0.10940.24170-0.724
(p-val)(0.0348 )(0 )(NA )(0 )
Estimates ( 3 )NANANANA
(p-val)(NA )(NA )(NA )(NA )
Estimates ( 4 )NANANANA
(p-val)(NA )(NA )(NA )(NA )
Estimates ( 5 )NANANANA
(p-val)(NA )(NA )(NA )(NA )
Estimates ( 6 )NANANANA
(p-val)(NA )(NA )(NA )(NA )
Estimates ( 7 )NANANANA
(p-val)(NA )(NA )(NA )(NA )







Estimated ARIMA Residuals
Value
-0.0447137390272734
-0.0687784008721625
0.200065259469383
0.369647192334302
1.52302500687903
-0.382351652590529
0.442484705953235
-0.548687738326466
-0.326732335427227
1.30468453743238
-1.35000107715691
-0.389439575464326
0.182876610858843
-0.82765853722098
-0.571201584915404
-0.727773904324092
-0.408617481014424
-0.0704110735472719
-0.812914052059258
-0.878889028729043
0.689887970823318
-0.730705685747665
0.835147693710006
-0.138185216701051
-1.62611469439179
-1.10034403426597
0.45677596470518
0.0327483723142012
0.101996607037720
0.314319633858824
-0.280298442391524
0.300460027616269
0.86492645901138
0.113436639614858
0.0734396502246886
-1.1943895755251
-0.151861125138344
-0.0210495648794097
-0.343329897405132
0.57418222742391
0.47781168621983
-0.345527949804051
0.0869630775254658
0.590525901105861
-0.490004399846953
-0.422661781940113
-0.0950377220433882
-0.100980274124265
0.509364887403037
-1.00698399650562
0.328831448281443
0.863391353815204
-0.476125702126559
-0.442129102881706
-0.0557913097702751
0.327254110228792
0.866296661457067
0.446073570730181
0.800999914901121
0.91338235022287
1.21106609481015
0.432278106542901
0.30740381690155
-0.163323139810682
-0.171054707150572
-1.03961068457222
0.0264129124059242
0.590970464198047
0.097667193414187
-0.913730174110319
-0.330723542805029
-0.39195818363723
-0.335951956739613
-0.460376493946906
-0.0292549884617932
0.496162671800531
-0.733630309931482
-0.0817164992226442
-0.515670156844175
0.578908325440849
-0.353328576779298
0.636524321604853
0.0383883350807363
-0.0571793863955055
-0.858265148177968
-0.0909880083123185
0.755511697178835
-0.518652214775753
0.994495177458605
0.406663352394251
-0.616393390405291
-0.995855435727202
-0.203821482765549
0.285779411312298
0.992846604308255
-0.032642401516076
-0.572122960501989
-0.552544804842514
-0.240243503912743
0.322411019734135
0.630309713877885
0.601433684147127
-0.733286459471964
-0.160045380760858
0.395986068276847
0.525885325598869
0.819051453813494
0.175416333536861
0.722308994343331
1.20239730743579
0.181073067678708
0.0276824036072787
-0.448685377204847
-0.252679588762263
0.188302910126189
-0.140217354291817
-1.04008080288537
-0.165181655860004
-0.938101044497282
0.684173306173827
-0.420129108488581
-0.354905309987354
-0.440209108382993
-1.11887600597083
0.0686415989085914
0.616719545542489
0.0574399783342137
0.267702851578149
0.130909090559568
0.588946603961889
0.00572821901343476
-0.884968900334173
-0.428896750051219
-0.717442099721712
1.42772367664623
-0.361535513081855
-0.321236120316300
1.06722741931058
-0.33290283078787
0.267556897679493
-0.558802009345389
0.942245290665494
0.107677379282012
0.81403074798015
-0.0649701396554648
0.345685646228151
-0.473259976567074
-0.240984462493588
0.0553124595489295
0.177989893406328
-0.284191160490265
-0.425389536819816
-0.207809877774878
-0.175666893145592
-0.705544297418704
-0.065040943622663
-0.234296612947879
-0.418031506652591
0.0635319559989805
0.132841996620134
0.794189537999644
-0.733782502465836
-0.499459632798152
1.08239302885079
-0.195667969807164
-0.575471600328794
0.555338927484722
-0.271929833776667
0.319593877332837
0.481050891693748
-0.81262191396108
-0.0584254773473991
0.319299221125978
0.340160416365136
-0.380473373193656
-0.388107550785008
0.168516164747884
0.196617444475901
0.26596897405434
-0.564468306750204
-0.0741083390168732
-0.245462631305509
-0.000631086112912674
0.213691873411084
-0.514626311912356
1.10591401190519
-1.14042582868043
0.295888386284989
0.19271584437122
0.0823052468517737
-0.731740372303288
0.0993134132589294
-0.291267009670318
0.526798163814382
-0.626285431164823
0.508878352150377
-0.280281532869242
0.62792905713934
-0.540421400105257
-0.193911733158419
-0.0379837423204988
-0.0737632004979219
-0.242637537186410
-0.430619070925083
-0.266577770367767
-0.450848923177237
0.543204143651971
0.292434553176278
0.629959973336938
0.386021089994678
-0.464129626803248
-0.162088683771945
-0.109310920624648
0.206778799659594
-0.370942002466388
0.205888751910087
-0.0868141359489529
-0.00924476217060555
-0.0350279847274146
0.0295208749464449
-0.325458294545571
1.52876820951623
0.227697699449636
-0.57553586407264
0.594320597889054
0.375156084119440
-0.979806835251643
-0.738194593966474
-0.295606194261590
0.782268462765804
-0.284793332371893
-0.508090378874115
-0.101172002693224
1.69597573358922
0.0868254971053952
-0.935435963817087
0.084024564905338
-0.0643804091884933
-0.198880032485861
-0.384722600295250
0.0966843241584943
0.0394743023399825
0.241745680496903
0.371825325703927
-0.398581545812299
0.453542394820430
0.616055174378937
-0.182235634182765
0.705127122368446
-0.285631939779811
-0.940745208106626
-0.0149575260510810
1.03118033839239
0.812710396601637
0.243126729447648
0.127521649199917
-0.118771837274819
0.201558938467644
0.562828099749744
0.0391841683940965
0.360470877192038
0.00772979683817721
0.520054700897959
0.139321232845313
-0.101107240958568
-0.484393523302886
-0.0577528580439184
-0.217551597487814
-0.118844641957641
-0.403656464284595
0.601785878996277
0.320909679012853
-0.378818150563156
-0.500307851534945
0.315582159413099
-0.046222958009324
-0.0095973709190061
-0.380509230995538
0.161104962318752
-0.215811218603729
-0.231483119691719
-0.287379901729848
0.264764818769951
0.147436823611637
-0.172259331880881
-0.141334579026970
-0.845249407005538
-0.0711678530607345
-0.0997721108162206
0.312583565872383
-0.184889861815433
0.142211411206338
-0.258926889321140
-0.183942615912385
0.0508119533923595
-0.00280358387486184
0.264521921082033
-0.669527015468614
0.598264521052914
0.315601660444501
0.542032990320116
-0.123599991747048
-0.455766780258002
-0.180826876452053
0.423549517984673
0.194696922013925
0.318093033546938
-0.167334221062664
0.882621148584532
0.0779760718876266
0.822930204558593
0.820785155688967
1.77156463227373
-0.557598465824448
0.184478457476376
-0.192692523943057
0.102325646363674
-1.12766260158216
-0.036167373523097
0.110557677874472
-0.216041048283250
0.0312638982800059
-0.555203488132128
-0.105294956918464
-0.417647712627731
-0.363087407940911
-0.259927537837846
-0.0304015861099431
-0.425425472876586
0.278580105184006
0.570197986993057
0.317952341402115
-0.606007796411566
0.054331445450243
0.133601264033203
-0.213626415086226
-0.67770257805335
0.454034647741659
-0.267529752277019
-0.84208197962
0.0427521078964787
0.274539653134209
-0.42588310861755
0.414783888591999
-0.322936109948051
0.00915568124876534
-0.135962115829343
-0.916593602280545
0.147519810366749
-0.278727306051026
0.297054785861684
-0.249412015692506
0.281148356539351
-0.633174844818621
0.83947407727576
-0.335291480122119
-0.0537311854293047
-0.226993759859346
0.000315636526029520
0.516501273912041

\begin{tabular}{lllllllll}
\hline
Estimated ARIMA Residuals \tabularnewline
Value \tabularnewline
-0.0447137390272734 \tabularnewline
-0.0687784008721625 \tabularnewline
0.200065259469383 \tabularnewline
0.369647192334302 \tabularnewline
1.52302500687903 \tabularnewline
-0.382351652590529 \tabularnewline
0.442484705953235 \tabularnewline
-0.548687738326466 \tabularnewline
-0.326732335427227 \tabularnewline
1.30468453743238 \tabularnewline
-1.35000107715691 \tabularnewline
-0.389439575464326 \tabularnewline
0.182876610858843 \tabularnewline
-0.82765853722098 \tabularnewline
-0.571201584915404 \tabularnewline
-0.727773904324092 \tabularnewline
-0.408617481014424 \tabularnewline
-0.0704110735472719 \tabularnewline
-0.812914052059258 \tabularnewline
-0.878889028729043 \tabularnewline
0.689887970823318 \tabularnewline
-0.730705685747665 \tabularnewline
0.835147693710006 \tabularnewline
-0.138185216701051 \tabularnewline
-1.62611469439179 \tabularnewline
-1.10034403426597 \tabularnewline
0.45677596470518 \tabularnewline
0.0327483723142012 \tabularnewline
0.101996607037720 \tabularnewline
0.314319633858824 \tabularnewline
-0.280298442391524 \tabularnewline
0.300460027616269 \tabularnewline
0.86492645901138 \tabularnewline
0.113436639614858 \tabularnewline
0.0734396502246886 \tabularnewline
-1.1943895755251 \tabularnewline
-0.151861125138344 \tabularnewline
-0.0210495648794097 \tabularnewline
-0.343329897405132 \tabularnewline
0.57418222742391 \tabularnewline
0.47781168621983 \tabularnewline
-0.345527949804051 \tabularnewline
0.0869630775254658 \tabularnewline
0.590525901105861 \tabularnewline
-0.490004399846953 \tabularnewline
-0.422661781940113 \tabularnewline
-0.0950377220433882 \tabularnewline
-0.100980274124265 \tabularnewline
0.509364887403037 \tabularnewline
-1.00698399650562 \tabularnewline
0.328831448281443 \tabularnewline
0.863391353815204 \tabularnewline
-0.476125702126559 \tabularnewline
-0.442129102881706 \tabularnewline
-0.0557913097702751 \tabularnewline
0.327254110228792 \tabularnewline
0.866296661457067 \tabularnewline
0.446073570730181 \tabularnewline
0.800999914901121 \tabularnewline
0.91338235022287 \tabularnewline
1.21106609481015 \tabularnewline
0.432278106542901 \tabularnewline
0.30740381690155 \tabularnewline
-0.163323139810682 \tabularnewline
-0.171054707150572 \tabularnewline
-1.03961068457222 \tabularnewline
0.0264129124059242 \tabularnewline
0.590970464198047 \tabularnewline
0.097667193414187 \tabularnewline
-0.913730174110319 \tabularnewline
-0.330723542805029 \tabularnewline
-0.39195818363723 \tabularnewline
-0.335951956739613 \tabularnewline
-0.460376493946906 \tabularnewline
-0.0292549884617932 \tabularnewline
0.496162671800531 \tabularnewline
-0.733630309931482 \tabularnewline
-0.0817164992226442 \tabularnewline
-0.515670156844175 \tabularnewline
0.578908325440849 \tabularnewline
-0.353328576779298 \tabularnewline
0.636524321604853 \tabularnewline
0.0383883350807363 \tabularnewline
-0.0571793863955055 \tabularnewline
-0.858265148177968 \tabularnewline
-0.0909880083123185 \tabularnewline
0.755511697178835 \tabularnewline
-0.518652214775753 \tabularnewline
0.994495177458605 \tabularnewline
0.406663352394251 \tabularnewline
-0.616393390405291 \tabularnewline
-0.995855435727202 \tabularnewline
-0.203821482765549 \tabularnewline
0.285779411312298 \tabularnewline
0.992846604308255 \tabularnewline
-0.032642401516076 \tabularnewline
-0.572122960501989 \tabularnewline
-0.552544804842514 \tabularnewline
-0.240243503912743 \tabularnewline
0.322411019734135 \tabularnewline
0.630309713877885 \tabularnewline
0.601433684147127 \tabularnewline
-0.733286459471964 \tabularnewline
-0.160045380760858 \tabularnewline
0.395986068276847 \tabularnewline
0.525885325598869 \tabularnewline
0.819051453813494 \tabularnewline
0.175416333536861 \tabularnewline
0.722308994343331 \tabularnewline
1.20239730743579 \tabularnewline
0.181073067678708 \tabularnewline
0.0276824036072787 \tabularnewline
-0.448685377204847 \tabularnewline
-0.252679588762263 \tabularnewline
0.188302910126189 \tabularnewline
-0.140217354291817 \tabularnewline
-1.04008080288537 \tabularnewline
-0.165181655860004 \tabularnewline
-0.938101044497282 \tabularnewline
0.684173306173827 \tabularnewline
-0.420129108488581 \tabularnewline
-0.354905309987354 \tabularnewline
-0.440209108382993 \tabularnewline
-1.11887600597083 \tabularnewline
0.0686415989085914 \tabularnewline
0.616719545542489 \tabularnewline
0.0574399783342137 \tabularnewline
0.267702851578149 \tabularnewline
0.130909090559568 \tabularnewline
0.588946603961889 \tabularnewline
0.00572821901343476 \tabularnewline
-0.884968900334173 \tabularnewline
-0.428896750051219 \tabularnewline
-0.717442099721712 \tabularnewline
1.42772367664623 \tabularnewline
-0.361535513081855 \tabularnewline
-0.321236120316300 \tabularnewline
1.06722741931058 \tabularnewline
-0.33290283078787 \tabularnewline
0.267556897679493 \tabularnewline
-0.558802009345389 \tabularnewline
0.942245290665494 \tabularnewline
0.107677379282012 \tabularnewline
0.81403074798015 \tabularnewline
-0.0649701396554648 \tabularnewline
0.345685646228151 \tabularnewline
-0.473259976567074 \tabularnewline
-0.240984462493588 \tabularnewline
0.0553124595489295 \tabularnewline
0.177989893406328 \tabularnewline
-0.284191160490265 \tabularnewline
-0.425389536819816 \tabularnewline
-0.207809877774878 \tabularnewline
-0.175666893145592 \tabularnewline
-0.705544297418704 \tabularnewline
-0.065040943622663 \tabularnewline
-0.234296612947879 \tabularnewline
-0.418031506652591 \tabularnewline
0.0635319559989805 \tabularnewline
0.132841996620134 \tabularnewline
0.794189537999644 \tabularnewline
-0.733782502465836 \tabularnewline
-0.499459632798152 \tabularnewline
1.08239302885079 \tabularnewline
-0.195667969807164 \tabularnewline
-0.575471600328794 \tabularnewline
0.555338927484722 \tabularnewline
-0.271929833776667 \tabularnewline
0.319593877332837 \tabularnewline
0.481050891693748 \tabularnewline
-0.81262191396108 \tabularnewline
-0.0584254773473991 \tabularnewline
0.319299221125978 \tabularnewline
0.340160416365136 \tabularnewline
-0.380473373193656 \tabularnewline
-0.388107550785008 \tabularnewline
0.168516164747884 \tabularnewline
0.196617444475901 \tabularnewline
0.26596897405434 \tabularnewline
-0.564468306750204 \tabularnewline
-0.0741083390168732 \tabularnewline
-0.245462631305509 \tabularnewline
-0.000631086112912674 \tabularnewline
0.213691873411084 \tabularnewline
-0.514626311912356 \tabularnewline
1.10591401190519 \tabularnewline
-1.14042582868043 \tabularnewline
0.295888386284989 \tabularnewline
0.19271584437122 \tabularnewline
0.0823052468517737 \tabularnewline
-0.731740372303288 \tabularnewline
0.0993134132589294 \tabularnewline
-0.291267009670318 \tabularnewline
0.526798163814382 \tabularnewline
-0.626285431164823 \tabularnewline
0.508878352150377 \tabularnewline
-0.280281532869242 \tabularnewline
0.62792905713934 \tabularnewline
-0.540421400105257 \tabularnewline
-0.193911733158419 \tabularnewline
-0.0379837423204988 \tabularnewline
-0.0737632004979219 \tabularnewline
-0.242637537186410 \tabularnewline
-0.430619070925083 \tabularnewline
-0.266577770367767 \tabularnewline
-0.450848923177237 \tabularnewline
0.543204143651971 \tabularnewline
0.292434553176278 \tabularnewline
0.629959973336938 \tabularnewline
0.386021089994678 \tabularnewline
-0.464129626803248 \tabularnewline
-0.162088683771945 \tabularnewline
-0.109310920624648 \tabularnewline
0.206778799659594 \tabularnewline
-0.370942002466388 \tabularnewline
0.205888751910087 \tabularnewline
-0.0868141359489529 \tabularnewline
-0.00924476217060555 \tabularnewline
-0.0350279847274146 \tabularnewline
0.0295208749464449 \tabularnewline
-0.325458294545571 \tabularnewline
1.52876820951623 \tabularnewline
0.227697699449636 \tabularnewline
-0.57553586407264 \tabularnewline
0.594320597889054 \tabularnewline
0.375156084119440 \tabularnewline
-0.979806835251643 \tabularnewline
-0.738194593966474 \tabularnewline
-0.295606194261590 \tabularnewline
0.782268462765804 \tabularnewline
-0.284793332371893 \tabularnewline
-0.508090378874115 \tabularnewline
-0.101172002693224 \tabularnewline
1.69597573358922 \tabularnewline
0.0868254971053952 \tabularnewline
-0.935435963817087 \tabularnewline
0.084024564905338 \tabularnewline
-0.0643804091884933 \tabularnewline
-0.198880032485861 \tabularnewline
-0.384722600295250 \tabularnewline
0.0966843241584943 \tabularnewline
0.0394743023399825 \tabularnewline
0.241745680496903 \tabularnewline
0.371825325703927 \tabularnewline
-0.398581545812299 \tabularnewline
0.453542394820430 \tabularnewline
0.616055174378937 \tabularnewline
-0.182235634182765 \tabularnewline
0.705127122368446 \tabularnewline
-0.285631939779811 \tabularnewline
-0.940745208106626 \tabularnewline
-0.0149575260510810 \tabularnewline
1.03118033839239 \tabularnewline
0.812710396601637 \tabularnewline
0.243126729447648 \tabularnewline
0.127521649199917 \tabularnewline
-0.118771837274819 \tabularnewline
0.201558938467644 \tabularnewline
0.562828099749744 \tabularnewline
0.0391841683940965 \tabularnewline
0.360470877192038 \tabularnewline
0.00772979683817721 \tabularnewline
0.520054700897959 \tabularnewline
0.139321232845313 \tabularnewline
-0.101107240958568 \tabularnewline
-0.484393523302886 \tabularnewline
-0.0577528580439184 \tabularnewline
-0.217551597487814 \tabularnewline
-0.118844641957641 \tabularnewline
-0.403656464284595 \tabularnewline
0.601785878996277 \tabularnewline
0.320909679012853 \tabularnewline
-0.378818150563156 \tabularnewline
-0.500307851534945 \tabularnewline
0.315582159413099 \tabularnewline
-0.046222958009324 \tabularnewline
-0.0095973709190061 \tabularnewline
-0.380509230995538 \tabularnewline
0.161104962318752 \tabularnewline
-0.215811218603729 \tabularnewline
-0.231483119691719 \tabularnewline
-0.287379901729848 \tabularnewline
0.264764818769951 \tabularnewline
0.147436823611637 \tabularnewline
-0.172259331880881 \tabularnewline
-0.141334579026970 \tabularnewline
-0.845249407005538 \tabularnewline
-0.0711678530607345 \tabularnewline
-0.0997721108162206 \tabularnewline
0.312583565872383 \tabularnewline
-0.184889861815433 \tabularnewline
0.142211411206338 \tabularnewline
-0.258926889321140 \tabularnewline
-0.183942615912385 \tabularnewline
0.0508119533923595 \tabularnewline
-0.00280358387486184 \tabularnewline
0.264521921082033 \tabularnewline
-0.669527015468614 \tabularnewline
0.598264521052914 \tabularnewline
0.315601660444501 \tabularnewline
0.542032990320116 \tabularnewline
-0.123599991747048 \tabularnewline
-0.455766780258002 \tabularnewline
-0.180826876452053 \tabularnewline
0.423549517984673 \tabularnewline
0.194696922013925 \tabularnewline
0.318093033546938 \tabularnewline
-0.167334221062664 \tabularnewline
0.882621148584532 \tabularnewline
0.0779760718876266 \tabularnewline
0.822930204558593 \tabularnewline
0.820785155688967 \tabularnewline
1.77156463227373 \tabularnewline
-0.557598465824448 \tabularnewline
0.184478457476376 \tabularnewline
-0.192692523943057 \tabularnewline
0.102325646363674 \tabularnewline
-1.12766260158216 \tabularnewline
-0.036167373523097 \tabularnewline
0.110557677874472 \tabularnewline
-0.216041048283250 \tabularnewline
0.0312638982800059 \tabularnewline
-0.555203488132128 \tabularnewline
-0.105294956918464 \tabularnewline
-0.417647712627731 \tabularnewline
-0.363087407940911 \tabularnewline
-0.259927537837846 \tabularnewline
-0.0304015861099431 \tabularnewline
-0.425425472876586 \tabularnewline
0.278580105184006 \tabularnewline
0.570197986993057 \tabularnewline
0.317952341402115 \tabularnewline
-0.606007796411566 \tabularnewline
0.054331445450243 \tabularnewline
0.133601264033203 \tabularnewline
-0.213626415086226 \tabularnewline
-0.67770257805335 \tabularnewline
0.454034647741659 \tabularnewline
-0.267529752277019 \tabularnewline
-0.84208197962 \tabularnewline
0.0427521078964787 \tabularnewline
0.274539653134209 \tabularnewline
-0.42588310861755 \tabularnewline
0.414783888591999 \tabularnewline
-0.322936109948051 \tabularnewline
0.00915568124876534 \tabularnewline
-0.135962115829343 \tabularnewline
-0.916593602280545 \tabularnewline
0.147519810366749 \tabularnewline
-0.278727306051026 \tabularnewline
0.297054785861684 \tabularnewline
-0.249412015692506 \tabularnewline
0.281148356539351 \tabularnewline
-0.633174844818621 \tabularnewline
0.83947407727576 \tabularnewline
-0.335291480122119 \tabularnewline
-0.0537311854293047 \tabularnewline
-0.226993759859346 \tabularnewline
0.000315636526029520 \tabularnewline
0.516501273912041 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=31074&T=2

[TABLE]
[ROW][C]Estimated ARIMA Residuals[/C][/ROW]
[ROW][C]Value[/C][/ROW]
[ROW][C]-0.0447137390272734[/C][/ROW]
[ROW][C]-0.0687784008721625[/C][/ROW]
[ROW][C]0.200065259469383[/C][/ROW]
[ROW][C]0.369647192334302[/C][/ROW]
[ROW][C]1.52302500687903[/C][/ROW]
[ROW][C]-0.382351652590529[/C][/ROW]
[ROW][C]0.442484705953235[/C][/ROW]
[ROW][C]-0.548687738326466[/C][/ROW]
[ROW][C]-0.326732335427227[/C][/ROW]
[ROW][C]1.30468453743238[/C][/ROW]
[ROW][C]-1.35000107715691[/C][/ROW]
[ROW][C]-0.389439575464326[/C][/ROW]
[ROW][C]0.182876610858843[/C][/ROW]
[ROW][C]-0.82765853722098[/C][/ROW]
[ROW][C]-0.571201584915404[/C][/ROW]
[ROW][C]-0.727773904324092[/C][/ROW]
[ROW][C]-0.408617481014424[/C][/ROW]
[ROW][C]-0.0704110735472719[/C][/ROW]
[ROW][C]-0.812914052059258[/C][/ROW]
[ROW][C]-0.878889028729043[/C][/ROW]
[ROW][C]0.689887970823318[/C][/ROW]
[ROW][C]-0.730705685747665[/C][/ROW]
[ROW][C]0.835147693710006[/C][/ROW]
[ROW][C]-0.138185216701051[/C][/ROW]
[ROW][C]-1.62611469439179[/C][/ROW]
[ROW][C]-1.10034403426597[/C][/ROW]
[ROW][C]0.45677596470518[/C][/ROW]
[ROW][C]0.0327483723142012[/C][/ROW]
[ROW][C]0.101996607037720[/C][/ROW]
[ROW][C]0.314319633858824[/C][/ROW]
[ROW][C]-0.280298442391524[/C][/ROW]
[ROW][C]0.300460027616269[/C][/ROW]
[ROW][C]0.86492645901138[/C][/ROW]
[ROW][C]0.113436639614858[/C][/ROW]
[ROW][C]0.0734396502246886[/C][/ROW]
[ROW][C]-1.1943895755251[/C][/ROW]
[ROW][C]-0.151861125138344[/C][/ROW]
[ROW][C]-0.0210495648794097[/C][/ROW]
[ROW][C]-0.343329897405132[/C][/ROW]
[ROW][C]0.57418222742391[/C][/ROW]
[ROW][C]0.47781168621983[/C][/ROW]
[ROW][C]-0.345527949804051[/C][/ROW]
[ROW][C]0.0869630775254658[/C][/ROW]
[ROW][C]0.590525901105861[/C][/ROW]
[ROW][C]-0.490004399846953[/C][/ROW]
[ROW][C]-0.422661781940113[/C][/ROW]
[ROW][C]-0.0950377220433882[/C][/ROW]
[ROW][C]-0.100980274124265[/C][/ROW]
[ROW][C]0.509364887403037[/C][/ROW]
[ROW][C]-1.00698399650562[/C][/ROW]
[ROW][C]0.328831448281443[/C][/ROW]
[ROW][C]0.863391353815204[/C][/ROW]
[ROW][C]-0.476125702126559[/C][/ROW]
[ROW][C]-0.442129102881706[/C][/ROW]
[ROW][C]-0.0557913097702751[/C][/ROW]
[ROW][C]0.327254110228792[/C][/ROW]
[ROW][C]0.866296661457067[/C][/ROW]
[ROW][C]0.446073570730181[/C][/ROW]
[ROW][C]0.800999914901121[/C][/ROW]
[ROW][C]0.91338235022287[/C][/ROW]
[ROW][C]1.21106609481015[/C][/ROW]
[ROW][C]0.432278106542901[/C][/ROW]
[ROW][C]0.30740381690155[/C][/ROW]
[ROW][C]-0.163323139810682[/C][/ROW]
[ROW][C]-0.171054707150572[/C][/ROW]
[ROW][C]-1.03961068457222[/C][/ROW]
[ROW][C]0.0264129124059242[/C][/ROW]
[ROW][C]0.590970464198047[/C][/ROW]
[ROW][C]0.097667193414187[/C][/ROW]
[ROW][C]-0.913730174110319[/C][/ROW]
[ROW][C]-0.330723542805029[/C][/ROW]
[ROW][C]-0.39195818363723[/C][/ROW]
[ROW][C]-0.335951956739613[/C][/ROW]
[ROW][C]-0.460376493946906[/C][/ROW]
[ROW][C]-0.0292549884617932[/C][/ROW]
[ROW][C]0.496162671800531[/C][/ROW]
[ROW][C]-0.733630309931482[/C][/ROW]
[ROW][C]-0.0817164992226442[/C][/ROW]
[ROW][C]-0.515670156844175[/C][/ROW]
[ROW][C]0.578908325440849[/C][/ROW]
[ROW][C]-0.353328576779298[/C][/ROW]
[ROW][C]0.636524321604853[/C][/ROW]
[ROW][C]0.0383883350807363[/C][/ROW]
[ROW][C]-0.0571793863955055[/C][/ROW]
[ROW][C]-0.858265148177968[/C][/ROW]
[ROW][C]-0.0909880083123185[/C][/ROW]
[ROW][C]0.755511697178835[/C][/ROW]
[ROW][C]-0.518652214775753[/C][/ROW]
[ROW][C]0.994495177458605[/C][/ROW]
[ROW][C]0.406663352394251[/C][/ROW]
[ROW][C]-0.616393390405291[/C][/ROW]
[ROW][C]-0.995855435727202[/C][/ROW]
[ROW][C]-0.203821482765549[/C][/ROW]
[ROW][C]0.285779411312298[/C][/ROW]
[ROW][C]0.992846604308255[/C][/ROW]
[ROW][C]-0.032642401516076[/C][/ROW]
[ROW][C]-0.572122960501989[/C][/ROW]
[ROW][C]-0.552544804842514[/C][/ROW]
[ROW][C]-0.240243503912743[/C][/ROW]
[ROW][C]0.322411019734135[/C][/ROW]
[ROW][C]0.630309713877885[/C][/ROW]
[ROW][C]0.601433684147127[/C][/ROW]
[ROW][C]-0.733286459471964[/C][/ROW]
[ROW][C]-0.160045380760858[/C][/ROW]
[ROW][C]0.395986068276847[/C][/ROW]
[ROW][C]0.525885325598869[/C][/ROW]
[ROW][C]0.819051453813494[/C][/ROW]
[ROW][C]0.175416333536861[/C][/ROW]
[ROW][C]0.722308994343331[/C][/ROW]
[ROW][C]1.20239730743579[/C][/ROW]
[ROW][C]0.181073067678708[/C][/ROW]
[ROW][C]0.0276824036072787[/C][/ROW]
[ROW][C]-0.448685377204847[/C][/ROW]
[ROW][C]-0.252679588762263[/C][/ROW]
[ROW][C]0.188302910126189[/C][/ROW]
[ROW][C]-0.140217354291817[/C][/ROW]
[ROW][C]-1.04008080288537[/C][/ROW]
[ROW][C]-0.165181655860004[/C][/ROW]
[ROW][C]-0.938101044497282[/C][/ROW]
[ROW][C]0.684173306173827[/C][/ROW]
[ROW][C]-0.420129108488581[/C][/ROW]
[ROW][C]-0.354905309987354[/C][/ROW]
[ROW][C]-0.440209108382993[/C][/ROW]
[ROW][C]-1.11887600597083[/C][/ROW]
[ROW][C]0.0686415989085914[/C][/ROW]
[ROW][C]0.616719545542489[/C][/ROW]
[ROW][C]0.0574399783342137[/C][/ROW]
[ROW][C]0.267702851578149[/C][/ROW]
[ROW][C]0.130909090559568[/C][/ROW]
[ROW][C]0.588946603961889[/C][/ROW]
[ROW][C]0.00572821901343476[/C][/ROW]
[ROW][C]-0.884968900334173[/C][/ROW]
[ROW][C]-0.428896750051219[/C][/ROW]
[ROW][C]-0.717442099721712[/C][/ROW]
[ROW][C]1.42772367664623[/C][/ROW]
[ROW][C]-0.361535513081855[/C][/ROW]
[ROW][C]-0.321236120316300[/C][/ROW]
[ROW][C]1.06722741931058[/C][/ROW]
[ROW][C]-0.33290283078787[/C][/ROW]
[ROW][C]0.267556897679493[/C][/ROW]
[ROW][C]-0.558802009345389[/C][/ROW]
[ROW][C]0.942245290665494[/C][/ROW]
[ROW][C]0.107677379282012[/C][/ROW]
[ROW][C]0.81403074798015[/C][/ROW]
[ROW][C]-0.0649701396554648[/C][/ROW]
[ROW][C]0.345685646228151[/C][/ROW]
[ROW][C]-0.473259976567074[/C][/ROW]
[ROW][C]-0.240984462493588[/C][/ROW]
[ROW][C]0.0553124595489295[/C][/ROW]
[ROW][C]0.177989893406328[/C][/ROW]
[ROW][C]-0.284191160490265[/C][/ROW]
[ROW][C]-0.425389536819816[/C][/ROW]
[ROW][C]-0.207809877774878[/C][/ROW]
[ROW][C]-0.175666893145592[/C][/ROW]
[ROW][C]-0.705544297418704[/C][/ROW]
[ROW][C]-0.065040943622663[/C][/ROW]
[ROW][C]-0.234296612947879[/C][/ROW]
[ROW][C]-0.418031506652591[/C][/ROW]
[ROW][C]0.0635319559989805[/C][/ROW]
[ROW][C]0.132841996620134[/C][/ROW]
[ROW][C]0.794189537999644[/C][/ROW]
[ROW][C]-0.733782502465836[/C][/ROW]
[ROW][C]-0.499459632798152[/C][/ROW]
[ROW][C]1.08239302885079[/C][/ROW]
[ROW][C]-0.195667969807164[/C][/ROW]
[ROW][C]-0.575471600328794[/C][/ROW]
[ROW][C]0.555338927484722[/C][/ROW]
[ROW][C]-0.271929833776667[/C][/ROW]
[ROW][C]0.319593877332837[/C][/ROW]
[ROW][C]0.481050891693748[/C][/ROW]
[ROW][C]-0.81262191396108[/C][/ROW]
[ROW][C]-0.0584254773473991[/C][/ROW]
[ROW][C]0.319299221125978[/C][/ROW]
[ROW][C]0.340160416365136[/C][/ROW]
[ROW][C]-0.380473373193656[/C][/ROW]
[ROW][C]-0.388107550785008[/C][/ROW]
[ROW][C]0.168516164747884[/C][/ROW]
[ROW][C]0.196617444475901[/C][/ROW]
[ROW][C]0.26596897405434[/C][/ROW]
[ROW][C]-0.564468306750204[/C][/ROW]
[ROW][C]-0.0741083390168732[/C][/ROW]
[ROW][C]-0.245462631305509[/C][/ROW]
[ROW][C]-0.000631086112912674[/C][/ROW]
[ROW][C]0.213691873411084[/C][/ROW]
[ROW][C]-0.514626311912356[/C][/ROW]
[ROW][C]1.10591401190519[/C][/ROW]
[ROW][C]-1.14042582868043[/C][/ROW]
[ROW][C]0.295888386284989[/C][/ROW]
[ROW][C]0.19271584437122[/C][/ROW]
[ROW][C]0.0823052468517737[/C][/ROW]
[ROW][C]-0.731740372303288[/C][/ROW]
[ROW][C]0.0993134132589294[/C][/ROW]
[ROW][C]-0.291267009670318[/C][/ROW]
[ROW][C]0.526798163814382[/C][/ROW]
[ROW][C]-0.626285431164823[/C][/ROW]
[ROW][C]0.508878352150377[/C][/ROW]
[ROW][C]-0.280281532869242[/C][/ROW]
[ROW][C]0.62792905713934[/C][/ROW]
[ROW][C]-0.540421400105257[/C][/ROW]
[ROW][C]-0.193911733158419[/C][/ROW]
[ROW][C]-0.0379837423204988[/C][/ROW]
[ROW][C]-0.0737632004979219[/C][/ROW]
[ROW][C]-0.242637537186410[/C][/ROW]
[ROW][C]-0.430619070925083[/C][/ROW]
[ROW][C]-0.266577770367767[/C][/ROW]
[ROW][C]-0.450848923177237[/C][/ROW]
[ROW][C]0.543204143651971[/C][/ROW]
[ROW][C]0.292434553176278[/C][/ROW]
[ROW][C]0.629959973336938[/C][/ROW]
[ROW][C]0.386021089994678[/C][/ROW]
[ROW][C]-0.464129626803248[/C][/ROW]
[ROW][C]-0.162088683771945[/C][/ROW]
[ROW][C]-0.109310920624648[/C][/ROW]
[ROW][C]0.206778799659594[/C][/ROW]
[ROW][C]-0.370942002466388[/C][/ROW]
[ROW][C]0.205888751910087[/C][/ROW]
[ROW][C]-0.0868141359489529[/C][/ROW]
[ROW][C]-0.00924476217060555[/C][/ROW]
[ROW][C]-0.0350279847274146[/C][/ROW]
[ROW][C]0.0295208749464449[/C][/ROW]
[ROW][C]-0.325458294545571[/C][/ROW]
[ROW][C]1.52876820951623[/C][/ROW]
[ROW][C]0.227697699449636[/C][/ROW]
[ROW][C]-0.57553586407264[/C][/ROW]
[ROW][C]0.594320597889054[/C][/ROW]
[ROW][C]0.375156084119440[/C][/ROW]
[ROW][C]-0.979806835251643[/C][/ROW]
[ROW][C]-0.738194593966474[/C][/ROW]
[ROW][C]-0.295606194261590[/C][/ROW]
[ROW][C]0.782268462765804[/C][/ROW]
[ROW][C]-0.284793332371893[/C][/ROW]
[ROW][C]-0.508090378874115[/C][/ROW]
[ROW][C]-0.101172002693224[/C][/ROW]
[ROW][C]1.69597573358922[/C][/ROW]
[ROW][C]0.0868254971053952[/C][/ROW]
[ROW][C]-0.935435963817087[/C][/ROW]
[ROW][C]0.084024564905338[/C][/ROW]
[ROW][C]-0.0643804091884933[/C][/ROW]
[ROW][C]-0.198880032485861[/C][/ROW]
[ROW][C]-0.384722600295250[/C][/ROW]
[ROW][C]0.0966843241584943[/C][/ROW]
[ROW][C]0.0394743023399825[/C][/ROW]
[ROW][C]0.241745680496903[/C][/ROW]
[ROW][C]0.371825325703927[/C][/ROW]
[ROW][C]-0.398581545812299[/C][/ROW]
[ROW][C]0.453542394820430[/C][/ROW]
[ROW][C]0.616055174378937[/C][/ROW]
[ROW][C]-0.182235634182765[/C][/ROW]
[ROW][C]0.705127122368446[/C][/ROW]
[ROW][C]-0.285631939779811[/C][/ROW]
[ROW][C]-0.940745208106626[/C][/ROW]
[ROW][C]-0.0149575260510810[/C][/ROW]
[ROW][C]1.03118033839239[/C][/ROW]
[ROW][C]0.812710396601637[/C][/ROW]
[ROW][C]0.243126729447648[/C][/ROW]
[ROW][C]0.127521649199917[/C][/ROW]
[ROW][C]-0.118771837274819[/C][/ROW]
[ROW][C]0.201558938467644[/C][/ROW]
[ROW][C]0.562828099749744[/C][/ROW]
[ROW][C]0.0391841683940965[/C][/ROW]
[ROW][C]0.360470877192038[/C][/ROW]
[ROW][C]0.00772979683817721[/C][/ROW]
[ROW][C]0.520054700897959[/C][/ROW]
[ROW][C]0.139321232845313[/C][/ROW]
[ROW][C]-0.101107240958568[/C][/ROW]
[ROW][C]-0.484393523302886[/C][/ROW]
[ROW][C]-0.0577528580439184[/C][/ROW]
[ROW][C]-0.217551597487814[/C][/ROW]
[ROW][C]-0.118844641957641[/C][/ROW]
[ROW][C]-0.403656464284595[/C][/ROW]
[ROW][C]0.601785878996277[/C][/ROW]
[ROW][C]0.320909679012853[/C][/ROW]
[ROW][C]-0.378818150563156[/C][/ROW]
[ROW][C]-0.500307851534945[/C][/ROW]
[ROW][C]0.315582159413099[/C][/ROW]
[ROW][C]-0.046222958009324[/C][/ROW]
[ROW][C]-0.0095973709190061[/C][/ROW]
[ROW][C]-0.380509230995538[/C][/ROW]
[ROW][C]0.161104962318752[/C][/ROW]
[ROW][C]-0.215811218603729[/C][/ROW]
[ROW][C]-0.231483119691719[/C][/ROW]
[ROW][C]-0.287379901729848[/C][/ROW]
[ROW][C]0.264764818769951[/C][/ROW]
[ROW][C]0.147436823611637[/C][/ROW]
[ROW][C]-0.172259331880881[/C][/ROW]
[ROW][C]-0.141334579026970[/C][/ROW]
[ROW][C]-0.845249407005538[/C][/ROW]
[ROW][C]-0.0711678530607345[/C][/ROW]
[ROW][C]-0.0997721108162206[/C][/ROW]
[ROW][C]0.312583565872383[/C][/ROW]
[ROW][C]-0.184889861815433[/C][/ROW]
[ROW][C]0.142211411206338[/C][/ROW]
[ROW][C]-0.258926889321140[/C][/ROW]
[ROW][C]-0.183942615912385[/C][/ROW]
[ROW][C]0.0508119533923595[/C][/ROW]
[ROW][C]-0.00280358387486184[/C][/ROW]
[ROW][C]0.264521921082033[/C][/ROW]
[ROW][C]-0.669527015468614[/C][/ROW]
[ROW][C]0.598264521052914[/C][/ROW]
[ROW][C]0.315601660444501[/C][/ROW]
[ROW][C]0.542032990320116[/C][/ROW]
[ROW][C]-0.123599991747048[/C][/ROW]
[ROW][C]-0.455766780258002[/C][/ROW]
[ROW][C]-0.180826876452053[/C][/ROW]
[ROW][C]0.423549517984673[/C][/ROW]
[ROW][C]0.194696922013925[/C][/ROW]
[ROW][C]0.318093033546938[/C][/ROW]
[ROW][C]-0.167334221062664[/C][/ROW]
[ROW][C]0.882621148584532[/C][/ROW]
[ROW][C]0.0779760718876266[/C][/ROW]
[ROW][C]0.822930204558593[/C][/ROW]
[ROW][C]0.820785155688967[/C][/ROW]
[ROW][C]1.77156463227373[/C][/ROW]
[ROW][C]-0.557598465824448[/C][/ROW]
[ROW][C]0.184478457476376[/C][/ROW]
[ROW][C]-0.192692523943057[/C][/ROW]
[ROW][C]0.102325646363674[/C][/ROW]
[ROW][C]-1.12766260158216[/C][/ROW]
[ROW][C]-0.036167373523097[/C][/ROW]
[ROW][C]0.110557677874472[/C][/ROW]
[ROW][C]-0.216041048283250[/C][/ROW]
[ROW][C]0.0312638982800059[/C][/ROW]
[ROW][C]-0.555203488132128[/C][/ROW]
[ROW][C]-0.105294956918464[/C][/ROW]
[ROW][C]-0.417647712627731[/C][/ROW]
[ROW][C]-0.363087407940911[/C][/ROW]
[ROW][C]-0.259927537837846[/C][/ROW]
[ROW][C]-0.0304015861099431[/C][/ROW]
[ROW][C]-0.425425472876586[/C][/ROW]
[ROW][C]0.278580105184006[/C][/ROW]
[ROW][C]0.570197986993057[/C][/ROW]
[ROW][C]0.317952341402115[/C][/ROW]
[ROW][C]-0.606007796411566[/C][/ROW]
[ROW][C]0.054331445450243[/C][/ROW]
[ROW][C]0.133601264033203[/C][/ROW]
[ROW][C]-0.213626415086226[/C][/ROW]
[ROW][C]-0.67770257805335[/C][/ROW]
[ROW][C]0.454034647741659[/C][/ROW]
[ROW][C]-0.267529752277019[/C][/ROW]
[ROW][C]-0.84208197962[/C][/ROW]
[ROW][C]0.0427521078964787[/C][/ROW]
[ROW][C]0.274539653134209[/C][/ROW]
[ROW][C]-0.42588310861755[/C][/ROW]
[ROW][C]0.414783888591999[/C][/ROW]
[ROW][C]-0.322936109948051[/C][/ROW]
[ROW][C]0.00915568124876534[/C][/ROW]
[ROW][C]-0.135962115829343[/C][/ROW]
[ROW][C]-0.916593602280545[/C][/ROW]
[ROW][C]0.147519810366749[/C][/ROW]
[ROW][C]-0.278727306051026[/C][/ROW]
[ROW][C]0.297054785861684[/C][/ROW]
[ROW][C]-0.249412015692506[/C][/ROW]
[ROW][C]0.281148356539351[/C][/ROW]
[ROW][C]-0.633174844818621[/C][/ROW]
[ROW][C]0.83947407727576[/C][/ROW]
[ROW][C]-0.335291480122119[/C][/ROW]
[ROW][C]-0.0537311854293047[/C][/ROW]
[ROW][C]-0.226993759859346[/C][/ROW]
[ROW][C]0.000315636526029520[/C][/ROW]
[ROW][C]0.516501273912041[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=31074&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=31074&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.0447137390272734
-0.0687784008721625
0.200065259469383
0.369647192334302
1.52302500687903
-0.382351652590529
0.442484705953235
-0.548687738326466
-0.326732335427227
1.30468453743238
-1.35000107715691
-0.389439575464326
0.182876610858843
-0.82765853722098
-0.571201584915404
-0.727773904324092
-0.408617481014424
-0.0704110735472719
-0.812914052059258
-0.878889028729043
0.689887970823318
-0.730705685747665
0.835147693710006
-0.138185216701051
-1.62611469439179
-1.10034403426597
0.45677596470518
0.0327483723142012
0.101996607037720
0.314319633858824
-0.280298442391524
0.300460027616269
0.86492645901138
0.113436639614858
0.0734396502246886
-1.1943895755251
-0.151861125138344
-0.0210495648794097
-0.343329897405132
0.57418222742391
0.47781168621983
-0.345527949804051
0.0869630775254658
0.590525901105861
-0.490004399846953
-0.422661781940113
-0.0950377220433882
-0.100980274124265
0.509364887403037
-1.00698399650562
0.328831448281443
0.863391353815204
-0.476125702126559
-0.442129102881706
-0.0557913097702751
0.327254110228792
0.866296661457067
0.446073570730181
0.800999914901121
0.91338235022287
1.21106609481015
0.432278106542901
0.30740381690155
-0.163323139810682
-0.171054707150572
-1.03961068457222
0.0264129124059242
0.590970464198047
0.097667193414187
-0.913730174110319
-0.330723542805029
-0.39195818363723
-0.335951956739613
-0.460376493946906
-0.0292549884617932
0.496162671800531
-0.733630309931482
-0.0817164992226442
-0.515670156844175
0.578908325440849
-0.353328576779298
0.636524321604853
0.0383883350807363
-0.0571793863955055
-0.858265148177968
-0.0909880083123185
0.755511697178835
-0.518652214775753
0.994495177458605
0.406663352394251
-0.616393390405291
-0.995855435727202
-0.203821482765549
0.285779411312298
0.992846604308255
-0.032642401516076
-0.572122960501989
-0.552544804842514
-0.240243503912743
0.322411019734135
0.630309713877885
0.601433684147127
-0.733286459471964
-0.160045380760858
0.395986068276847
0.525885325598869
0.819051453813494
0.175416333536861
0.722308994343331
1.20239730743579
0.181073067678708
0.0276824036072787
-0.448685377204847
-0.252679588762263
0.188302910126189
-0.140217354291817
-1.04008080288537
-0.165181655860004
-0.938101044497282
0.684173306173827
-0.420129108488581
-0.354905309987354
-0.440209108382993
-1.11887600597083
0.0686415989085914
0.616719545542489
0.0574399783342137
0.267702851578149
0.130909090559568
0.588946603961889
0.00572821901343476
-0.884968900334173
-0.428896750051219
-0.717442099721712
1.42772367664623
-0.361535513081855
-0.321236120316300
1.06722741931058
-0.33290283078787
0.267556897679493
-0.558802009345389
0.942245290665494
0.107677379282012
0.81403074798015
-0.0649701396554648
0.345685646228151
-0.473259976567074
-0.240984462493588
0.0553124595489295
0.177989893406328
-0.284191160490265
-0.425389536819816
-0.207809877774878
-0.175666893145592
-0.705544297418704
-0.065040943622663
-0.234296612947879
-0.418031506652591
0.0635319559989805
0.132841996620134
0.794189537999644
-0.733782502465836
-0.499459632798152
1.08239302885079
-0.195667969807164
-0.575471600328794
0.555338927484722
-0.271929833776667
0.319593877332837
0.481050891693748
-0.81262191396108
-0.0584254773473991
0.319299221125978
0.340160416365136
-0.380473373193656
-0.388107550785008
0.168516164747884
0.196617444475901
0.26596897405434
-0.564468306750204
-0.0741083390168732
-0.245462631305509
-0.000631086112912674
0.213691873411084
-0.514626311912356
1.10591401190519
-1.14042582868043
0.295888386284989
0.19271584437122
0.0823052468517737
-0.731740372303288
0.0993134132589294
-0.291267009670318
0.526798163814382
-0.626285431164823
0.508878352150377
-0.280281532869242
0.62792905713934
-0.540421400105257
-0.193911733158419
-0.0379837423204988
-0.0737632004979219
-0.242637537186410
-0.430619070925083
-0.266577770367767
-0.450848923177237
0.543204143651971
0.292434553176278
0.629959973336938
0.386021089994678
-0.464129626803248
-0.162088683771945
-0.109310920624648
0.206778799659594
-0.370942002466388
0.205888751910087
-0.0868141359489529
-0.00924476217060555
-0.0350279847274146
0.0295208749464449
-0.325458294545571
1.52876820951623
0.227697699449636
-0.57553586407264
0.594320597889054
0.375156084119440
-0.979806835251643
-0.738194593966474
-0.295606194261590
0.782268462765804
-0.284793332371893
-0.508090378874115
-0.101172002693224
1.69597573358922
0.0868254971053952
-0.935435963817087
0.084024564905338
-0.0643804091884933
-0.198880032485861
-0.384722600295250
0.0966843241584943
0.0394743023399825
0.241745680496903
0.371825325703927
-0.398581545812299
0.453542394820430
0.616055174378937
-0.182235634182765
0.705127122368446
-0.285631939779811
-0.940745208106626
-0.0149575260510810
1.03118033839239
0.812710396601637
0.243126729447648
0.127521649199917
-0.118771837274819
0.201558938467644
0.562828099749744
0.0391841683940965
0.360470877192038
0.00772979683817721
0.520054700897959
0.139321232845313
-0.101107240958568
-0.484393523302886
-0.0577528580439184
-0.217551597487814
-0.118844641957641
-0.403656464284595
0.601785878996277
0.320909679012853
-0.378818150563156
-0.500307851534945
0.315582159413099
-0.046222958009324
-0.0095973709190061
-0.380509230995538
0.161104962318752
-0.215811218603729
-0.231483119691719
-0.287379901729848
0.264764818769951
0.147436823611637
-0.172259331880881
-0.141334579026970
-0.845249407005538
-0.0711678530607345
-0.0997721108162206
0.312583565872383
-0.184889861815433
0.142211411206338
-0.258926889321140
-0.183942615912385
0.0508119533923595
-0.00280358387486184
0.264521921082033
-0.669527015468614
0.598264521052914
0.315601660444501
0.542032990320116
-0.123599991747048
-0.455766780258002
-0.180826876452053
0.423549517984673
0.194696922013925
0.318093033546938
-0.167334221062664
0.882621148584532
0.0779760718876266
0.822930204558593
0.820785155688967
1.77156463227373
-0.557598465824448
0.184478457476376
-0.192692523943057
0.102325646363674
-1.12766260158216
-0.036167373523097
0.110557677874472
-0.216041048283250
0.0312638982800059
-0.555203488132128
-0.105294956918464
-0.417647712627731
-0.363087407940911
-0.259927537837846
-0.0304015861099431
-0.425425472876586
0.278580105184006
0.570197986993057
0.317952341402115
-0.606007796411566
0.054331445450243
0.133601264033203
-0.213626415086226
-0.67770257805335
0.454034647741659
-0.267529752277019
-0.84208197962
0.0427521078964787
0.274539653134209
-0.42588310861755
0.414783888591999
-0.322936109948051
0.00915568124876534
-0.135962115829343
-0.916593602280545
0.147519810366749
-0.278727306051026
0.297054785861684
-0.249412015692506
0.281148356539351
-0.633174844818621
0.83947407727576
-0.335291480122119
-0.0537311854293047
-0.226993759859346
0.000315636526029520
0.516501273912041



Parameters (Session):
par1 = FALSE ; par2 = 0.5 ; par3 = 1 ; par4 = 1 ; par5 = 12 ; par6 = 3 ; par7 = 0 ; par8 = 0 ; par9 = 1 ;
Parameters (R input):
par1 = FALSE ; par2 = 0.5 ; par3 = 1 ; par4 = 1 ; par5 = 12 ; par6 = 3 ; par7 = 0 ; 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')