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, 11 Dec 2008 05:14:32 -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/2008/Dec/11/t1228997796sx5ym692xytpxhy.htm/, Retrieved Sun, 19 May 2024 07:46:25 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=32182, Retrieved Sun, 19 May 2024 07:46:25 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact205
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [(Partial) Autocorrelation Function] [paper] [2008-12-11 12:14:32] [1351baa662f198be3bff32f9007a9a6d] [Current]
Feedback Forum

Post a new message
Dataseries X:
98,6
98
106,8
96,6
100,1
107,7
91,5
97,8
107,4
117,5
105,6
97,4
99,5
98
104,3
100,6
101,1
103,9
96,9
95,5
108,4
117
103,8
100,8
110,6
104
112,6
107,3
98,9
109,8
104,9
102,2
123,9
124,9
112,7
121,9
100,6
104,3
120,4
107,5
102,9
125,6
107,5
108,8
128,4
121,1
119,5
128,7
108,7
105,5
119,8
111,3
110,6
120,1
97,5
107,7
127,3
117,2
119,8
116,2
111
112,4
130,6
109,1
118,8
123,9
101,6
112,8
128
129,6
125,8
119,5
115,7
113,6
129,7
112
116,8
127
112,1
114,2
121,1
131,6
125
120,4




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24

\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 & 'Sir Ronald Aylmer Fisher' @ 193.190.124.24 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32182&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]'Sir Ronald Aylmer Fisher' @ 193.190.124.24[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32182&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32182&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'Sir Ronald Aylmer Fisher' @ 193.190.124.24







Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.422933.87620.000105
20.2506842.29760.012037
30.4928254.51681e-05
40.2122061.94490.027567
50.2957872.71090.004067
60.542724.97412e-06
70.2206652.02240.023157
80.195081.78790.038696
90.4082443.74160.000167
100.1174091.07610.142488
110.3122042.86140.002661
120.6517965.97380
130.225922.07060.020734
140.1578661.44690.075828
150.2607482.38980.009548
160.0145250.13310.447205
170.1583561.45140.075202
180.291322.670.004552
190.0139420.12780.449315
200.0306530.28090.389724
210.1536871.40860.081327
22-0.068561-0.62840.265733
230.1422341.30360.097967
240.3064552.80870.003092
250.0358160.32830.371765
260.0123340.1130.455131
270.055010.50420.307728
28-0.145505-1.33360.092973
29-0.02436-0.22330.411937
300.0913620.83730.202388
31-0.10915-1.00040.160002
32-0.078306-0.71770.237472
33-0.033026-0.30270.381439
34-0.152685-1.39940.082691
350.0283960.26030.397651
360.1858281.70310.046119

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & 0.42293 & 3.8762 & 0.000105 \tabularnewline
2 & 0.250684 & 2.2976 & 0.012037 \tabularnewline
3 & 0.492825 & 4.5168 & 1e-05 \tabularnewline
4 & 0.212206 & 1.9449 & 0.027567 \tabularnewline
5 & 0.295787 & 2.7109 & 0.004067 \tabularnewline
6 & 0.54272 & 4.9741 & 2e-06 \tabularnewline
7 & 0.220665 & 2.0224 & 0.023157 \tabularnewline
8 & 0.19508 & 1.7879 & 0.038696 \tabularnewline
9 & 0.408244 & 3.7416 & 0.000167 \tabularnewline
10 & 0.117409 & 1.0761 & 0.142488 \tabularnewline
11 & 0.312204 & 2.8614 & 0.002661 \tabularnewline
12 & 0.651796 & 5.9738 & 0 \tabularnewline
13 & 0.22592 & 2.0706 & 0.020734 \tabularnewline
14 & 0.157866 & 1.4469 & 0.075828 \tabularnewline
15 & 0.260748 & 2.3898 & 0.009548 \tabularnewline
16 & 0.014525 & 0.1331 & 0.447205 \tabularnewline
17 & 0.158356 & 1.4514 & 0.075202 \tabularnewline
18 & 0.29132 & 2.67 & 0.004552 \tabularnewline
19 & 0.013942 & 0.1278 & 0.449315 \tabularnewline
20 & 0.030653 & 0.2809 & 0.389724 \tabularnewline
21 & 0.153687 & 1.4086 & 0.081327 \tabularnewline
22 & -0.068561 & -0.6284 & 0.265733 \tabularnewline
23 & 0.142234 & 1.3036 & 0.097967 \tabularnewline
24 & 0.306455 & 2.8087 & 0.003092 \tabularnewline
25 & 0.035816 & 0.3283 & 0.371765 \tabularnewline
26 & 0.012334 & 0.113 & 0.455131 \tabularnewline
27 & 0.05501 & 0.5042 & 0.307728 \tabularnewline
28 & -0.145505 & -1.3336 & 0.092973 \tabularnewline
29 & -0.02436 & -0.2233 & 0.411937 \tabularnewline
30 & 0.091362 & 0.8373 & 0.202388 \tabularnewline
31 & -0.10915 & -1.0004 & 0.160002 \tabularnewline
32 & -0.078306 & -0.7177 & 0.237472 \tabularnewline
33 & -0.033026 & -0.3027 & 0.381439 \tabularnewline
34 & -0.152685 & -1.3994 & 0.082691 \tabularnewline
35 & 0.028396 & 0.2603 & 0.397651 \tabularnewline
36 & 0.185828 & 1.7031 & 0.046119 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32182&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.42293[/C][C]3.8762[/C][C]0.000105[/C][/ROW]
[ROW][C]2[/C][C]0.250684[/C][C]2.2976[/C][C]0.012037[/C][/ROW]
[ROW][C]3[/C][C]0.492825[/C][C]4.5168[/C][C]1e-05[/C][/ROW]
[ROW][C]4[/C][C]0.212206[/C][C]1.9449[/C][C]0.027567[/C][/ROW]
[ROW][C]5[/C][C]0.295787[/C][C]2.7109[/C][C]0.004067[/C][/ROW]
[ROW][C]6[/C][C]0.54272[/C][C]4.9741[/C][C]2e-06[/C][/ROW]
[ROW][C]7[/C][C]0.220665[/C][C]2.0224[/C][C]0.023157[/C][/ROW]
[ROW][C]8[/C][C]0.19508[/C][C]1.7879[/C][C]0.038696[/C][/ROW]
[ROW][C]9[/C][C]0.408244[/C][C]3.7416[/C][C]0.000167[/C][/ROW]
[ROW][C]10[/C][C]0.117409[/C][C]1.0761[/C][C]0.142488[/C][/ROW]
[ROW][C]11[/C][C]0.312204[/C][C]2.8614[/C][C]0.002661[/C][/ROW]
[ROW][C]12[/C][C]0.651796[/C][C]5.9738[/C][C]0[/C][/ROW]
[ROW][C]13[/C][C]0.22592[/C][C]2.0706[/C][C]0.020734[/C][/ROW]
[ROW][C]14[/C][C]0.157866[/C][C]1.4469[/C][C]0.075828[/C][/ROW]
[ROW][C]15[/C][C]0.260748[/C][C]2.3898[/C][C]0.009548[/C][/ROW]
[ROW][C]16[/C][C]0.014525[/C][C]0.1331[/C][C]0.447205[/C][/ROW]
[ROW][C]17[/C][C]0.158356[/C][C]1.4514[/C][C]0.075202[/C][/ROW]
[ROW][C]18[/C][C]0.29132[/C][C]2.67[/C][C]0.004552[/C][/ROW]
[ROW][C]19[/C][C]0.013942[/C][C]0.1278[/C][C]0.449315[/C][/ROW]
[ROW][C]20[/C][C]0.030653[/C][C]0.2809[/C][C]0.389724[/C][/ROW]
[ROW][C]21[/C][C]0.153687[/C][C]1.4086[/C][C]0.081327[/C][/ROW]
[ROW][C]22[/C][C]-0.068561[/C][C]-0.6284[/C][C]0.265733[/C][/ROW]
[ROW][C]23[/C][C]0.142234[/C][C]1.3036[/C][C]0.097967[/C][/ROW]
[ROW][C]24[/C][C]0.306455[/C][C]2.8087[/C][C]0.003092[/C][/ROW]
[ROW][C]25[/C][C]0.035816[/C][C]0.3283[/C][C]0.371765[/C][/ROW]
[ROW][C]26[/C][C]0.012334[/C][C]0.113[/C][C]0.455131[/C][/ROW]
[ROW][C]27[/C][C]0.05501[/C][C]0.5042[/C][C]0.307728[/C][/ROW]
[ROW][C]28[/C][C]-0.145505[/C][C]-1.3336[/C][C]0.092973[/C][/ROW]
[ROW][C]29[/C][C]-0.02436[/C][C]-0.2233[/C][C]0.411937[/C][/ROW]
[ROW][C]30[/C][C]0.091362[/C][C]0.8373[/C][C]0.202388[/C][/ROW]
[ROW][C]31[/C][C]-0.10915[/C][C]-1.0004[/C][C]0.160002[/C][/ROW]
[ROW][C]32[/C][C]-0.078306[/C][C]-0.7177[/C][C]0.237472[/C][/ROW]
[ROW][C]33[/C][C]-0.033026[/C][C]-0.3027[/C][C]0.381439[/C][/ROW]
[ROW][C]34[/C][C]-0.152685[/C][C]-1.3994[/C][C]0.082691[/C][/ROW]
[ROW][C]35[/C][C]0.028396[/C][C]0.2603[/C][C]0.397651[/C][/ROW]
[ROW][C]36[/C][C]0.185828[/C][C]1.7031[/C][C]0.046119[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32182&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32182&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.422933.87620.000105
20.2506842.29760.012037
30.4928254.51681e-05
40.2122061.94490.027567
50.2957872.71090.004067
60.542724.97412e-06
70.2206652.02240.023157
80.195081.78790.038696
90.4082443.74160.000167
100.1174091.07610.142488
110.3122042.86140.002661
120.6517965.97380
130.225922.07060.020734
140.1578661.44690.075828
150.2607482.38980.009548
160.0145250.13310.447205
170.1583561.45140.075202
180.291322.670.004552
190.0139420.12780.449315
200.0306530.28090.389724
210.1536871.40860.081327
22-0.068561-0.62840.265733
230.1422341.30360.097967
240.3064552.80870.003092
250.0358160.32830.371765
260.0123340.1130.455131
270.055010.50420.307728
28-0.145505-1.33360.092973
29-0.02436-0.22330.411937
300.0913620.83730.202388
31-0.10915-1.00040.160002
32-0.078306-0.71770.237472
33-0.033026-0.30270.381439
34-0.152685-1.39940.082691
350.0283960.26030.397651
360.1858281.70310.046119







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.422933.87620.000105
20.0874580.80160.212533
30.4406784.03895.9e-05
4-0.189865-1.74010.042748
50.3255482.98370.001864
60.2340332.14490.017423
7-0.107191-0.98240.164356
80.0039470.03620.485614
90.1218491.11680.13364
10-0.163428-1.49780.068961
110.3443773.15630.00111
120.3375653.09380.001342
13-0.173057-1.58610.058238
14-0.158603-1.45360.074888
15-0.245671-2.25160.013478
16-0.059461-0.5450.293609
17-0.05125-0.46970.319887
18-0.112015-1.02660.153769
190.0308930.28310.388884
20-0.105799-0.96970.167499
210.0344780.3160.376394
22-0.007344-0.06730.473248
230.0786090.72050.236619
24-0.05204-0.4770.317317
250.0899940.82480.205909
26-0.112327-1.02950.1531
270.1230461.12770.131322
28-0.164652-1.50910.067518
29-0.015885-0.14560.442297
300.0012260.01120.495531
310.0675740.61930.268689
32-0.011577-0.10610.457876
33-0.013642-0.1250.4504
340.0242260.2220.412414
350.054850.50270.308243
360.1709881.56710.060422

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & 0.42293 & 3.8762 & 0.000105 \tabularnewline
2 & 0.087458 & 0.8016 & 0.212533 \tabularnewline
3 & 0.440678 & 4.0389 & 5.9e-05 \tabularnewline
4 & -0.189865 & -1.7401 & 0.042748 \tabularnewline
5 & 0.325548 & 2.9837 & 0.001864 \tabularnewline
6 & 0.234033 & 2.1449 & 0.017423 \tabularnewline
7 & -0.107191 & -0.9824 & 0.164356 \tabularnewline
8 & 0.003947 & 0.0362 & 0.485614 \tabularnewline
9 & 0.121849 & 1.1168 & 0.13364 \tabularnewline
10 & -0.163428 & -1.4978 & 0.068961 \tabularnewline
11 & 0.344377 & 3.1563 & 0.00111 \tabularnewline
12 & 0.337565 & 3.0938 & 0.001342 \tabularnewline
13 & -0.173057 & -1.5861 & 0.058238 \tabularnewline
14 & -0.158603 & -1.4536 & 0.074888 \tabularnewline
15 & -0.245671 & -2.2516 & 0.013478 \tabularnewline
16 & -0.059461 & -0.545 & 0.293609 \tabularnewline
17 & -0.05125 & -0.4697 & 0.319887 \tabularnewline
18 & -0.112015 & -1.0266 & 0.153769 \tabularnewline
19 & 0.030893 & 0.2831 & 0.388884 \tabularnewline
20 & -0.105799 & -0.9697 & 0.167499 \tabularnewline
21 & 0.034478 & 0.316 & 0.376394 \tabularnewline
22 & -0.007344 & -0.0673 & 0.473248 \tabularnewline
23 & 0.078609 & 0.7205 & 0.236619 \tabularnewline
24 & -0.05204 & -0.477 & 0.317317 \tabularnewline
25 & 0.089994 & 0.8248 & 0.205909 \tabularnewline
26 & -0.112327 & -1.0295 & 0.1531 \tabularnewline
27 & 0.123046 & 1.1277 & 0.131322 \tabularnewline
28 & -0.164652 & -1.5091 & 0.067518 \tabularnewline
29 & -0.015885 & -0.1456 & 0.442297 \tabularnewline
30 & 0.001226 & 0.0112 & 0.495531 \tabularnewline
31 & 0.067574 & 0.6193 & 0.268689 \tabularnewline
32 & -0.011577 & -0.1061 & 0.457876 \tabularnewline
33 & -0.013642 & -0.125 & 0.4504 \tabularnewline
34 & 0.024226 & 0.222 & 0.412414 \tabularnewline
35 & 0.05485 & 0.5027 & 0.308243 \tabularnewline
36 & 0.170988 & 1.5671 & 0.060422 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=32182&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.42293[/C][C]3.8762[/C][C]0.000105[/C][/ROW]
[ROW][C]2[/C][C]0.087458[/C][C]0.8016[/C][C]0.212533[/C][/ROW]
[ROW][C]3[/C][C]0.440678[/C][C]4.0389[/C][C]5.9e-05[/C][/ROW]
[ROW][C]4[/C][C]-0.189865[/C][C]-1.7401[/C][C]0.042748[/C][/ROW]
[ROW][C]5[/C][C]0.325548[/C][C]2.9837[/C][C]0.001864[/C][/ROW]
[ROW][C]6[/C][C]0.234033[/C][C]2.1449[/C][C]0.017423[/C][/ROW]
[ROW][C]7[/C][C]-0.107191[/C][C]-0.9824[/C][C]0.164356[/C][/ROW]
[ROW][C]8[/C][C]0.003947[/C][C]0.0362[/C][C]0.485614[/C][/ROW]
[ROW][C]9[/C][C]0.121849[/C][C]1.1168[/C][C]0.13364[/C][/ROW]
[ROW][C]10[/C][C]-0.163428[/C][C]-1.4978[/C][C]0.068961[/C][/ROW]
[ROW][C]11[/C][C]0.344377[/C][C]3.1563[/C][C]0.00111[/C][/ROW]
[ROW][C]12[/C][C]0.337565[/C][C]3.0938[/C][C]0.001342[/C][/ROW]
[ROW][C]13[/C][C]-0.173057[/C][C]-1.5861[/C][C]0.058238[/C][/ROW]
[ROW][C]14[/C][C]-0.158603[/C][C]-1.4536[/C][C]0.074888[/C][/ROW]
[ROW][C]15[/C][C]-0.245671[/C][C]-2.2516[/C][C]0.013478[/C][/ROW]
[ROW][C]16[/C][C]-0.059461[/C][C]-0.545[/C][C]0.293609[/C][/ROW]
[ROW][C]17[/C][C]-0.05125[/C][C]-0.4697[/C][C]0.319887[/C][/ROW]
[ROW][C]18[/C][C]-0.112015[/C][C]-1.0266[/C][C]0.153769[/C][/ROW]
[ROW][C]19[/C][C]0.030893[/C][C]0.2831[/C][C]0.388884[/C][/ROW]
[ROW][C]20[/C][C]-0.105799[/C][C]-0.9697[/C][C]0.167499[/C][/ROW]
[ROW][C]21[/C][C]0.034478[/C][C]0.316[/C][C]0.376394[/C][/ROW]
[ROW][C]22[/C][C]-0.007344[/C][C]-0.0673[/C][C]0.473248[/C][/ROW]
[ROW][C]23[/C][C]0.078609[/C][C]0.7205[/C][C]0.236619[/C][/ROW]
[ROW][C]24[/C][C]-0.05204[/C][C]-0.477[/C][C]0.317317[/C][/ROW]
[ROW][C]25[/C][C]0.089994[/C][C]0.8248[/C][C]0.205909[/C][/ROW]
[ROW][C]26[/C][C]-0.112327[/C][C]-1.0295[/C][C]0.1531[/C][/ROW]
[ROW][C]27[/C][C]0.123046[/C][C]1.1277[/C][C]0.131322[/C][/ROW]
[ROW][C]28[/C][C]-0.164652[/C][C]-1.5091[/C][C]0.067518[/C][/ROW]
[ROW][C]29[/C][C]-0.015885[/C][C]-0.1456[/C][C]0.442297[/C][/ROW]
[ROW][C]30[/C][C]0.001226[/C][C]0.0112[/C][C]0.495531[/C][/ROW]
[ROW][C]31[/C][C]0.067574[/C][C]0.6193[/C][C]0.268689[/C][/ROW]
[ROW][C]32[/C][C]-0.011577[/C][C]-0.1061[/C][C]0.457876[/C][/ROW]
[ROW][C]33[/C][C]-0.013642[/C][C]-0.125[/C][C]0.4504[/C][/ROW]
[ROW][C]34[/C][C]0.024226[/C][C]0.222[/C][C]0.412414[/C][/ROW]
[ROW][C]35[/C][C]0.05485[/C][C]0.5027[/C][C]0.308243[/C][/ROW]
[ROW][C]36[/C][C]0.170988[/C][C]1.5671[/C][C]0.060422[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=32182&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=32182&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.422933.87620.000105
20.0874580.80160.212533
30.4406784.03895.9e-05
4-0.189865-1.74010.042748
50.3255482.98370.001864
60.2340332.14490.017423
7-0.107191-0.98240.164356
80.0039470.03620.485614
90.1218491.11680.13364
10-0.163428-1.49780.068961
110.3443773.15630.00111
120.3375653.09380.001342
13-0.173057-1.58610.058238
14-0.158603-1.45360.074888
15-0.245671-2.25160.013478
16-0.059461-0.5450.293609
17-0.05125-0.46970.319887
18-0.112015-1.02660.153769
190.0308930.28310.388884
20-0.105799-0.96970.167499
210.0344780.3160.376394
22-0.007344-0.06730.473248
230.0786090.72050.236619
24-0.05204-0.4770.317317
250.0899940.82480.205909
26-0.112327-1.02950.1531
270.1230461.12770.131322
28-0.164652-1.50910.067518
29-0.015885-0.14560.442297
300.0012260.01120.495531
310.0675740.61930.268689
32-0.011577-0.10610.457876
33-0.013642-0.1250.4504
340.0242260.2220.412414
350.054850.50270.308243
360.1709881.56710.060422



Parameters (Session):
par1 = 36 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ;
Parameters (R input):
par1 = 36 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ;
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 (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='lags',ylab='ACF')
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')