Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_autocorrelation.wasp
Title produced by software(Partial) Autocorrelation Function
Date of computationWed, 05 May 2010 14:14:50 +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/May/05/t1273068964oxcx9gg47elv98x.htm/, Retrieved Sun, 28 Apr 2024 00:34:16 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=75519, Retrieved Sun, 28 Apr 2024 00:34:16 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsKDGP2W21
Estimated Impact195
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [(Partial) Autocorrelation Function] [Maandelijkse cijf...] [2010-05-05 14:14:50] [26ddb8a30b965ed6738d4d4bc4c527d5] [Current]
Feedback Forum

Post a new message
Dataseries X:
580
575
558
564
581
597
587
536
524
537
536
533
528
516
502
506
518
534
528
478
469
490
493
508
517
514
510
527
542
565
555
499
511
526
532
549
561
557
566
588
620
626
620
573
573
574
580
590
593
597
595
612
628
629
621
569
567
573
584
589
591
595
594
611
613
611
594
543
537
544
555
561
562




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=75519&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=75519&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=75519&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.2728822.31550.01172
2-0.239696-2.03390.022824
3-0.325446-2.76150.003648
4-0.219929-1.86620.033046
50.1044950.88670.189105
60.2075861.76140.041206
70.0654720.55560.29012
8-0.205722-1.74560.042572
9-0.266713-2.26310.013322
10-0.197251-1.67370.049262
110.263112.23260.014344
120.7672586.51040
130.1557991.3220.095177
14-0.244383-2.07370.020844
15-0.325198-2.75940.003669
16-0.210162-1.78330.039378
170.0828750.70320.242095
180.1538041.30510.098013
190.0315350.26760.394894
20-0.210482-1.7860.039155
21-0.235026-1.99430.024955
22-0.145657-1.23590.110248
230.2183831.8530.033987
240.5626824.77455e-06
250.0736130.62460.267094
26-0.250609-2.12650.018445
27-0.296609-2.51680.007035
28-0.162967-1.38280.085497
290.070960.60210.274495
300.1135470.96350.169266
310.0089950.07630.469684
32-0.191164-1.62210.054579
33-0.179551-1.52350.066002
34-0.088241-0.74880.228223
350.1621331.37570.086583
360.4019973.41110.000532

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & 0.272882 & 2.3155 & 0.01172 \tabularnewline
2 & -0.239696 & -2.0339 & 0.022824 \tabularnewline
3 & -0.325446 & -2.7615 & 0.003648 \tabularnewline
4 & -0.219929 & -1.8662 & 0.033046 \tabularnewline
5 & 0.104495 & 0.8867 & 0.189105 \tabularnewline
6 & 0.207586 & 1.7614 & 0.041206 \tabularnewline
7 & 0.065472 & 0.5556 & 0.29012 \tabularnewline
8 & -0.205722 & -1.7456 & 0.042572 \tabularnewline
9 & -0.266713 & -2.2631 & 0.013322 \tabularnewline
10 & -0.197251 & -1.6737 & 0.049262 \tabularnewline
11 & 0.26311 & 2.2326 & 0.014344 \tabularnewline
12 & 0.767258 & 6.5104 & 0 \tabularnewline
13 & 0.155799 & 1.322 & 0.095177 \tabularnewline
14 & -0.244383 & -2.0737 & 0.020844 \tabularnewline
15 & -0.325198 & -2.7594 & 0.003669 \tabularnewline
16 & -0.210162 & -1.7833 & 0.039378 \tabularnewline
17 & 0.082875 & 0.7032 & 0.242095 \tabularnewline
18 & 0.153804 & 1.3051 & 0.098013 \tabularnewline
19 & 0.031535 & 0.2676 & 0.394894 \tabularnewline
20 & -0.210482 & -1.786 & 0.039155 \tabularnewline
21 & -0.235026 & -1.9943 & 0.024955 \tabularnewline
22 & -0.145657 & -1.2359 & 0.110248 \tabularnewline
23 & 0.218383 & 1.853 & 0.033987 \tabularnewline
24 & 0.562682 & 4.7745 & 5e-06 \tabularnewline
25 & 0.073613 & 0.6246 & 0.267094 \tabularnewline
26 & -0.250609 & -2.1265 & 0.018445 \tabularnewline
27 & -0.296609 & -2.5168 & 0.007035 \tabularnewline
28 & -0.162967 & -1.3828 & 0.085497 \tabularnewline
29 & 0.07096 & 0.6021 & 0.274495 \tabularnewline
30 & 0.113547 & 0.9635 & 0.169266 \tabularnewline
31 & 0.008995 & 0.0763 & 0.469684 \tabularnewline
32 & -0.191164 & -1.6221 & 0.054579 \tabularnewline
33 & -0.179551 & -1.5235 & 0.066002 \tabularnewline
34 & -0.088241 & -0.7488 & 0.228223 \tabularnewline
35 & 0.162133 & 1.3757 & 0.086583 \tabularnewline
36 & 0.401997 & 3.4111 & 0.000532 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=75519&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.272882[/C][C]2.3155[/C][C]0.01172[/C][/ROW]
[ROW][C]2[/C][C]-0.239696[/C][C]-2.0339[/C][C]0.022824[/C][/ROW]
[ROW][C]3[/C][C]-0.325446[/C][C]-2.7615[/C][C]0.003648[/C][/ROW]
[ROW][C]4[/C][C]-0.219929[/C][C]-1.8662[/C][C]0.033046[/C][/ROW]
[ROW][C]5[/C][C]0.104495[/C][C]0.8867[/C][C]0.189105[/C][/ROW]
[ROW][C]6[/C][C]0.207586[/C][C]1.7614[/C][C]0.041206[/C][/ROW]
[ROW][C]7[/C][C]0.065472[/C][C]0.5556[/C][C]0.29012[/C][/ROW]
[ROW][C]8[/C][C]-0.205722[/C][C]-1.7456[/C][C]0.042572[/C][/ROW]
[ROW][C]9[/C][C]-0.266713[/C][C]-2.2631[/C][C]0.013322[/C][/ROW]
[ROW][C]10[/C][C]-0.197251[/C][C]-1.6737[/C][C]0.049262[/C][/ROW]
[ROW][C]11[/C][C]0.26311[/C][C]2.2326[/C][C]0.014344[/C][/ROW]
[ROW][C]12[/C][C]0.767258[/C][C]6.5104[/C][C]0[/C][/ROW]
[ROW][C]13[/C][C]0.155799[/C][C]1.322[/C][C]0.095177[/C][/ROW]
[ROW][C]14[/C][C]-0.244383[/C][C]-2.0737[/C][C]0.020844[/C][/ROW]
[ROW][C]15[/C][C]-0.325198[/C][C]-2.7594[/C][C]0.003669[/C][/ROW]
[ROW][C]16[/C][C]-0.210162[/C][C]-1.7833[/C][C]0.039378[/C][/ROW]
[ROW][C]17[/C][C]0.082875[/C][C]0.7032[/C][C]0.242095[/C][/ROW]
[ROW][C]18[/C][C]0.153804[/C][C]1.3051[/C][C]0.098013[/C][/ROW]
[ROW][C]19[/C][C]0.031535[/C][C]0.2676[/C][C]0.394894[/C][/ROW]
[ROW][C]20[/C][C]-0.210482[/C][C]-1.786[/C][C]0.039155[/C][/ROW]
[ROW][C]21[/C][C]-0.235026[/C][C]-1.9943[/C][C]0.024955[/C][/ROW]
[ROW][C]22[/C][C]-0.145657[/C][C]-1.2359[/C][C]0.110248[/C][/ROW]
[ROW][C]23[/C][C]0.218383[/C][C]1.853[/C][C]0.033987[/C][/ROW]
[ROW][C]24[/C][C]0.562682[/C][C]4.7745[/C][C]5e-06[/C][/ROW]
[ROW][C]25[/C][C]0.073613[/C][C]0.6246[/C][C]0.267094[/C][/ROW]
[ROW][C]26[/C][C]-0.250609[/C][C]-2.1265[/C][C]0.018445[/C][/ROW]
[ROW][C]27[/C][C]-0.296609[/C][C]-2.5168[/C][C]0.007035[/C][/ROW]
[ROW][C]28[/C][C]-0.162967[/C][C]-1.3828[/C][C]0.085497[/C][/ROW]
[ROW][C]29[/C][C]0.07096[/C][C]0.6021[/C][C]0.274495[/C][/ROW]
[ROW][C]30[/C][C]0.113547[/C][C]0.9635[/C][C]0.169266[/C][/ROW]
[ROW][C]31[/C][C]0.008995[/C][C]0.0763[/C][C]0.469684[/C][/ROW]
[ROW][C]32[/C][C]-0.191164[/C][C]-1.6221[/C][C]0.054579[/C][/ROW]
[ROW][C]33[/C][C]-0.179551[/C][C]-1.5235[/C][C]0.066002[/C][/ROW]
[ROW][C]34[/C][C]-0.088241[/C][C]-0.7488[/C][C]0.228223[/C][/ROW]
[ROW][C]35[/C][C]0.162133[/C][C]1.3757[/C][C]0.086583[/C][/ROW]
[ROW][C]36[/C][C]0.401997[/C][C]3.4111[/C][C]0.000532[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=75519&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=75519&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.2728822.31550.01172
2-0.239696-2.03390.022824
3-0.325446-2.76150.003648
4-0.219929-1.86620.033046
50.1044950.88670.189105
60.2075861.76140.041206
70.0654720.55560.29012
8-0.205722-1.74560.042572
9-0.266713-2.26310.013322
10-0.197251-1.67370.049262
110.263112.23260.014344
120.7672586.51040
130.1557991.3220.095177
14-0.244383-2.07370.020844
15-0.325198-2.75940.003669
16-0.210162-1.78330.039378
170.0828750.70320.242095
180.1538041.30510.098013
190.0315350.26760.394894
20-0.210482-1.7860.039155
21-0.235026-1.99430.024955
22-0.145657-1.23590.110248
230.2183831.8530.033987
240.5626824.77455e-06
250.0736130.62460.267094
26-0.250609-2.12650.018445
27-0.296609-2.51680.007035
28-0.162967-1.38280.085497
290.070960.60210.274495
300.1135470.96350.169266
310.0089950.07630.469684
32-0.191164-1.62210.054579
33-0.179551-1.52350.066002
34-0.088241-0.74880.228223
350.1621331.37570.086583
360.4019973.41110.000532







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.2728822.31550.01172
2-0.339437-2.88020.002616
3-0.177322-1.50460.068397
4-0.173993-1.47640.072101
50.1009460.85660.197265
60.0042030.03570.485825
7-0.03324-0.28210.389356
8-0.202984-1.72240.044647
9-0.116408-0.98780.16329
10-0.227188-1.92780.028915
110.2686822.27980.012791
120.6433985.45940
13-0.240167-2.03790.022618
140.0926050.78580.217288
15-0.013734-0.11650.453775
16-0.047338-0.40170.344556
17-0.135081-1.14620.127754
18-0.072538-0.61550.270082
19-0.015696-0.13320.44721
20-0.135902-1.15320.126329
21-0.032324-0.27430.392327
220.0090870.07710.469377
23-0.135758-1.15190.126576
24-0.051813-0.43960.330754
25-0.019763-0.16770.433647
26-0.094173-0.79910.213434
27-0.01517-0.12870.448968
280.0014010.01190.495274
29-0.051082-0.43340.332994
30-0.062584-0.5310.298511
31-0.024505-0.20790.417935
32-0.012951-0.10990.456401
33-0.049558-0.42050.33768
34-0.025663-0.21780.414116
35-0.104853-0.88970.188292
36-0.069118-0.58650.279692

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & 0.272882 & 2.3155 & 0.01172 \tabularnewline
2 & -0.339437 & -2.8802 & 0.002616 \tabularnewline
3 & -0.177322 & -1.5046 & 0.068397 \tabularnewline
4 & -0.173993 & -1.4764 & 0.072101 \tabularnewline
5 & 0.100946 & 0.8566 & 0.197265 \tabularnewline
6 & 0.004203 & 0.0357 & 0.485825 \tabularnewline
7 & -0.03324 & -0.2821 & 0.389356 \tabularnewline
8 & -0.202984 & -1.7224 & 0.044647 \tabularnewline
9 & -0.116408 & -0.9878 & 0.16329 \tabularnewline
10 & -0.227188 & -1.9278 & 0.028915 \tabularnewline
11 & 0.268682 & 2.2798 & 0.012791 \tabularnewline
12 & 0.643398 & 5.4594 & 0 \tabularnewline
13 & -0.240167 & -2.0379 & 0.022618 \tabularnewline
14 & 0.092605 & 0.7858 & 0.217288 \tabularnewline
15 & -0.013734 & -0.1165 & 0.453775 \tabularnewline
16 & -0.047338 & -0.4017 & 0.344556 \tabularnewline
17 & -0.135081 & -1.1462 & 0.127754 \tabularnewline
18 & -0.072538 & -0.6155 & 0.270082 \tabularnewline
19 & -0.015696 & -0.1332 & 0.44721 \tabularnewline
20 & -0.135902 & -1.1532 & 0.126329 \tabularnewline
21 & -0.032324 & -0.2743 & 0.392327 \tabularnewline
22 & 0.009087 & 0.0771 & 0.469377 \tabularnewline
23 & -0.135758 & -1.1519 & 0.126576 \tabularnewline
24 & -0.051813 & -0.4396 & 0.330754 \tabularnewline
25 & -0.019763 & -0.1677 & 0.433647 \tabularnewline
26 & -0.094173 & -0.7991 & 0.213434 \tabularnewline
27 & -0.01517 & -0.1287 & 0.448968 \tabularnewline
28 & 0.001401 & 0.0119 & 0.495274 \tabularnewline
29 & -0.051082 & -0.4334 & 0.332994 \tabularnewline
30 & -0.062584 & -0.531 & 0.298511 \tabularnewline
31 & -0.024505 & -0.2079 & 0.417935 \tabularnewline
32 & -0.012951 & -0.1099 & 0.456401 \tabularnewline
33 & -0.049558 & -0.4205 & 0.33768 \tabularnewline
34 & -0.025663 & -0.2178 & 0.414116 \tabularnewline
35 & -0.104853 & -0.8897 & 0.188292 \tabularnewline
36 & -0.069118 & -0.5865 & 0.279692 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=75519&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.272882[/C][C]2.3155[/C][C]0.01172[/C][/ROW]
[ROW][C]2[/C][C]-0.339437[/C][C]-2.8802[/C][C]0.002616[/C][/ROW]
[ROW][C]3[/C][C]-0.177322[/C][C]-1.5046[/C][C]0.068397[/C][/ROW]
[ROW][C]4[/C][C]-0.173993[/C][C]-1.4764[/C][C]0.072101[/C][/ROW]
[ROW][C]5[/C][C]0.100946[/C][C]0.8566[/C][C]0.197265[/C][/ROW]
[ROW][C]6[/C][C]0.004203[/C][C]0.0357[/C][C]0.485825[/C][/ROW]
[ROW][C]7[/C][C]-0.03324[/C][C]-0.2821[/C][C]0.389356[/C][/ROW]
[ROW][C]8[/C][C]-0.202984[/C][C]-1.7224[/C][C]0.044647[/C][/ROW]
[ROW][C]9[/C][C]-0.116408[/C][C]-0.9878[/C][C]0.16329[/C][/ROW]
[ROW][C]10[/C][C]-0.227188[/C][C]-1.9278[/C][C]0.028915[/C][/ROW]
[ROW][C]11[/C][C]0.268682[/C][C]2.2798[/C][C]0.012791[/C][/ROW]
[ROW][C]12[/C][C]0.643398[/C][C]5.4594[/C][C]0[/C][/ROW]
[ROW][C]13[/C][C]-0.240167[/C][C]-2.0379[/C][C]0.022618[/C][/ROW]
[ROW][C]14[/C][C]0.092605[/C][C]0.7858[/C][C]0.217288[/C][/ROW]
[ROW][C]15[/C][C]-0.013734[/C][C]-0.1165[/C][C]0.453775[/C][/ROW]
[ROW][C]16[/C][C]-0.047338[/C][C]-0.4017[/C][C]0.344556[/C][/ROW]
[ROW][C]17[/C][C]-0.135081[/C][C]-1.1462[/C][C]0.127754[/C][/ROW]
[ROW][C]18[/C][C]-0.072538[/C][C]-0.6155[/C][C]0.270082[/C][/ROW]
[ROW][C]19[/C][C]-0.015696[/C][C]-0.1332[/C][C]0.44721[/C][/ROW]
[ROW][C]20[/C][C]-0.135902[/C][C]-1.1532[/C][C]0.126329[/C][/ROW]
[ROW][C]21[/C][C]-0.032324[/C][C]-0.2743[/C][C]0.392327[/C][/ROW]
[ROW][C]22[/C][C]0.009087[/C][C]0.0771[/C][C]0.469377[/C][/ROW]
[ROW][C]23[/C][C]-0.135758[/C][C]-1.1519[/C][C]0.126576[/C][/ROW]
[ROW][C]24[/C][C]-0.051813[/C][C]-0.4396[/C][C]0.330754[/C][/ROW]
[ROW][C]25[/C][C]-0.019763[/C][C]-0.1677[/C][C]0.433647[/C][/ROW]
[ROW][C]26[/C][C]-0.094173[/C][C]-0.7991[/C][C]0.213434[/C][/ROW]
[ROW][C]27[/C][C]-0.01517[/C][C]-0.1287[/C][C]0.448968[/C][/ROW]
[ROW][C]28[/C][C]0.001401[/C][C]0.0119[/C][C]0.495274[/C][/ROW]
[ROW][C]29[/C][C]-0.051082[/C][C]-0.4334[/C][C]0.332994[/C][/ROW]
[ROW][C]30[/C][C]-0.062584[/C][C]-0.531[/C][C]0.298511[/C][/ROW]
[ROW][C]31[/C][C]-0.024505[/C][C]-0.2079[/C][C]0.417935[/C][/ROW]
[ROW][C]32[/C][C]-0.012951[/C][C]-0.1099[/C][C]0.456401[/C][/ROW]
[ROW][C]33[/C][C]-0.049558[/C][C]-0.4205[/C][C]0.33768[/C][/ROW]
[ROW][C]34[/C][C]-0.025663[/C][C]-0.2178[/C][C]0.414116[/C][/ROW]
[ROW][C]35[/C][C]-0.104853[/C][C]-0.8897[/C][C]0.188292[/C][/ROW]
[ROW][C]36[/C][C]-0.069118[/C][C]-0.5865[/C][C]0.279692[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=75519&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=75519&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.2728822.31550.01172
2-0.339437-2.88020.002616
3-0.177322-1.50460.068397
4-0.173993-1.47640.072101
50.1009460.85660.197265
60.0042030.03570.485825
7-0.03324-0.28210.389356
8-0.202984-1.72240.044647
9-0.116408-0.98780.16329
10-0.227188-1.92780.028915
110.2686822.27980.012791
120.6433985.45940
13-0.240167-2.03790.022618
140.0926050.78580.217288
15-0.013734-0.11650.453775
16-0.047338-0.40170.344556
17-0.135081-1.14620.127754
18-0.072538-0.61550.270082
19-0.015696-0.13320.44721
20-0.135902-1.15320.126329
21-0.032324-0.27430.392327
220.0090870.07710.469377
23-0.135758-1.15190.126576
24-0.051813-0.43960.330754
25-0.019763-0.16770.433647
26-0.094173-0.79910.213434
27-0.01517-0.12870.448968
280.0014010.01190.495274
29-0.051082-0.43340.332994
30-0.062584-0.5310.298511
31-0.024505-0.20790.417935
32-0.012951-0.10990.456401
33-0.049558-0.42050.33768
34-0.025663-0.21780.414116
35-0.104853-0.88970.188292
36-0.069118-0.58650.279692



Parameters (Session):
par1 = 36 ; par2 = 1 ; par3 = 1 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
Parameters (R input):
par1 = 36 ; par2 = 1 ; par3 = 1 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; 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')