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:17:11 +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/t1273069099nyoafz2kgocabac.htm/, Retrieved Sat, 27 Apr 2024 18:22:29 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=75520, Retrieved Sat, 27 Apr 2024 18:22:29 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsKDGP2W21
Estimated Impact171
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:17:11] [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 time2 seconds
R Server'George Udny Yule' @ 72.249.76.132

\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 & 2 seconds \tabularnewline
R Server & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=75520&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]2 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=75520&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=75520&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 time2 seconds
R Server'George Udny Yule' @ 72.249.76.132







Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.8897167.60170
20.7212546.16240
30.6080145.19491e-06
40.5643734.8224e-06
50.5652764.82974e-06
60.5402954.61638e-06
70.4709464.02386.9e-05
80.3966473.3890.000567
90.3692813.15510.001165
100.3974733.3960.000555
110.4691234.00827.3e-05
120.4844534.13924.6e-05
130.3347732.86030.002758
140.1537891.3140.096485
150.0286410.24470.403684
16-0.026401-0.22560.411084
17-0.037907-0.32390.373478
18-0.070322-0.60080.274907
19-0.13604-1.16230.124444
20-0.199156-1.70160.046544
21-0.214639-1.83390.035374
22-0.182466-1.5590.061662
23-0.118661-1.01380.157003
24-0.104811-0.89550.186731
25-0.214246-1.83050.035627
26-0.338835-2.8950.002499
27-0.408008-3.4860.000417
28-0.415865-3.55310.000336
29-0.391138-3.34190.000657
30-0.386059-3.29850.000752
31-0.404763-3.45830.000455
32-0.414877-3.54470.000345
33-0.385445-3.29320.000764
34-0.318992-2.72550.004016
35-0.233936-1.99870.02468
36-0.186934-1.59720.057275

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & 0.889716 & 7.6017 & 0 \tabularnewline
2 & 0.721254 & 6.1624 & 0 \tabularnewline
3 & 0.608014 & 5.1949 & 1e-06 \tabularnewline
4 & 0.564373 & 4.822 & 4e-06 \tabularnewline
5 & 0.565276 & 4.8297 & 4e-06 \tabularnewline
6 & 0.540295 & 4.6163 & 8e-06 \tabularnewline
7 & 0.470946 & 4.0238 & 6.9e-05 \tabularnewline
8 & 0.396647 & 3.389 & 0.000567 \tabularnewline
9 & 0.369281 & 3.1551 & 0.001165 \tabularnewline
10 & 0.397473 & 3.396 & 0.000555 \tabularnewline
11 & 0.469123 & 4.0082 & 7.3e-05 \tabularnewline
12 & 0.484453 & 4.1392 & 4.6e-05 \tabularnewline
13 & 0.334773 & 2.8603 & 0.002758 \tabularnewline
14 & 0.153789 & 1.314 & 0.096485 \tabularnewline
15 & 0.028641 & 0.2447 & 0.403684 \tabularnewline
16 & -0.026401 & -0.2256 & 0.411084 \tabularnewline
17 & -0.037907 & -0.3239 & 0.373478 \tabularnewline
18 & -0.070322 & -0.6008 & 0.274907 \tabularnewline
19 & -0.13604 & -1.1623 & 0.124444 \tabularnewline
20 & -0.199156 & -1.7016 & 0.046544 \tabularnewline
21 & -0.214639 & -1.8339 & 0.035374 \tabularnewline
22 & -0.182466 & -1.559 & 0.061662 \tabularnewline
23 & -0.118661 & -1.0138 & 0.157003 \tabularnewline
24 & -0.104811 & -0.8955 & 0.186731 \tabularnewline
25 & -0.214246 & -1.8305 & 0.035627 \tabularnewline
26 & -0.338835 & -2.895 & 0.002499 \tabularnewline
27 & -0.408008 & -3.486 & 0.000417 \tabularnewline
28 & -0.415865 & -3.5531 & 0.000336 \tabularnewline
29 & -0.391138 & -3.3419 & 0.000657 \tabularnewline
30 & -0.386059 & -3.2985 & 0.000752 \tabularnewline
31 & -0.404763 & -3.4583 & 0.000455 \tabularnewline
32 & -0.414877 & -3.5447 & 0.000345 \tabularnewline
33 & -0.385445 & -3.2932 & 0.000764 \tabularnewline
34 & -0.318992 & -2.7255 & 0.004016 \tabularnewline
35 & -0.233936 & -1.9987 & 0.02468 \tabularnewline
36 & -0.186934 & -1.5972 & 0.057275 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=75520&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.889716[/C][C]7.6017[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]0.721254[/C][C]6.1624[/C][C]0[/C][/ROW]
[ROW][C]3[/C][C]0.608014[/C][C]5.1949[/C][C]1e-06[/C][/ROW]
[ROW][C]4[/C][C]0.564373[/C][C]4.822[/C][C]4e-06[/C][/ROW]
[ROW][C]5[/C][C]0.565276[/C][C]4.8297[/C][C]4e-06[/C][/ROW]
[ROW][C]6[/C][C]0.540295[/C][C]4.6163[/C][C]8e-06[/C][/ROW]
[ROW][C]7[/C][C]0.470946[/C][C]4.0238[/C][C]6.9e-05[/C][/ROW]
[ROW][C]8[/C][C]0.396647[/C][C]3.389[/C][C]0.000567[/C][/ROW]
[ROW][C]9[/C][C]0.369281[/C][C]3.1551[/C][C]0.001165[/C][/ROW]
[ROW][C]10[/C][C]0.397473[/C][C]3.396[/C][C]0.000555[/C][/ROW]
[ROW][C]11[/C][C]0.469123[/C][C]4.0082[/C][C]7.3e-05[/C][/ROW]
[ROW][C]12[/C][C]0.484453[/C][C]4.1392[/C][C]4.6e-05[/C][/ROW]
[ROW][C]13[/C][C]0.334773[/C][C]2.8603[/C][C]0.002758[/C][/ROW]
[ROW][C]14[/C][C]0.153789[/C][C]1.314[/C][C]0.096485[/C][/ROW]
[ROW][C]15[/C][C]0.028641[/C][C]0.2447[/C][C]0.403684[/C][/ROW]
[ROW][C]16[/C][C]-0.026401[/C][C]-0.2256[/C][C]0.411084[/C][/ROW]
[ROW][C]17[/C][C]-0.037907[/C][C]-0.3239[/C][C]0.373478[/C][/ROW]
[ROW][C]18[/C][C]-0.070322[/C][C]-0.6008[/C][C]0.274907[/C][/ROW]
[ROW][C]19[/C][C]-0.13604[/C][C]-1.1623[/C][C]0.124444[/C][/ROW]
[ROW][C]20[/C][C]-0.199156[/C][C]-1.7016[/C][C]0.046544[/C][/ROW]
[ROW][C]21[/C][C]-0.214639[/C][C]-1.8339[/C][C]0.035374[/C][/ROW]
[ROW][C]22[/C][C]-0.182466[/C][C]-1.559[/C][C]0.061662[/C][/ROW]
[ROW][C]23[/C][C]-0.118661[/C][C]-1.0138[/C][C]0.157003[/C][/ROW]
[ROW][C]24[/C][C]-0.104811[/C][C]-0.8955[/C][C]0.186731[/C][/ROW]
[ROW][C]25[/C][C]-0.214246[/C][C]-1.8305[/C][C]0.035627[/C][/ROW]
[ROW][C]26[/C][C]-0.338835[/C][C]-2.895[/C][C]0.002499[/C][/ROW]
[ROW][C]27[/C][C]-0.408008[/C][C]-3.486[/C][C]0.000417[/C][/ROW]
[ROW][C]28[/C][C]-0.415865[/C][C]-3.5531[/C][C]0.000336[/C][/ROW]
[ROW][C]29[/C][C]-0.391138[/C][C]-3.3419[/C][C]0.000657[/C][/ROW]
[ROW][C]30[/C][C]-0.386059[/C][C]-3.2985[/C][C]0.000752[/C][/ROW]
[ROW][C]31[/C][C]-0.404763[/C][C]-3.4583[/C][C]0.000455[/C][/ROW]
[ROW][C]32[/C][C]-0.414877[/C][C]-3.5447[/C][C]0.000345[/C][/ROW]
[ROW][C]33[/C][C]-0.385445[/C][C]-3.2932[/C][C]0.000764[/C][/ROW]
[ROW][C]34[/C][C]-0.318992[/C][C]-2.7255[/C][C]0.004016[/C][/ROW]
[ROW][C]35[/C][C]-0.233936[/C][C]-1.9987[/C][C]0.02468[/C][/ROW]
[ROW][C]36[/C][C]-0.186934[/C][C]-1.5972[/C][C]0.057275[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=75520&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=75520&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.8897167.60170
20.7212546.16240
30.6080145.19491e-06
40.5643734.8224e-06
50.5652764.82974e-06
60.5402954.61638e-06
70.4709464.02386.9e-05
80.3966473.3890.000567
90.3692813.15510.001165
100.3974733.3960.000555
110.4691234.00827.3e-05
120.4844534.13924.6e-05
130.3347732.86030.002758
140.1537891.3140.096485
150.0286410.24470.403684
16-0.026401-0.22560.411084
17-0.037907-0.32390.373478
18-0.070322-0.60080.274907
19-0.13604-1.16230.124444
20-0.199156-1.70160.046544
21-0.214639-1.83390.035374
22-0.182466-1.5590.061662
23-0.118661-1.01380.157003
24-0.104811-0.89550.186731
25-0.214246-1.83050.035627
26-0.338835-2.8950.002499
27-0.408008-3.4860.000417
28-0.415865-3.55310.000336
29-0.391138-3.34190.000657
30-0.386059-3.29850.000752
31-0.404763-3.45830.000455
32-0.414877-3.54470.000345
33-0.385445-3.29320.000764
34-0.318992-2.72550.004016
35-0.233936-1.99870.02468
36-0.186934-1.59720.057275







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.8897167.60170
2-0.337518-2.88380.00258
30.2708072.31380.011749
40.1179551.00780.158438
50.1345051.14920.12711
6-0.141155-1.2060.11585
7-0.039787-0.33990.36744
80.0255390.21820.413938
90.1491.27310.103518
100.1068040.91250.182246
110.2383932.03680.022647
12-0.256792-2.1940.015708
13-0.662467-5.66010
140.1452451.2410.109294
15-0.154437-1.31950.095561
16-0.060683-0.51850.302846
170.0150820.12890.448912
180.1198971.02440.154514
19-0.029303-0.25040.401504
20-0.07177-0.61320.270824
210.0810280.69230.245471
22-0.034157-0.29180.38562
23-0.067002-0.57250.284382
240.0466120.39830.345803
25-0.006048-0.05170.479465
26-0.03939-0.33650.368713
270.0306720.26210.397006
28-0.042545-0.36350.358638
29-0.052256-0.44650.328289
30-0.003985-0.0340.486466
310.0517910.44250.329716
32-0.008041-0.06870.472706
33-0.043429-0.37110.355834
340.0835270.71370.238859
35-0.034199-0.29220.385482
360.0969160.8280.205171

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & 0.889716 & 7.6017 & 0 \tabularnewline
2 & -0.337518 & -2.8838 & 0.00258 \tabularnewline
3 & 0.270807 & 2.3138 & 0.011749 \tabularnewline
4 & 0.117955 & 1.0078 & 0.158438 \tabularnewline
5 & 0.134505 & 1.1492 & 0.12711 \tabularnewline
6 & -0.141155 & -1.206 & 0.11585 \tabularnewline
7 & -0.039787 & -0.3399 & 0.36744 \tabularnewline
8 & 0.025539 & 0.2182 & 0.413938 \tabularnewline
9 & 0.149 & 1.2731 & 0.103518 \tabularnewline
10 & 0.106804 & 0.9125 & 0.182246 \tabularnewline
11 & 0.238393 & 2.0368 & 0.022647 \tabularnewline
12 & -0.256792 & -2.194 & 0.015708 \tabularnewline
13 & -0.662467 & -5.6601 & 0 \tabularnewline
14 & 0.145245 & 1.241 & 0.109294 \tabularnewline
15 & -0.154437 & -1.3195 & 0.095561 \tabularnewline
16 & -0.060683 & -0.5185 & 0.302846 \tabularnewline
17 & 0.015082 & 0.1289 & 0.448912 \tabularnewline
18 & 0.119897 & 1.0244 & 0.154514 \tabularnewline
19 & -0.029303 & -0.2504 & 0.401504 \tabularnewline
20 & -0.07177 & -0.6132 & 0.270824 \tabularnewline
21 & 0.081028 & 0.6923 & 0.245471 \tabularnewline
22 & -0.034157 & -0.2918 & 0.38562 \tabularnewline
23 & -0.067002 & -0.5725 & 0.284382 \tabularnewline
24 & 0.046612 & 0.3983 & 0.345803 \tabularnewline
25 & -0.006048 & -0.0517 & 0.479465 \tabularnewline
26 & -0.03939 & -0.3365 & 0.368713 \tabularnewline
27 & 0.030672 & 0.2621 & 0.397006 \tabularnewline
28 & -0.042545 & -0.3635 & 0.358638 \tabularnewline
29 & -0.052256 & -0.4465 & 0.328289 \tabularnewline
30 & -0.003985 & -0.034 & 0.486466 \tabularnewline
31 & 0.051791 & 0.4425 & 0.329716 \tabularnewline
32 & -0.008041 & -0.0687 & 0.472706 \tabularnewline
33 & -0.043429 & -0.3711 & 0.355834 \tabularnewline
34 & 0.083527 & 0.7137 & 0.238859 \tabularnewline
35 & -0.034199 & -0.2922 & 0.385482 \tabularnewline
36 & 0.096916 & 0.828 & 0.205171 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=75520&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.889716[/C][C]7.6017[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]-0.337518[/C][C]-2.8838[/C][C]0.00258[/C][/ROW]
[ROW][C]3[/C][C]0.270807[/C][C]2.3138[/C][C]0.011749[/C][/ROW]
[ROW][C]4[/C][C]0.117955[/C][C]1.0078[/C][C]0.158438[/C][/ROW]
[ROW][C]5[/C][C]0.134505[/C][C]1.1492[/C][C]0.12711[/C][/ROW]
[ROW][C]6[/C][C]-0.141155[/C][C]-1.206[/C][C]0.11585[/C][/ROW]
[ROW][C]7[/C][C]-0.039787[/C][C]-0.3399[/C][C]0.36744[/C][/ROW]
[ROW][C]8[/C][C]0.025539[/C][C]0.2182[/C][C]0.413938[/C][/ROW]
[ROW][C]9[/C][C]0.149[/C][C]1.2731[/C][C]0.103518[/C][/ROW]
[ROW][C]10[/C][C]0.106804[/C][C]0.9125[/C][C]0.182246[/C][/ROW]
[ROW][C]11[/C][C]0.238393[/C][C]2.0368[/C][C]0.022647[/C][/ROW]
[ROW][C]12[/C][C]-0.256792[/C][C]-2.194[/C][C]0.015708[/C][/ROW]
[ROW][C]13[/C][C]-0.662467[/C][C]-5.6601[/C][C]0[/C][/ROW]
[ROW][C]14[/C][C]0.145245[/C][C]1.241[/C][C]0.109294[/C][/ROW]
[ROW][C]15[/C][C]-0.154437[/C][C]-1.3195[/C][C]0.095561[/C][/ROW]
[ROW][C]16[/C][C]-0.060683[/C][C]-0.5185[/C][C]0.302846[/C][/ROW]
[ROW][C]17[/C][C]0.015082[/C][C]0.1289[/C][C]0.448912[/C][/ROW]
[ROW][C]18[/C][C]0.119897[/C][C]1.0244[/C][C]0.154514[/C][/ROW]
[ROW][C]19[/C][C]-0.029303[/C][C]-0.2504[/C][C]0.401504[/C][/ROW]
[ROW][C]20[/C][C]-0.07177[/C][C]-0.6132[/C][C]0.270824[/C][/ROW]
[ROW][C]21[/C][C]0.081028[/C][C]0.6923[/C][C]0.245471[/C][/ROW]
[ROW][C]22[/C][C]-0.034157[/C][C]-0.2918[/C][C]0.38562[/C][/ROW]
[ROW][C]23[/C][C]-0.067002[/C][C]-0.5725[/C][C]0.284382[/C][/ROW]
[ROW][C]24[/C][C]0.046612[/C][C]0.3983[/C][C]0.345803[/C][/ROW]
[ROW][C]25[/C][C]-0.006048[/C][C]-0.0517[/C][C]0.479465[/C][/ROW]
[ROW][C]26[/C][C]-0.03939[/C][C]-0.3365[/C][C]0.368713[/C][/ROW]
[ROW][C]27[/C][C]0.030672[/C][C]0.2621[/C][C]0.397006[/C][/ROW]
[ROW][C]28[/C][C]-0.042545[/C][C]-0.3635[/C][C]0.358638[/C][/ROW]
[ROW][C]29[/C][C]-0.052256[/C][C]-0.4465[/C][C]0.328289[/C][/ROW]
[ROW][C]30[/C][C]-0.003985[/C][C]-0.034[/C][C]0.486466[/C][/ROW]
[ROW][C]31[/C][C]0.051791[/C][C]0.4425[/C][C]0.329716[/C][/ROW]
[ROW][C]32[/C][C]-0.008041[/C][C]-0.0687[/C][C]0.472706[/C][/ROW]
[ROW][C]33[/C][C]-0.043429[/C][C]-0.3711[/C][C]0.355834[/C][/ROW]
[ROW][C]34[/C][C]0.083527[/C][C]0.7137[/C][C]0.238859[/C][/ROW]
[ROW][C]35[/C][C]-0.034199[/C][C]-0.2922[/C][C]0.385482[/C][/ROW]
[ROW][C]36[/C][C]0.096916[/C][C]0.828[/C][C]0.205171[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=75520&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=75520&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.8897167.60170
2-0.337518-2.88380.00258
30.2708072.31380.011749
40.1179551.00780.158438
50.1345051.14920.12711
6-0.141155-1.2060.11585
7-0.039787-0.33990.36744
80.0255390.21820.413938
90.1491.27310.103518
100.1068040.91250.182246
110.2383932.03680.022647
12-0.256792-2.1940.015708
13-0.662467-5.66010
140.1452451.2410.109294
15-0.154437-1.31950.095561
16-0.060683-0.51850.302846
170.0150820.12890.448912
180.1198971.02440.154514
19-0.029303-0.25040.401504
20-0.07177-0.61320.270824
210.0810280.69230.245471
22-0.034157-0.29180.38562
23-0.067002-0.57250.284382
240.0466120.39830.345803
25-0.006048-0.05170.479465
26-0.03939-0.33650.368713
270.0306720.26210.397006
28-0.042545-0.36350.358638
29-0.052256-0.44650.328289
30-0.003985-0.0340.486466
310.0517910.44250.329716
32-0.008041-0.06870.472706
33-0.043429-0.37110.355834
340.0835270.71370.238859
35-0.034199-0.29220.385482
360.0969160.8280.205171



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