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 computationFri, 23 Dec 2016 16:42:22 +0100
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2016/Dec/23/t1482507797s4c9g8t2c0l6xxl.htm/, Retrieved Tue, 07 May 2024 17:28:22 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=302982, Retrieved Tue, 07 May 2024 17:28:22 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact66
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [ARIMA Backward Selection] [] [2016-12-23 15:42:22] [0ee917385e150f2e81c028b828d928ea] [Current]
Feedback Forum

Post a new message
Dataseries X:
6600
6160
6320
5820
6080
6240
5740
6980
6540
6780
6580
6020
6440
6440
7040
6620
6460
6320
6560
6080
6040
6260
5780
5120
6040
5860
5900
5160
5800
5300
5600
5620
6300
5800
5460
5420
5800
5260
5900
5840
5640
5560
5540
5540
5480
5440
5260
5420
5600
5200
5480
5300
4660
4940
4880
4980
5160
5180
4860
5220
4900
4740
4920
4780
4300
4540
4420
4660
4760
4560
4600
4800
4980
4300
4800
3980
4120
4580
4240
4540
4200
4780
4820
4320
4300
3700
3920
3740
4120
4160
4160
3960
3960
4160
3920
3460
4040
3720
4060
4140
3700
3900
3720
3760
3520
3800
3520
3640
4200
3860
4160
3920
3860
3860
3780




Summary of computational transaction
Raw Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R ServerBig Analytics Cloud Computing Center

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input view raw input (R code)  \tabularnewline
Raw Outputview raw output of R engine  \tabularnewline
Computing time2 seconds \tabularnewline
R ServerBig Analytics Cloud Computing Center \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=302982&T=0

[TABLE]
[ROW]
Summary of computational transaction[/C][/ROW] [ROW]Raw Input[/C] view raw input (R code) [/C][/ROW] [ROW]Raw Output[/C]view raw output of R engine [/C][/ROW] [ROW]Computing time[/C]2 seconds[/C][/ROW] [ROW]R Server[/C]Big Analytics Cloud Computing Center[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=302982&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=302982&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 Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R ServerBig Analytics Cloud Computing Center







ARIMA Parameter Estimation and Backward Selection
Iterationar1ar2ar3ma1
Estimates ( 1 )0.09460.1662-0.0081-0.7409
(p-val)(0.5345 )(0.183 )(0.9378 )(0 )
Estimates ( 2 )0.09760.16850-0.745
(p-val)(0.5061 )(0.165 )(NA )(0 )
Estimates ( 3 )00.12880-0.6817
(p-val)(NA )(0.2299 )(NA )(0 )
Estimates ( 4 )000-0.6362
(p-val)(NA )(NA )(NA )(0 )
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 & ma1 \tabularnewline
Estimates ( 1 ) & 0.0946 & 0.1662 & -0.0081 & -0.7409 \tabularnewline
(p-val) & (0.5345 ) & (0.183 ) & (0.9378 ) & (0 ) \tabularnewline
Estimates ( 2 ) & 0.0976 & 0.1685 & 0 & -0.745 \tabularnewline
(p-val) & (0.5061 ) & (0.165 ) & (NA ) & (0 ) \tabularnewline
Estimates ( 3 ) & 0 & 0.1288 & 0 & -0.6817 \tabularnewline
(p-val) & (NA ) & (0.2299 ) & (NA ) & (0 ) \tabularnewline
Estimates ( 4 ) & 0 & 0 & 0 & -0.6362 \tabularnewline
(p-val) & (NA ) & (NA ) & (NA ) & (0 ) \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=302982&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][/ROW]
[ROW][C]Estimates ( 1 )[/C][C]0.0946[/C][C]0.1662[/C][C]-0.0081[/C][C]-0.7409[/C][/ROW]
[ROW][C](p-val)[/C][C](0.5345 )[/C][C](0.183 )[/C][C](0.9378 )[/C][C](0 )[/C][/ROW]
[ROW][C]Estimates ( 2 )[/C][C]0.0976[/C][C]0.1685[/C][C]0[/C][C]-0.745[/C][/ROW]
[ROW][C](p-val)[/C][C](0.5061 )[/C][C](0.165 )[/C][C](NA )[/C][C](0 )[/C][/ROW]
[ROW][C]Estimates ( 3 )[/C][C]0[/C][C]0.1288[/C][C]0[/C][C]-0.6817[/C][/ROW]
[ROW][C](p-val)[/C][C](NA )[/C][C](0.2299 )[/C][C](NA )[/C][C](0 )[/C][/ROW]
[ROW][C]Estimates ( 4 )[/C][C]0[/C][C]0[/C][C]0[/C][C]-0.6362[/C][/ROW]
[ROW][C](p-val)[/C][C](NA )[/C][C](NA )[/C][C](NA )[/C][C](0 )[/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=302982&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=302982&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
Iterationar1ar2ar3ma1
Estimates ( 1 )0.09460.1662-0.0081-0.7409
(p-val)(0.5345 )(0.183 )(0.9378 )(0 )
Estimates ( 2 )0.09760.16850-0.745
(p-val)(0.5061 )(0.165 )(NA )(0 )
Estimates ( 3 )00.12880-0.6817
(p-val)(NA )(0.2299 )(NA )(0 )
Estimates ( 4 )000-0.6362
(p-val)(NA )(NA )(NA )(0 )
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.00879481837832274
-0.0565260862294777
-0.0102082319058613
-0.0789159114774761
-0.0124161271873728
0.0280886179734385
-0.0699532051525162
0.144525201129282
0.0440802254253582
0.0408915026117415
0.00631278514454211
-0.0892812727555101
0.0104327180316785
0.0185640625640837
0.0930517652266197
0.00192302231565567
-0.0346240963797782
-0.0375945101201999
0.0147921666698811
-0.0630807237242123
-0.0544033206708961
0.00847110075982445
-0.0731516692543996
-0.175725025065176
0.0557240699981307
0.0233451827942449
0.00144185927541308
-0.129137544413946
0.0280087288282607
-0.0538021484738729
0.00332763476991039
0.017440609033743
0.119018756674118
-0.00201223440555355
-0.0764865466436379
-0.0488494374212699
0.0422377511845565
-0.067985510392493
0.0597492552886734
0.0430936061368474
-0.0202518927113554
-0.0267762206442547
-0.0173711875880968
-0.010003110484508
-0.0172448396137383
-0.0190823397558137
-0.045254994389385
5.63979369125889e-05
0.0370414317393273
-0.0527137519231164
0.0123036255236499
-0.0154691087040888
-0.145989615769002
-0.0368753619075068
-0.0207900195646591
-0.00140105578951299
0.0361248942105838
0.0258841872144906
-0.0506921327519976
0.036402621021173
-0.0302355061186592
-0.0630108550910737
0.00246013508714249
-0.0229165714701303
-0.126247115934914
-0.0280375075956858
-0.0322761960504128
0.0238794513921992
0.0409604045405949
-0.0218089468925982
-0.00886776102289843
0.0420408296328247
0.0643499416350082
-0.108425247165133
0.0313444900727866
-0.147063176205979
-0.079848493908786
0.075530195749149
-0.0300957153439505
0.0342189295326332
-0.0445832012333458
0.0901605133012833
0.0798206378262236
-0.0717571703669453
-0.0546322190032651
-0.173425981556017
-0.0598731591755577
-0.0684743754681119
0.042650135572206
0.0447897780523778
0.018075599735905
-0.0381923723454634
-0.0260368309720143
0.0378646701547307
-0.0336099934411251
-0.154079629549511
0.057586414406547
-0.027191687816627
0.0489687037487343
0.0635208015019373
-0.0803194533764273
-0.00462461641566136
-0.0359388291041665
-0.0205831443091142
-0.0739062523458696
0.0247790503250105
-0.0511553692217994
-0.0112059576548997
0.145315995811929
0.0103326591334145
0.0634676538184671
-0.00528693293621707
-0.0286654271937987
-0.0118912450200188
-0.0270638668451397

\begin{tabular}{lllllllll}
\hline
Estimated ARIMA Residuals \tabularnewline
Value \tabularnewline
0.00879481837832274 \tabularnewline
-0.0565260862294777 \tabularnewline
-0.0102082319058613 \tabularnewline
-0.0789159114774761 \tabularnewline
-0.0124161271873728 \tabularnewline
0.0280886179734385 \tabularnewline
-0.0699532051525162 \tabularnewline
0.144525201129282 \tabularnewline
0.0440802254253582 \tabularnewline
0.0408915026117415 \tabularnewline
0.00631278514454211 \tabularnewline
-0.0892812727555101 \tabularnewline
0.0104327180316785 \tabularnewline
0.0185640625640837 \tabularnewline
0.0930517652266197 \tabularnewline
0.00192302231565567 \tabularnewline
-0.0346240963797782 \tabularnewline
-0.0375945101201999 \tabularnewline
0.0147921666698811 \tabularnewline
-0.0630807237242123 \tabularnewline
-0.0544033206708961 \tabularnewline
0.00847110075982445 \tabularnewline
-0.0731516692543996 \tabularnewline
-0.175725025065176 \tabularnewline
0.0557240699981307 \tabularnewline
0.0233451827942449 \tabularnewline
0.00144185927541308 \tabularnewline
-0.129137544413946 \tabularnewline
0.0280087288282607 \tabularnewline
-0.0538021484738729 \tabularnewline
0.00332763476991039 \tabularnewline
0.017440609033743 \tabularnewline
0.119018756674118 \tabularnewline
-0.00201223440555355 \tabularnewline
-0.0764865466436379 \tabularnewline
-0.0488494374212699 \tabularnewline
0.0422377511845565 \tabularnewline
-0.067985510392493 \tabularnewline
0.0597492552886734 \tabularnewline
0.0430936061368474 \tabularnewline
-0.0202518927113554 \tabularnewline
-0.0267762206442547 \tabularnewline
-0.0173711875880968 \tabularnewline
-0.010003110484508 \tabularnewline
-0.0172448396137383 \tabularnewline
-0.0190823397558137 \tabularnewline
-0.045254994389385 \tabularnewline
5.63979369125889e-05 \tabularnewline
0.0370414317393273 \tabularnewline
-0.0527137519231164 \tabularnewline
0.0123036255236499 \tabularnewline
-0.0154691087040888 \tabularnewline
-0.145989615769002 \tabularnewline
-0.0368753619075068 \tabularnewline
-0.0207900195646591 \tabularnewline
-0.00140105578951299 \tabularnewline
0.0361248942105838 \tabularnewline
0.0258841872144906 \tabularnewline
-0.0506921327519976 \tabularnewline
0.036402621021173 \tabularnewline
-0.0302355061186592 \tabularnewline
-0.0630108550910737 \tabularnewline
0.00246013508714249 \tabularnewline
-0.0229165714701303 \tabularnewline
-0.126247115934914 \tabularnewline
-0.0280375075956858 \tabularnewline
-0.0322761960504128 \tabularnewline
0.0238794513921992 \tabularnewline
0.0409604045405949 \tabularnewline
-0.0218089468925982 \tabularnewline
-0.00886776102289843 \tabularnewline
0.0420408296328247 \tabularnewline
0.0643499416350082 \tabularnewline
-0.108425247165133 \tabularnewline
0.0313444900727866 \tabularnewline
-0.147063176205979 \tabularnewline
-0.079848493908786 \tabularnewline
0.075530195749149 \tabularnewline
-0.0300957153439505 \tabularnewline
0.0342189295326332 \tabularnewline
-0.0445832012333458 \tabularnewline
0.0901605133012833 \tabularnewline
0.0798206378262236 \tabularnewline
-0.0717571703669453 \tabularnewline
-0.0546322190032651 \tabularnewline
-0.173425981556017 \tabularnewline
-0.0598731591755577 \tabularnewline
-0.0684743754681119 \tabularnewline
0.042650135572206 \tabularnewline
0.0447897780523778 \tabularnewline
0.018075599735905 \tabularnewline
-0.0381923723454634 \tabularnewline
-0.0260368309720143 \tabularnewline
0.0378646701547307 \tabularnewline
-0.0336099934411251 \tabularnewline
-0.154079629549511 \tabularnewline
0.057586414406547 \tabularnewline
-0.027191687816627 \tabularnewline
0.0489687037487343 \tabularnewline
0.0635208015019373 \tabularnewline
-0.0803194533764273 \tabularnewline
-0.00462461641566136 \tabularnewline
-0.0359388291041665 \tabularnewline
-0.0205831443091142 \tabularnewline
-0.0739062523458696 \tabularnewline
0.0247790503250105 \tabularnewline
-0.0511553692217994 \tabularnewline
-0.0112059576548997 \tabularnewline
0.145315995811929 \tabularnewline
0.0103326591334145 \tabularnewline
0.0634676538184671 \tabularnewline
-0.00528693293621707 \tabularnewline
-0.0286654271937987 \tabularnewline
-0.0118912450200188 \tabularnewline
-0.0270638668451397 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=302982&T=2

[TABLE]
[ROW][C]Estimated ARIMA Residuals[/C][/ROW]
[ROW][C]Value[/C][/ROW]
[ROW][C]0.00879481837832274[/C][/ROW]
[ROW][C]-0.0565260862294777[/C][/ROW]
[ROW][C]-0.0102082319058613[/C][/ROW]
[ROW][C]-0.0789159114774761[/C][/ROW]
[ROW][C]-0.0124161271873728[/C][/ROW]
[ROW][C]0.0280886179734385[/C][/ROW]
[ROW][C]-0.0699532051525162[/C][/ROW]
[ROW][C]0.144525201129282[/C][/ROW]
[ROW][C]0.0440802254253582[/C][/ROW]
[ROW][C]0.0408915026117415[/C][/ROW]
[ROW][C]0.00631278514454211[/C][/ROW]
[ROW][C]-0.0892812727555101[/C][/ROW]
[ROW][C]0.0104327180316785[/C][/ROW]
[ROW][C]0.0185640625640837[/C][/ROW]
[ROW][C]0.0930517652266197[/C][/ROW]
[ROW][C]0.00192302231565567[/C][/ROW]
[ROW][C]-0.0346240963797782[/C][/ROW]
[ROW][C]-0.0375945101201999[/C][/ROW]
[ROW][C]0.0147921666698811[/C][/ROW]
[ROW][C]-0.0630807237242123[/C][/ROW]
[ROW][C]-0.0544033206708961[/C][/ROW]
[ROW][C]0.00847110075982445[/C][/ROW]
[ROW][C]-0.0731516692543996[/C][/ROW]
[ROW][C]-0.175725025065176[/C][/ROW]
[ROW][C]0.0557240699981307[/C][/ROW]
[ROW][C]0.0233451827942449[/C][/ROW]
[ROW][C]0.00144185927541308[/C][/ROW]
[ROW][C]-0.129137544413946[/C][/ROW]
[ROW][C]0.0280087288282607[/C][/ROW]
[ROW][C]-0.0538021484738729[/C][/ROW]
[ROW][C]0.00332763476991039[/C][/ROW]
[ROW][C]0.017440609033743[/C][/ROW]
[ROW][C]0.119018756674118[/C][/ROW]
[ROW][C]-0.00201223440555355[/C][/ROW]
[ROW][C]-0.0764865466436379[/C][/ROW]
[ROW][C]-0.0488494374212699[/C][/ROW]
[ROW][C]0.0422377511845565[/C][/ROW]
[ROW][C]-0.067985510392493[/C][/ROW]
[ROW][C]0.0597492552886734[/C][/ROW]
[ROW][C]0.0430936061368474[/C][/ROW]
[ROW][C]-0.0202518927113554[/C][/ROW]
[ROW][C]-0.0267762206442547[/C][/ROW]
[ROW][C]-0.0173711875880968[/C][/ROW]
[ROW][C]-0.010003110484508[/C][/ROW]
[ROW][C]-0.0172448396137383[/C][/ROW]
[ROW][C]-0.0190823397558137[/C][/ROW]
[ROW][C]-0.045254994389385[/C][/ROW]
[ROW][C]5.63979369125889e-05[/C][/ROW]
[ROW][C]0.0370414317393273[/C][/ROW]
[ROW][C]-0.0527137519231164[/C][/ROW]
[ROW][C]0.0123036255236499[/C][/ROW]
[ROW][C]-0.0154691087040888[/C][/ROW]
[ROW][C]-0.145989615769002[/C][/ROW]
[ROW][C]-0.0368753619075068[/C][/ROW]
[ROW][C]-0.0207900195646591[/C][/ROW]
[ROW][C]-0.00140105578951299[/C][/ROW]
[ROW][C]0.0361248942105838[/C][/ROW]
[ROW][C]0.0258841872144906[/C][/ROW]
[ROW][C]-0.0506921327519976[/C][/ROW]
[ROW][C]0.036402621021173[/C][/ROW]
[ROW][C]-0.0302355061186592[/C][/ROW]
[ROW][C]-0.0630108550910737[/C][/ROW]
[ROW][C]0.00246013508714249[/C][/ROW]
[ROW][C]-0.0229165714701303[/C][/ROW]
[ROW][C]-0.126247115934914[/C][/ROW]
[ROW][C]-0.0280375075956858[/C][/ROW]
[ROW][C]-0.0322761960504128[/C][/ROW]
[ROW][C]0.0238794513921992[/C][/ROW]
[ROW][C]0.0409604045405949[/C][/ROW]
[ROW][C]-0.0218089468925982[/C][/ROW]
[ROW][C]-0.00886776102289843[/C][/ROW]
[ROW][C]0.0420408296328247[/C][/ROW]
[ROW][C]0.0643499416350082[/C][/ROW]
[ROW][C]-0.108425247165133[/C][/ROW]
[ROW][C]0.0313444900727866[/C][/ROW]
[ROW][C]-0.147063176205979[/C][/ROW]
[ROW][C]-0.079848493908786[/C][/ROW]
[ROW][C]0.075530195749149[/C][/ROW]
[ROW][C]-0.0300957153439505[/C][/ROW]
[ROW][C]0.0342189295326332[/C][/ROW]
[ROW][C]-0.0445832012333458[/C][/ROW]
[ROW][C]0.0901605133012833[/C][/ROW]
[ROW][C]0.0798206378262236[/C][/ROW]
[ROW][C]-0.0717571703669453[/C][/ROW]
[ROW][C]-0.0546322190032651[/C][/ROW]
[ROW][C]-0.173425981556017[/C][/ROW]
[ROW][C]-0.0598731591755577[/C][/ROW]
[ROW][C]-0.0684743754681119[/C][/ROW]
[ROW][C]0.042650135572206[/C][/ROW]
[ROW][C]0.0447897780523778[/C][/ROW]
[ROW][C]0.018075599735905[/C][/ROW]
[ROW][C]-0.0381923723454634[/C][/ROW]
[ROW][C]-0.0260368309720143[/C][/ROW]
[ROW][C]0.0378646701547307[/C][/ROW]
[ROW][C]-0.0336099934411251[/C][/ROW]
[ROW][C]-0.154079629549511[/C][/ROW]
[ROW][C]0.057586414406547[/C][/ROW]
[ROW][C]-0.027191687816627[/C][/ROW]
[ROW][C]0.0489687037487343[/C][/ROW]
[ROW][C]0.0635208015019373[/C][/ROW]
[ROW][C]-0.0803194533764273[/C][/ROW]
[ROW][C]-0.00462461641566136[/C][/ROW]
[ROW][C]-0.0359388291041665[/C][/ROW]
[ROW][C]-0.0205831443091142[/C][/ROW]
[ROW][C]-0.0739062523458696[/C][/ROW]
[ROW][C]0.0247790503250105[/C][/ROW]
[ROW][C]-0.0511553692217994[/C][/ROW]
[ROW][C]-0.0112059576548997[/C][/ROW]
[ROW][C]0.145315995811929[/C][/ROW]
[ROW][C]0.0103326591334145[/C][/ROW]
[ROW][C]0.0634676538184671[/C][/ROW]
[ROW][C]-0.00528693293621707[/C][/ROW]
[ROW][C]-0.0286654271937987[/C][/ROW]
[ROW][C]-0.0118912450200188[/C][/ROW]
[ROW][C]-0.0270638668451397[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=302982&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=302982&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.00879481837832274
-0.0565260862294777
-0.0102082319058613
-0.0789159114774761
-0.0124161271873728
0.0280886179734385
-0.0699532051525162
0.144525201129282
0.0440802254253582
0.0408915026117415
0.00631278514454211
-0.0892812727555101
0.0104327180316785
0.0185640625640837
0.0930517652266197
0.00192302231565567
-0.0346240963797782
-0.0375945101201999
0.0147921666698811
-0.0630807237242123
-0.0544033206708961
0.00847110075982445
-0.0731516692543996
-0.175725025065176
0.0557240699981307
0.0233451827942449
0.00144185927541308
-0.129137544413946
0.0280087288282607
-0.0538021484738729
0.00332763476991039
0.017440609033743
0.119018756674118
-0.00201223440555355
-0.0764865466436379
-0.0488494374212699
0.0422377511845565
-0.067985510392493
0.0597492552886734
0.0430936061368474
-0.0202518927113554
-0.0267762206442547
-0.0173711875880968
-0.010003110484508
-0.0172448396137383
-0.0190823397558137
-0.045254994389385
5.63979369125889e-05
0.0370414317393273
-0.0527137519231164
0.0123036255236499
-0.0154691087040888
-0.145989615769002
-0.0368753619075068
-0.0207900195646591
-0.00140105578951299
0.0361248942105838
0.0258841872144906
-0.0506921327519976
0.036402621021173
-0.0302355061186592
-0.0630108550910737
0.00246013508714249
-0.0229165714701303
-0.126247115934914
-0.0280375075956858
-0.0322761960504128
0.0238794513921992
0.0409604045405949
-0.0218089468925982
-0.00886776102289843
0.0420408296328247
0.0643499416350082
-0.108425247165133
0.0313444900727866
-0.147063176205979
-0.079848493908786
0.075530195749149
-0.0300957153439505
0.0342189295326332
-0.0445832012333458
0.0901605133012833
0.0798206378262236
-0.0717571703669453
-0.0546322190032651
-0.173425981556017
-0.0598731591755577
-0.0684743754681119
0.042650135572206
0.0447897780523778
0.018075599735905
-0.0381923723454634
-0.0260368309720143
0.0378646701547307
-0.0336099934411251
-0.154079629549511
0.057586414406547
-0.027191687816627
0.0489687037487343
0.0635208015019373
-0.0803194533764273
-0.00462461641566136
-0.0359388291041665
-0.0205831443091142
-0.0739062523458696
0.0247790503250105
-0.0511553692217994
-0.0112059576548997
0.145315995811929
0.0103326591334145
0.0634676538184671
-0.00528693293621707
-0.0286654271937987
-0.0118912450200188
-0.0270638668451397



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