Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_autocorrelation.wasp
Title produced by software(Partial) Autocorrelation Function
Date of computationWed, 29 Dec 2010 21:46:27 +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/2010/Dec/29/t129365923652t6708zbyvn1xh.htm/, Retrieved Fri, 03 May 2024 05:34:47 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=117144, Retrieved Fri, 03 May 2024 05:34:47 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact133
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [(Partial) Autocorrelation Function] [(partial) autocor...] [2009-12-09 13:20:29] [f7fc9270f813d017f9fa5b506fdc7682]
-   P   [(Partial) Autocorrelation Function] [autocorrelation] [2009-12-09 13:36:40] [f7fc9270f813d017f9fa5b506fdc7682]
- R PD    [(Partial) Autocorrelation Function] [Autocorrelatie] [2010-12-27 10:44:48] [c420bdd199bcbe079f7d532ca3855317]
-             [(Partial) Autocorrelation Function] [Autocorrelatie NW...] [2010-12-29 21:46:27] [63a115f47699ab31b1a302b9539c58a2] [Current]
Feedback Forum

Post a new message
Dataseries X:
206010
198112
194519
185705
180173
176142
203401
221902
197378
185001
176356
180449
180144
173666
165688
161570
156145
153730
182698
200765
176512
166618
158644
159585
163095
159044
155511
153745
150569
150605
179612
194690
189917
184128
175335
179566
181140
177876
175041
169292
166070
166972
206348
215706
202108
195411
193111
195198
198770
194163
190420
189733
186029
191531
232571
243477
227247
217859
208679
213188
216234
213586
209465
204045
200237
203666
241476
260307
243324
244460
233575
237217
235243
230354
227184
221678
217142
219452
256446
265845
248624
241114
229245
231805
219277
219313
212610
214771
211142
211457
240048
240636
230580
208795
197922
194596
194581
185686
178106
172608
167302
168053
202300
202388
182516
173476
166444
171297
169701
164182
161914
159612
151001
158114
186530
187069
174330
169362
166827
178037
186413
189226
191563
188906
186005
195309
223532
226899
214126
206903
204442
220375
214320
212588
205816
202196
195722
198563
229139
229527
211868
203555
195770




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Herman Ole Andreas Wold' @ www.yougetit.org

\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 & 1 seconds \tabularnewline
R Server & 'Herman Ole Andreas Wold' @ www.yougetit.org \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=117144&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]1 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Herman Ole Andreas Wold' @ www.yougetit.org[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=117144&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=117144&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 time1 seconds
R Server'Herman Ole Andreas Wold' @ www.yougetit.org







Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.025997-0.29640.383693
20.2264642.58210.005464
30.0158920.18120.428249
40.1656991.88930.030542
50.1295851.47750.070981
60.0380050.43330.33275
70.0962921.09790.13714
8-0.000309-0.00350.498598
90.1624351.8520.033144
10-0.002752-0.03140.487507
110.1049691.19680.116776
12-0.275431-3.14040.001045
130.0550590.62780.265628
140.0841490.95940.169559
15-0.041229-0.47010.319543
16-0.055564-0.63350.263751
17-0.103555-1.18070.119938
180.056180.64050.261471
19-0.018641-0.21250.416009
200.0144440.16470.434725
21-0.038242-0.4360.331771
22-0.07331-0.83590.202382
23-0.093117-1.06170.145172
24-0.148312-1.6910.046615
25-0.025843-0.29470.384363
26-0.195339-2.22720.013827
27-0.077996-0.88930.187745
28-0.068761-0.7840.217235
29-0.071968-0.82060.206698
30-0.159171-1.81480.035928
31-0.123897-1.41260.080076
32-0.063795-0.72740.234153
330.0280180.31950.374946
34-0.046966-0.53550.296612
350.0807560.92080.17944
36-0.021862-0.24930.401774

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & -0.025997 & -0.2964 & 0.383693 \tabularnewline
2 & 0.226464 & 2.5821 & 0.005464 \tabularnewline
3 & 0.015892 & 0.1812 & 0.428249 \tabularnewline
4 & 0.165699 & 1.8893 & 0.030542 \tabularnewline
5 & 0.129585 & 1.4775 & 0.070981 \tabularnewline
6 & 0.038005 & 0.4333 & 0.33275 \tabularnewline
7 & 0.096292 & 1.0979 & 0.13714 \tabularnewline
8 & -0.000309 & -0.0035 & 0.498598 \tabularnewline
9 & 0.162435 & 1.852 & 0.033144 \tabularnewline
10 & -0.002752 & -0.0314 & 0.487507 \tabularnewline
11 & 0.104969 & 1.1968 & 0.116776 \tabularnewline
12 & -0.275431 & -3.1404 & 0.001045 \tabularnewline
13 & 0.055059 & 0.6278 & 0.265628 \tabularnewline
14 & 0.084149 & 0.9594 & 0.169559 \tabularnewline
15 & -0.041229 & -0.4701 & 0.319543 \tabularnewline
16 & -0.055564 & -0.6335 & 0.263751 \tabularnewline
17 & -0.103555 & -1.1807 & 0.119938 \tabularnewline
18 & 0.05618 & 0.6405 & 0.261471 \tabularnewline
19 & -0.018641 & -0.2125 & 0.416009 \tabularnewline
20 & 0.014444 & 0.1647 & 0.434725 \tabularnewline
21 & -0.038242 & -0.436 & 0.331771 \tabularnewline
22 & -0.07331 & -0.8359 & 0.202382 \tabularnewline
23 & -0.093117 & -1.0617 & 0.145172 \tabularnewline
24 & -0.148312 & -1.691 & 0.046615 \tabularnewline
25 & -0.025843 & -0.2947 & 0.384363 \tabularnewline
26 & -0.195339 & -2.2272 & 0.013827 \tabularnewline
27 & -0.077996 & -0.8893 & 0.187745 \tabularnewline
28 & -0.068761 & -0.784 & 0.217235 \tabularnewline
29 & -0.071968 & -0.8206 & 0.206698 \tabularnewline
30 & -0.159171 & -1.8148 & 0.035928 \tabularnewline
31 & -0.123897 & -1.4126 & 0.080076 \tabularnewline
32 & -0.063795 & -0.7274 & 0.234153 \tabularnewline
33 & 0.028018 & 0.3195 & 0.374946 \tabularnewline
34 & -0.046966 & -0.5355 & 0.296612 \tabularnewline
35 & 0.080756 & 0.9208 & 0.17944 \tabularnewline
36 & -0.021862 & -0.2493 & 0.401774 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=117144&T=1

[TABLE]
[ROW][C]Autocorrelation Function[/C][/ROW]
[ROW][C]Time lag k[/C][C]ACF(k)[/C][C]T-STAT[/C][C]P-value[/C][/ROW]
[ROW][C]1[/C][C]-0.025997[/C][C]-0.2964[/C][C]0.383693[/C][/ROW]
[ROW][C]2[/C][C]0.226464[/C][C]2.5821[/C][C]0.005464[/C][/ROW]
[ROW][C]3[/C][C]0.015892[/C][C]0.1812[/C][C]0.428249[/C][/ROW]
[ROW][C]4[/C][C]0.165699[/C][C]1.8893[/C][C]0.030542[/C][/ROW]
[ROW][C]5[/C][C]0.129585[/C][C]1.4775[/C][C]0.070981[/C][/ROW]
[ROW][C]6[/C][C]0.038005[/C][C]0.4333[/C][C]0.33275[/C][/ROW]
[ROW][C]7[/C][C]0.096292[/C][C]1.0979[/C][C]0.13714[/C][/ROW]
[ROW][C]8[/C][C]-0.000309[/C][C]-0.0035[/C][C]0.498598[/C][/ROW]
[ROW][C]9[/C][C]0.162435[/C][C]1.852[/C][C]0.033144[/C][/ROW]
[ROW][C]10[/C][C]-0.002752[/C][C]-0.0314[/C][C]0.487507[/C][/ROW]
[ROW][C]11[/C][C]0.104969[/C][C]1.1968[/C][C]0.116776[/C][/ROW]
[ROW][C]12[/C][C]-0.275431[/C][C]-3.1404[/C][C]0.001045[/C][/ROW]
[ROW][C]13[/C][C]0.055059[/C][C]0.6278[/C][C]0.265628[/C][/ROW]
[ROW][C]14[/C][C]0.084149[/C][C]0.9594[/C][C]0.169559[/C][/ROW]
[ROW][C]15[/C][C]-0.041229[/C][C]-0.4701[/C][C]0.319543[/C][/ROW]
[ROW][C]16[/C][C]-0.055564[/C][C]-0.6335[/C][C]0.263751[/C][/ROW]
[ROW][C]17[/C][C]-0.103555[/C][C]-1.1807[/C][C]0.119938[/C][/ROW]
[ROW][C]18[/C][C]0.05618[/C][C]0.6405[/C][C]0.261471[/C][/ROW]
[ROW][C]19[/C][C]-0.018641[/C][C]-0.2125[/C][C]0.416009[/C][/ROW]
[ROW][C]20[/C][C]0.014444[/C][C]0.1647[/C][C]0.434725[/C][/ROW]
[ROW][C]21[/C][C]-0.038242[/C][C]-0.436[/C][C]0.331771[/C][/ROW]
[ROW][C]22[/C][C]-0.07331[/C][C]-0.8359[/C][C]0.202382[/C][/ROW]
[ROW][C]23[/C][C]-0.093117[/C][C]-1.0617[/C][C]0.145172[/C][/ROW]
[ROW][C]24[/C][C]-0.148312[/C][C]-1.691[/C][C]0.046615[/C][/ROW]
[ROW][C]25[/C][C]-0.025843[/C][C]-0.2947[/C][C]0.384363[/C][/ROW]
[ROW][C]26[/C][C]-0.195339[/C][C]-2.2272[/C][C]0.013827[/C][/ROW]
[ROW][C]27[/C][C]-0.077996[/C][C]-0.8893[/C][C]0.187745[/C][/ROW]
[ROW][C]28[/C][C]-0.068761[/C][C]-0.784[/C][C]0.217235[/C][/ROW]
[ROW][C]29[/C][C]-0.071968[/C][C]-0.8206[/C][C]0.206698[/C][/ROW]
[ROW][C]30[/C][C]-0.159171[/C][C]-1.8148[/C][C]0.035928[/C][/ROW]
[ROW][C]31[/C][C]-0.123897[/C][C]-1.4126[/C][C]0.080076[/C][/ROW]
[ROW][C]32[/C][C]-0.063795[/C][C]-0.7274[/C][C]0.234153[/C][/ROW]
[ROW][C]33[/C][C]0.028018[/C][C]0.3195[/C][C]0.374946[/C][/ROW]
[ROW][C]34[/C][C]-0.046966[/C][C]-0.5355[/C][C]0.296612[/C][/ROW]
[ROW][C]35[/C][C]0.080756[/C][C]0.9208[/C][C]0.17944[/C][/ROW]
[ROW][C]36[/C][C]-0.021862[/C][C]-0.2493[/C][C]0.401774[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=117144&T=1

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

As an alternative you can also use a QR Code:  

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

Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.025997-0.29640.383693
20.2264642.58210.005464
30.0158920.18120.428249
40.1656991.88930.030542
50.1295851.47750.070981
60.0380050.43330.33275
70.0962921.09790.13714
8-0.000309-0.00350.498598
90.1624351.8520.033144
10-0.002752-0.03140.487507
110.1049691.19680.116776
12-0.275431-3.14040.001045
130.0550590.62780.265628
140.0841490.95940.169559
15-0.041229-0.47010.319543
16-0.055564-0.63350.263751
17-0.103555-1.18070.119938
180.056180.64050.261471
19-0.018641-0.21250.416009
200.0144440.16470.434725
21-0.038242-0.4360.331771
22-0.07331-0.83590.202382
23-0.093117-1.06170.145172
24-0.148312-1.6910.046615
25-0.025843-0.29470.384363
26-0.195339-2.22720.013827
27-0.077996-0.88930.187745
28-0.068761-0.7840.217235
29-0.071968-0.82060.206698
30-0.159171-1.81480.035928
31-0.123897-1.41260.080076
32-0.063795-0.72740.234153
330.0280180.31950.374946
34-0.046966-0.53550.296612
350.0807560.92080.17944
36-0.021862-0.24930.401774







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.025997-0.29640.383693
20.2259412.57610.005554
30.0277580.31650.376071
40.1219381.39030.083405
50.1365991.55750.060895
6-0.014493-0.16520.434505
70.0422260.48150.315501
8-0.024637-0.28090.389613
90.1050331.19760.116633
10-0.008122-0.09260.463181
110.036180.41250.340321
12-0.310453-3.53970.000278
13-0.028368-0.32340.373438
140.1899752.16610.016066
15-0.062509-0.71270.23865
16-0.083488-0.95190.171455
17-0.032328-0.36860.356515
180.0377460.43040.333819
190.0445030.50740.306363
200.0112210.12790.449196
210.0458450.52270.30103
22-0.084-0.95780.169983
23-0.121266-1.38260.084573
24-0.259604-2.95990.001829
250.0122460.13960.444585
260.0166140.18940.425026
27-0.110376-1.25850.105237
28-0.041531-0.47350.318314
29-0.031713-0.36160.359127
30-0.07849-0.89490.186241
31-0.015488-0.17660.430052
320.0421940.48110.315634
330.2161842.46490.007505
340.0046250.05270.479013
350.0983841.12170.132019
36-0.061732-0.70390.24139

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & -0.025997 & -0.2964 & 0.383693 \tabularnewline
2 & 0.225941 & 2.5761 & 0.005554 \tabularnewline
3 & 0.027758 & 0.3165 & 0.376071 \tabularnewline
4 & 0.121938 & 1.3903 & 0.083405 \tabularnewline
5 & 0.136599 & 1.5575 & 0.060895 \tabularnewline
6 & -0.014493 & -0.1652 & 0.434505 \tabularnewline
7 & 0.042226 & 0.4815 & 0.315501 \tabularnewline
8 & -0.024637 & -0.2809 & 0.389613 \tabularnewline
9 & 0.105033 & 1.1976 & 0.116633 \tabularnewline
10 & -0.008122 & -0.0926 & 0.463181 \tabularnewline
11 & 0.03618 & 0.4125 & 0.340321 \tabularnewline
12 & -0.310453 & -3.5397 & 0.000278 \tabularnewline
13 & -0.028368 & -0.3234 & 0.373438 \tabularnewline
14 & 0.189975 & 2.1661 & 0.016066 \tabularnewline
15 & -0.062509 & -0.7127 & 0.23865 \tabularnewline
16 & -0.083488 & -0.9519 & 0.171455 \tabularnewline
17 & -0.032328 & -0.3686 & 0.356515 \tabularnewline
18 & 0.037746 & 0.4304 & 0.333819 \tabularnewline
19 & 0.044503 & 0.5074 & 0.306363 \tabularnewline
20 & 0.011221 & 0.1279 & 0.449196 \tabularnewline
21 & 0.045845 & 0.5227 & 0.30103 \tabularnewline
22 & -0.084 & -0.9578 & 0.169983 \tabularnewline
23 & -0.121266 & -1.3826 & 0.084573 \tabularnewline
24 & -0.259604 & -2.9599 & 0.001829 \tabularnewline
25 & 0.012246 & 0.1396 & 0.444585 \tabularnewline
26 & 0.016614 & 0.1894 & 0.425026 \tabularnewline
27 & -0.110376 & -1.2585 & 0.105237 \tabularnewline
28 & -0.041531 & -0.4735 & 0.318314 \tabularnewline
29 & -0.031713 & -0.3616 & 0.359127 \tabularnewline
30 & -0.07849 & -0.8949 & 0.186241 \tabularnewline
31 & -0.015488 & -0.1766 & 0.430052 \tabularnewline
32 & 0.042194 & 0.4811 & 0.315634 \tabularnewline
33 & 0.216184 & 2.4649 & 0.007505 \tabularnewline
34 & 0.004625 & 0.0527 & 0.479013 \tabularnewline
35 & 0.098384 & 1.1217 & 0.132019 \tabularnewline
36 & -0.061732 & -0.7039 & 0.24139 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=117144&T=2

[TABLE]
[ROW][C]Partial Autocorrelation Function[/C][/ROW]
[ROW][C]Time lag k[/C][C]PACF(k)[/C][C]T-STAT[/C][C]P-value[/C][/ROW]
[ROW][C]1[/C][C]-0.025997[/C][C]-0.2964[/C][C]0.383693[/C][/ROW]
[ROW][C]2[/C][C]0.225941[/C][C]2.5761[/C][C]0.005554[/C][/ROW]
[ROW][C]3[/C][C]0.027758[/C][C]0.3165[/C][C]0.376071[/C][/ROW]
[ROW][C]4[/C][C]0.121938[/C][C]1.3903[/C][C]0.083405[/C][/ROW]
[ROW][C]5[/C][C]0.136599[/C][C]1.5575[/C][C]0.060895[/C][/ROW]
[ROW][C]6[/C][C]-0.014493[/C][C]-0.1652[/C][C]0.434505[/C][/ROW]
[ROW][C]7[/C][C]0.042226[/C][C]0.4815[/C][C]0.315501[/C][/ROW]
[ROW][C]8[/C][C]-0.024637[/C][C]-0.2809[/C][C]0.389613[/C][/ROW]
[ROW][C]9[/C][C]0.105033[/C][C]1.1976[/C][C]0.116633[/C][/ROW]
[ROW][C]10[/C][C]-0.008122[/C][C]-0.0926[/C][C]0.463181[/C][/ROW]
[ROW][C]11[/C][C]0.03618[/C][C]0.4125[/C][C]0.340321[/C][/ROW]
[ROW][C]12[/C][C]-0.310453[/C][C]-3.5397[/C][C]0.000278[/C][/ROW]
[ROW][C]13[/C][C]-0.028368[/C][C]-0.3234[/C][C]0.373438[/C][/ROW]
[ROW][C]14[/C][C]0.189975[/C][C]2.1661[/C][C]0.016066[/C][/ROW]
[ROW][C]15[/C][C]-0.062509[/C][C]-0.7127[/C][C]0.23865[/C][/ROW]
[ROW][C]16[/C][C]-0.083488[/C][C]-0.9519[/C][C]0.171455[/C][/ROW]
[ROW][C]17[/C][C]-0.032328[/C][C]-0.3686[/C][C]0.356515[/C][/ROW]
[ROW][C]18[/C][C]0.037746[/C][C]0.4304[/C][C]0.333819[/C][/ROW]
[ROW][C]19[/C][C]0.044503[/C][C]0.5074[/C][C]0.306363[/C][/ROW]
[ROW][C]20[/C][C]0.011221[/C][C]0.1279[/C][C]0.449196[/C][/ROW]
[ROW][C]21[/C][C]0.045845[/C][C]0.5227[/C][C]0.30103[/C][/ROW]
[ROW][C]22[/C][C]-0.084[/C][C]-0.9578[/C][C]0.169983[/C][/ROW]
[ROW][C]23[/C][C]-0.121266[/C][C]-1.3826[/C][C]0.084573[/C][/ROW]
[ROW][C]24[/C][C]-0.259604[/C][C]-2.9599[/C][C]0.001829[/C][/ROW]
[ROW][C]25[/C][C]0.012246[/C][C]0.1396[/C][C]0.444585[/C][/ROW]
[ROW][C]26[/C][C]0.016614[/C][C]0.1894[/C][C]0.425026[/C][/ROW]
[ROW][C]27[/C][C]-0.110376[/C][C]-1.2585[/C][C]0.105237[/C][/ROW]
[ROW][C]28[/C][C]-0.041531[/C][C]-0.4735[/C][C]0.318314[/C][/ROW]
[ROW][C]29[/C][C]-0.031713[/C][C]-0.3616[/C][C]0.359127[/C][/ROW]
[ROW][C]30[/C][C]-0.07849[/C][C]-0.8949[/C][C]0.186241[/C][/ROW]
[ROW][C]31[/C][C]-0.015488[/C][C]-0.1766[/C][C]0.430052[/C][/ROW]
[ROW][C]32[/C][C]0.042194[/C][C]0.4811[/C][C]0.315634[/C][/ROW]
[ROW][C]33[/C][C]0.216184[/C][C]2.4649[/C][C]0.007505[/C][/ROW]
[ROW][C]34[/C][C]0.004625[/C][C]0.0527[/C][C]0.479013[/C][/ROW]
[ROW][C]35[/C][C]0.098384[/C][C]1.1217[/C][C]0.132019[/C][/ROW]
[ROW][C]36[/C][C]-0.061732[/C][C]-0.7039[/C][C]0.24139[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=117144&T=2

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

As an alternative you can also use a QR Code:  

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

Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.025997-0.29640.383693
20.2259412.57610.005554
30.0277580.31650.376071
40.1219381.39030.083405
50.1365991.55750.060895
6-0.014493-0.16520.434505
70.0422260.48150.315501
8-0.024637-0.28090.389613
90.1050331.19760.116633
10-0.008122-0.09260.463181
110.036180.41250.340321
12-0.310453-3.53970.000278
13-0.028368-0.32340.373438
140.1899752.16610.016066
15-0.062509-0.71270.23865
16-0.083488-0.95190.171455
17-0.032328-0.36860.356515
180.0377460.43040.333819
190.0445030.50740.306363
200.0112210.12790.449196
210.0458450.52270.30103
22-0.084-0.95780.169983
23-0.121266-1.38260.084573
24-0.259604-2.95990.001829
250.0122460.13960.444585
260.0166140.18940.425026
27-0.110376-1.25850.105237
28-0.041531-0.47350.318314
29-0.031713-0.36160.359127
30-0.07849-0.89490.186241
31-0.015488-0.17660.430052
320.0421940.48110.315634
330.2161842.46490.007505
340.0046250.05270.479013
350.0983841.12170.132019
36-0.061732-0.70390.24139



Parameters (Session):
par1 = 36 ; par2 = 1 ; par3 = 1 ; par4 = 1 ; par5 = 12 ; par6 = MA ; par7 = 0.95 ;
Parameters (R input):
par1 = 36 ; par2 = 1 ; par3 = 1 ; par4 = 1 ; par5 = 12 ; par6 = MA ; par7 = 0.95 ; par8 = ; par9 = ; par10 = ; par11 = ; par12 = ; par13 = ; par14 = ; par15 = ; par16 = ; par17 = ; par18 = ; par19 = ; par20 = ;
R code (references can be found in the software module):
if (par1 == 'Default') {
par1 = 10*log10(length(x))
} else {
par1 <- as.numeric(par1)
}
par2 <- as.numeric(par2)
par3 <- as.numeric(par3)
par4 <- as.numeric(par4)
par5 <- as.numeric(par5)
if (par6 == 'White Noise') par6 <- 'white' else par6 <- 'ma'
par7 <- as.numeric(par7)
if (par8 != '') par8 <- as.numeric(par8)
ox <- x
if (par8 == '') {
if (par2 == 0) {
x <- log(x)
} else {
x <- (x ^ par2 - 1) / par2
}
} else {
x <- log(x,base=par8)
}
if (par3 > 0) x <- diff(x,lag=1,difference=par3)
if (par4 > 0) x <- diff(x,lag=par5,difference=par4)
bitmap(file='picts.png')
op <- par(mfrow=c(2,1))
plot(ox,type='l',main='Original Time Series',xlab='time',ylab='value')
if (par8=='') {
mytitle <- paste('Working Time Series (lambda=',par2,', d=',par3,', D=',par4,')',sep='')
mysub <- paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep='')
} else {
mytitle <- paste('Working Time Series (base=',par8,', d=',par3,', D=',par4,')',sep='')
mysub <- paste('(base=',par8,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep='')
}
plot(x,type='l', main=mytitle,xlab='time',ylab='value')
par(op)
dev.off()
bitmap(file='pic1.png')
racf <- acf(x, par1, main='Autocorrelation', xlab='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=mysub)
dev.off()
bitmap(file='pic2.png')
rpacf <- pacf(x,par1,main='Partial Autocorrelation',xlab='lags',ylab='PACF',sub=mysub)
dev.off()
(myacf <- c(racf$acf))
(mypacf <- c(rpacf$acf))
lengthx <- length(x)
sqrtn <- sqrt(lengthx)
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Autocorrelation Function',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Time lag k',header=TRUE)
a<-table.element(a,hyperlink('basics.htm','ACF(k)','click here for more information about the Autocorrelation Function'),header=TRUE)
a<-table.element(a,'T-STAT',header=TRUE)
a<-table.element(a,'P-value',header=TRUE)
a<-table.row.end(a)
for (i in 2:(par1+1)) {
a<-table.row.start(a)
a<-table.element(a,i-1,header=TRUE)
a<-table.element(a,round(myacf[i],6))
mytstat <- myacf[i]*sqrtn
a<-table.element(a,round(mytstat,4))
a<-table.element(a,round(1-pt(abs(mytstat),lengthx),6))
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,'Partial Autocorrelation Function',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Time lag k',header=TRUE)
a<-table.element(a,hyperlink('basics.htm','PACF(k)','click here for more information about the Partial Autocorrelation Function'),header=TRUE)
a<-table.element(a,'T-STAT',header=TRUE)
a<-table.element(a,'P-value',header=TRUE)
a<-table.row.end(a)
for (i in 1:par1) {
a<-table.row.start(a)
a<-table.element(a,i,header=TRUE)
a<-table.element(a,round(mypacf[i],6))
mytstat <- mypacf[i]*sqrtn
a<-table.element(a,round(mytstat,4))
a<-table.element(a,round(1-pt(abs(mytstat),lengthx),6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable1.tab')