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 computationSat, 21 Nov 2009 12:41:26 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Nov/21/t1258832538iehm2u5p11pqfqy.htm/, Retrieved Sun, 28 Apr 2024 06:44:58 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=58578, Retrieved Sun, 28 Apr 2024 06:44:58 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact163
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [(Partial) Autocorrelation Function] [Partiële autocorr...] [2009-11-21 19:41:26] [2622964eb3e61db9b0dfd11950e3a18c] [Current]
Feedback Forum

Post a new message
Dataseries X:
5560
3922
3759
4138
4634
3996
4308
4429
5219
4929
5755
5592
4163
4962
5208
4755
4491
5732
5731
5040
6102
4904
5369
5578
4619
4731
5011
5299
4146
4625
4736
4219
5116
4205
4121
5103
4300
4578
3809
5526
4247
3830
4394
4826
4409
4569
4106
4794
3914
3793
4405
4022
4100
4788
3163
3585
3903
4178
3863
4187




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

\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 & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58578&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]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58578&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58578&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'Gwilym Jenkins' @ 72.249.127.135







Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.3300952.55690.006554
20.3015762.3360.011425
30.4402213.40990.000584
40.3448132.67090.004861
50.2034951.57630.060111
60.1862441.44260.077161
70.2311251.79030.039227
80.1668571.29250.100575
90.1838521.42410.079797
100.2580831.99910.025066
110.0121490.09410.462669
120.1170470.90660.184112
130.0867580.6720.252074
140.0212080.16430.435034
15-0.079316-0.61440.270645
16-0.058004-0.44930.327417
17-0.005189-0.04020.484036
18-0.032154-0.24910.402081
19-0.09917-0.76820.2227
20-0.072469-0.56130.288327
21-0.041184-0.3190.375414
22-0.033595-0.26020.397789
23-0.095099-0.73660.232109
24-0.104713-0.81110.210257
25-0.063804-0.49420.311476
26-0.055961-0.43350.333114
27-0.110231-0.85380.198294
28-0.163036-1.26290.105761
29-0.117566-0.91070.183058
30-0.140049-1.08480.141171
31-0.226816-1.75690.042018
32-0.185833-1.43950.077609
33-0.15092-1.1690.12351
34-0.253734-1.96540.027
35-0.144281-1.11760.134098
36-0.177079-1.37160.087641

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & 0.330095 & 2.5569 & 0.006554 \tabularnewline
2 & 0.301576 & 2.336 & 0.011425 \tabularnewline
3 & 0.440221 & 3.4099 & 0.000584 \tabularnewline
4 & 0.344813 & 2.6709 & 0.004861 \tabularnewline
5 & 0.203495 & 1.5763 & 0.060111 \tabularnewline
6 & 0.186244 & 1.4426 & 0.077161 \tabularnewline
7 & 0.231125 & 1.7903 & 0.039227 \tabularnewline
8 & 0.166857 & 1.2925 & 0.100575 \tabularnewline
9 & 0.183852 & 1.4241 & 0.079797 \tabularnewline
10 & 0.258083 & 1.9991 & 0.025066 \tabularnewline
11 & 0.012149 & 0.0941 & 0.462669 \tabularnewline
12 & 0.117047 & 0.9066 & 0.184112 \tabularnewline
13 & 0.086758 & 0.672 & 0.252074 \tabularnewline
14 & 0.021208 & 0.1643 & 0.435034 \tabularnewline
15 & -0.079316 & -0.6144 & 0.270645 \tabularnewline
16 & -0.058004 & -0.4493 & 0.327417 \tabularnewline
17 & -0.005189 & -0.0402 & 0.484036 \tabularnewline
18 & -0.032154 & -0.2491 & 0.402081 \tabularnewline
19 & -0.09917 & -0.7682 & 0.2227 \tabularnewline
20 & -0.072469 & -0.5613 & 0.288327 \tabularnewline
21 & -0.041184 & -0.319 & 0.375414 \tabularnewline
22 & -0.033595 & -0.2602 & 0.397789 \tabularnewline
23 & -0.095099 & -0.7366 & 0.232109 \tabularnewline
24 & -0.104713 & -0.8111 & 0.210257 \tabularnewline
25 & -0.063804 & -0.4942 & 0.311476 \tabularnewline
26 & -0.055961 & -0.4335 & 0.333114 \tabularnewline
27 & -0.110231 & -0.8538 & 0.198294 \tabularnewline
28 & -0.163036 & -1.2629 & 0.105761 \tabularnewline
29 & -0.117566 & -0.9107 & 0.183058 \tabularnewline
30 & -0.140049 & -1.0848 & 0.141171 \tabularnewline
31 & -0.226816 & -1.7569 & 0.042018 \tabularnewline
32 & -0.185833 & -1.4395 & 0.077609 \tabularnewline
33 & -0.15092 & -1.169 & 0.12351 \tabularnewline
34 & -0.253734 & -1.9654 & 0.027 \tabularnewline
35 & -0.144281 & -1.1176 & 0.134098 \tabularnewline
36 & -0.177079 & -1.3716 & 0.087641 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58578&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.330095[/C][C]2.5569[/C][C]0.006554[/C][/ROW]
[ROW][C]2[/C][C]0.301576[/C][C]2.336[/C][C]0.011425[/C][/ROW]
[ROW][C]3[/C][C]0.440221[/C][C]3.4099[/C][C]0.000584[/C][/ROW]
[ROW][C]4[/C][C]0.344813[/C][C]2.6709[/C][C]0.004861[/C][/ROW]
[ROW][C]5[/C][C]0.203495[/C][C]1.5763[/C][C]0.060111[/C][/ROW]
[ROW][C]6[/C][C]0.186244[/C][C]1.4426[/C][C]0.077161[/C][/ROW]
[ROW][C]7[/C][C]0.231125[/C][C]1.7903[/C][C]0.039227[/C][/ROW]
[ROW][C]8[/C][C]0.166857[/C][C]1.2925[/C][C]0.100575[/C][/ROW]
[ROW][C]9[/C][C]0.183852[/C][C]1.4241[/C][C]0.079797[/C][/ROW]
[ROW][C]10[/C][C]0.258083[/C][C]1.9991[/C][C]0.025066[/C][/ROW]
[ROW][C]11[/C][C]0.012149[/C][C]0.0941[/C][C]0.462669[/C][/ROW]
[ROW][C]12[/C][C]0.117047[/C][C]0.9066[/C][C]0.184112[/C][/ROW]
[ROW][C]13[/C][C]0.086758[/C][C]0.672[/C][C]0.252074[/C][/ROW]
[ROW][C]14[/C][C]0.021208[/C][C]0.1643[/C][C]0.435034[/C][/ROW]
[ROW][C]15[/C][C]-0.079316[/C][C]-0.6144[/C][C]0.270645[/C][/ROW]
[ROW][C]16[/C][C]-0.058004[/C][C]-0.4493[/C][C]0.327417[/C][/ROW]
[ROW][C]17[/C][C]-0.005189[/C][C]-0.0402[/C][C]0.484036[/C][/ROW]
[ROW][C]18[/C][C]-0.032154[/C][C]-0.2491[/C][C]0.402081[/C][/ROW]
[ROW][C]19[/C][C]-0.09917[/C][C]-0.7682[/C][C]0.2227[/C][/ROW]
[ROW][C]20[/C][C]-0.072469[/C][C]-0.5613[/C][C]0.288327[/C][/ROW]
[ROW][C]21[/C][C]-0.041184[/C][C]-0.319[/C][C]0.375414[/C][/ROW]
[ROW][C]22[/C][C]-0.033595[/C][C]-0.2602[/C][C]0.397789[/C][/ROW]
[ROW][C]23[/C][C]-0.095099[/C][C]-0.7366[/C][C]0.232109[/C][/ROW]
[ROW][C]24[/C][C]-0.104713[/C][C]-0.8111[/C][C]0.210257[/C][/ROW]
[ROW][C]25[/C][C]-0.063804[/C][C]-0.4942[/C][C]0.311476[/C][/ROW]
[ROW][C]26[/C][C]-0.055961[/C][C]-0.4335[/C][C]0.333114[/C][/ROW]
[ROW][C]27[/C][C]-0.110231[/C][C]-0.8538[/C][C]0.198294[/C][/ROW]
[ROW][C]28[/C][C]-0.163036[/C][C]-1.2629[/C][C]0.105761[/C][/ROW]
[ROW][C]29[/C][C]-0.117566[/C][C]-0.9107[/C][C]0.183058[/C][/ROW]
[ROW][C]30[/C][C]-0.140049[/C][C]-1.0848[/C][C]0.141171[/C][/ROW]
[ROW][C]31[/C][C]-0.226816[/C][C]-1.7569[/C][C]0.042018[/C][/ROW]
[ROW][C]32[/C][C]-0.185833[/C][C]-1.4395[/C][C]0.077609[/C][/ROW]
[ROW][C]33[/C][C]-0.15092[/C][C]-1.169[/C][C]0.12351[/C][/ROW]
[ROW][C]34[/C][C]-0.253734[/C][C]-1.9654[/C][C]0.027[/C][/ROW]
[ROW][C]35[/C][C]-0.144281[/C][C]-1.1176[/C][C]0.134098[/C][/ROW]
[ROW][C]36[/C][C]-0.177079[/C][C]-1.3716[/C][C]0.087641[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58578&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58578&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
10.3300952.55690.006554
20.3015762.3360.011425
30.4402213.40990.000584
40.3448132.67090.004861
50.2034951.57630.060111
60.1862441.44260.077161
70.2311251.79030.039227
80.1668571.29250.100575
90.1838521.42410.079797
100.2580831.99910.025066
110.0121490.09410.462669
120.1170470.90660.184112
130.0867580.6720.252074
140.0212080.16430.435034
15-0.079316-0.61440.270645
16-0.058004-0.44930.327417
17-0.005189-0.04020.484036
18-0.032154-0.24910.402081
19-0.09917-0.76820.2227
20-0.072469-0.56130.288327
21-0.041184-0.3190.375414
22-0.033595-0.26020.397789
23-0.095099-0.73660.232109
24-0.104713-0.81110.210257
25-0.063804-0.49420.311476
26-0.055961-0.43350.333114
27-0.110231-0.85380.198294
28-0.163036-1.26290.105761
29-0.117566-0.91070.183058
30-0.140049-1.08480.141171
31-0.226816-1.75690.042018
32-0.185833-1.43950.077609
33-0.15092-1.1690.12351
34-0.253734-1.96540.027
35-0.144281-1.11760.134098
36-0.177079-1.37160.087641







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.3300952.55690.006554
20.2161681.67440.049626
30.3424012.65220.005108
40.1493631.1570.125937
5-0.047172-0.36540.358051
6-0.078098-0.60490.273748
70.0316850.24540.403479
80.0262320.20320.419836
90.0997270.77250.221431
100.1563011.21070.115378
11-0.227761-1.76420.041392
12-0.02701-0.20920.417493
13-0.095138-0.73690.232017
14-0.00106-0.00820.496737
15-0.098405-0.76220.224451
16-0.062434-0.48360.31521
170.0172450.13360.447091
180.0763450.59140.278248
19-0.053539-0.41470.339915
20-0.054956-0.42570.33593
210.0355950.27570.391855
220.0199280.15440.43892
230.021950.170.432782
24-0.052699-0.40820.342288
250.0263870.20440.41937
260.0070090.05430.478442
27-0.051579-0.39950.345462
28-0.1337-1.03560.152265
29-0.026482-0.20510.419083
30-0.080443-0.62310.267788
31-0.142076-1.10050.137751
32-0.029015-0.22480.411468
330.0468430.36280.358999
34-0.109741-0.85010.199338
350.0331140.25650.39922
36-0.047246-0.3660.357839

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & 0.330095 & 2.5569 & 0.006554 \tabularnewline
2 & 0.216168 & 1.6744 & 0.049626 \tabularnewline
3 & 0.342401 & 2.6522 & 0.005108 \tabularnewline
4 & 0.149363 & 1.157 & 0.125937 \tabularnewline
5 & -0.047172 & -0.3654 & 0.358051 \tabularnewline
6 & -0.078098 & -0.6049 & 0.273748 \tabularnewline
7 & 0.031685 & 0.2454 & 0.403479 \tabularnewline
8 & 0.026232 & 0.2032 & 0.419836 \tabularnewline
9 & 0.099727 & 0.7725 & 0.221431 \tabularnewline
10 & 0.156301 & 1.2107 & 0.115378 \tabularnewline
11 & -0.227761 & -1.7642 & 0.041392 \tabularnewline
12 & -0.02701 & -0.2092 & 0.417493 \tabularnewline
13 & -0.095138 & -0.7369 & 0.232017 \tabularnewline
14 & -0.00106 & -0.0082 & 0.496737 \tabularnewline
15 & -0.098405 & -0.7622 & 0.224451 \tabularnewline
16 & -0.062434 & -0.4836 & 0.31521 \tabularnewline
17 & 0.017245 & 0.1336 & 0.447091 \tabularnewline
18 & 0.076345 & 0.5914 & 0.278248 \tabularnewline
19 & -0.053539 & -0.4147 & 0.339915 \tabularnewline
20 & -0.054956 & -0.4257 & 0.33593 \tabularnewline
21 & 0.035595 & 0.2757 & 0.391855 \tabularnewline
22 & 0.019928 & 0.1544 & 0.43892 \tabularnewline
23 & 0.02195 & 0.17 & 0.432782 \tabularnewline
24 & -0.052699 & -0.4082 & 0.342288 \tabularnewline
25 & 0.026387 & 0.2044 & 0.41937 \tabularnewline
26 & 0.007009 & 0.0543 & 0.478442 \tabularnewline
27 & -0.051579 & -0.3995 & 0.345462 \tabularnewline
28 & -0.1337 & -1.0356 & 0.152265 \tabularnewline
29 & -0.026482 & -0.2051 & 0.419083 \tabularnewline
30 & -0.080443 & -0.6231 & 0.267788 \tabularnewline
31 & -0.142076 & -1.1005 & 0.137751 \tabularnewline
32 & -0.029015 & -0.2248 & 0.411468 \tabularnewline
33 & 0.046843 & 0.3628 & 0.358999 \tabularnewline
34 & -0.109741 & -0.8501 & 0.199338 \tabularnewline
35 & 0.033114 & 0.2565 & 0.39922 \tabularnewline
36 & -0.047246 & -0.366 & 0.357839 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58578&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.330095[/C][C]2.5569[/C][C]0.006554[/C][/ROW]
[ROW][C]2[/C][C]0.216168[/C][C]1.6744[/C][C]0.049626[/C][/ROW]
[ROW][C]3[/C][C]0.342401[/C][C]2.6522[/C][C]0.005108[/C][/ROW]
[ROW][C]4[/C][C]0.149363[/C][C]1.157[/C][C]0.125937[/C][/ROW]
[ROW][C]5[/C][C]-0.047172[/C][C]-0.3654[/C][C]0.358051[/C][/ROW]
[ROW][C]6[/C][C]-0.078098[/C][C]-0.6049[/C][C]0.273748[/C][/ROW]
[ROW][C]7[/C][C]0.031685[/C][C]0.2454[/C][C]0.403479[/C][/ROW]
[ROW][C]8[/C][C]0.026232[/C][C]0.2032[/C][C]0.419836[/C][/ROW]
[ROW][C]9[/C][C]0.099727[/C][C]0.7725[/C][C]0.221431[/C][/ROW]
[ROW][C]10[/C][C]0.156301[/C][C]1.2107[/C][C]0.115378[/C][/ROW]
[ROW][C]11[/C][C]-0.227761[/C][C]-1.7642[/C][C]0.041392[/C][/ROW]
[ROW][C]12[/C][C]-0.02701[/C][C]-0.2092[/C][C]0.417493[/C][/ROW]
[ROW][C]13[/C][C]-0.095138[/C][C]-0.7369[/C][C]0.232017[/C][/ROW]
[ROW][C]14[/C][C]-0.00106[/C][C]-0.0082[/C][C]0.496737[/C][/ROW]
[ROW][C]15[/C][C]-0.098405[/C][C]-0.7622[/C][C]0.224451[/C][/ROW]
[ROW][C]16[/C][C]-0.062434[/C][C]-0.4836[/C][C]0.31521[/C][/ROW]
[ROW][C]17[/C][C]0.017245[/C][C]0.1336[/C][C]0.447091[/C][/ROW]
[ROW][C]18[/C][C]0.076345[/C][C]0.5914[/C][C]0.278248[/C][/ROW]
[ROW][C]19[/C][C]-0.053539[/C][C]-0.4147[/C][C]0.339915[/C][/ROW]
[ROW][C]20[/C][C]-0.054956[/C][C]-0.4257[/C][C]0.33593[/C][/ROW]
[ROW][C]21[/C][C]0.035595[/C][C]0.2757[/C][C]0.391855[/C][/ROW]
[ROW][C]22[/C][C]0.019928[/C][C]0.1544[/C][C]0.43892[/C][/ROW]
[ROW][C]23[/C][C]0.02195[/C][C]0.17[/C][C]0.432782[/C][/ROW]
[ROW][C]24[/C][C]-0.052699[/C][C]-0.4082[/C][C]0.342288[/C][/ROW]
[ROW][C]25[/C][C]0.026387[/C][C]0.2044[/C][C]0.41937[/C][/ROW]
[ROW][C]26[/C][C]0.007009[/C][C]0.0543[/C][C]0.478442[/C][/ROW]
[ROW][C]27[/C][C]-0.051579[/C][C]-0.3995[/C][C]0.345462[/C][/ROW]
[ROW][C]28[/C][C]-0.1337[/C][C]-1.0356[/C][C]0.152265[/C][/ROW]
[ROW][C]29[/C][C]-0.026482[/C][C]-0.2051[/C][C]0.419083[/C][/ROW]
[ROW][C]30[/C][C]-0.080443[/C][C]-0.6231[/C][C]0.267788[/C][/ROW]
[ROW][C]31[/C][C]-0.142076[/C][C]-1.1005[/C][C]0.137751[/C][/ROW]
[ROW][C]32[/C][C]-0.029015[/C][C]-0.2248[/C][C]0.411468[/C][/ROW]
[ROW][C]33[/C][C]0.046843[/C][C]0.3628[/C][C]0.358999[/C][/ROW]
[ROW][C]34[/C][C]-0.109741[/C][C]-0.8501[/C][C]0.199338[/C][/ROW]
[ROW][C]35[/C][C]0.033114[/C][C]0.2565[/C][C]0.39922[/C][/ROW]
[ROW][C]36[/C][C]-0.047246[/C][C]-0.366[/C][C]0.357839[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58578&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58578&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
10.3300952.55690.006554
20.2161681.67440.049626
30.3424012.65220.005108
40.1493631.1570.125937
5-0.047172-0.36540.358051
6-0.078098-0.60490.273748
70.0316850.24540.403479
80.0262320.20320.419836
90.0997270.77250.221431
100.1563011.21070.115378
11-0.227761-1.76420.041392
12-0.02701-0.20920.417493
13-0.095138-0.73690.232017
14-0.00106-0.00820.496737
15-0.098405-0.76220.224451
16-0.062434-0.48360.31521
170.0172450.13360.447091
180.0763450.59140.278248
19-0.053539-0.41470.339915
20-0.054956-0.42570.33593
210.0355950.27570.391855
220.0199280.15440.43892
230.021950.170.432782
24-0.052699-0.40820.342288
250.0263870.20440.41937
260.0070090.05430.478442
27-0.051579-0.39950.345462
28-0.1337-1.03560.152265
29-0.026482-0.20510.419083
30-0.080443-0.62310.267788
31-0.142076-1.10050.137751
32-0.029015-0.22480.411468
330.0468430.36280.358999
34-0.109741-0.85010.199338
350.0331140.25650.39922
36-0.047246-0.3660.357839



Parameters (Session):
par1 = 36 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = MA ; par7 = 0.95 ;
Parameters (R input):
par1 = 36 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = MA ; par7 = 0.95 ;
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 (par2 == 0) {
x <- log(x)
} else {
x <- (x ^ par2 - 1) / par2
}
if (par3 > 0) x <- diff(x,lag=1,difference=par3)
if (par4 > 0) x <- diff(x,lag=par5,difference=par4)
bitmap(file='pic1.png')
racf <- acf(x, par1, main='Autocorrelation', xlab='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep=''))
dev.off()
bitmap(file='pic2.png')
rpacf <- pacf(x,par1,main='Partial Autocorrelation',xlab='lags',ylab='PACF')
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')