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, 28 Nov 2007 07:36:34 -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/2007/Nov/28/t1196259992k077ggfw5x5awdb.htm/, Retrieved Wed, 01 May 2024 23:29:39 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=7064, Retrieved Wed, 01 May 2024 23:29:39 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact197
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [(Partial) Autocorrelation Function] [PACF GS'n incl en...] [2007-11-28 14:36:34] [4df98167d5cf79c69ce763f2d4ef5b15] [Current]
Feedback Forum

Post a new message
Dataseries X:
96,8
91,2
97,1
104,9
110,9
104,8
94,1
95,8
99,3
101,1
104,0
99,0
105,4
107,1
110,7
117,1
118,7
126,5
127,5
134,6
131,8
135,9
142,7
141,7
153,4
145,0
137,7
148,3
152,2
169,4
168,6
161,1
174,1
179,0
190,6
190,0
181,6
174,8
180,5
196,8
193,8
197,0
216,3
221,4
217,9
229,7
227,4
204,2
196,6
198,8
207,5
190,7
201,6
210,5
223,5
223,8
231,2
244,0
234,7
250,2




Summary of compuational 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 compuational 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=7064&T=0

[TABLE]
[ROW][C]Summary of compuational 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=7064&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=7064&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 compuational 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
017.7460
10.9382127.26740
20.8825026.83580
30.8259146.39750
40.7785216.03040
50.7356955.69870
60.6862635.31581e-06
70.6447694.99443e-06
80.6055074.69028e-06
90.5801764.4941.6e-05
100.5485284.24893.8e-05
110.5160983.99778.9e-05
120.474183.6730.000256
130.4286133.320.000767
140.3691392.85930.002916
150.3054852.36630.010607
160.2462111.90710.030646
170.1852311.43480.07827
180.1291561.00040.160558
190.0852530.66040.255774
200.0497850.38560.350566
210.0051630.040.484116
22-0.031221-0.24180.595135
23-0.06138-0.47540.681902
24-0.09482-0.73450.76724
25-0.129345-1.00190.839792
26-0.176268-1.36540.911382
27-0.221404-1.7150.954246
28-0.260232-2.01570.975844
29-0.287688-2.22840.985194
30-0.310876-2.4080.990436
31-0.340818-2.640.994724
32-0.363954-2.81920.996743
33-0.378672-2.93320.997627
34-0.383301-2.9690.997856
35-0.383617-2.97150.99787

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
0 & 1 & 7.746 & 0 \tabularnewline
1 & 0.938212 & 7.2674 & 0 \tabularnewline
2 & 0.882502 & 6.8358 & 0 \tabularnewline
3 & 0.825914 & 6.3975 & 0 \tabularnewline
4 & 0.778521 & 6.0304 & 0 \tabularnewline
5 & 0.735695 & 5.6987 & 0 \tabularnewline
6 & 0.686263 & 5.3158 & 1e-06 \tabularnewline
7 & 0.644769 & 4.9944 & 3e-06 \tabularnewline
8 & 0.605507 & 4.6902 & 8e-06 \tabularnewline
9 & 0.580176 & 4.494 & 1.6e-05 \tabularnewline
10 & 0.548528 & 4.2489 & 3.8e-05 \tabularnewline
11 & 0.516098 & 3.9977 & 8.9e-05 \tabularnewline
12 & 0.47418 & 3.673 & 0.000256 \tabularnewline
13 & 0.428613 & 3.32 & 0.000767 \tabularnewline
14 & 0.369139 & 2.8593 & 0.002916 \tabularnewline
15 & 0.305485 & 2.3663 & 0.010607 \tabularnewline
16 & 0.246211 & 1.9071 & 0.030646 \tabularnewline
17 & 0.185231 & 1.4348 & 0.07827 \tabularnewline
18 & 0.129156 & 1.0004 & 0.160558 \tabularnewline
19 & 0.085253 & 0.6604 & 0.255774 \tabularnewline
20 & 0.049785 & 0.3856 & 0.350566 \tabularnewline
21 & 0.005163 & 0.04 & 0.484116 \tabularnewline
22 & -0.031221 & -0.2418 & 0.595135 \tabularnewline
23 & -0.06138 & -0.4754 & 0.681902 \tabularnewline
24 & -0.09482 & -0.7345 & 0.76724 \tabularnewline
25 & -0.129345 & -1.0019 & 0.839792 \tabularnewline
26 & -0.176268 & -1.3654 & 0.911382 \tabularnewline
27 & -0.221404 & -1.715 & 0.954246 \tabularnewline
28 & -0.260232 & -2.0157 & 0.975844 \tabularnewline
29 & -0.287688 & -2.2284 & 0.985194 \tabularnewline
30 & -0.310876 & -2.408 & 0.990436 \tabularnewline
31 & -0.340818 & -2.64 & 0.994724 \tabularnewline
32 & -0.363954 & -2.8192 & 0.996743 \tabularnewline
33 & -0.378672 & -2.9332 & 0.997627 \tabularnewline
34 & -0.383301 & -2.969 & 0.997856 \tabularnewline
35 & -0.383617 & -2.9715 & 0.99787 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=7064&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]0[/C][C]1[/C][C]7.746[/C][C]0[/C][/ROW]
[ROW][C]1[/C][C]0.938212[/C][C]7.2674[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]0.882502[/C][C]6.8358[/C][C]0[/C][/ROW]
[ROW][C]3[/C][C]0.825914[/C][C]6.3975[/C][C]0[/C][/ROW]
[ROW][C]4[/C][C]0.778521[/C][C]6.0304[/C][C]0[/C][/ROW]
[ROW][C]5[/C][C]0.735695[/C][C]5.6987[/C][C]0[/C][/ROW]
[ROW][C]6[/C][C]0.686263[/C][C]5.3158[/C][C]1e-06[/C][/ROW]
[ROW][C]7[/C][C]0.644769[/C][C]4.9944[/C][C]3e-06[/C][/ROW]
[ROW][C]8[/C][C]0.605507[/C][C]4.6902[/C][C]8e-06[/C][/ROW]
[ROW][C]9[/C][C]0.580176[/C][C]4.494[/C][C]1.6e-05[/C][/ROW]
[ROW][C]10[/C][C]0.548528[/C][C]4.2489[/C][C]3.8e-05[/C][/ROW]
[ROW][C]11[/C][C]0.516098[/C][C]3.9977[/C][C]8.9e-05[/C][/ROW]
[ROW][C]12[/C][C]0.47418[/C][C]3.673[/C][C]0.000256[/C][/ROW]
[ROW][C]13[/C][C]0.428613[/C][C]3.32[/C][C]0.000767[/C][/ROW]
[ROW][C]14[/C][C]0.369139[/C][C]2.8593[/C][C]0.002916[/C][/ROW]
[ROW][C]15[/C][C]0.305485[/C][C]2.3663[/C][C]0.010607[/C][/ROW]
[ROW][C]16[/C][C]0.246211[/C][C]1.9071[/C][C]0.030646[/C][/ROW]
[ROW][C]17[/C][C]0.185231[/C][C]1.4348[/C][C]0.07827[/C][/ROW]
[ROW][C]18[/C][C]0.129156[/C][C]1.0004[/C][C]0.160558[/C][/ROW]
[ROW][C]19[/C][C]0.085253[/C][C]0.6604[/C][C]0.255774[/C][/ROW]
[ROW][C]20[/C][C]0.049785[/C][C]0.3856[/C][C]0.350566[/C][/ROW]
[ROW][C]21[/C][C]0.005163[/C][C]0.04[/C][C]0.484116[/C][/ROW]
[ROW][C]22[/C][C]-0.031221[/C][C]-0.2418[/C][C]0.595135[/C][/ROW]
[ROW][C]23[/C][C]-0.06138[/C][C]-0.4754[/C][C]0.681902[/C][/ROW]
[ROW][C]24[/C][C]-0.09482[/C][C]-0.7345[/C][C]0.76724[/C][/ROW]
[ROW][C]25[/C][C]-0.129345[/C][C]-1.0019[/C][C]0.839792[/C][/ROW]
[ROW][C]26[/C][C]-0.176268[/C][C]-1.3654[/C][C]0.911382[/C][/ROW]
[ROW][C]27[/C][C]-0.221404[/C][C]-1.715[/C][C]0.954246[/C][/ROW]
[ROW][C]28[/C][C]-0.260232[/C][C]-2.0157[/C][C]0.975844[/C][/ROW]
[ROW][C]29[/C][C]-0.287688[/C][C]-2.2284[/C][C]0.985194[/C][/ROW]
[ROW][C]30[/C][C]-0.310876[/C][C]-2.408[/C][C]0.990436[/C][/ROW]
[ROW][C]31[/C][C]-0.340818[/C][C]-2.64[/C][C]0.994724[/C][/ROW]
[ROW][C]32[/C][C]-0.363954[/C][C]-2.8192[/C][C]0.996743[/C][/ROW]
[ROW][C]33[/C][C]-0.378672[/C][C]-2.9332[/C][C]0.997627[/C][/ROW]
[ROW][C]34[/C][C]-0.383301[/C][C]-2.969[/C][C]0.997856[/C][/ROW]
[ROW][C]35[/C][C]-0.383617[/C][C]-2.9715[/C][C]0.99787[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=7064&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=7064&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
017.7460
10.9382127.26740
20.8825026.83580
30.8259146.39750
40.7785216.03040
50.7356955.69870
60.6862635.31581e-06
70.6447694.99443e-06
80.6055074.69028e-06
90.5801764.4941.6e-05
100.5485284.24893.8e-05
110.5160983.99778.9e-05
120.474183.6730.000256
130.4286133.320.000767
140.3691392.85930.002916
150.3054852.36630.010607
160.2462111.90710.030646
170.1852311.43480.07827
180.1291561.00040.160558
190.0852530.66040.255774
200.0497850.38560.350566
210.0051630.040.484116
22-0.031221-0.24180.595135
23-0.06138-0.47540.681902
24-0.09482-0.73450.76724
25-0.129345-1.00190.839792
26-0.176268-1.36540.911382
27-0.221404-1.7150.954246
28-0.260232-2.01570.975844
29-0.287688-2.22840.985194
30-0.310876-2.4080.990436
31-0.340818-2.640.994724
32-0.363954-2.81920.996743
33-0.378672-2.93320.997627
34-0.383301-2.9690.997856
35-0.383617-2.97150.99787







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
00.9382127.26740
10.0188710.14620.442136
2-0.034586-0.26790.605153
30.0453460.35120.363317
40.0183680.14230.443669
5-0.077497-0.60030.724713
60.0377010.2920.385636
70.0057460.04450.482322
80.0874450.67730.250394
9-0.056785-0.43990.669188
10-0.02202-0.17060.567432
11-0.091011-0.7050.75822
12-0.06108-0.47310.68108
13-0.165775-1.28410.897976
14-0.082907-0.64220.738403
15-0.024783-0.1920.575792
16-0.063164-0.48930.686783
17-0.042333-0.32790.627939
180.0676860.52430.301002
190.0172750.13380.446999
20-0.125045-0.96860.831682
210.0150040.11620.453934
220.0459710.35610.361512
23-0.062342-0.48290.684538
24-0.03314-0.25670.600857
25-0.093847-0.72690.764955
26-0.020012-0.1550.561333
270.0116930.09060.464065
280.0289770.22450.411582
290.0084960.06580.473874
30-0.087493-0.67770.749721
31-0.02271-0.17590.56952
320.0173570.13450.446748
330.0446470.34580.365339
340.0224480.17390.431272
35-0.105332-0.81590.791106

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
0 & 0.938212 & 7.2674 & 0 \tabularnewline
1 & 0.018871 & 0.1462 & 0.442136 \tabularnewline
2 & -0.034586 & -0.2679 & 0.605153 \tabularnewline
3 & 0.045346 & 0.3512 & 0.363317 \tabularnewline
4 & 0.018368 & 0.1423 & 0.443669 \tabularnewline
5 & -0.077497 & -0.6003 & 0.724713 \tabularnewline
6 & 0.037701 & 0.292 & 0.385636 \tabularnewline
7 & 0.005746 & 0.0445 & 0.482322 \tabularnewline
8 & 0.087445 & 0.6773 & 0.250394 \tabularnewline
9 & -0.056785 & -0.4399 & 0.669188 \tabularnewline
10 & -0.02202 & -0.1706 & 0.567432 \tabularnewline
11 & -0.091011 & -0.705 & 0.75822 \tabularnewline
12 & -0.06108 & -0.4731 & 0.68108 \tabularnewline
13 & -0.165775 & -1.2841 & 0.897976 \tabularnewline
14 & -0.082907 & -0.6422 & 0.738403 \tabularnewline
15 & -0.024783 & -0.192 & 0.575792 \tabularnewline
16 & -0.063164 & -0.4893 & 0.686783 \tabularnewline
17 & -0.042333 & -0.3279 & 0.627939 \tabularnewline
18 & 0.067686 & 0.5243 & 0.301002 \tabularnewline
19 & 0.017275 & 0.1338 & 0.446999 \tabularnewline
20 & -0.125045 & -0.9686 & 0.831682 \tabularnewline
21 & 0.015004 & 0.1162 & 0.453934 \tabularnewline
22 & 0.045971 & 0.3561 & 0.361512 \tabularnewline
23 & -0.062342 & -0.4829 & 0.684538 \tabularnewline
24 & -0.03314 & -0.2567 & 0.600857 \tabularnewline
25 & -0.093847 & -0.7269 & 0.764955 \tabularnewline
26 & -0.020012 & -0.155 & 0.561333 \tabularnewline
27 & 0.011693 & 0.0906 & 0.464065 \tabularnewline
28 & 0.028977 & 0.2245 & 0.411582 \tabularnewline
29 & 0.008496 & 0.0658 & 0.473874 \tabularnewline
30 & -0.087493 & -0.6777 & 0.749721 \tabularnewline
31 & -0.02271 & -0.1759 & 0.56952 \tabularnewline
32 & 0.017357 & 0.1345 & 0.446748 \tabularnewline
33 & 0.044647 & 0.3458 & 0.365339 \tabularnewline
34 & 0.022448 & 0.1739 & 0.431272 \tabularnewline
35 & -0.105332 & -0.8159 & 0.791106 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=7064&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]0[/C][C]0.938212[/C][C]7.2674[/C][C]0[/C][/ROW]
[ROW][C]1[/C][C]0.018871[/C][C]0.1462[/C][C]0.442136[/C][/ROW]
[ROW][C]2[/C][C]-0.034586[/C][C]-0.2679[/C][C]0.605153[/C][/ROW]
[ROW][C]3[/C][C]0.045346[/C][C]0.3512[/C][C]0.363317[/C][/ROW]
[ROW][C]4[/C][C]0.018368[/C][C]0.1423[/C][C]0.443669[/C][/ROW]
[ROW][C]5[/C][C]-0.077497[/C][C]-0.6003[/C][C]0.724713[/C][/ROW]
[ROW][C]6[/C][C]0.037701[/C][C]0.292[/C][C]0.385636[/C][/ROW]
[ROW][C]7[/C][C]0.005746[/C][C]0.0445[/C][C]0.482322[/C][/ROW]
[ROW][C]8[/C][C]0.087445[/C][C]0.6773[/C][C]0.250394[/C][/ROW]
[ROW][C]9[/C][C]-0.056785[/C][C]-0.4399[/C][C]0.669188[/C][/ROW]
[ROW][C]10[/C][C]-0.02202[/C][C]-0.1706[/C][C]0.567432[/C][/ROW]
[ROW][C]11[/C][C]-0.091011[/C][C]-0.705[/C][C]0.75822[/C][/ROW]
[ROW][C]12[/C][C]-0.06108[/C][C]-0.4731[/C][C]0.68108[/C][/ROW]
[ROW][C]13[/C][C]-0.165775[/C][C]-1.2841[/C][C]0.897976[/C][/ROW]
[ROW][C]14[/C][C]-0.082907[/C][C]-0.6422[/C][C]0.738403[/C][/ROW]
[ROW][C]15[/C][C]-0.024783[/C][C]-0.192[/C][C]0.575792[/C][/ROW]
[ROW][C]16[/C][C]-0.063164[/C][C]-0.4893[/C][C]0.686783[/C][/ROW]
[ROW][C]17[/C][C]-0.042333[/C][C]-0.3279[/C][C]0.627939[/C][/ROW]
[ROW][C]18[/C][C]0.067686[/C][C]0.5243[/C][C]0.301002[/C][/ROW]
[ROW][C]19[/C][C]0.017275[/C][C]0.1338[/C][C]0.446999[/C][/ROW]
[ROW][C]20[/C][C]-0.125045[/C][C]-0.9686[/C][C]0.831682[/C][/ROW]
[ROW][C]21[/C][C]0.015004[/C][C]0.1162[/C][C]0.453934[/C][/ROW]
[ROW][C]22[/C][C]0.045971[/C][C]0.3561[/C][C]0.361512[/C][/ROW]
[ROW][C]23[/C][C]-0.062342[/C][C]-0.4829[/C][C]0.684538[/C][/ROW]
[ROW][C]24[/C][C]-0.03314[/C][C]-0.2567[/C][C]0.600857[/C][/ROW]
[ROW][C]25[/C][C]-0.093847[/C][C]-0.7269[/C][C]0.764955[/C][/ROW]
[ROW][C]26[/C][C]-0.020012[/C][C]-0.155[/C][C]0.561333[/C][/ROW]
[ROW][C]27[/C][C]0.011693[/C][C]0.0906[/C][C]0.464065[/C][/ROW]
[ROW][C]28[/C][C]0.028977[/C][C]0.2245[/C][C]0.411582[/C][/ROW]
[ROW][C]29[/C][C]0.008496[/C][C]0.0658[/C][C]0.473874[/C][/ROW]
[ROW][C]30[/C][C]-0.087493[/C][C]-0.6777[/C][C]0.749721[/C][/ROW]
[ROW][C]31[/C][C]-0.02271[/C][C]-0.1759[/C][C]0.56952[/C][/ROW]
[ROW][C]32[/C][C]0.017357[/C][C]0.1345[/C][C]0.446748[/C][/ROW]
[ROW][C]33[/C][C]0.044647[/C][C]0.3458[/C][C]0.365339[/C][/ROW]
[ROW][C]34[/C][C]0.022448[/C][C]0.1739[/C][C]0.431272[/C][/ROW]
[ROW][C]35[/C][C]-0.105332[/C][C]-0.8159[/C][C]0.791106[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=7064&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=7064&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
00.9382127.26740
10.0188710.14620.442136
2-0.034586-0.26790.605153
30.0453460.35120.363317
40.0183680.14230.443669
5-0.077497-0.60030.724713
60.0377010.2920.385636
70.0057460.04450.482322
80.0874450.67730.250394
9-0.056785-0.43990.669188
10-0.02202-0.17060.567432
11-0.091011-0.7050.75822
12-0.06108-0.47310.68108
13-0.165775-1.28410.897976
14-0.082907-0.64220.738403
15-0.024783-0.1920.575792
16-0.063164-0.48930.686783
17-0.042333-0.32790.627939
180.0676860.52430.301002
190.0172750.13380.446999
20-0.125045-0.96860.831682
210.0150040.11620.453934
220.0459710.35610.361512
23-0.062342-0.48290.684538
24-0.03314-0.25670.600857
25-0.093847-0.72690.764955
26-0.020012-0.1550.561333
270.0116930.09060.464065
280.0289770.22450.411582
290.0084960.06580.473874
30-0.087493-0.67770.749721
31-0.02271-0.17590.56952
320.0173570.13450.446748
330.0446470.34580.365339
340.0224480.17390.431272
35-0.105332-0.81590.791106



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 1:par1) {
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(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-1,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(mytstat,lengthx),6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable1.tab')