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 computationTue, 28 Dec 2010 13:45:01 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2010/Dec/28/t12935438190gopfwb3jzruq4y.htm/, Retrieved Sat, 04 May 2024 21:45:25 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=116353, Retrieved Sat, 04 May 2024 21:45:25 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact156
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [(Partial) Autocorrelation Function] [Autocorrelatie2] [2010-12-28 13:45:01] [a35bd1e3fb5b4b301d5250bc2f7eb297] [Current]
Feedback Forum

Post a new message
Dataseries X:
5
0
-2
6
11
9
17
21
21
41
57
65
68
73
71
71
70
69
65
57
57
57
55
65
65
64
60
43
47
40
31
27
24
23
17
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=116353&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=116353&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=116353&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
1-0.058981-0.28290.389905
2-0.134648-0.64570.262417
30.2841591.36280.093074
4-0.157509-0.75540.228842
5-0.048707-0.23360.408686
60.0308020.14770.441925
7-0.166289-0.79750.21666
8-0.039213-0.18810.42624
9-0.200135-0.95980.173565
10-0.116171-0.55710.291408
110.0417540.20020.421524
12-0.117545-0.56370.289198
13-0.029539-0.14170.44429
14-0.016287-0.07810.469208
150.0627380.30090.383105
160.0102510.04920.480608
170.0634360.30420.381845
180.0730260.35020.36468
190.0404020.19380.424031
200.0643280.30850.380237
21-0.013445-0.06450.474572
22-0.072427-0.34730.365745
23NANANA
24NANANA
25NANANA
26NANANA
27NANANA
28NANANA
29NANANA
30NANANA
31NANANA
32NANANA
33NANANA
34NANANA
35NANANA
36NANANA

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & -0.058981 & -0.2829 & 0.389905 \tabularnewline
2 & -0.134648 & -0.6457 & 0.262417 \tabularnewline
3 & 0.284159 & 1.3628 & 0.093074 \tabularnewline
4 & -0.157509 & -0.7554 & 0.228842 \tabularnewline
5 & -0.048707 & -0.2336 & 0.408686 \tabularnewline
6 & 0.030802 & 0.1477 & 0.441925 \tabularnewline
7 & -0.166289 & -0.7975 & 0.21666 \tabularnewline
8 & -0.039213 & -0.1881 & 0.42624 \tabularnewline
9 & -0.200135 & -0.9598 & 0.173565 \tabularnewline
10 & -0.116171 & -0.5571 & 0.291408 \tabularnewline
11 & 0.041754 & 0.2002 & 0.421524 \tabularnewline
12 & -0.117545 & -0.5637 & 0.289198 \tabularnewline
13 & -0.029539 & -0.1417 & 0.44429 \tabularnewline
14 & -0.016287 & -0.0781 & 0.469208 \tabularnewline
15 & 0.062738 & 0.3009 & 0.383105 \tabularnewline
16 & 0.010251 & 0.0492 & 0.480608 \tabularnewline
17 & 0.063436 & 0.3042 & 0.381845 \tabularnewline
18 & 0.073026 & 0.3502 & 0.36468 \tabularnewline
19 & 0.040402 & 0.1938 & 0.424031 \tabularnewline
20 & 0.064328 & 0.3085 & 0.380237 \tabularnewline
21 & -0.013445 & -0.0645 & 0.474572 \tabularnewline
22 & -0.072427 & -0.3473 & 0.365745 \tabularnewline
23 & NA & NA & NA \tabularnewline
24 & NA & NA & NA \tabularnewline
25 & NA & NA & NA \tabularnewline
26 & NA & NA & NA \tabularnewline
27 & NA & NA & NA \tabularnewline
28 & NA & NA & NA \tabularnewline
29 & NA & NA & NA \tabularnewline
30 & NA & NA & NA \tabularnewline
31 & NA & NA & NA \tabularnewline
32 & NA & NA & NA \tabularnewline
33 & NA & NA & NA \tabularnewline
34 & NA & NA & NA \tabularnewline
35 & NA & NA & NA \tabularnewline
36 & NA & NA & NA \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=116353&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.058981[/C][C]-0.2829[/C][C]0.389905[/C][/ROW]
[ROW][C]2[/C][C]-0.134648[/C][C]-0.6457[/C][C]0.262417[/C][/ROW]
[ROW][C]3[/C][C]0.284159[/C][C]1.3628[/C][C]0.093074[/C][/ROW]
[ROW][C]4[/C][C]-0.157509[/C][C]-0.7554[/C][C]0.228842[/C][/ROW]
[ROW][C]5[/C][C]-0.048707[/C][C]-0.2336[/C][C]0.408686[/C][/ROW]
[ROW][C]6[/C][C]0.030802[/C][C]0.1477[/C][C]0.441925[/C][/ROW]
[ROW][C]7[/C][C]-0.166289[/C][C]-0.7975[/C][C]0.21666[/C][/ROW]
[ROW][C]8[/C][C]-0.039213[/C][C]-0.1881[/C][C]0.42624[/C][/ROW]
[ROW][C]9[/C][C]-0.200135[/C][C]-0.9598[/C][C]0.173565[/C][/ROW]
[ROW][C]10[/C][C]-0.116171[/C][C]-0.5571[/C][C]0.291408[/C][/ROW]
[ROW][C]11[/C][C]0.041754[/C][C]0.2002[/C][C]0.421524[/C][/ROW]
[ROW][C]12[/C][C]-0.117545[/C][C]-0.5637[/C][C]0.289198[/C][/ROW]
[ROW][C]13[/C][C]-0.029539[/C][C]-0.1417[/C][C]0.44429[/C][/ROW]
[ROW][C]14[/C][C]-0.016287[/C][C]-0.0781[/C][C]0.469208[/C][/ROW]
[ROW][C]15[/C][C]0.062738[/C][C]0.3009[/C][C]0.383105[/C][/ROW]
[ROW][C]16[/C][C]0.010251[/C][C]0.0492[/C][C]0.480608[/C][/ROW]
[ROW][C]17[/C][C]0.063436[/C][C]0.3042[/C][C]0.381845[/C][/ROW]
[ROW][C]18[/C][C]0.073026[/C][C]0.3502[/C][C]0.36468[/C][/ROW]
[ROW][C]19[/C][C]0.040402[/C][C]0.1938[/C][C]0.424031[/C][/ROW]
[ROW][C]20[/C][C]0.064328[/C][C]0.3085[/C][C]0.380237[/C][/ROW]
[ROW][C]21[/C][C]-0.013445[/C][C]-0.0645[/C][C]0.474572[/C][/ROW]
[ROW][C]22[/C][C]-0.072427[/C][C]-0.3473[/C][C]0.365745[/C][/ROW]
[ROW][C]23[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]24[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]25[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]26[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]27[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]28[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]29[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]30[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]31[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]32[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]33[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]34[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]35[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]36[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=116353&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=116353&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
1-0.058981-0.28290.389905
2-0.134648-0.64570.262417
30.2841591.36280.093074
4-0.157509-0.75540.228842
5-0.048707-0.23360.408686
60.0308020.14770.441925
7-0.166289-0.79750.21666
8-0.039213-0.18810.42624
9-0.200135-0.95980.173565
10-0.116171-0.55710.291408
110.0417540.20020.421524
12-0.117545-0.56370.289198
13-0.029539-0.14170.44429
14-0.016287-0.07810.469208
150.0627380.30090.383105
160.0102510.04920.480608
170.0634360.30420.381845
180.0730260.35020.36468
190.0404020.19380.424031
200.0643280.30850.380237
21-0.013445-0.06450.474572
22-0.072427-0.34730.365745
23NANANA
24NANANA
25NANANA
26NANANA
27NANANA
28NANANA
29NANANA
30NANANA
31NANANA
32NANANA
33NANANA
34NANANA
35NANANA
36NANANA







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.058981-0.28290.389905
2-0.138609-0.66470.256412
30.273121.30980.101592
4-0.165034-0.79150.218377
50.0227120.10890.457104
6-0.101601-0.48730.315342
7-0.091057-0.43670.333203
8-0.074254-0.35610.362503
9-0.26163-1.25470.111089
10-0.091211-0.43740.332939
11-0.068219-0.32720.373251
12-0.072278-0.34660.36601
13-0.088932-0.42650.336853
14-0.15576-0.7470.231316
150.0547220.26240.397659
16-0.134905-0.6470.262024
170.0444470.21320.41654
18-0.111654-0.53550.298731
190.0129540.06210.475501
20-0.014278-0.06850.473
21-0.107815-0.51710.305025
22-0.131648-0.63140.267014
23NANANA
24NANANA
25NANANA
26NANANA
27NANANA
28NANANA
29NANANA
30NANANA
31NANANA
32NANANA
33NANANA
34NANANA
35NANANA
36NANANA

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & -0.058981 & -0.2829 & 0.389905 \tabularnewline
2 & -0.138609 & -0.6647 & 0.256412 \tabularnewline
3 & 0.27312 & 1.3098 & 0.101592 \tabularnewline
4 & -0.165034 & -0.7915 & 0.218377 \tabularnewline
5 & 0.022712 & 0.1089 & 0.457104 \tabularnewline
6 & -0.101601 & -0.4873 & 0.315342 \tabularnewline
7 & -0.091057 & -0.4367 & 0.333203 \tabularnewline
8 & -0.074254 & -0.3561 & 0.362503 \tabularnewline
9 & -0.26163 & -1.2547 & 0.111089 \tabularnewline
10 & -0.091211 & -0.4374 & 0.332939 \tabularnewline
11 & -0.068219 & -0.3272 & 0.373251 \tabularnewline
12 & -0.072278 & -0.3466 & 0.36601 \tabularnewline
13 & -0.088932 & -0.4265 & 0.336853 \tabularnewline
14 & -0.15576 & -0.747 & 0.231316 \tabularnewline
15 & 0.054722 & 0.2624 & 0.397659 \tabularnewline
16 & -0.134905 & -0.647 & 0.262024 \tabularnewline
17 & 0.044447 & 0.2132 & 0.41654 \tabularnewline
18 & -0.111654 & -0.5355 & 0.298731 \tabularnewline
19 & 0.012954 & 0.0621 & 0.475501 \tabularnewline
20 & -0.014278 & -0.0685 & 0.473 \tabularnewline
21 & -0.107815 & -0.5171 & 0.305025 \tabularnewline
22 & -0.131648 & -0.6314 & 0.267014 \tabularnewline
23 & NA & NA & NA \tabularnewline
24 & NA & NA & NA \tabularnewline
25 & NA & NA & NA \tabularnewline
26 & NA & NA & NA \tabularnewline
27 & NA & NA & NA \tabularnewline
28 & NA & NA & NA \tabularnewline
29 & NA & NA & NA \tabularnewline
30 & NA & NA & NA \tabularnewline
31 & NA & NA & NA \tabularnewline
32 & NA & NA & NA \tabularnewline
33 & NA & NA & NA \tabularnewline
34 & NA & NA & NA \tabularnewline
35 & NA & NA & NA \tabularnewline
36 & NA & NA & NA \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=116353&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.058981[/C][C]-0.2829[/C][C]0.389905[/C][/ROW]
[ROW][C]2[/C][C]-0.138609[/C][C]-0.6647[/C][C]0.256412[/C][/ROW]
[ROW][C]3[/C][C]0.27312[/C][C]1.3098[/C][C]0.101592[/C][/ROW]
[ROW][C]4[/C][C]-0.165034[/C][C]-0.7915[/C][C]0.218377[/C][/ROW]
[ROW][C]5[/C][C]0.022712[/C][C]0.1089[/C][C]0.457104[/C][/ROW]
[ROW][C]6[/C][C]-0.101601[/C][C]-0.4873[/C][C]0.315342[/C][/ROW]
[ROW][C]7[/C][C]-0.091057[/C][C]-0.4367[/C][C]0.333203[/C][/ROW]
[ROW][C]8[/C][C]-0.074254[/C][C]-0.3561[/C][C]0.362503[/C][/ROW]
[ROW][C]9[/C][C]-0.26163[/C][C]-1.2547[/C][C]0.111089[/C][/ROW]
[ROW][C]10[/C][C]-0.091211[/C][C]-0.4374[/C][C]0.332939[/C][/ROW]
[ROW][C]11[/C][C]-0.068219[/C][C]-0.3272[/C][C]0.373251[/C][/ROW]
[ROW][C]12[/C][C]-0.072278[/C][C]-0.3466[/C][C]0.36601[/C][/ROW]
[ROW][C]13[/C][C]-0.088932[/C][C]-0.4265[/C][C]0.336853[/C][/ROW]
[ROW][C]14[/C][C]-0.15576[/C][C]-0.747[/C][C]0.231316[/C][/ROW]
[ROW][C]15[/C][C]0.054722[/C][C]0.2624[/C][C]0.397659[/C][/ROW]
[ROW][C]16[/C][C]-0.134905[/C][C]-0.647[/C][C]0.262024[/C][/ROW]
[ROW][C]17[/C][C]0.044447[/C][C]0.2132[/C][C]0.41654[/C][/ROW]
[ROW][C]18[/C][C]-0.111654[/C][C]-0.5355[/C][C]0.298731[/C][/ROW]
[ROW][C]19[/C][C]0.012954[/C][C]0.0621[/C][C]0.475501[/C][/ROW]
[ROW][C]20[/C][C]-0.014278[/C][C]-0.0685[/C][C]0.473[/C][/ROW]
[ROW][C]21[/C][C]-0.107815[/C][C]-0.5171[/C][C]0.305025[/C][/ROW]
[ROW][C]22[/C][C]-0.131648[/C][C]-0.6314[/C][C]0.267014[/C][/ROW]
[ROW][C]23[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]24[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]25[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]26[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]27[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]28[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]29[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]30[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]31[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]32[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]33[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]34[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]35[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[ROW][C]36[/C][C]NA[/C][C]NA[/C][C]NA[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=116353&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=116353&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
1-0.058981-0.28290.389905
2-0.138609-0.66470.256412
30.273121.30980.101592
4-0.165034-0.79150.218377
50.0227120.10890.457104
6-0.101601-0.48730.315342
7-0.091057-0.43670.333203
8-0.074254-0.35610.362503
9-0.26163-1.25470.111089
10-0.091211-0.43740.332939
11-0.068219-0.32720.373251
12-0.072278-0.34660.36601
13-0.088932-0.42650.336853
14-0.15576-0.7470.231316
150.0547220.26240.397659
16-0.134905-0.6470.262024
170.0444470.21320.41654
18-0.111654-0.53550.298731
190.0129540.06210.475501
20-0.014278-0.06850.473
21-0.107815-0.51710.305025
22-0.131648-0.63140.267014
23NANANA
24NANANA
25NANANA
26NANANA
27NANANA
28NANANA
29NANANA
30NANANA
31NANANA
32NANANA
33NANANA
34NANANA
35NANANA
36NANANA



Parameters (Session):
par1 = 36 ; par2 = 1 ; par3 = 1 ; par4 = 1 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
Parameters (R input):
par1 = 36 ; par2 = 1 ; par3 = 1 ; par4 = 1 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ; par8 = ;
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 (par8 != '') par8 <- as.numeric(par8)
ox <- x
if (par8 == '') {
if (par2 == 0) {
x <- log(x)
} else {
x <- (x ^ par2 - 1) / par2
}
} else {
x <- log(x,base=par8)
}
if (par3 > 0) x <- diff(x,lag=1,difference=par3)
if (par4 > 0) x <- diff(x,lag=par5,difference=par4)
bitmap(file='picts.png')
op <- par(mfrow=c(2,1))
plot(ox,type='l',main='Original Time Series',xlab='time',ylab='value')
if (par8=='') {
mytitle <- paste('Working Time Series (lambda=',par2,', d=',par3,', D=',par4,')',sep='')
mysub <- paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep='')
} else {
mytitle <- paste('Working Time Series (base=',par8,', d=',par3,', D=',par4,')',sep='')
mysub <- paste('(base=',par8,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep='')
}
plot(x,type='l', main=mytitle,xlab='time',ylab='value')
par(op)
dev.off()
bitmap(file='pic1.png')
racf <- acf(x, par1, main='Autocorrelation', xlab='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=mysub)
dev.off()
bitmap(file='pic2.png')
rpacf <- pacf(x,par1,main='Partial Autocorrelation',xlab='lags',ylab='PACF',sub=mysub)
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')