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, 15 Dec 2016 23:02:45 +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/15/t1481839442li4zsmsyr26qtun.htm/, Retrieved Fri, 03 May 2024 12:23:05 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=300031, Retrieved Fri, 03 May 2024 12:23:05 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact49
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [ARIMA Backward Selection] [backward arima N2142] [2016-12-15 22:02:45] [31f526a885cd288e1bc58dc4a6a7fb1f] [Current]
Feedback Forum

Post a new message
Dataseries X:
4926
5242
5650
5042
4738
4178
3688
3870
3822
3872
3216
3366
4034
4514
5286
4940
5112
5188
4588
4754
4898
5422
5458
5088
5676
6518
6768
6306
6296
5728
5604
4956
4744
5160
3782
4114
5488
5874
6812
6658
6236
5542
5468
5738
5828
6168
5324
5038
5662
5868
6008
6206
5880
5594
5216
5522
5748
5966
5600
5546
5798
6218
7020
6684
6386
6680
6332
7128
7592
8468
7892
7866
8270
7536
7990
7638
8040
7564
7234
7718
7722
7966
7412
6792
7316
7424
7910
7574
7414
7292
6432
6630
6594
7318
6634
6032
6460
6446
6890
6638
6872
7516
6474
6812
6532
6908
6502
5656
5948
5608
7062
6074
5998
5944
5914
6286
6340
6666
6090
6264
7052
6666
5060
6818
6830
6986




Summary of computational transaction
Raw Input view raw input (R code)
Raw Outputview raw output of R engine
Computing time3 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 time3 seconds \tabularnewline
R ServerBig Analytics Cloud Computing Center \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=300031&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]3 seconds[/C][/ROW] [ROW]R Server[/C]Big Analytics Cloud Computing Center[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=300031&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=300031&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 time3 seconds
R ServerBig Analytics Cloud Computing Center







ARIMA Parameter Estimation and Backward Selection
Iterationar1ar2ar3ma1
Estimates ( 1 )0.6130.0159-0.0505-0.8273
(p-val)(8e-04 )(0.8844 )(0.6431 )(0 )
Estimates ( 2 )0.61180-0.047-0.8197
(p-val)(0.0013 )(NA )(0.6597 )(0 )
Estimates ( 3 )0.651200-0.8645
(p-val)(0 )(NA )(NA )(0 )
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 & ma1 \tabularnewline
Estimates ( 1 ) & 0.613 & 0.0159 & -0.0505 & -0.8273 \tabularnewline
(p-val) & (8e-04 ) & (0.8844 ) & (0.6431 ) & (0 ) \tabularnewline
Estimates ( 2 ) & 0.6118 & 0 & -0.047 & -0.8197 \tabularnewline
(p-val) & (0.0013 ) & (NA ) & (0.6597 ) & (0 ) \tabularnewline
Estimates ( 3 ) & 0.6512 & 0 & 0 & -0.8645 \tabularnewline
(p-val) & (0 ) & (NA ) & (NA ) & (0 ) \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=300031&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.613[/C][C]0.0159[/C][C]-0.0505[/C][C]-0.8273[/C][/ROW]
[ROW][C](p-val)[/C][C](8e-04 )[/C][C](0.8844 )[/C][C](0.6431 )[/C][C](0 )[/C][/ROW]
[ROW][C]Estimates ( 2 )[/C][C]0.6118[/C][C]0[/C][C]-0.047[/C][C]-0.8197[/C][/ROW]
[ROW][C](p-val)[/C][C](0.0013 )[/C][C](NA )[/C][C](0.6597 )[/C][C](0 )[/C][/ROW]
[ROW][C]Estimates ( 3 )[/C][C]0.6512[/C][C]0[/C][C]0[/C][C]-0.8645[/C][/ROW]
[ROW][C](p-val)[/C][C](0 )[/C][C](NA )[/C][C](NA )[/C][C](0 )[/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=300031&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=300031&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.6130.0159-0.0505-0.8273
(p-val)(8e-04 )(0.8844 )(0.6431 )(0 )
Estimates ( 2 )0.61180-0.047-0.8197
(p-val)(0.0013 )(NA )(0.6597 )(0 )
Estimates ( 3 )0.651200-0.8645
(p-val)(0 )(NA )(NA )(0 )
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
4.92599733759148
303.936469767842
440.334432083567
-499.382758638468
-312.392239160111
-601.128449539727
-659.620617930596
-69.4342660713392
-241.649929585692
-140.925780317099
-792.301240806576
-99.4958949400192
496.806575398952
447.330828051871
851.736399186083
-88.8290274538478
333.401410248015
280.332408178092
-432.960779508324
186.243701747937
198.683065316023
570.543956786807
190.932165022843
-228.735785329624
651.490210109606
1018.0241892027
552.007727500902
-134.783597993995
201.746660499939
-384.744170265586
-113.636436339303
-665.763924351363
-388.044654319372
221.765319320911
-1481.17884019329
-49.1449054528542
1150.17194233131
423.473720246375
1064.61244591747
209.492605701799
-137.90428419578
-504.767224065119
-70.4572566311774
237.667158902598
87.0108840046014
352.787555799141
-750.106722297217
-380.332766147357
503.179529955128
197.043616517497
162.051122603312
274.539863320825
-212.389007164384
-254.08490085167
-402.007757315376
192.372175115999
183.045182776839
212.01393818829
-311.176597232423
-74.5502617375366
234.175695278641
440.586327577565
903.686908819592
-73.9924423454466
-133.349138168856
404.711848992839
-211.9009258283
821.174996120625
664.014748490933
1120.09659732018
-156.278323138448
220.090535444608
641.521914288152
-482.358630079494
506.402487415515
-195.621068509309
422.462388235076
-354.267172269127
-345.762514240194
421.35182017004
30.9199707981597
251.379571836782
-474.441453265147
-669.814356088523
365.693534031801
61.1554745582543
440.902693954676
-247.247060267234
-152.046881991113
-125.900572361515
-904.372864251999
-24.7607242494096
-183.164667190404
555.42978793127
-662.296058437521
-728.158731942371
233.428594275821
-116.652310132263
328.627743243234
-234.104495504766
195.600719100877
682.070625314215
-888.705140778811
257.953862647318
-245.033411486621
297.424619034296
-376.315696901556
-919.274104887171
73.6673198502331
-477.341278582315
1230.9153863895
-854.738765841122
-188.232838323229
-93.4272678602774
-120.016541727724
288.395850550019
60.2944092071002
340.979753638963
-478.424342966085
136.731024660411
808.968957978588
-232.012869316331
-1551.86650127833
1505.42151450809
152.423094829622
198.07690859065

\begin{tabular}{lllllllll}
\hline
Estimated ARIMA Residuals \tabularnewline
Value \tabularnewline
4.92599733759148 \tabularnewline
303.936469767842 \tabularnewline
440.334432083567 \tabularnewline
-499.382758638468 \tabularnewline
-312.392239160111 \tabularnewline
-601.128449539727 \tabularnewline
-659.620617930596 \tabularnewline
-69.4342660713392 \tabularnewline
-241.649929585692 \tabularnewline
-140.925780317099 \tabularnewline
-792.301240806576 \tabularnewline
-99.4958949400192 \tabularnewline
496.806575398952 \tabularnewline
447.330828051871 \tabularnewline
851.736399186083 \tabularnewline
-88.8290274538478 \tabularnewline
333.401410248015 \tabularnewline
280.332408178092 \tabularnewline
-432.960779508324 \tabularnewline
186.243701747937 \tabularnewline
198.683065316023 \tabularnewline
570.543956786807 \tabularnewline
190.932165022843 \tabularnewline
-228.735785329624 \tabularnewline
651.490210109606 \tabularnewline
1018.0241892027 \tabularnewline
552.007727500902 \tabularnewline
-134.783597993995 \tabularnewline
201.746660499939 \tabularnewline
-384.744170265586 \tabularnewline
-113.636436339303 \tabularnewline
-665.763924351363 \tabularnewline
-388.044654319372 \tabularnewline
221.765319320911 \tabularnewline
-1481.17884019329 \tabularnewline
-49.1449054528542 \tabularnewline
1150.17194233131 \tabularnewline
423.473720246375 \tabularnewline
1064.61244591747 \tabularnewline
209.492605701799 \tabularnewline
-137.90428419578 \tabularnewline
-504.767224065119 \tabularnewline
-70.4572566311774 \tabularnewline
237.667158902598 \tabularnewline
87.0108840046014 \tabularnewline
352.787555799141 \tabularnewline
-750.106722297217 \tabularnewline
-380.332766147357 \tabularnewline
503.179529955128 \tabularnewline
197.043616517497 \tabularnewline
162.051122603312 \tabularnewline
274.539863320825 \tabularnewline
-212.389007164384 \tabularnewline
-254.08490085167 \tabularnewline
-402.007757315376 \tabularnewline
192.372175115999 \tabularnewline
183.045182776839 \tabularnewline
212.01393818829 \tabularnewline
-311.176597232423 \tabularnewline
-74.5502617375366 \tabularnewline
234.175695278641 \tabularnewline
440.586327577565 \tabularnewline
903.686908819592 \tabularnewline
-73.9924423454466 \tabularnewline
-133.349138168856 \tabularnewline
404.711848992839 \tabularnewline
-211.9009258283 \tabularnewline
821.174996120625 \tabularnewline
664.014748490933 \tabularnewline
1120.09659732018 \tabularnewline
-156.278323138448 \tabularnewline
220.090535444608 \tabularnewline
641.521914288152 \tabularnewline
-482.358630079494 \tabularnewline
506.402487415515 \tabularnewline
-195.621068509309 \tabularnewline
422.462388235076 \tabularnewline
-354.267172269127 \tabularnewline
-345.762514240194 \tabularnewline
421.35182017004 \tabularnewline
30.9199707981597 \tabularnewline
251.379571836782 \tabularnewline
-474.441453265147 \tabularnewline
-669.814356088523 \tabularnewline
365.693534031801 \tabularnewline
61.1554745582543 \tabularnewline
440.902693954676 \tabularnewline
-247.247060267234 \tabularnewline
-152.046881991113 \tabularnewline
-125.900572361515 \tabularnewline
-904.372864251999 \tabularnewline
-24.7607242494096 \tabularnewline
-183.164667190404 \tabularnewline
555.42978793127 \tabularnewline
-662.296058437521 \tabularnewline
-728.158731942371 \tabularnewline
233.428594275821 \tabularnewline
-116.652310132263 \tabularnewline
328.627743243234 \tabularnewline
-234.104495504766 \tabularnewline
195.600719100877 \tabularnewline
682.070625314215 \tabularnewline
-888.705140778811 \tabularnewline
257.953862647318 \tabularnewline
-245.033411486621 \tabularnewline
297.424619034296 \tabularnewline
-376.315696901556 \tabularnewline
-919.274104887171 \tabularnewline
73.6673198502331 \tabularnewline
-477.341278582315 \tabularnewline
1230.9153863895 \tabularnewline
-854.738765841122 \tabularnewline
-188.232838323229 \tabularnewline
-93.4272678602774 \tabularnewline
-120.016541727724 \tabularnewline
288.395850550019 \tabularnewline
60.2944092071002 \tabularnewline
340.979753638963 \tabularnewline
-478.424342966085 \tabularnewline
136.731024660411 \tabularnewline
808.968957978588 \tabularnewline
-232.012869316331 \tabularnewline
-1551.86650127833 \tabularnewline
1505.42151450809 \tabularnewline
152.423094829622 \tabularnewline
198.07690859065 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=300031&T=2

[TABLE]
[ROW][C]Estimated ARIMA Residuals[/C][/ROW]
[ROW][C]Value[/C][/ROW]
[ROW][C]4.92599733759148[/C][/ROW]
[ROW][C]303.936469767842[/C][/ROW]
[ROW][C]440.334432083567[/C][/ROW]
[ROW][C]-499.382758638468[/C][/ROW]
[ROW][C]-312.392239160111[/C][/ROW]
[ROW][C]-601.128449539727[/C][/ROW]
[ROW][C]-659.620617930596[/C][/ROW]
[ROW][C]-69.4342660713392[/C][/ROW]
[ROW][C]-241.649929585692[/C][/ROW]
[ROW][C]-140.925780317099[/C][/ROW]
[ROW][C]-792.301240806576[/C][/ROW]
[ROW][C]-99.4958949400192[/C][/ROW]
[ROW][C]496.806575398952[/C][/ROW]
[ROW][C]447.330828051871[/C][/ROW]
[ROW][C]851.736399186083[/C][/ROW]
[ROW][C]-88.8290274538478[/C][/ROW]
[ROW][C]333.401410248015[/C][/ROW]
[ROW][C]280.332408178092[/C][/ROW]
[ROW][C]-432.960779508324[/C][/ROW]
[ROW][C]186.243701747937[/C][/ROW]
[ROW][C]198.683065316023[/C][/ROW]
[ROW][C]570.543956786807[/C][/ROW]
[ROW][C]190.932165022843[/C][/ROW]
[ROW][C]-228.735785329624[/C][/ROW]
[ROW][C]651.490210109606[/C][/ROW]
[ROW][C]1018.0241892027[/C][/ROW]
[ROW][C]552.007727500902[/C][/ROW]
[ROW][C]-134.783597993995[/C][/ROW]
[ROW][C]201.746660499939[/C][/ROW]
[ROW][C]-384.744170265586[/C][/ROW]
[ROW][C]-113.636436339303[/C][/ROW]
[ROW][C]-665.763924351363[/C][/ROW]
[ROW][C]-388.044654319372[/C][/ROW]
[ROW][C]221.765319320911[/C][/ROW]
[ROW][C]-1481.17884019329[/C][/ROW]
[ROW][C]-49.1449054528542[/C][/ROW]
[ROW][C]1150.17194233131[/C][/ROW]
[ROW][C]423.473720246375[/C][/ROW]
[ROW][C]1064.61244591747[/C][/ROW]
[ROW][C]209.492605701799[/C][/ROW]
[ROW][C]-137.90428419578[/C][/ROW]
[ROW][C]-504.767224065119[/C][/ROW]
[ROW][C]-70.4572566311774[/C][/ROW]
[ROW][C]237.667158902598[/C][/ROW]
[ROW][C]87.0108840046014[/C][/ROW]
[ROW][C]352.787555799141[/C][/ROW]
[ROW][C]-750.106722297217[/C][/ROW]
[ROW][C]-380.332766147357[/C][/ROW]
[ROW][C]503.179529955128[/C][/ROW]
[ROW][C]197.043616517497[/C][/ROW]
[ROW][C]162.051122603312[/C][/ROW]
[ROW][C]274.539863320825[/C][/ROW]
[ROW][C]-212.389007164384[/C][/ROW]
[ROW][C]-254.08490085167[/C][/ROW]
[ROW][C]-402.007757315376[/C][/ROW]
[ROW][C]192.372175115999[/C][/ROW]
[ROW][C]183.045182776839[/C][/ROW]
[ROW][C]212.01393818829[/C][/ROW]
[ROW][C]-311.176597232423[/C][/ROW]
[ROW][C]-74.5502617375366[/C][/ROW]
[ROW][C]234.175695278641[/C][/ROW]
[ROW][C]440.586327577565[/C][/ROW]
[ROW][C]903.686908819592[/C][/ROW]
[ROW][C]-73.9924423454466[/C][/ROW]
[ROW][C]-133.349138168856[/C][/ROW]
[ROW][C]404.711848992839[/C][/ROW]
[ROW][C]-211.9009258283[/C][/ROW]
[ROW][C]821.174996120625[/C][/ROW]
[ROW][C]664.014748490933[/C][/ROW]
[ROW][C]1120.09659732018[/C][/ROW]
[ROW][C]-156.278323138448[/C][/ROW]
[ROW][C]220.090535444608[/C][/ROW]
[ROW][C]641.521914288152[/C][/ROW]
[ROW][C]-482.358630079494[/C][/ROW]
[ROW][C]506.402487415515[/C][/ROW]
[ROW][C]-195.621068509309[/C][/ROW]
[ROW][C]422.462388235076[/C][/ROW]
[ROW][C]-354.267172269127[/C][/ROW]
[ROW][C]-345.762514240194[/C][/ROW]
[ROW][C]421.35182017004[/C][/ROW]
[ROW][C]30.9199707981597[/C][/ROW]
[ROW][C]251.379571836782[/C][/ROW]
[ROW][C]-474.441453265147[/C][/ROW]
[ROW][C]-669.814356088523[/C][/ROW]
[ROW][C]365.693534031801[/C][/ROW]
[ROW][C]61.1554745582543[/C][/ROW]
[ROW][C]440.902693954676[/C][/ROW]
[ROW][C]-247.247060267234[/C][/ROW]
[ROW][C]-152.046881991113[/C][/ROW]
[ROW][C]-125.900572361515[/C][/ROW]
[ROW][C]-904.372864251999[/C][/ROW]
[ROW][C]-24.7607242494096[/C][/ROW]
[ROW][C]-183.164667190404[/C][/ROW]
[ROW][C]555.42978793127[/C][/ROW]
[ROW][C]-662.296058437521[/C][/ROW]
[ROW][C]-728.158731942371[/C][/ROW]
[ROW][C]233.428594275821[/C][/ROW]
[ROW][C]-116.652310132263[/C][/ROW]
[ROW][C]328.627743243234[/C][/ROW]
[ROW][C]-234.104495504766[/C][/ROW]
[ROW][C]195.600719100877[/C][/ROW]
[ROW][C]682.070625314215[/C][/ROW]
[ROW][C]-888.705140778811[/C][/ROW]
[ROW][C]257.953862647318[/C][/ROW]
[ROW][C]-245.033411486621[/C][/ROW]
[ROW][C]297.424619034296[/C][/ROW]
[ROW][C]-376.315696901556[/C][/ROW]
[ROW][C]-919.274104887171[/C][/ROW]
[ROW][C]73.6673198502331[/C][/ROW]
[ROW][C]-477.341278582315[/C][/ROW]
[ROW][C]1230.9153863895[/C][/ROW]
[ROW][C]-854.738765841122[/C][/ROW]
[ROW][C]-188.232838323229[/C][/ROW]
[ROW][C]-93.4272678602774[/C][/ROW]
[ROW][C]-120.016541727724[/C][/ROW]
[ROW][C]288.395850550019[/C][/ROW]
[ROW][C]60.2944092071002[/C][/ROW]
[ROW][C]340.979753638963[/C][/ROW]
[ROW][C]-478.424342966085[/C][/ROW]
[ROW][C]136.731024660411[/C][/ROW]
[ROW][C]808.968957978588[/C][/ROW]
[ROW][C]-232.012869316331[/C][/ROW]
[ROW][C]-1551.86650127833[/C][/ROW]
[ROW][C]1505.42151450809[/C][/ROW]
[ROW][C]152.423094829622[/C][/ROW]
[ROW][C]198.07690859065[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=300031&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=300031&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
4.92599733759148
303.936469767842
440.334432083567
-499.382758638468
-312.392239160111
-601.128449539727
-659.620617930596
-69.4342660713392
-241.649929585692
-140.925780317099
-792.301240806576
-99.4958949400192
496.806575398952
447.330828051871
851.736399186083
-88.8290274538478
333.401410248015
280.332408178092
-432.960779508324
186.243701747937
198.683065316023
570.543956786807
190.932165022843
-228.735785329624
651.490210109606
1018.0241892027
552.007727500902
-134.783597993995
201.746660499939
-384.744170265586
-113.636436339303
-665.763924351363
-388.044654319372
221.765319320911
-1481.17884019329
-49.1449054528542
1150.17194233131
423.473720246375
1064.61244591747
209.492605701799
-137.90428419578
-504.767224065119
-70.4572566311774
237.667158902598
87.0108840046014
352.787555799141
-750.106722297217
-380.332766147357
503.179529955128
197.043616517497
162.051122603312
274.539863320825
-212.389007164384
-254.08490085167
-402.007757315376
192.372175115999
183.045182776839
212.01393818829
-311.176597232423
-74.5502617375366
234.175695278641
440.586327577565
903.686908819592
-73.9924423454466
-133.349138168856
404.711848992839
-211.9009258283
821.174996120625
664.014748490933
1120.09659732018
-156.278323138448
220.090535444608
641.521914288152
-482.358630079494
506.402487415515
-195.621068509309
422.462388235076
-354.267172269127
-345.762514240194
421.35182017004
30.9199707981597
251.379571836782
-474.441453265147
-669.814356088523
365.693534031801
61.1554745582543
440.902693954676
-247.247060267234
-152.046881991113
-125.900572361515
-904.372864251999
-24.7607242494096
-183.164667190404
555.42978793127
-662.296058437521
-728.158731942371
233.428594275821
-116.652310132263
328.627743243234
-234.104495504766
195.600719100877
682.070625314215
-888.705140778811
257.953862647318
-245.033411486621
297.424619034296
-376.315696901556
-919.274104887171
73.6673198502331
-477.341278582315
1230.9153863895
-854.738765841122
-188.232838323229
-93.4272678602774
-120.016541727724
288.395850550019
60.2944092071002
340.979753638963
-478.424342966085
136.731024660411
808.968957978588
-232.012869316331
-1551.86650127833
1505.42151450809
152.423094829622
198.07690859065



Parameters (Session):
par1 = FALSE ; par2 = 1 ; par3 = 1 ; par4 = 0 ; par5 = 1 ; par6 = 3 ; par7 = 1 ; par8 = 0 ; par9 = 0 ;
Parameters (R input):
par1 = FALSE ; par2 = 1 ; par3 = 1 ; par4 = 0 ; par5 = 1 ; par6 = 3 ; par7 = 1 ; par8 = 0 ; par9 = 0 ;
R code (references can be found in the software module):
par9 <- '1'
par8 <- '2'
par7 <- '0'
par6 <- '0'
par5 <- '1'
par4 <- '0'
par3 <- '1'
par2 <- '1'
par1 <- 'FALSE'
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')