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 computationMon, 30 Nov 2009 11:27:52 -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/30/t125960573124wx908qaj22wu6.htm/, Retrieved Wed, 01 May 2024 22:55:14 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=61849, Retrieved Wed, 01 May 2024 22:55:14 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact112
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [(Partial) Autocorrelation Function] [Autocorrelatie fu...] [2009-11-28 09:54:59] [1d635fe1113b56bab3f378c464a289bc]
-   P     [(Partial) Autocorrelation Function] [verbetering 2] [2009-11-30 18:27:52] [37de18e38c1490dd77c2b362ed87f3bb] [Current]
Feedback Forum

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




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=61849&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.888786.88450
20.7475285.79030
30.6527945.05652e-06
40.6114594.73637e-06
50.6048754.68538e-06
60.5847774.52971.4e-05
70.5237734.05717.3e-05
80.4520053.50120.00044
90.4313383.34110.00072
100.4631983.58790.000336
110.5307124.11096.1e-05
120.5210674.03627.8e-05
130.3712582.87580.002786
140.2152021.66690.050369
150.1105840.85660.197542
160.0514930.39890.345706
170.0247570.19180.424288
18-0.013096-0.10140.459768
19-0.079261-0.61390.270785
20-0.145891-1.13010.131473
21-0.164382-1.27330.103912
22-0.1411-1.0930.139391
23-0.09012-0.69810.243917
24-0.106419-0.82430.206512
25-0.217163-1.68210.04887
26-0.315345-2.44260.008771
27-0.367514-2.84680.003019
28-0.383294-2.9690.002145
29-0.374875-2.90380.002577
30-0.380379-2.94640.002286
31-0.400342-3.1010.001468
32-0.413749-3.20490.001083
33-0.390848-3.02750.001816
34-0.334452-2.59070.006004
35-0.269159-2.08490.020671
36-0.256682-1.98820.025676

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & 0.88878 & 6.8845 & 0 \tabularnewline
2 & 0.747528 & 5.7903 & 0 \tabularnewline
3 & 0.652794 & 5.0565 & 2e-06 \tabularnewline
4 & 0.611459 & 4.7363 & 7e-06 \tabularnewline
5 & 0.604875 & 4.6853 & 8e-06 \tabularnewline
6 & 0.584777 & 4.5297 & 1.4e-05 \tabularnewline
7 & 0.523773 & 4.0571 & 7.3e-05 \tabularnewline
8 & 0.452005 & 3.5012 & 0.00044 \tabularnewline
9 & 0.431338 & 3.3411 & 0.00072 \tabularnewline
10 & 0.463198 & 3.5879 & 0.000336 \tabularnewline
11 & 0.530712 & 4.1109 & 6.1e-05 \tabularnewline
12 & 0.521067 & 4.0362 & 7.8e-05 \tabularnewline
13 & 0.371258 & 2.8758 & 0.002786 \tabularnewline
14 & 0.215202 & 1.6669 & 0.050369 \tabularnewline
15 & 0.110584 & 0.8566 & 0.197542 \tabularnewline
16 & 0.051493 & 0.3989 & 0.345706 \tabularnewline
17 & 0.024757 & 0.1918 & 0.424288 \tabularnewline
18 & -0.013096 & -0.1014 & 0.459768 \tabularnewline
19 & -0.079261 & -0.6139 & 0.270785 \tabularnewline
20 & -0.145891 & -1.1301 & 0.131473 \tabularnewline
21 & -0.164382 & -1.2733 & 0.103912 \tabularnewline
22 & -0.1411 & -1.093 & 0.139391 \tabularnewline
23 & -0.09012 & -0.6981 & 0.243917 \tabularnewline
24 & -0.106419 & -0.8243 & 0.206512 \tabularnewline
25 & -0.217163 & -1.6821 & 0.04887 \tabularnewline
26 & -0.315345 & -2.4426 & 0.008771 \tabularnewline
27 & -0.367514 & -2.8468 & 0.003019 \tabularnewline
28 & -0.383294 & -2.969 & 0.002145 \tabularnewline
29 & -0.374875 & -2.9038 & 0.002577 \tabularnewline
30 & -0.380379 & -2.9464 & 0.002286 \tabularnewline
31 & -0.400342 & -3.101 & 0.001468 \tabularnewline
32 & -0.413749 & -3.2049 & 0.001083 \tabularnewline
33 & -0.390848 & -3.0275 & 0.001816 \tabularnewline
34 & -0.334452 & -2.5907 & 0.006004 \tabularnewline
35 & -0.269159 & -2.0849 & 0.020671 \tabularnewline
36 & -0.256682 & -1.9882 & 0.025676 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=61849&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.88878[/C][C]6.8845[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]0.747528[/C][C]5.7903[/C][C]0[/C][/ROW]
[ROW][C]3[/C][C]0.652794[/C][C]5.0565[/C][C]2e-06[/C][/ROW]
[ROW][C]4[/C][C]0.611459[/C][C]4.7363[/C][C]7e-06[/C][/ROW]
[ROW][C]5[/C][C]0.604875[/C][C]4.6853[/C][C]8e-06[/C][/ROW]
[ROW][C]6[/C][C]0.584777[/C][C]4.5297[/C][C]1.4e-05[/C][/ROW]
[ROW][C]7[/C][C]0.523773[/C][C]4.0571[/C][C]7.3e-05[/C][/ROW]
[ROW][C]8[/C][C]0.452005[/C][C]3.5012[/C][C]0.00044[/C][/ROW]
[ROW][C]9[/C][C]0.431338[/C][C]3.3411[/C][C]0.00072[/C][/ROW]
[ROW][C]10[/C][C]0.463198[/C][C]3.5879[/C][C]0.000336[/C][/ROW]
[ROW][C]11[/C][C]0.530712[/C][C]4.1109[/C][C]6.1e-05[/C][/ROW]
[ROW][C]12[/C][C]0.521067[/C][C]4.0362[/C][C]7.8e-05[/C][/ROW]
[ROW][C]13[/C][C]0.371258[/C][C]2.8758[/C][C]0.002786[/C][/ROW]
[ROW][C]14[/C][C]0.215202[/C][C]1.6669[/C][C]0.050369[/C][/ROW]
[ROW][C]15[/C][C]0.110584[/C][C]0.8566[/C][C]0.197542[/C][/ROW]
[ROW][C]16[/C][C]0.051493[/C][C]0.3989[/C][C]0.345706[/C][/ROW]
[ROW][C]17[/C][C]0.024757[/C][C]0.1918[/C][C]0.424288[/C][/ROW]
[ROW][C]18[/C][C]-0.013096[/C][C]-0.1014[/C][C]0.459768[/C][/ROW]
[ROW][C]19[/C][C]-0.079261[/C][C]-0.6139[/C][C]0.270785[/C][/ROW]
[ROW][C]20[/C][C]-0.145891[/C][C]-1.1301[/C][C]0.131473[/C][/ROW]
[ROW][C]21[/C][C]-0.164382[/C][C]-1.2733[/C][C]0.103912[/C][/ROW]
[ROW][C]22[/C][C]-0.1411[/C][C]-1.093[/C][C]0.139391[/C][/ROW]
[ROW][C]23[/C][C]-0.09012[/C][C]-0.6981[/C][C]0.243917[/C][/ROW]
[ROW][C]24[/C][C]-0.106419[/C][C]-0.8243[/C][C]0.206512[/C][/ROW]
[ROW][C]25[/C][C]-0.217163[/C][C]-1.6821[/C][C]0.04887[/C][/ROW]
[ROW][C]26[/C][C]-0.315345[/C][C]-2.4426[/C][C]0.008771[/C][/ROW]
[ROW][C]27[/C][C]-0.367514[/C][C]-2.8468[/C][C]0.003019[/C][/ROW]
[ROW][C]28[/C][C]-0.383294[/C][C]-2.969[/C][C]0.002145[/C][/ROW]
[ROW][C]29[/C][C]-0.374875[/C][C]-2.9038[/C][C]0.002577[/C][/ROW]
[ROW][C]30[/C][C]-0.380379[/C][C]-2.9464[/C][C]0.002286[/C][/ROW]
[ROW][C]31[/C][C]-0.400342[/C][C]-3.101[/C][C]0.001468[/C][/ROW]
[ROW][C]32[/C][C]-0.413749[/C][C]-3.2049[/C][C]0.001083[/C][/ROW]
[ROW][C]33[/C][C]-0.390848[/C][C]-3.0275[/C][C]0.001816[/C][/ROW]
[ROW][C]34[/C][C]-0.334452[/C][C]-2.5907[/C][C]0.006004[/C][/ROW]
[ROW][C]35[/C][C]-0.269159[/C][C]-2.0849[/C][C]0.020671[/C][/ROW]
[ROW][C]36[/C][C]-0.256682[/C][C]-1.9882[/C][C]0.025676[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=61849&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=61849&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.888786.88450
20.7475285.79030
30.6527945.05652e-06
40.6114594.73637e-06
50.6048754.68538e-06
60.5847774.52971.4e-05
70.5237734.05717.3e-05
80.4520053.50120.00044
90.4313383.34110.00072
100.4631983.58790.000336
110.5307124.11096.1e-05
120.5210674.03627.8e-05
130.3712582.87580.002786
140.2152021.66690.050369
150.1105840.85660.197542
160.0514930.39890.345706
170.0247570.19180.424288
18-0.013096-0.10140.459768
19-0.079261-0.61390.270785
20-0.145891-1.13010.131473
21-0.164382-1.27330.103912
22-0.1411-1.0930.139391
23-0.09012-0.69810.243917
24-0.106419-0.82430.206512
25-0.217163-1.68210.04887
26-0.315345-2.44260.008771
27-0.367514-2.84680.003019
28-0.383294-2.9690.002145
29-0.374875-2.90380.002577
30-0.380379-2.94640.002286
31-0.400342-3.1010.001468
32-0.413749-3.20490.001083
33-0.390848-3.02750.001816
34-0.334452-2.59070.006004
35-0.269159-2.08490.020671
36-0.256682-1.98820.025676







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.888786.88450
2-0.201845-1.56350.061599
30.1672271.29530.100083
40.14251.10380.137043
50.1269460.98330.164699
6-0.036287-0.28110.389808
7-0.110394-0.85510.197947
8-0.00806-0.06240.475212
90.1889491.46360.074262
100.1451551.12440.132668
110.2067041.60110.057301
12-0.285578-2.21210.01539
13-0.568851-4.40632.2e-05
14-0.097299-0.75370.226996
15-0.057952-0.44890.327562
16-0.101301-0.78470.217866
170.0169470.13130.448001
180.027650.21420.415568
190.0930530.72080.236921
20-0.035894-0.2780.390972
21-0.078839-0.61070.271858
22-0.131563-1.01910.156128
230.1015790.78680.217239
240.1223110.94740.173613
25-0.029697-0.230.409425
260.0463360.35890.36046
270.0380630.29480.384569
28-0.034352-0.26610.39554
29-0.05261-0.40750.34254
30-0.121352-0.940.175497
310.0896440.69440.245063
320.0682860.52890.2994
330.0228540.1770.430043
34-0.030661-0.23750.40654
35-0.077636-0.60140.274932
360.0645810.50020.309367

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & 0.88878 & 6.8845 & 0 \tabularnewline
2 & -0.201845 & -1.5635 & 0.061599 \tabularnewline
3 & 0.167227 & 1.2953 & 0.100083 \tabularnewline
4 & 0.1425 & 1.1038 & 0.137043 \tabularnewline
5 & 0.126946 & 0.9833 & 0.164699 \tabularnewline
6 & -0.036287 & -0.2811 & 0.389808 \tabularnewline
7 & -0.110394 & -0.8551 & 0.197947 \tabularnewline
8 & -0.00806 & -0.0624 & 0.475212 \tabularnewline
9 & 0.188949 & 1.4636 & 0.074262 \tabularnewline
10 & 0.145155 & 1.1244 & 0.132668 \tabularnewline
11 & 0.206704 & 1.6011 & 0.057301 \tabularnewline
12 & -0.285578 & -2.2121 & 0.01539 \tabularnewline
13 & -0.568851 & -4.4063 & 2.2e-05 \tabularnewline
14 & -0.097299 & -0.7537 & 0.226996 \tabularnewline
15 & -0.057952 & -0.4489 & 0.327562 \tabularnewline
16 & -0.101301 & -0.7847 & 0.217866 \tabularnewline
17 & 0.016947 & 0.1313 & 0.448001 \tabularnewline
18 & 0.02765 & 0.2142 & 0.415568 \tabularnewline
19 & 0.093053 & 0.7208 & 0.236921 \tabularnewline
20 & -0.035894 & -0.278 & 0.390972 \tabularnewline
21 & -0.078839 & -0.6107 & 0.271858 \tabularnewline
22 & -0.131563 & -1.0191 & 0.156128 \tabularnewline
23 & 0.101579 & 0.7868 & 0.217239 \tabularnewline
24 & 0.122311 & 0.9474 & 0.173613 \tabularnewline
25 & -0.029697 & -0.23 & 0.409425 \tabularnewline
26 & 0.046336 & 0.3589 & 0.36046 \tabularnewline
27 & 0.038063 & 0.2948 & 0.384569 \tabularnewline
28 & -0.034352 & -0.2661 & 0.39554 \tabularnewline
29 & -0.05261 & -0.4075 & 0.34254 \tabularnewline
30 & -0.121352 & -0.94 & 0.175497 \tabularnewline
31 & 0.089644 & 0.6944 & 0.245063 \tabularnewline
32 & 0.068286 & 0.5289 & 0.2994 \tabularnewline
33 & 0.022854 & 0.177 & 0.430043 \tabularnewline
34 & -0.030661 & -0.2375 & 0.40654 \tabularnewline
35 & -0.077636 & -0.6014 & 0.274932 \tabularnewline
36 & 0.064581 & 0.5002 & 0.309367 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=61849&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.88878[/C][C]6.8845[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]-0.201845[/C][C]-1.5635[/C][C]0.061599[/C][/ROW]
[ROW][C]3[/C][C]0.167227[/C][C]1.2953[/C][C]0.100083[/C][/ROW]
[ROW][C]4[/C][C]0.1425[/C][C]1.1038[/C][C]0.137043[/C][/ROW]
[ROW][C]5[/C][C]0.126946[/C][C]0.9833[/C][C]0.164699[/C][/ROW]
[ROW][C]6[/C][C]-0.036287[/C][C]-0.2811[/C][C]0.389808[/C][/ROW]
[ROW][C]7[/C][C]-0.110394[/C][C]-0.8551[/C][C]0.197947[/C][/ROW]
[ROW][C]8[/C][C]-0.00806[/C][C]-0.0624[/C][C]0.475212[/C][/ROW]
[ROW][C]9[/C][C]0.188949[/C][C]1.4636[/C][C]0.074262[/C][/ROW]
[ROW][C]10[/C][C]0.145155[/C][C]1.1244[/C][C]0.132668[/C][/ROW]
[ROW][C]11[/C][C]0.206704[/C][C]1.6011[/C][C]0.057301[/C][/ROW]
[ROW][C]12[/C][C]-0.285578[/C][C]-2.2121[/C][C]0.01539[/C][/ROW]
[ROW][C]13[/C][C]-0.568851[/C][C]-4.4063[/C][C]2.2e-05[/C][/ROW]
[ROW][C]14[/C][C]-0.097299[/C][C]-0.7537[/C][C]0.226996[/C][/ROW]
[ROW][C]15[/C][C]-0.057952[/C][C]-0.4489[/C][C]0.327562[/C][/ROW]
[ROW][C]16[/C][C]-0.101301[/C][C]-0.7847[/C][C]0.217866[/C][/ROW]
[ROW][C]17[/C][C]0.016947[/C][C]0.1313[/C][C]0.448001[/C][/ROW]
[ROW][C]18[/C][C]0.02765[/C][C]0.2142[/C][C]0.415568[/C][/ROW]
[ROW][C]19[/C][C]0.093053[/C][C]0.7208[/C][C]0.236921[/C][/ROW]
[ROW][C]20[/C][C]-0.035894[/C][C]-0.278[/C][C]0.390972[/C][/ROW]
[ROW][C]21[/C][C]-0.078839[/C][C]-0.6107[/C][C]0.271858[/C][/ROW]
[ROW][C]22[/C][C]-0.131563[/C][C]-1.0191[/C][C]0.156128[/C][/ROW]
[ROW][C]23[/C][C]0.101579[/C][C]0.7868[/C][C]0.217239[/C][/ROW]
[ROW][C]24[/C][C]0.122311[/C][C]0.9474[/C][C]0.173613[/C][/ROW]
[ROW][C]25[/C][C]-0.029697[/C][C]-0.23[/C][C]0.409425[/C][/ROW]
[ROW][C]26[/C][C]0.046336[/C][C]0.3589[/C][C]0.36046[/C][/ROW]
[ROW][C]27[/C][C]0.038063[/C][C]0.2948[/C][C]0.384569[/C][/ROW]
[ROW][C]28[/C][C]-0.034352[/C][C]-0.2661[/C][C]0.39554[/C][/ROW]
[ROW][C]29[/C][C]-0.05261[/C][C]-0.4075[/C][C]0.34254[/C][/ROW]
[ROW][C]30[/C][C]-0.121352[/C][C]-0.94[/C][C]0.175497[/C][/ROW]
[ROW][C]31[/C][C]0.089644[/C][C]0.6944[/C][C]0.245063[/C][/ROW]
[ROW][C]32[/C][C]0.068286[/C][C]0.5289[/C][C]0.2994[/C][/ROW]
[ROW][C]33[/C][C]0.022854[/C][C]0.177[/C][C]0.430043[/C][/ROW]
[ROW][C]34[/C][C]-0.030661[/C][C]-0.2375[/C][C]0.40654[/C][/ROW]
[ROW][C]35[/C][C]-0.077636[/C][C]-0.6014[/C][C]0.274932[/C][/ROW]
[ROW][C]36[/C][C]0.064581[/C][C]0.5002[/C][C]0.309367[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=61849&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=61849&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.888786.88450
2-0.201845-1.56350.061599
30.1672271.29530.100083
40.14251.10380.137043
50.1269460.98330.164699
6-0.036287-0.28110.389808
7-0.110394-0.85510.197947
8-0.00806-0.06240.475212
90.1889491.46360.074262
100.1451551.12440.132668
110.2067041.60110.057301
12-0.285578-2.21210.01539
13-0.568851-4.40632.2e-05
14-0.097299-0.75370.226996
15-0.057952-0.44890.327562
16-0.101301-0.78470.217866
170.0169470.13130.448001
180.027650.21420.415568
190.0930530.72080.236921
20-0.035894-0.2780.390972
21-0.078839-0.61070.271858
22-0.131563-1.01910.156128
230.1015790.78680.217239
240.1223110.94740.173613
25-0.029697-0.230.409425
260.0463360.35890.36046
270.0380630.29480.384569
28-0.034352-0.26610.39554
29-0.05261-0.40750.34254
30-0.121352-0.940.175497
310.0896440.69440.245063
320.0682860.52890.2994
330.0228540.1770.430043
34-0.030661-0.23750.40654
35-0.077636-0.60140.274932
360.0645810.50020.309367



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')