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 computationThu, 18 Dec 2014 16:52:52 +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/18/t1418921600n0bfophxpd4asvs.htm/, Retrieved Sun, 19 May 2024 21:15:04 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=271137, Retrieved Sun, 19 May 2024 21:15:04 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact79
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Univariate Data Series] [] [2008-12-08 19:22:39] [d2d412c7f4d35ffbf5ee5ee89db327d4]
- RMP   [ARIMA Backward Selection] [] [2011-12-06 19:59:13] [b98453cac15ba1066b407e146608df68]
- RM      [ARIMA Backward Selection] [arima] [2014-11-26 14:36:02] [2ba32e9656c7c3fdddad3ba3f1588288]
- R  D        [ARIMA Backward Selection] [] [2014-12-18 16:52:52] [d043def4c969c6fe6dac6c6c71a7875a] [Current]
Feedback Forum

Post a new message
Dataseries X:
19.25
11.6
15.15
10.95
15.2
12.6
13.2
9.95
19.9
8.1
12.9
14.85
14.05
10.95
7.65
12.65
11.35
14.5
13.6
14.9
16.1
12.4
18.1
18.25
12.15
17.35
12.6
7.6
13.4
14.1
19.9
18.1
11.85
16.65
15.6
15.25
16.1
15.4
13.35
15.4
16.1
16.2
7.7
11.15
13.15
14.75
15.85
15.4
14.1
18.2
16.15
11.2
18.4
17.65
18.45
9.9
16.6
17.6
17.65
18.4
12.6
19.3
11.2
14.6
18.45
4.5
19.1
13.4
4.35
12.75
15.6
11.85
10.95
15.25
11.9
18.55
11.95
15.1
15.6
15.1
17.85
19.05
16.65
12.4
12.6
13.35
16.1
18.25
12.35
14.85
13.85
14.6
7.85
16
13.9
18.95
11.4
14.6
15.25
12.45
19.1
14.6
12.7
13.2
17.75
16.35
18.4
12.85
15.35
17.75
13.1
15.7
15.95
14.7
15.65
13.35
14.75
14.6
15.9
19.1
14.9
12.2
7.85
12.35
19.2
8.6
11.75
9.85
16.85
10.35
14.9
10.6
15.35
9.6
11.9
14.75
14.8
16.35
16.85
15.2
17.35
18.15
13.6
13.6
15
16.85
17.1
17.1
13.35
17.75
18.9
13.6
13.95
15.65
14.35
14.75
11.7
14.35
19.1
16.6
9.5
16.25
17.6
17.1
16.1
17.75
13.6
15.6
12.65
13.6
11.7




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time11 seconds
R Server'Sir Maurice George Kendall' @ kendall.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 & 11 seconds \tabularnewline
R Server & 'Sir Maurice George Kendall' @ kendall.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=271137&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]11 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Sir Maurice George Kendall' @ kendall.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=271137&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=271137&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 time11 seconds
R Server'Sir Maurice George Kendall' @ kendall.wessa.net







ARIMA Parameter Estimation and Backward Selection
Iterationar1ar2ar3ma1sar1sar2sma1
Estimates ( 1 )0.51860.05170.1062-0.5646-0.01760.018-1
(p-val)(0.0296 )(0.5712 )(0.2131 )(0.0141 )(0.8449 )(0.845 )(0 )
Estimates ( 2 )0.51880.05010.1056-0.5628-0.02190-1
(p-val)(0.0305 )(0.5816 )(0.2149 )(0.0148 )(0.8021 )(NA )(0 )
Estimates ( 3 )0.51530.05220.1054-0.558700-0.9999
(p-val)(0.0295 )(0.5638 )(0.216 )(0.0142 )(NA )(NA )(0 )
Estimates ( 4 )0.535700.1273-0.557200-1.0002
(p-val)(0.0281 )(NA )(0.0861 )(0.0158 )(NA )(NA )(0 )
Estimates ( 5 )-0.2522000.222500-1
(p-val)(0.8576 )(NA )(NA )(0.8751 )(NA )(NA )(0 )
Estimates ( 6 )-0.027400000-1
(p-val)(0.7322 )(NA )(NA )(NA )(NA )(NA )(0 )
Estimates ( 7 )000000-1
(p-val)(NA )(NA )(NA )(NA )(NA )(NA )(0 )
Estimates ( 8 )NANANANANANANA
(p-val)(NA )(NA )(NA )(NA )(NA )(NA )(NA )
Estimates ( 9 )NANANANANANANA
(p-val)(NA )(NA )(NA )(NA )(NA )(NA )(NA )
Estimates ( 10 )NANANANANANANA
(p-val)(NA )(NA )(NA )(NA )(NA )(NA )(NA )
Estimates ( 11 )NANANANANANANA
(p-val)(NA )(NA )(NA )(NA )(NA )(NA )(NA )
Estimates ( 12 )NANANANANANANA
(p-val)(NA )(NA )(NA )(NA )(NA )(NA )(NA )
Estimates ( 13 )NANANANANANANA
(p-val)(NA )(NA )(NA )(NA )(NA )(NA )(NA )

\begin{tabular}{lllllllll}
\hline
ARIMA Parameter Estimation and Backward Selection \tabularnewline
Iteration & ar1 & ar2 & ar3 & ma1 & sar1 & sar2 & sma1 \tabularnewline
Estimates ( 1 ) & 0.5186 & 0.0517 & 0.1062 & -0.5646 & -0.0176 & 0.018 & -1 \tabularnewline
(p-val) & (0.0296 ) & (0.5712 ) & (0.2131 ) & (0.0141 ) & (0.8449 ) & (0.845 ) & (0 ) \tabularnewline
Estimates ( 2 ) & 0.5188 & 0.0501 & 0.1056 & -0.5628 & -0.0219 & 0 & -1 \tabularnewline
(p-val) & (0.0305 ) & (0.5816 ) & (0.2149 ) & (0.0148 ) & (0.8021 ) & (NA ) & (0 ) \tabularnewline
Estimates ( 3 ) & 0.5153 & 0.0522 & 0.1054 & -0.5587 & 0 & 0 & -0.9999 \tabularnewline
(p-val) & (0.0295 ) & (0.5638 ) & (0.216 ) & (0.0142 ) & (NA ) & (NA ) & (0 ) \tabularnewline
Estimates ( 4 ) & 0.5357 & 0 & 0.1273 & -0.5572 & 0 & 0 & -1.0002 \tabularnewline
(p-val) & (0.0281 ) & (NA ) & (0.0861 ) & (0.0158 ) & (NA ) & (NA ) & (0 ) \tabularnewline
Estimates ( 5 ) & -0.2522 & 0 & 0 & 0.2225 & 0 & 0 & -1 \tabularnewline
(p-val) & (0.8576 ) & (NA ) & (NA ) & (0.8751 ) & (NA ) & (NA ) & (0 ) \tabularnewline
Estimates ( 6 ) & -0.0274 & 0 & 0 & 0 & 0 & 0 & -1 \tabularnewline
(p-val) & (0.7322 ) & (NA ) & (NA ) & (NA ) & (NA ) & (NA ) & (0 ) \tabularnewline
Estimates ( 7 ) & 0 & 0 & 0 & 0 & 0 & 0 & -1 \tabularnewline
(p-val) & (NA ) & (NA ) & (NA ) & (NA ) & (NA ) & (NA ) & (0 ) \tabularnewline
Estimates ( 8 ) & NA & NA & NA & NA & NA & NA & NA \tabularnewline
(p-val) & (NA ) & (NA ) & (NA ) & (NA ) & (NA ) & (NA ) & (NA ) \tabularnewline
Estimates ( 9 ) & NA & NA & NA & NA & NA & NA & NA \tabularnewline
(p-val) & (NA ) & (NA ) & (NA ) & (NA ) & (NA ) & (NA ) & (NA ) \tabularnewline
Estimates ( 10 ) & NA & NA & NA & NA & NA & NA & NA \tabularnewline
(p-val) & (NA ) & (NA ) & (NA ) & (NA ) & (NA ) & (NA ) & (NA ) \tabularnewline
Estimates ( 11 ) & NA & NA & NA & NA & NA & NA & NA \tabularnewline
(p-val) & (NA ) & (NA ) & (NA ) & (NA ) & (NA ) & (NA ) & (NA ) \tabularnewline
Estimates ( 12 ) & NA & NA & NA & NA & NA & NA & NA \tabularnewline
(p-val) & (NA ) & (NA ) & (NA ) & (NA ) & (NA ) & (NA ) & (NA ) \tabularnewline
Estimates ( 13 ) & NA & NA & NA & NA & NA & NA & NA \tabularnewline
(p-val) & (NA ) & (NA ) & (NA ) & (NA ) & (NA ) & (NA ) & (NA ) \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=271137&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]ma1[/C][C]sar1[/C][C]sar2[/C][C]sma1[/C][/ROW]
[ROW][C]Estimates ( 1 )[/C][C]0.5186[/C][C]0.0517[/C][C]0.1062[/C][C]-0.5646[/C][C]-0.0176[/C][C]0.018[/C][C]-1[/C][/ROW]
[ROW][C](p-val)[/C][C](0.0296 )[/C][C](0.5712 )[/C][C](0.2131 )[/C][C](0.0141 )[/C][C](0.8449 )[/C][C](0.845 )[/C][C](0 )[/C][/ROW]
[ROW][C]Estimates ( 2 )[/C][C]0.5188[/C][C]0.0501[/C][C]0.1056[/C][C]-0.5628[/C][C]-0.0219[/C][C]0[/C][C]-1[/C][/ROW]
[ROW][C](p-val)[/C][C](0.0305 )[/C][C](0.5816 )[/C][C](0.2149 )[/C][C](0.0148 )[/C][C](0.8021 )[/C][C](NA )[/C][C](0 )[/C][/ROW]
[ROW][C]Estimates ( 3 )[/C][C]0.5153[/C][C]0.0522[/C][C]0.1054[/C][C]-0.5587[/C][C]0[/C][C]0[/C][C]-0.9999[/C][/ROW]
[ROW][C](p-val)[/C][C](0.0295 )[/C][C](0.5638 )[/C][C](0.216 )[/C][C](0.0142 )[/C][C](NA )[/C][C](NA )[/C][C](0 )[/C][/ROW]
[ROW][C]Estimates ( 4 )[/C][C]0.5357[/C][C]0[/C][C]0.1273[/C][C]-0.5572[/C][C]0[/C][C]0[/C][C]-1.0002[/C][/ROW]
[ROW][C](p-val)[/C][C](0.0281 )[/C][C](NA )[/C][C](0.0861 )[/C][C](0.0158 )[/C][C](NA )[/C][C](NA )[/C][C](0 )[/C][/ROW]
[ROW][C]Estimates ( 5 )[/C][C]-0.2522[/C][C]0[/C][C]0[/C][C]0.2225[/C][C]0[/C][C]0[/C][C]-1[/C][/ROW]
[ROW][C](p-val)[/C][C](0.8576 )[/C][C](NA )[/C][C](NA )[/C][C](0.8751 )[/C][C](NA )[/C][C](NA )[/C][C](0 )[/C][/ROW]
[ROW][C]Estimates ( 6 )[/C][C]-0.0274[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]-1[/C][/ROW]
[ROW][C](p-val)[/C][C](0.7322 )[/C][C](NA )[/C][C](NA )[/C][C](NA )[/C][C](NA )[/C][C](NA )[/C][C](0 )[/C][/ROW]
[ROW][C]Estimates ( 7 )[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]0[/C][C]-1[/C][/ROW]
[ROW][C](p-val)[/C][C](NA )[/C][C](NA )[/C][C](NA )[/C][C](NA )[/C][C](NA )[/C][C](NA )[/C][C](0 )[/C][/ROW]
[ROW][C]Estimates ( 8 )[/C][C]NA[/C][C]NA[/C][C]NA[/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][C](NA )[/C][C](NA )[/C][C](NA )[/C][/ROW]
[ROW][C]Estimates ( 9 )[/C][C]NA[/C][C]NA[/C][C]NA[/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][C](NA )[/C][C](NA )[/C][C](NA )[/C][/ROW]
[ROW][C]Estimates ( 10 )[/C][C]NA[/C][C]NA[/C][C]NA[/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][C](NA )[/C][C](NA )[/C][C](NA )[/C][/ROW]
[ROW][C]Estimates ( 11 )[/C][C]NA[/C][C]NA[/C][C]NA[/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][C](NA )[/C][C](NA )[/C][C](NA )[/C][/ROW]
[ROW][C]Estimates ( 12 )[/C][C]NA[/C][C]NA[/C][C]NA[/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][C](NA )[/C][C](NA )[/C][C](NA )[/C][/ROW]
[ROW][C]Estimates ( 13 )[/C][C]NA[/C][C]NA[/C][C]NA[/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][C](NA )[/C][C](NA )[/C][C](NA )[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=271137&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=271137&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
Iterationar1ar2ar3ma1sar1sar2sma1
Estimates ( 1 )0.51860.05170.1062-0.5646-0.01760.018-1
(p-val)(0.0296 )(0.5712 )(0.2131 )(0.0141 )(0.8449 )(0.845 )(0 )
Estimates ( 2 )0.51880.05010.1056-0.5628-0.02190-1
(p-val)(0.0305 )(0.5816 )(0.2149 )(0.0148 )(0.8021 )(NA )(0 )
Estimates ( 3 )0.51530.05220.1054-0.558700-0.9999
(p-val)(0.0295 )(0.5638 )(0.216 )(0.0142 )(NA )(NA )(0 )
Estimates ( 4 )0.535700.1273-0.557200-1.0002
(p-val)(0.0281 )(NA )(0.0861 )(0.0158 )(NA )(NA )(0 )
Estimates ( 5 )-0.2522000.222500-1
(p-val)(0.8576 )(NA )(NA )(0.8751 )(NA )(NA )(0 )
Estimates ( 6 )-0.027400000-1
(p-val)(0.7322 )(NA )(NA )(NA )(NA )(NA )(0 )
Estimates ( 7 )000000-1
(p-val)(NA )(NA )(NA )(NA )(NA )(NA )(0 )
Estimates ( 8 )NANANANANANANA
(p-val)(NA )(NA )(NA )(NA )(NA )(NA )(NA )
Estimates ( 9 )NANANANANANANA
(p-val)(NA )(NA )(NA )(NA )(NA )(NA )(NA )
Estimates ( 10 )NANANANANANANA
(p-val)(NA )(NA )(NA )(NA )(NA )(NA )(NA )
Estimates ( 11 )NANANANANANANA
(p-val)(NA )(NA )(NA )(NA )(NA )(NA )(NA )
Estimates ( 12 )NANANANANANANA
(p-val)(NA )(NA )(NA )(NA )(NA )(NA )(NA )
Estimates ( 13 )NANANANANANANA
(p-val)(NA )(NA )(NA )(NA )(NA )(NA )(NA )







Estimated ARIMA Residuals
Value
0.0148499853150927
-3.67551047085496
-0.56034427461883
-5.3158098189073
1.05677567416216
-2.68937922794716
1.2689073897225
0.319656492007658
3.50788628465052
-2.59106006153364
2.96694358318673
3.75883830901192
2.55543182378676
-3.61558791617613
4.85948759948571
1.11568397085826
-3.40238935520213
0.00811231770839969
0.451868493537785
5.31946270193823
4.77896290355129
-4.89442857477212
5.08796888316367
0.223566595621824
-1.01340574183386
0.796448528611899
1.84117223472347
1.39215039285076
4.36684612636149
2.52904181635081
2.20220980962733
-6.75410742113274
-2.92902285103048
-2.49996848613767
1.98315597685113
0.329559176623027
-0.582613438889419
-1.16718271192494
3.88151709374722
3.6513302711294
-0.305383004388486
3.91322025064912
3.05908732115653
4.41878073552438
-3.12340102811031
1.11863200384268
4.16977144141261
1.93501799641215
2.27768246765679
-2.24969085201621
4.13587406465377
-1.50983776145454
2.73057248967216
3.32580906858432
-9.50509990666055
3.87239164171577
0.661013913120155
-10.1816171977
-1.32913264121749
-0.412781401547367
-4.16873437137811
-3.59178588433237
-0.295919693896354
-0.73070946347497
5.98244881975176
-3.10673258891767
1.61540683248948
0.301313314554241
2.04375307557209
3.93647979107369
5.05169334435418
0.782971484794203
-2.98511494086796
-1.55133096662596
-1.99125025021068
3.24717920880267
5.00796976496085
-2.32403728075635
1.17538424732083
-1.38241420182086
1.25739257370723
-5.95773501360887
1.26564205687558
-1.97246519770485
3.47197558586302
-2.3318068394576
-0.608619522452019
2.09465463140185
-1.07355763043555
4.16444655507383
0.97524870367586
-2.30984760829811
-0.240703278298318
4.04328763211069
1.70189303073809
2.51204591187032
-2.5719304657378
1.50397003389889
2.54661107426086
-0.0842512907227096
2.06707672837523
0.820956031349065
0.885282792724867
0.73518518090376
0.00368382236803408
0.77431510545475
-0.21592793367629
-0.170304832808876
3.56334960214106
1.09361298005047
-2.99990199140694
-5.22679615100483
-1.46145643330672
3.75378259518825
-4.93037408669462
-3.21279882165859
-3.43561766907055
2.61120930150506
-4.19261654750611
-1.21850927719955
-4.90754510538849
1.20730045166439
-5.21599499934934
-0.962065484495409
1.06990751777524
-0.72294677964014
2.80374443779038
2.15322982152414
2.11966613403104
3.00274001232432
3.65362443657575
-2.15236977250887
-1.64208276134705
0.853554132242024
2.15824670017653
4.30179577696265
3.37882466049571
-1.99625164600758
3.88595967612535
3.98708372509061
0.466561833091661
-0.546565679908483
0.869460038156715
-1.32512781562757
-0.386040130215033
-2.35925663519422
-0.4980010967002
5.84390818768482
2.69918013005742
-5.57127121134756
2.05064047625444
2.39902721540449
3.77026842927846
1.65814422239023
2.88530792617273
-1.89410588949076
0.442219848179133
-1.25613809883048
-1.16302747474711
-1.7284479812816

\begin{tabular}{lllllllll}
\hline
Estimated ARIMA Residuals \tabularnewline
Value \tabularnewline
0.0148499853150927 \tabularnewline
-3.67551047085496 \tabularnewline
-0.56034427461883 \tabularnewline
-5.3158098189073 \tabularnewline
1.05677567416216 \tabularnewline
-2.68937922794716 \tabularnewline
1.2689073897225 \tabularnewline
0.319656492007658 \tabularnewline
3.50788628465052 \tabularnewline
-2.59106006153364 \tabularnewline
2.96694358318673 \tabularnewline
3.75883830901192 \tabularnewline
2.55543182378676 \tabularnewline
-3.61558791617613 \tabularnewline
4.85948759948571 \tabularnewline
1.11568397085826 \tabularnewline
-3.40238935520213 \tabularnewline
0.00811231770839969 \tabularnewline
0.451868493537785 \tabularnewline
5.31946270193823 \tabularnewline
4.77896290355129 \tabularnewline
-4.89442857477212 \tabularnewline
5.08796888316367 \tabularnewline
0.223566595621824 \tabularnewline
-1.01340574183386 \tabularnewline
0.796448528611899 \tabularnewline
1.84117223472347 \tabularnewline
1.39215039285076 \tabularnewline
4.36684612636149 \tabularnewline
2.52904181635081 \tabularnewline
2.20220980962733 \tabularnewline
-6.75410742113274 \tabularnewline
-2.92902285103048 \tabularnewline
-2.49996848613767 \tabularnewline
1.98315597685113 \tabularnewline
0.329559176623027 \tabularnewline
-0.582613438889419 \tabularnewline
-1.16718271192494 \tabularnewline
3.88151709374722 \tabularnewline
3.6513302711294 \tabularnewline
-0.305383004388486 \tabularnewline
3.91322025064912 \tabularnewline
3.05908732115653 \tabularnewline
4.41878073552438 \tabularnewline
-3.12340102811031 \tabularnewline
1.11863200384268 \tabularnewline
4.16977144141261 \tabularnewline
1.93501799641215 \tabularnewline
2.27768246765679 \tabularnewline
-2.24969085201621 \tabularnewline
4.13587406465377 \tabularnewline
-1.50983776145454 \tabularnewline
2.73057248967216 \tabularnewline
3.32580906858432 \tabularnewline
-9.50509990666055 \tabularnewline
3.87239164171577 \tabularnewline
0.661013913120155 \tabularnewline
-10.1816171977 \tabularnewline
-1.32913264121749 \tabularnewline
-0.412781401547367 \tabularnewline
-4.16873437137811 \tabularnewline
-3.59178588433237 \tabularnewline
-0.295919693896354 \tabularnewline
-0.73070946347497 \tabularnewline
5.98244881975176 \tabularnewline
-3.10673258891767 \tabularnewline
1.61540683248948 \tabularnewline
0.301313314554241 \tabularnewline
2.04375307557209 \tabularnewline
3.93647979107369 \tabularnewline
5.05169334435418 \tabularnewline
0.782971484794203 \tabularnewline
-2.98511494086796 \tabularnewline
-1.55133096662596 \tabularnewline
-1.99125025021068 \tabularnewline
3.24717920880267 \tabularnewline
5.00796976496085 \tabularnewline
-2.32403728075635 \tabularnewline
1.17538424732083 \tabularnewline
-1.38241420182086 \tabularnewline
1.25739257370723 \tabularnewline
-5.95773501360887 \tabularnewline
1.26564205687558 \tabularnewline
-1.97246519770485 \tabularnewline
3.47197558586302 \tabularnewline
-2.3318068394576 \tabularnewline
-0.608619522452019 \tabularnewline
2.09465463140185 \tabularnewline
-1.07355763043555 \tabularnewline
4.16444655507383 \tabularnewline
0.97524870367586 \tabularnewline
-2.30984760829811 \tabularnewline
-0.240703278298318 \tabularnewline
4.04328763211069 \tabularnewline
1.70189303073809 \tabularnewline
2.51204591187032 \tabularnewline
-2.5719304657378 \tabularnewline
1.50397003389889 \tabularnewline
2.54661107426086 \tabularnewline
-0.0842512907227096 \tabularnewline
2.06707672837523 \tabularnewline
0.820956031349065 \tabularnewline
0.885282792724867 \tabularnewline
0.73518518090376 \tabularnewline
0.00368382236803408 \tabularnewline
0.77431510545475 \tabularnewline
-0.21592793367629 \tabularnewline
-0.170304832808876 \tabularnewline
3.56334960214106 \tabularnewline
1.09361298005047 \tabularnewline
-2.99990199140694 \tabularnewline
-5.22679615100483 \tabularnewline
-1.46145643330672 \tabularnewline
3.75378259518825 \tabularnewline
-4.93037408669462 \tabularnewline
-3.21279882165859 \tabularnewline
-3.43561766907055 \tabularnewline
2.61120930150506 \tabularnewline
-4.19261654750611 \tabularnewline
-1.21850927719955 \tabularnewline
-4.90754510538849 \tabularnewline
1.20730045166439 \tabularnewline
-5.21599499934934 \tabularnewline
-0.962065484495409 \tabularnewline
1.06990751777524 \tabularnewline
-0.72294677964014 \tabularnewline
2.80374443779038 \tabularnewline
2.15322982152414 \tabularnewline
2.11966613403104 \tabularnewline
3.00274001232432 \tabularnewline
3.65362443657575 \tabularnewline
-2.15236977250887 \tabularnewline
-1.64208276134705 \tabularnewline
0.853554132242024 \tabularnewline
2.15824670017653 \tabularnewline
4.30179577696265 \tabularnewline
3.37882466049571 \tabularnewline
-1.99625164600758 \tabularnewline
3.88595967612535 \tabularnewline
3.98708372509061 \tabularnewline
0.466561833091661 \tabularnewline
-0.546565679908483 \tabularnewline
0.869460038156715 \tabularnewline
-1.32512781562757 \tabularnewline
-0.386040130215033 \tabularnewline
-2.35925663519422 \tabularnewline
-0.4980010967002 \tabularnewline
5.84390818768482 \tabularnewline
2.69918013005742 \tabularnewline
-5.57127121134756 \tabularnewline
2.05064047625444 \tabularnewline
2.39902721540449 \tabularnewline
3.77026842927846 \tabularnewline
1.65814422239023 \tabularnewline
2.88530792617273 \tabularnewline
-1.89410588949076 \tabularnewline
0.442219848179133 \tabularnewline
-1.25613809883048 \tabularnewline
-1.16302747474711 \tabularnewline
-1.7284479812816 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=271137&T=2

[TABLE]
[ROW][C]Estimated ARIMA Residuals[/C][/ROW]
[ROW][C]Value[/C][/ROW]
[ROW][C]0.0148499853150927[/C][/ROW]
[ROW][C]-3.67551047085496[/C][/ROW]
[ROW][C]-0.56034427461883[/C][/ROW]
[ROW][C]-5.3158098189073[/C][/ROW]
[ROW][C]1.05677567416216[/C][/ROW]
[ROW][C]-2.68937922794716[/C][/ROW]
[ROW][C]1.2689073897225[/C][/ROW]
[ROW][C]0.319656492007658[/C][/ROW]
[ROW][C]3.50788628465052[/C][/ROW]
[ROW][C]-2.59106006153364[/C][/ROW]
[ROW][C]2.96694358318673[/C][/ROW]
[ROW][C]3.75883830901192[/C][/ROW]
[ROW][C]2.55543182378676[/C][/ROW]
[ROW][C]-3.61558791617613[/C][/ROW]
[ROW][C]4.85948759948571[/C][/ROW]
[ROW][C]1.11568397085826[/C][/ROW]
[ROW][C]-3.40238935520213[/C][/ROW]
[ROW][C]0.00811231770839969[/C][/ROW]
[ROW][C]0.451868493537785[/C][/ROW]
[ROW][C]5.31946270193823[/C][/ROW]
[ROW][C]4.77896290355129[/C][/ROW]
[ROW][C]-4.89442857477212[/C][/ROW]
[ROW][C]5.08796888316367[/C][/ROW]
[ROW][C]0.223566595621824[/C][/ROW]
[ROW][C]-1.01340574183386[/C][/ROW]
[ROW][C]0.796448528611899[/C][/ROW]
[ROW][C]1.84117223472347[/C][/ROW]
[ROW][C]1.39215039285076[/C][/ROW]
[ROW][C]4.36684612636149[/C][/ROW]
[ROW][C]2.52904181635081[/C][/ROW]
[ROW][C]2.20220980962733[/C][/ROW]
[ROW][C]-6.75410742113274[/C][/ROW]
[ROW][C]-2.92902285103048[/C][/ROW]
[ROW][C]-2.49996848613767[/C][/ROW]
[ROW][C]1.98315597685113[/C][/ROW]
[ROW][C]0.329559176623027[/C][/ROW]
[ROW][C]-0.582613438889419[/C][/ROW]
[ROW][C]-1.16718271192494[/C][/ROW]
[ROW][C]3.88151709374722[/C][/ROW]
[ROW][C]3.6513302711294[/C][/ROW]
[ROW][C]-0.305383004388486[/C][/ROW]
[ROW][C]3.91322025064912[/C][/ROW]
[ROW][C]3.05908732115653[/C][/ROW]
[ROW][C]4.41878073552438[/C][/ROW]
[ROW][C]-3.12340102811031[/C][/ROW]
[ROW][C]1.11863200384268[/C][/ROW]
[ROW][C]4.16977144141261[/C][/ROW]
[ROW][C]1.93501799641215[/C][/ROW]
[ROW][C]2.27768246765679[/C][/ROW]
[ROW][C]-2.24969085201621[/C][/ROW]
[ROW][C]4.13587406465377[/C][/ROW]
[ROW][C]-1.50983776145454[/C][/ROW]
[ROW][C]2.73057248967216[/C][/ROW]
[ROW][C]3.32580906858432[/C][/ROW]
[ROW][C]-9.50509990666055[/C][/ROW]
[ROW][C]3.87239164171577[/C][/ROW]
[ROW][C]0.661013913120155[/C][/ROW]
[ROW][C]-10.1816171977[/C][/ROW]
[ROW][C]-1.32913264121749[/C][/ROW]
[ROW][C]-0.412781401547367[/C][/ROW]
[ROW][C]-4.16873437137811[/C][/ROW]
[ROW][C]-3.59178588433237[/C][/ROW]
[ROW][C]-0.295919693896354[/C][/ROW]
[ROW][C]-0.73070946347497[/C][/ROW]
[ROW][C]5.98244881975176[/C][/ROW]
[ROW][C]-3.10673258891767[/C][/ROW]
[ROW][C]1.61540683248948[/C][/ROW]
[ROW][C]0.301313314554241[/C][/ROW]
[ROW][C]2.04375307557209[/C][/ROW]
[ROW][C]3.93647979107369[/C][/ROW]
[ROW][C]5.05169334435418[/C][/ROW]
[ROW][C]0.782971484794203[/C][/ROW]
[ROW][C]-2.98511494086796[/C][/ROW]
[ROW][C]-1.55133096662596[/C][/ROW]
[ROW][C]-1.99125025021068[/C][/ROW]
[ROW][C]3.24717920880267[/C][/ROW]
[ROW][C]5.00796976496085[/C][/ROW]
[ROW][C]-2.32403728075635[/C][/ROW]
[ROW][C]1.17538424732083[/C][/ROW]
[ROW][C]-1.38241420182086[/C][/ROW]
[ROW][C]1.25739257370723[/C][/ROW]
[ROW][C]-5.95773501360887[/C][/ROW]
[ROW][C]1.26564205687558[/C][/ROW]
[ROW][C]-1.97246519770485[/C][/ROW]
[ROW][C]3.47197558586302[/C][/ROW]
[ROW][C]-2.3318068394576[/C][/ROW]
[ROW][C]-0.608619522452019[/C][/ROW]
[ROW][C]2.09465463140185[/C][/ROW]
[ROW][C]-1.07355763043555[/C][/ROW]
[ROW][C]4.16444655507383[/C][/ROW]
[ROW][C]0.97524870367586[/C][/ROW]
[ROW][C]-2.30984760829811[/C][/ROW]
[ROW][C]-0.240703278298318[/C][/ROW]
[ROW][C]4.04328763211069[/C][/ROW]
[ROW][C]1.70189303073809[/C][/ROW]
[ROW][C]2.51204591187032[/C][/ROW]
[ROW][C]-2.5719304657378[/C][/ROW]
[ROW][C]1.50397003389889[/C][/ROW]
[ROW][C]2.54661107426086[/C][/ROW]
[ROW][C]-0.0842512907227096[/C][/ROW]
[ROW][C]2.06707672837523[/C][/ROW]
[ROW][C]0.820956031349065[/C][/ROW]
[ROW][C]0.885282792724867[/C][/ROW]
[ROW][C]0.73518518090376[/C][/ROW]
[ROW][C]0.00368382236803408[/C][/ROW]
[ROW][C]0.77431510545475[/C][/ROW]
[ROW][C]-0.21592793367629[/C][/ROW]
[ROW][C]-0.170304832808876[/C][/ROW]
[ROW][C]3.56334960214106[/C][/ROW]
[ROW][C]1.09361298005047[/C][/ROW]
[ROW][C]-2.99990199140694[/C][/ROW]
[ROW][C]-5.22679615100483[/C][/ROW]
[ROW][C]-1.46145643330672[/C][/ROW]
[ROW][C]3.75378259518825[/C][/ROW]
[ROW][C]-4.93037408669462[/C][/ROW]
[ROW][C]-3.21279882165859[/C][/ROW]
[ROW][C]-3.43561766907055[/C][/ROW]
[ROW][C]2.61120930150506[/C][/ROW]
[ROW][C]-4.19261654750611[/C][/ROW]
[ROW][C]-1.21850927719955[/C][/ROW]
[ROW][C]-4.90754510538849[/C][/ROW]
[ROW][C]1.20730045166439[/C][/ROW]
[ROW][C]-5.21599499934934[/C][/ROW]
[ROW][C]-0.962065484495409[/C][/ROW]
[ROW][C]1.06990751777524[/C][/ROW]
[ROW][C]-0.72294677964014[/C][/ROW]
[ROW][C]2.80374443779038[/C][/ROW]
[ROW][C]2.15322982152414[/C][/ROW]
[ROW][C]2.11966613403104[/C][/ROW]
[ROW][C]3.00274001232432[/C][/ROW]
[ROW][C]3.65362443657575[/C][/ROW]
[ROW][C]-2.15236977250887[/C][/ROW]
[ROW][C]-1.64208276134705[/C][/ROW]
[ROW][C]0.853554132242024[/C][/ROW]
[ROW][C]2.15824670017653[/C][/ROW]
[ROW][C]4.30179577696265[/C][/ROW]
[ROW][C]3.37882466049571[/C][/ROW]
[ROW][C]-1.99625164600758[/C][/ROW]
[ROW][C]3.88595967612535[/C][/ROW]
[ROW][C]3.98708372509061[/C][/ROW]
[ROW][C]0.466561833091661[/C][/ROW]
[ROW][C]-0.546565679908483[/C][/ROW]
[ROW][C]0.869460038156715[/C][/ROW]
[ROW][C]-1.32512781562757[/C][/ROW]
[ROW][C]-0.386040130215033[/C][/ROW]
[ROW][C]-2.35925663519422[/C][/ROW]
[ROW][C]-0.4980010967002[/C][/ROW]
[ROW][C]5.84390818768482[/C][/ROW]
[ROW][C]2.69918013005742[/C][/ROW]
[ROW][C]-5.57127121134756[/C][/ROW]
[ROW][C]2.05064047625444[/C][/ROW]
[ROW][C]2.39902721540449[/C][/ROW]
[ROW][C]3.77026842927846[/C][/ROW]
[ROW][C]1.65814422239023[/C][/ROW]
[ROW][C]2.88530792617273[/C][/ROW]
[ROW][C]-1.89410588949076[/C][/ROW]
[ROW][C]0.442219848179133[/C][/ROW]
[ROW][C]-1.25613809883048[/C][/ROW]
[ROW][C]-1.16302747474711[/C][/ROW]
[ROW][C]-1.7284479812816[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=271137&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=271137&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.0148499853150927
-3.67551047085496
-0.56034427461883
-5.3158098189073
1.05677567416216
-2.68937922794716
1.2689073897225
0.319656492007658
3.50788628465052
-2.59106006153364
2.96694358318673
3.75883830901192
2.55543182378676
-3.61558791617613
4.85948759948571
1.11568397085826
-3.40238935520213
0.00811231770839969
0.451868493537785
5.31946270193823
4.77896290355129
-4.89442857477212
5.08796888316367
0.223566595621824
-1.01340574183386
0.796448528611899
1.84117223472347
1.39215039285076
4.36684612636149
2.52904181635081
2.20220980962733
-6.75410742113274
-2.92902285103048
-2.49996848613767
1.98315597685113
0.329559176623027
-0.582613438889419
-1.16718271192494
3.88151709374722
3.6513302711294
-0.305383004388486
3.91322025064912
3.05908732115653
4.41878073552438
-3.12340102811031
1.11863200384268
4.16977144141261
1.93501799641215
2.27768246765679
-2.24969085201621
4.13587406465377
-1.50983776145454
2.73057248967216
3.32580906858432
-9.50509990666055
3.87239164171577
0.661013913120155
-10.1816171977
-1.32913264121749
-0.412781401547367
-4.16873437137811
-3.59178588433237
-0.295919693896354
-0.73070946347497
5.98244881975176
-3.10673258891767
1.61540683248948
0.301313314554241
2.04375307557209
3.93647979107369
5.05169334435418
0.782971484794203
-2.98511494086796
-1.55133096662596
-1.99125025021068
3.24717920880267
5.00796976496085
-2.32403728075635
1.17538424732083
-1.38241420182086
1.25739257370723
-5.95773501360887
1.26564205687558
-1.97246519770485
3.47197558586302
-2.3318068394576
-0.608619522452019
2.09465463140185
-1.07355763043555
4.16444655507383
0.97524870367586
-2.30984760829811
-0.240703278298318
4.04328763211069
1.70189303073809
2.51204591187032
-2.5719304657378
1.50397003389889
2.54661107426086
-0.0842512907227096
2.06707672837523
0.820956031349065
0.885282792724867
0.73518518090376
0.00368382236803408
0.77431510545475
-0.21592793367629
-0.170304832808876
3.56334960214106
1.09361298005047
-2.99990199140694
-5.22679615100483
-1.46145643330672
3.75378259518825
-4.93037408669462
-3.21279882165859
-3.43561766907055
2.61120930150506
-4.19261654750611
-1.21850927719955
-4.90754510538849
1.20730045166439
-5.21599499934934
-0.962065484495409
1.06990751777524
-0.72294677964014
2.80374443779038
2.15322982152414
2.11966613403104
3.00274001232432
3.65362443657575
-2.15236977250887
-1.64208276134705
0.853554132242024
2.15824670017653
4.30179577696265
3.37882466049571
-1.99625164600758
3.88595967612535
3.98708372509061
0.466561833091661
-0.546565679908483
0.869460038156715
-1.32512781562757
-0.386040130215033
-2.35925663519422
-0.4980010967002
5.84390818768482
2.69918013005742
-5.57127121134756
2.05064047625444
2.39902721540449
3.77026842927846
1.65814422239023
2.88530792617273
-1.89410588949076
0.442219848179133
-1.25613809883048
-1.16302747474711
-1.7284479812816



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