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 computationThu, 03 Dec 2009 08:41:12 -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/Dec/03/t12598549697fsw2o4mlkuju1f.htm/, Retrieved Fri, 29 Mar 2024 14:43:50 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=62850, Retrieved Fri, 29 Mar 2024 14:43:50 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact124
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Univariate Data Series] [data set] [2008-12-01 19:54:57] [b98453cac15ba1066b407e146608df68]
- RMP   [(Partial) Autocorrelation Function] [] [2009-11-27 14:46:03] [b98453cac15ba1066b407e146608df68]
- R PD      [(Partial) Autocorrelation Function] [] [2009-12-03 15:41:12] [c588bf81b9040ce04d6292d0d83341a9] [Current]
Feedback Forum

Post a new message
Dataseries X:
22
22
20
21
20
21
21
21
19
21
21
22
19
24
22
22
22
24
22
23
24
21
20
22
23
23
22
20
21
21
20
20
17
18
19
19
20
21
20
21
19
22
20
18
16
17
18
19
18
20
21
18
19
19
19
21
19
19
17
16
16
17
16
15
16
16
16
18
19
16
16
16




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 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 & 2 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=62850&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]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=62850&T=0

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







Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.7402056.28080
20.6431315.45710
30.5667314.80894e-06
40.561024.76045e-06
50.4932894.18574e-05
60.4852454.11745e-05
70.3971743.37010.000605
80.3597873.05290.001587
90.2987252.53480.006713
100.3333612.82870.003025
110.3376542.86510.00273
120.3072692.60730.005544
130.2932232.48810.007579
140.2358292.00110.024577
150.1891051.60460.056479
160.1823941.54770.063044
170.1683481.42850.078739
180.1676391.42250.079605
190.1209151.0260.154163
200.0811940.6890.246534
210.0414720.35190.362969
220.0417640.35440.362045
230.0253830.21540.415038
240.0436810.37060.355994
250.0279680.23730.406544
260.0345950.29350.384974
27-0.036804-0.31230.377861
28-0.065188-0.55310.29094
29-0.101909-0.86470.19503
30-0.071274-0.60480.273614
31-0.092322-0.78340.217986
32-0.113038-0.95920.170345
33-0.140755-1.19430.118131
34-0.163138-1.38430.085276
35-0.158178-1.34220.091877
36-0.109537-0.92940.177881

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & 0.740205 & 6.2808 & 0 \tabularnewline
2 & 0.643131 & 5.4571 & 0 \tabularnewline
3 & 0.566731 & 4.8089 & 4e-06 \tabularnewline
4 & 0.56102 & 4.7604 & 5e-06 \tabularnewline
5 & 0.493289 & 4.1857 & 4e-05 \tabularnewline
6 & 0.485245 & 4.1174 & 5e-05 \tabularnewline
7 & 0.397174 & 3.3701 & 0.000605 \tabularnewline
8 & 0.359787 & 3.0529 & 0.001587 \tabularnewline
9 & 0.298725 & 2.5348 & 0.006713 \tabularnewline
10 & 0.333361 & 2.8287 & 0.003025 \tabularnewline
11 & 0.337654 & 2.8651 & 0.00273 \tabularnewline
12 & 0.307269 & 2.6073 & 0.005544 \tabularnewline
13 & 0.293223 & 2.4881 & 0.007579 \tabularnewline
14 & 0.235829 & 2.0011 & 0.024577 \tabularnewline
15 & 0.189105 & 1.6046 & 0.056479 \tabularnewline
16 & 0.182394 & 1.5477 & 0.063044 \tabularnewline
17 & 0.168348 & 1.4285 & 0.078739 \tabularnewline
18 & 0.167639 & 1.4225 & 0.079605 \tabularnewline
19 & 0.120915 & 1.026 & 0.154163 \tabularnewline
20 & 0.081194 & 0.689 & 0.246534 \tabularnewline
21 & 0.041472 & 0.3519 & 0.362969 \tabularnewline
22 & 0.041764 & 0.3544 & 0.362045 \tabularnewline
23 & 0.025383 & 0.2154 & 0.415038 \tabularnewline
24 & 0.043681 & 0.3706 & 0.355994 \tabularnewline
25 & 0.027968 & 0.2373 & 0.406544 \tabularnewline
26 & 0.034595 & 0.2935 & 0.384974 \tabularnewline
27 & -0.036804 & -0.3123 & 0.377861 \tabularnewline
28 & -0.065188 & -0.5531 & 0.29094 \tabularnewline
29 & -0.101909 & -0.8647 & 0.19503 \tabularnewline
30 & -0.071274 & -0.6048 & 0.273614 \tabularnewline
31 & -0.092322 & -0.7834 & 0.217986 \tabularnewline
32 & -0.113038 & -0.9592 & 0.170345 \tabularnewline
33 & -0.140755 & -1.1943 & 0.118131 \tabularnewline
34 & -0.163138 & -1.3843 & 0.085276 \tabularnewline
35 & -0.158178 & -1.3422 & 0.091877 \tabularnewline
36 & -0.109537 & -0.9294 & 0.177881 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=62850&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.740205[/C][C]6.2808[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]0.643131[/C][C]5.4571[/C][C]0[/C][/ROW]
[ROW][C]3[/C][C]0.566731[/C][C]4.8089[/C][C]4e-06[/C][/ROW]
[ROW][C]4[/C][C]0.56102[/C][C]4.7604[/C][C]5e-06[/C][/ROW]
[ROW][C]5[/C][C]0.493289[/C][C]4.1857[/C][C]4e-05[/C][/ROW]
[ROW][C]6[/C][C]0.485245[/C][C]4.1174[/C][C]5e-05[/C][/ROW]
[ROW][C]7[/C][C]0.397174[/C][C]3.3701[/C][C]0.000605[/C][/ROW]
[ROW][C]8[/C][C]0.359787[/C][C]3.0529[/C][C]0.001587[/C][/ROW]
[ROW][C]9[/C][C]0.298725[/C][C]2.5348[/C][C]0.006713[/C][/ROW]
[ROW][C]10[/C][C]0.333361[/C][C]2.8287[/C][C]0.003025[/C][/ROW]
[ROW][C]11[/C][C]0.337654[/C][C]2.8651[/C][C]0.00273[/C][/ROW]
[ROW][C]12[/C][C]0.307269[/C][C]2.6073[/C][C]0.005544[/C][/ROW]
[ROW][C]13[/C][C]0.293223[/C][C]2.4881[/C][C]0.007579[/C][/ROW]
[ROW][C]14[/C][C]0.235829[/C][C]2.0011[/C][C]0.024577[/C][/ROW]
[ROW][C]15[/C][C]0.189105[/C][C]1.6046[/C][C]0.056479[/C][/ROW]
[ROW][C]16[/C][C]0.182394[/C][C]1.5477[/C][C]0.063044[/C][/ROW]
[ROW][C]17[/C][C]0.168348[/C][C]1.4285[/C][C]0.078739[/C][/ROW]
[ROW][C]18[/C][C]0.167639[/C][C]1.4225[/C][C]0.079605[/C][/ROW]
[ROW][C]19[/C][C]0.120915[/C][C]1.026[/C][C]0.154163[/C][/ROW]
[ROW][C]20[/C][C]0.081194[/C][C]0.689[/C][C]0.246534[/C][/ROW]
[ROW][C]21[/C][C]0.041472[/C][C]0.3519[/C][C]0.362969[/C][/ROW]
[ROW][C]22[/C][C]0.041764[/C][C]0.3544[/C][C]0.362045[/C][/ROW]
[ROW][C]23[/C][C]0.025383[/C][C]0.2154[/C][C]0.415038[/C][/ROW]
[ROW][C]24[/C][C]0.043681[/C][C]0.3706[/C][C]0.355994[/C][/ROW]
[ROW][C]25[/C][C]0.027968[/C][C]0.2373[/C][C]0.406544[/C][/ROW]
[ROW][C]26[/C][C]0.034595[/C][C]0.2935[/C][C]0.384974[/C][/ROW]
[ROW][C]27[/C][C]-0.036804[/C][C]-0.3123[/C][C]0.377861[/C][/ROW]
[ROW][C]28[/C][C]-0.065188[/C][C]-0.5531[/C][C]0.29094[/C][/ROW]
[ROW][C]29[/C][C]-0.101909[/C][C]-0.8647[/C][C]0.19503[/C][/ROW]
[ROW][C]30[/C][C]-0.071274[/C][C]-0.6048[/C][C]0.273614[/C][/ROW]
[ROW][C]31[/C][C]-0.092322[/C][C]-0.7834[/C][C]0.217986[/C][/ROW]
[ROW][C]32[/C][C]-0.113038[/C][C]-0.9592[/C][C]0.170345[/C][/ROW]
[ROW][C]33[/C][C]-0.140755[/C][C]-1.1943[/C][C]0.118131[/C][/ROW]
[ROW][C]34[/C][C]-0.163138[/C][C]-1.3843[/C][C]0.085276[/C][/ROW]
[ROW][C]35[/C][C]-0.158178[/C][C]-1.3422[/C][C]0.091877[/C][/ROW]
[ROW][C]36[/C][C]-0.109537[/C][C]-0.9294[/C][C]0.177881[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=62850&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=62850&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.7402056.28080
20.6431315.45710
30.5667314.80894e-06
40.561024.76045e-06
50.4932894.18574e-05
60.4852454.11745e-05
70.3971743.37010.000605
80.3597873.05290.001587
90.2987252.53480.006713
100.3333612.82870.003025
110.3376542.86510.00273
120.3072692.60730.005544
130.2932232.48810.007579
140.2358292.00110.024577
150.1891051.60460.056479
160.1823941.54770.063044
170.1683481.42850.078739
180.1676391.42250.079605
190.1209151.0260.154163
200.0811940.6890.246534
210.0414720.35190.362969
220.0417640.35440.362045
230.0253830.21540.415038
240.0436810.37060.355994
250.0279680.23730.406544
260.0345950.29350.384974
27-0.036804-0.31230.377861
28-0.065188-0.55310.29094
29-0.101909-0.86470.19503
30-0.071274-0.60480.273614
31-0.092322-0.78340.217986
32-0.113038-0.95920.170345
33-0.140755-1.19430.118131
34-0.163138-1.38430.085276
35-0.158178-1.34220.091877
36-0.109537-0.92940.177881







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.7402056.28080
20.2106351.78730.039049
30.0811060.68820.246766
40.173681.47370.072458
5-0.02603-0.22090.412907
60.0983880.83490.203282
7-0.108552-0.92110.180038
8-0.006843-0.05810.476929
9-0.045301-0.38440.35091
100.1357041.15150.126671
110.0920530.78110.218653
12-0.049653-0.42130.337389
130.0677560.57490.283566
14-0.135315-1.14820.127347
15-0.054989-0.46660.321098
160.0076230.06470.474301
17-0.023099-0.1960.42258
180.0794280.6740.251244
19-0.072628-0.61630.269831
20-0.014737-0.12510.450416
21-0.079589-0.67530.250813
220.0152920.12980.44856
23-0.02778-0.23570.40716
240.0384240.3260.37267
250.0539440.45770.324263
260.0209070.17740.429845
27-0.123787-1.05040.148531
28-0.095564-0.81090.21005
29-0.092238-0.78270.218196
300.0737030.62540.266847
310.0049680.04220.483245
32-0.010575-0.08970.464376
330.0300040.25460.399883
34-0.081243-0.68940.246403
350.0212470.18030.428717
360.0397380.33720.368479

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & 0.740205 & 6.2808 & 0 \tabularnewline
2 & 0.210635 & 1.7873 & 0.039049 \tabularnewline
3 & 0.081106 & 0.6882 & 0.246766 \tabularnewline
4 & 0.17368 & 1.4737 & 0.072458 \tabularnewline
5 & -0.02603 & -0.2209 & 0.412907 \tabularnewline
6 & 0.098388 & 0.8349 & 0.203282 \tabularnewline
7 & -0.108552 & -0.9211 & 0.180038 \tabularnewline
8 & -0.006843 & -0.0581 & 0.476929 \tabularnewline
9 & -0.045301 & -0.3844 & 0.35091 \tabularnewline
10 & 0.135704 & 1.1515 & 0.126671 \tabularnewline
11 & 0.092053 & 0.7811 & 0.218653 \tabularnewline
12 & -0.049653 & -0.4213 & 0.337389 \tabularnewline
13 & 0.067756 & 0.5749 & 0.283566 \tabularnewline
14 & -0.135315 & -1.1482 & 0.127347 \tabularnewline
15 & -0.054989 & -0.4666 & 0.321098 \tabularnewline
16 & 0.007623 & 0.0647 & 0.474301 \tabularnewline
17 & -0.023099 & -0.196 & 0.42258 \tabularnewline
18 & 0.079428 & 0.674 & 0.251244 \tabularnewline
19 & -0.072628 & -0.6163 & 0.269831 \tabularnewline
20 & -0.014737 & -0.1251 & 0.450416 \tabularnewline
21 & -0.079589 & -0.6753 & 0.250813 \tabularnewline
22 & 0.015292 & 0.1298 & 0.44856 \tabularnewline
23 & -0.02778 & -0.2357 & 0.40716 \tabularnewline
24 & 0.038424 & 0.326 & 0.37267 \tabularnewline
25 & 0.053944 & 0.4577 & 0.324263 \tabularnewline
26 & 0.020907 & 0.1774 & 0.429845 \tabularnewline
27 & -0.123787 & -1.0504 & 0.148531 \tabularnewline
28 & -0.095564 & -0.8109 & 0.21005 \tabularnewline
29 & -0.092238 & -0.7827 & 0.218196 \tabularnewline
30 & 0.073703 & 0.6254 & 0.266847 \tabularnewline
31 & 0.004968 & 0.0422 & 0.483245 \tabularnewline
32 & -0.010575 & -0.0897 & 0.464376 \tabularnewline
33 & 0.030004 & 0.2546 & 0.399883 \tabularnewline
34 & -0.081243 & -0.6894 & 0.246403 \tabularnewline
35 & 0.021247 & 0.1803 & 0.428717 \tabularnewline
36 & 0.039738 & 0.3372 & 0.368479 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=62850&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.740205[/C][C]6.2808[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]0.210635[/C][C]1.7873[/C][C]0.039049[/C][/ROW]
[ROW][C]3[/C][C]0.081106[/C][C]0.6882[/C][C]0.246766[/C][/ROW]
[ROW][C]4[/C][C]0.17368[/C][C]1.4737[/C][C]0.072458[/C][/ROW]
[ROW][C]5[/C][C]-0.02603[/C][C]-0.2209[/C][C]0.412907[/C][/ROW]
[ROW][C]6[/C][C]0.098388[/C][C]0.8349[/C][C]0.203282[/C][/ROW]
[ROW][C]7[/C][C]-0.108552[/C][C]-0.9211[/C][C]0.180038[/C][/ROW]
[ROW][C]8[/C][C]-0.006843[/C][C]-0.0581[/C][C]0.476929[/C][/ROW]
[ROW][C]9[/C][C]-0.045301[/C][C]-0.3844[/C][C]0.35091[/C][/ROW]
[ROW][C]10[/C][C]0.135704[/C][C]1.1515[/C][C]0.126671[/C][/ROW]
[ROW][C]11[/C][C]0.092053[/C][C]0.7811[/C][C]0.218653[/C][/ROW]
[ROW][C]12[/C][C]-0.049653[/C][C]-0.4213[/C][C]0.337389[/C][/ROW]
[ROW][C]13[/C][C]0.067756[/C][C]0.5749[/C][C]0.283566[/C][/ROW]
[ROW][C]14[/C][C]-0.135315[/C][C]-1.1482[/C][C]0.127347[/C][/ROW]
[ROW][C]15[/C][C]-0.054989[/C][C]-0.4666[/C][C]0.321098[/C][/ROW]
[ROW][C]16[/C][C]0.007623[/C][C]0.0647[/C][C]0.474301[/C][/ROW]
[ROW][C]17[/C][C]-0.023099[/C][C]-0.196[/C][C]0.42258[/C][/ROW]
[ROW][C]18[/C][C]0.079428[/C][C]0.674[/C][C]0.251244[/C][/ROW]
[ROW][C]19[/C][C]-0.072628[/C][C]-0.6163[/C][C]0.269831[/C][/ROW]
[ROW][C]20[/C][C]-0.014737[/C][C]-0.1251[/C][C]0.450416[/C][/ROW]
[ROW][C]21[/C][C]-0.079589[/C][C]-0.6753[/C][C]0.250813[/C][/ROW]
[ROW][C]22[/C][C]0.015292[/C][C]0.1298[/C][C]0.44856[/C][/ROW]
[ROW][C]23[/C][C]-0.02778[/C][C]-0.2357[/C][C]0.40716[/C][/ROW]
[ROW][C]24[/C][C]0.038424[/C][C]0.326[/C][C]0.37267[/C][/ROW]
[ROW][C]25[/C][C]0.053944[/C][C]0.4577[/C][C]0.324263[/C][/ROW]
[ROW][C]26[/C][C]0.020907[/C][C]0.1774[/C][C]0.429845[/C][/ROW]
[ROW][C]27[/C][C]-0.123787[/C][C]-1.0504[/C][C]0.148531[/C][/ROW]
[ROW][C]28[/C][C]-0.095564[/C][C]-0.8109[/C][C]0.21005[/C][/ROW]
[ROW][C]29[/C][C]-0.092238[/C][C]-0.7827[/C][C]0.218196[/C][/ROW]
[ROW][C]30[/C][C]0.073703[/C][C]0.6254[/C][C]0.266847[/C][/ROW]
[ROW][C]31[/C][C]0.004968[/C][C]0.0422[/C][C]0.483245[/C][/ROW]
[ROW][C]32[/C][C]-0.010575[/C][C]-0.0897[/C][C]0.464376[/C][/ROW]
[ROW][C]33[/C][C]0.030004[/C][C]0.2546[/C][C]0.399883[/C][/ROW]
[ROW][C]34[/C][C]-0.081243[/C][C]-0.6894[/C][C]0.246403[/C][/ROW]
[ROW][C]35[/C][C]0.021247[/C][C]0.1803[/C][C]0.428717[/C][/ROW]
[ROW][C]36[/C][C]0.039738[/C][C]0.3372[/C][C]0.368479[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=62850&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=62850&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.7402056.28080
20.2106351.78730.039049
30.0811060.68820.246766
40.173681.47370.072458
5-0.02603-0.22090.412907
60.0983880.83490.203282
7-0.108552-0.92110.180038
8-0.006843-0.05810.476929
9-0.045301-0.38440.35091
100.1357041.15150.126671
110.0920530.78110.218653
12-0.049653-0.42130.337389
130.0677560.57490.283566
14-0.135315-1.14820.127347
15-0.054989-0.46660.321098
160.0076230.06470.474301
17-0.023099-0.1960.42258
180.0794280.6740.251244
19-0.072628-0.61630.269831
20-0.014737-0.12510.450416
21-0.079589-0.67530.250813
220.0152920.12980.44856
23-0.02778-0.23570.40716
240.0384240.3260.37267
250.0539440.45770.324263
260.0209070.17740.429845
27-0.123787-1.05040.148531
28-0.095564-0.81090.21005
29-0.092238-0.78270.218196
300.0737030.62540.266847
310.0049680.04220.483245
32-0.010575-0.08970.464376
330.0300040.25460.399883
34-0.081243-0.68940.246403
350.0212470.18030.428717
360.0397380.33720.368479



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