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 12:08:27 -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/t1196276647upca4iu446grko3.htm/, Retrieved Thu, 02 May 2024 09:55:38 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=7235, Retrieved Thu, 02 May 2024 09:55:38 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact169
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [(Partial) Autocorrelation Function] [G3ACFecht] [2007-11-28 19:08:27] [142ab5472309a9ae9a3b52678758dc4a] [Current]
Feedback Forum

Post a new message
Dataseries X:
2529
2196
3202
2718
2728
2354
2697
2651
2067
2641
2539
2294
2712
2314
3092
2677
2813
2668
2939
2617
2231
2481
2421
2408
2560
2100
3315
2801
2403
3024
2507
2980
2211
2471
2594
2452
2232
2373
3127
2802
2641
2787
2619
2806
2193
2323
2529
2412
2262
2154
3230
2295
2715
2733
2317
2730
1913
2390
2484
1960




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=7235&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
016.92820
1-0.360068-2.49460.991948
20.1833791.27050.105017
30.1778221.2320.111977
4-0.122863-0.85120.800563
50.197851.37070.088415
60.1354280.93830.176401
7-0.18881-1.30810.901468
80.3042192.10770.020153
9-0.078822-0.54610.706235
10-0.043642-0.30240.618157
110.1686591.16850.124187
12-0.271335-1.87990.966899
130.2046981.41820.081297
14-0.039064-0.27060.606087
150.0966530.66960.253151
16-0.03218-0.22290.587739
170.0131010.09080.464027
18-0.018974-0.13150.552019
19-0.001475-0.01020.504057
20-0.10726-0.74310.769484
210.1662531.15180.127547
22-0.136984-0.94910.826327
230.0880650.61010.272327
240.0032870.02280.490963
25-0.164255-1.1380.869614
260.0900830.62410.267754
27-0.043657-0.30250.618196
28-0.087101-0.60350.725475
290.0430090.2980.383504
30-0.032356-0.22420.588212
310.0184110.12760.449518
32-0.022048-0.15280.560384
33-0.11755-0.81440.790284
34-0.029384-0.20360.580228
350.0279780.19380.423561

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
0 & 1 & 6.9282 & 0 \tabularnewline
1 & -0.360068 & -2.4946 & 0.991948 \tabularnewline
2 & 0.183379 & 1.2705 & 0.105017 \tabularnewline
3 & 0.177822 & 1.232 & 0.111977 \tabularnewline
4 & -0.122863 & -0.8512 & 0.800563 \tabularnewline
5 & 0.19785 & 1.3707 & 0.088415 \tabularnewline
6 & 0.135428 & 0.9383 & 0.176401 \tabularnewline
7 & -0.18881 & -1.3081 & 0.901468 \tabularnewline
8 & 0.304219 & 2.1077 & 0.020153 \tabularnewline
9 & -0.078822 & -0.5461 & 0.706235 \tabularnewline
10 & -0.043642 & -0.3024 & 0.618157 \tabularnewline
11 & 0.168659 & 1.1685 & 0.124187 \tabularnewline
12 & -0.271335 & -1.8799 & 0.966899 \tabularnewline
13 & 0.204698 & 1.4182 & 0.081297 \tabularnewline
14 & -0.039064 & -0.2706 & 0.606087 \tabularnewline
15 & 0.096653 & 0.6696 & 0.253151 \tabularnewline
16 & -0.03218 & -0.2229 & 0.587739 \tabularnewline
17 & 0.013101 & 0.0908 & 0.464027 \tabularnewline
18 & -0.018974 & -0.1315 & 0.552019 \tabularnewline
19 & -0.001475 & -0.0102 & 0.504057 \tabularnewline
20 & -0.10726 & -0.7431 & 0.769484 \tabularnewline
21 & 0.166253 & 1.1518 & 0.127547 \tabularnewline
22 & -0.136984 & -0.9491 & 0.826327 \tabularnewline
23 & 0.088065 & 0.6101 & 0.272327 \tabularnewline
24 & 0.003287 & 0.0228 & 0.490963 \tabularnewline
25 & -0.164255 & -1.138 & 0.869614 \tabularnewline
26 & 0.090083 & 0.6241 & 0.267754 \tabularnewline
27 & -0.043657 & -0.3025 & 0.618196 \tabularnewline
28 & -0.087101 & -0.6035 & 0.725475 \tabularnewline
29 & 0.043009 & 0.298 & 0.383504 \tabularnewline
30 & -0.032356 & -0.2242 & 0.588212 \tabularnewline
31 & 0.018411 & 0.1276 & 0.449518 \tabularnewline
32 & -0.022048 & -0.1528 & 0.560384 \tabularnewline
33 & -0.11755 & -0.8144 & 0.790284 \tabularnewline
34 & -0.029384 & -0.2036 & 0.580228 \tabularnewline
35 & 0.027978 & 0.1938 & 0.423561 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=7235&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]6.9282[/C][C]0[/C][/ROW]
[ROW][C]1[/C][C]-0.360068[/C][C]-2.4946[/C][C]0.991948[/C][/ROW]
[ROW][C]2[/C][C]0.183379[/C][C]1.2705[/C][C]0.105017[/C][/ROW]
[ROW][C]3[/C][C]0.177822[/C][C]1.232[/C][C]0.111977[/C][/ROW]
[ROW][C]4[/C][C]-0.122863[/C][C]-0.8512[/C][C]0.800563[/C][/ROW]
[ROW][C]5[/C][C]0.19785[/C][C]1.3707[/C][C]0.088415[/C][/ROW]
[ROW][C]6[/C][C]0.135428[/C][C]0.9383[/C][C]0.176401[/C][/ROW]
[ROW][C]7[/C][C]-0.18881[/C][C]-1.3081[/C][C]0.901468[/C][/ROW]
[ROW][C]8[/C][C]0.304219[/C][C]2.1077[/C][C]0.020153[/C][/ROW]
[ROW][C]9[/C][C]-0.078822[/C][C]-0.5461[/C][C]0.706235[/C][/ROW]
[ROW][C]10[/C][C]-0.043642[/C][C]-0.3024[/C][C]0.618157[/C][/ROW]
[ROW][C]11[/C][C]0.168659[/C][C]1.1685[/C][C]0.124187[/C][/ROW]
[ROW][C]12[/C][C]-0.271335[/C][C]-1.8799[/C][C]0.966899[/C][/ROW]
[ROW][C]13[/C][C]0.204698[/C][C]1.4182[/C][C]0.081297[/C][/ROW]
[ROW][C]14[/C][C]-0.039064[/C][C]-0.2706[/C][C]0.606087[/C][/ROW]
[ROW][C]15[/C][C]0.096653[/C][C]0.6696[/C][C]0.253151[/C][/ROW]
[ROW][C]16[/C][C]-0.03218[/C][C]-0.2229[/C][C]0.587739[/C][/ROW]
[ROW][C]17[/C][C]0.013101[/C][C]0.0908[/C][C]0.464027[/C][/ROW]
[ROW][C]18[/C][C]-0.018974[/C][C]-0.1315[/C][C]0.552019[/C][/ROW]
[ROW][C]19[/C][C]-0.001475[/C][C]-0.0102[/C][C]0.504057[/C][/ROW]
[ROW][C]20[/C][C]-0.10726[/C][C]-0.7431[/C][C]0.769484[/C][/ROW]
[ROW][C]21[/C][C]0.166253[/C][C]1.1518[/C][C]0.127547[/C][/ROW]
[ROW][C]22[/C][C]-0.136984[/C][C]-0.9491[/C][C]0.826327[/C][/ROW]
[ROW][C]23[/C][C]0.088065[/C][C]0.6101[/C][C]0.272327[/C][/ROW]
[ROW][C]24[/C][C]0.003287[/C][C]0.0228[/C][C]0.490963[/C][/ROW]
[ROW][C]25[/C][C]-0.164255[/C][C]-1.138[/C][C]0.869614[/C][/ROW]
[ROW][C]26[/C][C]0.090083[/C][C]0.6241[/C][C]0.267754[/C][/ROW]
[ROW][C]27[/C][C]-0.043657[/C][C]-0.3025[/C][C]0.618196[/C][/ROW]
[ROW][C]28[/C][C]-0.087101[/C][C]-0.6035[/C][C]0.725475[/C][/ROW]
[ROW][C]29[/C][C]0.043009[/C][C]0.298[/C][C]0.383504[/C][/ROW]
[ROW][C]30[/C][C]-0.032356[/C][C]-0.2242[/C][C]0.588212[/C][/ROW]
[ROW][C]31[/C][C]0.018411[/C][C]0.1276[/C][C]0.449518[/C][/ROW]
[ROW][C]32[/C][C]-0.022048[/C][C]-0.1528[/C][C]0.560384[/C][/ROW]
[ROW][C]33[/C][C]-0.11755[/C][C]-0.8144[/C][C]0.790284[/C][/ROW]
[ROW][C]34[/C][C]-0.029384[/C][C]-0.2036[/C][C]0.580228[/C][/ROW]
[ROW][C]35[/C][C]0.027978[/C][C]0.1938[/C][C]0.423561[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=7235&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=7235&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
016.92820
1-0.360068-2.49460.991948
20.1833791.27050.105017
30.1778221.2320.111977
4-0.122863-0.85120.800563
50.197851.37070.088415
60.1354280.93830.176401
7-0.18881-1.30810.901468
80.3042192.10770.020153
9-0.078822-0.54610.706235
10-0.043642-0.30240.618157
110.1686591.16850.124187
12-0.271335-1.87990.966899
130.2046981.41820.081297
14-0.039064-0.27060.606087
150.0966530.66960.253151
16-0.03218-0.22290.587739
170.0131010.09080.464027
18-0.018974-0.13150.552019
19-0.001475-0.01020.504057
20-0.10726-0.74310.769484
210.1662531.15180.127547
22-0.136984-0.94910.826327
230.0880650.61010.272327
240.0032870.02280.490963
25-0.164255-1.1380.869614
260.0900830.62410.267754
27-0.043657-0.30250.618196
28-0.087101-0.60350.725475
290.0430090.2980.383504
30-0.032356-0.22420.588212
310.0184110.12760.449518
32-0.022048-0.15280.560384
33-0.11755-0.81440.790284
34-0.029384-0.20360.580228
350.0279780.19380.423561







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
0-0.360068-2.49460.991948
10.0617340.42770.335388
20.3021832.09360.020802
30.0244890.16970.432992
40.0971890.67330.251979
50.2504131.73490.044587
6-0.110432-0.76510.77602
70.090970.63030.265757
80.0668290.4630.322726
9-0.101024-0.69990.756321
10-0.025434-0.17620.569565
11-0.227585-1.57680.93929
120.0389410.26980.394239
130.0010240.00710.497185
140.2778771.92520.030071
150.0042770.02960.488242
16-0.026644-0.18460.572838
170.0164160.11370.454961
18-0.14569-1.00940.841071
19-0.164947-1.14280.870602
200.0775660.53740.29674
210.0045860.03180.487393
220.0032510.02250.491063
230.0317170.21970.413502
24-0.049802-0.3450.634213
25-0.07042-0.48790.686073
260.1106880.76690.223457
27-0.049519-0.34310.633481
28-0.167541-1.16080.87426
290.0077450.05370.478715
300.1320340.91480.182445
31-0.12008-0.83190.795218
32-0.006443-0.04460.517711
33-0.051769-0.35870.639292
340.0112880.07820.468996
35-0.108824-0.7540.77272

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
0 & -0.360068 & -2.4946 & 0.991948 \tabularnewline
1 & 0.061734 & 0.4277 & 0.335388 \tabularnewline
2 & 0.302183 & 2.0936 & 0.020802 \tabularnewline
3 & 0.024489 & 0.1697 & 0.432992 \tabularnewline
4 & 0.097189 & 0.6733 & 0.251979 \tabularnewline
5 & 0.250413 & 1.7349 & 0.044587 \tabularnewline
6 & -0.110432 & -0.7651 & 0.77602 \tabularnewline
7 & 0.09097 & 0.6303 & 0.265757 \tabularnewline
8 & 0.066829 & 0.463 & 0.322726 \tabularnewline
9 & -0.101024 & -0.6999 & 0.756321 \tabularnewline
10 & -0.025434 & -0.1762 & 0.569565 \tabularnewline
11 & -0.227585 & -1.5768 & 0.93929 \tabularnewline
12 & 0.038941 & 0.2698 & 0.394239 \tabularnewline
13 & 0.001024 & 0.0071 & 0.497185 \tabularnewline
14 & 0.277877 & 1.9252 & 0.030071 \tabularnewline
15 & 0.004277 & 0.0296 & 0.488242 \tabularnewline
16 & -0.026644 & -0.1846 & 0.572838 \tabularnewline
17 & 0.016416 & 0.1137 & 0.454961 \tabularnewline
18 & -0.14569 & -1.0094 & 0.841071 \tabularnewline
19 & -0.164947 & -1.1428 & 0.870602 \tabularnewline
20 & 0.077566 & 0.5374 & 0.29674 \tabularnewline
21 & 0.004586 & 0.0318 & 0.487393 \tabularnewline
22 & 0.003251 & 0.0225 & 0.491063 \tabularnewline
23 & 0.031717 & 0.2197 & 0.413502 \tabularnewline
24 & -0.049802 & -0.345 & 0.634213 \tabularnewline
25 & -0.07042 & -0.4879 & 0.686073 \tabularnewline
26 & 0.110688 & 0.7669 & 0.223457 \tabularnewline
27 & -0.049519 & -0.3431 & 0.633481 \tabularnewline
28 & -0.167541 & -1.1608 & 0.87426 \tabularnewline
29 & 0.007745 & 0.0537 & 0.478715 \tabularnewline
30 & 0.132034 & 0.9148 & 0.182445 \tabularnewline
31 & -0.12008 & -0.8319 & 0.795218 \tabularnewline
32 & -0.006443 & -0.0446 & 0.517711 \tabularnewline
33 & -0.051769 & -0.3587 & 0.639292 \tabularnewline
34 & 0.011288 & 0.0782 & 0.468996 \tabularnewline
35 & -0.108824 & -0.754 & 0.77272 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=7235&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.360068[/C][C]-2.4946[/C][C]0.991948[/C][/ROW]
[ROW][C]1[/C][C]0.061734[/C][C]0.4277[/C][C]0.335388[/C][/ROW]
[ROW][C]2[/C][C]0.302183[/C][C]2.0936[/C][C]0.020802[/C][/ROW]
[ROW][C]3[/C][C]0.024489[/C][C]0.1697[/C][C]0.432992[/C][/ROW]
[ROW][C]4[/C][C]0.097189[/C][C]0.6733[/C][C]0.251979[/C][/ROW]
[ROW][C]5[/C][C]0.250413[/C][C]1.7349[/C][C]0.044587[/C][/ROW]
[ROW][C]6[/C][C]-0.110432[/C][C]-0.7651[/C][C]0.77602[/C][/ROW]
[ROW][C]7[/C][C]0.09097[/C][C]0.6303[/C][C]0.265757[/C][/ROW]
[ROW][C]8[/C][C]0.066829[/C][C]0.463[/C][C]0.322726[/C][/ROW]
[ROW][C]9[/C][C]-0.101024[/C][C]-0.6999[/C][C]0.756321[/C][/ROW]
[ROW][C]10[/C][C]-0.025434[/C][C]-0.1762[/C][C]0.569565[/C][/ROW]
[ROW][C]11[/C][C]-0.227585[/C][C]-1.5768[/C][C]0.93929[/C][/ROW]
[ROW][C]12[/C][C]0.038941[/C][C]0.2698[/C][C]0.394239[/C][/ROW]
[ROW][C]13[/C][C]0.001024[/C][C]0.0071[/C][C]0.497185[/C][/ROW]
[ROW][C]14[/C][C]0.277877[/C][C]1.9252[/C][C]0.030071[/C][/ROW]
[ROW][C]15[/C][C]0.004277[/C][C]0.0296[/C][C]0.488242[/C][/ROW]
[ROW][C]16[/C][C]-0.026644[/C][C]-0.1846[/C][C]0.572838[/C][/ROW]
[ROW][C]17[/C][C]0.016416[/C][C]0.1137[/C][C]0.454961[/C][/ROW]
[ROW][C]18[/C][C]-0.14569[/C][C]-1.0094[/C][C]0.841071[/C][/ROW]
[ROW][C]19[/C][C]-0.164947[/C][C]-1.1428[/C][C]0.870602[/C][/ROW]
[ROW][C]20[/C][C]0.077566[/C][C]0.5374[/C][C]0.29674[/C][/ROW]
[ROW][C]21[/C][C]0.004586[/C][C]0.0318[/C][C]0.487393[/C][/ROW]
[ROW][C]22[/C][C]0.003251[/C][C]0.0225[/C][C]0.491063[/C][/ROW]
[ROW][C]23[/C][C]0.031717[/C][C]0.2197[/C][C]0.413502[/C][/ROW]
[ROW][C]24[/C][C]-0.049802[/C][C]-0.345[/C][C]0.634213[/C][/ROW]
[ROW][C]25[/C][C]-0.07042[/C][C]-0.4879[/C][C]0.686073[/C][/ROW]
[ROW][C]26[/C][C]0.110688[/C][C]0.7669[/C][C]0.223457[/C][/ROW]
[ROW][C]27[/C][C]-0.049519[/C][C]-0.3431[/C][C]0.633481[/C][/ROW]
[ROW][C]28[/C][C]-0.167541[/C][C]-1.1608[/C][C]0.87426[/C][/ROW]
[ROW][C]29[/C][C]0.007745[/C][C]0.0537[/C][C]0.478715[/C][/ROW]
[ROW][C]30[/C][C]0.132034[/C][C]0.9148[/C][C]0.182445[/C][/ROW]
[ROW][C]31[/C][C]-0.12008[/C][C]-0.8319[/C][C]0.795218[/C][/ROW]
[ROW][C]32[/C][C]-0.006443[/C][C]-0.0446[/C][C]0.517711[/C][/ROW]
[ROW][C]33[/C][C]-0.051769[/C][C]-0.3587[/C][C]0.639292[/C][/ROW]
[ROW][C]34[/C][C]0.011288[/C][C]0.0782[/C][C]0.468996[/C][/ROW]
[ROW][C]35[/C][C]-0.108824[/C][C]-0.754[/C][C]0.77272[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=7235&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=7235&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
0-0.360068-2.49460.991948
10.0617340.42770.335388
20.3021832.09360.020802
30.0244890.16970.432992
40.0971890.67330.251979
50.2504131.73490.044587
6-0.110432-0.76510.77602
70.090970.63030.265757
80.0668290.4630.322726
9-0.101024-0.69990.756321
10-0.025434-0.17620.569565
11-0.227585-1.57680.93929
120.0389410.26980.394239
130.0010240.00710.497185
140.2778771.92520.030071
150.0042770.02960.488242
16-0.026644-0.18460.572838
170.0164160.11370.454961
18-0.14569-1.00940.841071
19-0.164947-1.14280.870602
200.0775660.53740.29674
210.0045860.03180.487393
220.0032510.02250.491063
230.0317170.21970.413502
24-0.049802-0.3450.634213
25-0.07042-0.48790.686073
260.1106880.76690.223457
27-0.049519-0.34310.633481
28-0.167541-1.16080.87426
290.0077450.05370.478715
300.1320340.91480.182445
31-0.12008-0.83190.795218
32-0.006443-0.04460.517711
33-0.051769-0.35870.639292
340.0112880.07820.468996
35-0.108824-0.7540.77272



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