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 computationMon, 22 Nov 2010 14:45:44 +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/Nov/22/t1290437063zom1hcjfhbjd5ln.htm/, Retrieved Fri, 03 May 2024 22:04:38 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=98548, Retrieved Fri, 03 May 2024 22:04:38 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact109
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [(Partial) Autocorrelation Function] [] [2010-11-22 14:45:44] [9b9a58c480cb5dafe4bfceb51e1cfd12] [Current]
Feedback Forum

Post a new message
Dataseries X:
-3.5527136788005E-15
-3.5527136788005E-15
-3.5527136788005E-15
-3.5527136788005E-15
-3.5527136788005E-15
-3.5527136788005E-15
-3.5527136788005E-15
-3.5527136788005E-15
-0.027018803106504
4.7517545453957E-14
4.7517545453957E-14
4.7517545453957E-14
4.7517545453957E-14
0.027018803106547
-0.027018803106504
4.7517545453957E-14
4.7517545453957E-14
4.7517545453957E-14
4.7517545453957E-14
4.7517545453957E-14
4.7517545453957E-14
4.7517545453957E-14
0.027018803106547
-0.027018803106504
0.027018803106547
-3.5527136788005E-15
-3.5527136788005E-15
-3.5527136788005E-15
-3.5527136788005E-15
-3.5527136788005E-15
-3.5527136788005E-15
-3.5527136788005E-15
-0.027018803106504
4.7517545453957E-14
4.7517545453957E-14
4.7517545453957E-14
4.7517545453957E-14
4.7517545453957E-14
0.027018803106547
-3.5527136788005E-15
-3.5527136788005E-15
-3.5527136788005E-15
-3.5527136788005E-15
-3.5527136788005E-15
-3.5527136788005E-15
-3.5527136788005E-15
-0.027018803106504
4.7517545453957E-14
4.7517545453957E-14
4.7517545453957E-14
4.7517545453957E-14
4.7517545453957E-14
0.027018803106547
-3.5527136788005E-15
-3.5527136788005E-15
-3.5527136788005E-15
-3.5527136788005E-15
-3.5527136788005E-15
-3.5527136788005E-15
-3.5527136788005E-15
-3.5527136788005E-15
-3.5527136788005E-15
-3.5527136788005E-15
-3.5527136788005E-15
-3.5527136788005E-15
-3.5527136788005E-15
-3.5527136788005E-15
-0.027018803106504
4.7517545453957E-14
4.7517545453957E-14
4.7517545453957E-14
4.7517545453957E-14
0.027018803106547
-3.5527136788005E-15
-3.5527136788005E-15
-3.5527136788005E-15
-3.5527136788005E-15
-3.5527136788005E-15
-3.5527136788005E-15
-3.5527136788005E-15
-3.5527136788005E-15
-3.5527136788005E-15
-0.027018803106504
0.027018803106547
-0.0061427474094038
5.3290705182008E-15
5.3290705182008E-15
0.026467925613205
-0.026467925613225
5.3290705182008E-15
0.026467925613205
-2.5313084961454E-14
-2.5313084961454E-14
-2.5313084961454E-14
-2.5313084961454E-14
-0.026467925613225
5.3290705182008E-15
5.3290705182008E-15
5.3290705182008E-15
0.026467925613205
-2.5313084961454E-14
-2.5313084961454E-14
-2.5313084961454E-14
-2.5313084961454E-14
-2.5313084961454E-14
-2.5313084961454E-14
-2.5313084961454E-14
-0.026467925613225
0.026467925613205
-2.5313084961454E-14
-2.5313084961454E-14
-2.5313084961454E-14
-2.5313084961454E-14
-2.5313084961454E-14
-2.5313084961454E-14
-2.5313084961454E-14
-2.5313084961454E-14
-2.5313084961454E-14
-2.5313084961454E-14
-2.5313084961454E-14
-2.5313084961454E-14
-2.5313084961454E-14
-2.5313084961454E-14
-2.5313084961454E-14
-2.5313084961454E-14
-2.5313084961454E-14
-2.5313084961454E-14
-0.026467925613225
5.3290705182008E-15
5.3290705182008E-15
5.3290705182008E-15
5.3290705182008E-15
5.3290705182008E-15
5.3290705182008E-15
5.3290705182008E-15
5.3290705182008E-15
5.3290705182008E-15
5.3290705182008E-15
5.3290705182008E-15
5.3290705182008E-15
5.3290705182008E-15
5.3290705182008E-15
0.026467925613205
-0.026467925613225
5.3290705182008E-15
0.026467925613205
-2.5313084961454E-14
-2.5313084961454E-14
-0.026467925613225
0.026467925613205
-0.026467925613225
5.3290705182008E-15
5.3290705182008E-15
5.3290705182008E-15
5.3290705182008E-15
0.026467925613205
-2.5313084961454E-14
-0.026467925613225
0.026467925613205
-0.026467925613225
5.3290705182008E-15
5.3290705182008E-15
0.026467925613205
-2.5313084961454E-14
-2.5313084961454E-14
-2.5313084961454E-14
-2.5313084961454E-14
-2.5313084961454E-14
-0.026467925613225
5.3290705182008E-15
5.3290705182008E-15
5.3290705182008E-15
5.3290705182008E-15
5.3290705182008E-15
5.3290705182008E-15
0.026467925613205
-2.5313084961454E-14
-2.5313084961454E-14
-2.5313084961454E-14
-2.5313084961454E-14
-2.5313084961454E-14
-2.5313084961454E-14
-0.026467925613225
5.3290705182008E-15
0.026467925613205
-2.5313084961454E-14
-0.026467925613225
0.026467925613205
-2.5313084961454E-14
-2.5313084961454E-14
-2.5313084961454E-14
-0.026467925613225
5.3290705182008E-15
5.3290705182008E-15
5.3290705182008E-15
5.3290705182008E-15
5.3290705182008E-15
5.3290705182008E-15
5.3290705182008E-15
5.3290705182008E-15




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk

\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 & 'RServer@AstonUniversity' @ vre.aston.ac.uk \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=98548&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]'RServer@AstonUniversity' @ vre.aston.ac.uk[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=98548&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=98548&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'RServer@AstonUniversity' @ vre.aston.ac.uk







Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.305233-4.31671.2e-05
2-0.042352-0.5990.274941
30.0434930.61510.269601
40.0308210.43590.331701
5-0.175335-2.47960.00699
6-0.05545-0.78420.216932
70.0497150.70310.241413
8-0.225067-3.18290.000845
90.2738093.87227.3e-05
10-0.151718-2.14560.016555
110.057040.80670.210406
12-0.030895-0.43690.331318
130.0743491.05140.147161
140.0513010.72550.234496
15-0.054357-0.76870.221481
16-0.025618-0.36230.358759
17-0.019266-0.27250.392775
180.0754121.06650.143745
19-0.099404-1.40580.08067
20-0.000462-0.00650.497398
210.1000171.41440.079392
22-0.025589-0.36190.358909
230.0303470.42920.33413

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & -0.305233 & -4.3167 & 1.2e-05 \tabularnewline
2 & -0.042352 & -0.599 & 0.274941 \tabularnewline
3 & 0.043493 & 0.6151 & 0.269601 \tabularnewline
4 & 0.030821 & 0.4359 & 0.331701 \tabularnewline
5 & -0.175335 & -2.4796 & 0.00699 \tabularnewline
6 & -0.05545 & -0.7842 & 0.216932 \tabularnewline
7 & 0.049715 & 0.7031 & 0.241413 \tabularnewline
8 & -0.225067 & -3.1829 & 0.000845 \tabularnewline
9 & 0.273809 & 3.8722 & 7.3e-05 \tabularnewline
10 & -0.151718 & -2.1456 & 0.016555 \tabularnewline
11 & 0.05704 & 0.8067 & 0.210406 \tabularnewline
12 & -0.030895 & -0.4369 & 0.331318 \tabularnewline
13 & 0.074349 & 1.0514 & 0.147161 \tabularnewline
14 & 0.051301 & 0.7255 & 0.234496 \tabularnewline
15 & -0.054357 & -0.7687 & 0.221481 \tabularnewline
16 & -0.025618 & -0.3623 & 0.358759 \tabularnewline
17 & -0.019266 & -0.2725 & 0.392775 \tabularnewline
18 & 0.075412 & 1.0665 & 0.143745 \tabularnewline
19 & -0.099404 & -1.4058 & 0.08067 \tabularnewline
20 & -0.000462 & -0.0065 & 0.497398 \tabularnewline
21 & 0.100017 & 1.4144 & 0.079392 \tabularnewline
22 & -0.025589 & -0.3619 & 0.358909 \tabularnewline
23 & 0.030347 & 0.4292 & 0.33413 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=98548&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.305233[/C][C]-4.3167[/C][C]1.2e-05[/C][/ROW]
[ROW][C]2[/C][C]-0.042352[/C][C]-0.599[/C][C]0.274941[/C][/ROW]
[ROW][C]3[/C][C]0.043493[/C][C]0.6151[/C][C]0.269601[/C][/ROW]
[ROW][C]4[/C][C]0.030821[/C][C]0.4359[/C][C]0.331701[/C][/ROW]
[ROW][C]5[/C][C]-0.175335[/C][C]-2.4796[/C][C]0.00699[/C][/ROW]
[ROW][C]6[/C][C]-0.05545[/C][C]-0.7842[/C][C]0.216932[/C][/ROW]
[ROW][C]7[/C][C]0.049715[/C][C]0.7031[/C][C]0.241413[/C][/ROW]
[ROW][C]8[/C][C]-0.225067[/C][C]-3.1829[/C][C]0.000845[/C][/ROW]
[ROW][C]9[/C][C]0.273809[/C][C]3.8722[/C][C]7.3e-05[/C][/ROW]
[ROW][C]10[/C][C]-0.151718[/C][C]-2.1456[/C][C]0.016555[/C][/ROW]
[ROW][C]11[/C][C]0.05704[/C][C]0.8067[/C][C]0.210406[/C][/ROW]
[ROW][C]12[/C][C]-0.030895[/C][C]-0.4369[/C][C]0.331318[/C][/ROW]
[ROW][C]13[/C][C]0.074349[/C][C]1.0514[/C][C]0.147161[/C][/ROW]
[ROW][C]14[/C][C]0.051301[/C][C]0.7255[/C][C]0.234496[/C][/ROW]
[ROW][C]15[/C][C]-0.054357[/C][C]-0.7687[/C][C]0.221481[/C][/ROW]
[ROW][C]16[/C][C]-0.025618[/C][C]-0.3623[/C][C]0.358759[/C][/ROW]
[ROW][C]17[/C][C]-0.019266[/C][C]-0.2725[/C][C]0.392775[/C][/ROW]
[ROW][C]18[/C][C]0.075412[/C][C]1.0665[/C][C]0.143745[/C][/ROW]
[ROW][C]19[/C][C]-0.099404[/C][C]-1.4058[/C][C]0.08067[/C][/ROW]
[ROW][C]20[/C][C]-0.000462[/C][C]-0.0065[/C][C]0.497398[/C][/ROW]
[ROW][C]21[/C][C]0.100017[/C][C]1.4144[/C][C]0.079392[/C][/ROW]
[ROW][C]22[/C][C]-0.025589[/C][C]-0.3619[/C][C]0.358909[/C][/ROW]
[ROW][C]23[/C][C]0.030347[/C][C]0.4292[/C][C]0.33413[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=98548&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=98548&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.305233-4.31671.2e-05
2-0.042352-0.5990.274941
30.0434930.61510.269601
40.0308210.43590.331701
5-0.175335-2.47960.00699
6-0.05545-0.78420.216932
70.0497150.70310.241413
8-0.225067-3.18290.000845
90.2738093.87227.3e-05
10-0.151718-2.14560.016555
110.057040.80670.210406
12-0.030895-0.43690.331318
130.0743491.05140.147161
140.0513010.72550.234496
15-0.054357-0.76870.221481
16-0.025618-0.36230.358759
17-0.019266-0.27250.392775
180.0754121.06650.143745
19-0.099404-1.40580.08067
20-0.000462-0.00650.497398
210.1000171.41440.079392
22-0.025589-0.36190.358909
230.0303470.42920.33413







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.305233-4.31671.2e-05
2-0.149443-2.11340.017901
3-0.019154-0.27090.393382
40.0380750.53850.295429
5-0.165589-2.34180.010088
6-0.187814-2.65610.004271
7-0.074987-1.06050.145104
8-0.293168-4.1462.5e-05
90.1278021.80740.036102
10-0.126341-1.78670.037748
11-0.039259-0.55520.289686
12-0.104994-1.48480.069581
13-0.074849-1.05850.145547
140.0932321.31850.094423
15-0.014921-0.2110.416546
16-0.113492-1.6050.055034
17-0.017351-0.24540.403208
18-0.052574-0.74350.229025
190.0105580.14930.44073
20-0.070499-0.9970.159981
210.088511.25170.106066
220.0204070.28860.386593
230.0278240.39350.347189

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & -0.305233 & -4.3167 & 1.2e-05 \tabularnewline
2 & -0.149443 & -2.1134 & 0.017901 \tabularnewline
3 & -0.019154 & -0.2709 & 0.393382 \tabularnewline
4 & 0.038075 & 0.5385 & 0.295429 \tabularnewline
5 & -0.165589 & -2.3418 & 0.010088 \tabularnewline
6 & -0.187814 & -2.6561 & 0.004271 \tabularnewline
7 & -0.074987 & -1.0605 & 0.145104 \tabularnewline
8 & -0.293168 & -4.146 & 2.5e-05 \tabularnewline
9 & 0.127802 & 1.8074 & 0.036102 \tabularnewline
10 & -0.126341 & -1.7867 & 0.037748 \tabularnewline
11 & -0.039259 & -0.5552 & 0.289686 \tabularnewline
12 & -0.104994 & -1.4848 & 0.069581 \tabularnewline
13 & -0.074849 & -1.0585 & 0.145547 \tabularnewline
14 & 0.093232 & 1.3185 & 0.094423 \tabularnewline
15 & -0.014921 & -0.211 & 0.416546 \tabularnewline
16 & -0.113492 & -1.605 & 0.055034 \tabularnewline
17 & -0.017351 & -0.2454 & 0.403208 \tabularnewline
18 & -0.052574 & -0.7435 & 0.229025 \tabularnewline
19 & 0.010558 & 0.1493 & 0.44073 \tabularnewline
20 & -0.070499 & -0.997 & 0.159981 \tabularnewline
21 & 0.08851 & 1.2517 & 0.106066 \tabularnewline
22 & 0.020407 & 0.2886 & 0.386593 \tabularnewline
23 & 0.027824 & 0.3935 & 0.347189 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=98548&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.305233[/C][C]-4.3167[/C][C]1.2e-05[/C][/ROW]
[ROW][C]2[/C][C]-0.149443[/C][C]-2.1134[/C][C]0.017901[/C][/ROW]
[ROW][C]3[/C][C]-0.019154[/C][C]-0.2709[/C][C]0.393382[/C][/ROW]
[ROW][C]4[/C][C]0.038075[/C][C]0.5385[/C][C]0.295429[/C][/ROW]
[ROW][C]5[/C][C]-0.165589[/C][C]-2.3418[/C][C]0.010088[/C][/ROW]
[ROW][C]6[/C][C]-0.187814[/C][C]-2.6561[/C][C]0.004271[/C][/ROW]
[ROW][C]7[/C][C]-0.074987[/C][C]-1.0605[/C][C]0.145104[/C][/ROW]
[ROW][C]8[/C][C]-0.293168[/C][C]-4.146[/C][C]2.5e-05[/C][/ROW]
[ROW][C]9[/C][C]0.127802[/C][C]1.8074[/C][C]0.036102[/C][/ROW]
[ROW][C]10[/C][C]-0.126341[/C][C]-1.7867[/C][C]0.037748[/C][/ROW]
[ROW][C]11[/C][C]-0.039259[/C][C]-0.5552[/C][C]0.289686[/C][/ROW]
[ROW][C]12[/C][C]-0.104994[/C][C]-1.4848[/C][C]0.069581[/C][/ROW]
[ROW][C]13[/C][C]-0.074849[/C][C]-1.0585[/C][C]0.145547[/C][/ROW]
[ROW][C]14[/C][C]0.093232[/C][C]1.3185[/C][C]0.094423[/C][/ROW]
[ROW][C]15[/C][C]-0.014921[/C][C]-0.211[/C][C]0.416546[/C][/ROW]
[ROW][C]16[/C][C]-0.113492[/C][C]-1.605[/C][C]0.055034[/C][/ROW]
[ROW][C]17[/C][C]-0.017351[/C][C]-0.2454[/C][C]0.403208[/C][/ROW]
[ROW][C]18[/C][C]-0.052574[/C][C]-0.7435[/C][C]0.229025[/C][/ROW]
[ROW][C]19[/C][C]0.010558[/C][C]0.1493[/C][C]0.44073[/C][/ROW]
[ROW][C]20[/C][C]-0.070499[/C][C]-0.997[/C][C]0.159981[/C][/ROW]
[ROW][C]21[/C][C]0.08851[/C][C]1.2517[/C][C]0.106066[/C][/ROW]
[ROW][C]22[/C][C]0.020407[/C][C]0.2886[/C][C]0.386593[/C][/ROW]
[ROW][C]23[/C][C]0.027824[/C][C]0.3935[/C][C]0.347189[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=98548&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=98548&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.305233-4.31671.2e-05
2-0.149443-2.11340.017901
3-0.019154-0.27090.393382
40.0380750.53850.295429
5-0.165589-2.34180.010088
6-0.187814-2.65610.004271
7-0.074987-1.06050.145104
8-0.293168-4.1462.5e-05
90.1278021.80740.036102
10-0.126341-1.78670.037748
11-0.039259-0.55520.289686
12-0.104994-1.48480.069581
13-0.074849-1.05850.145547
140.0932321.31850.094423
15-0.014921-0.2110.416546
16-0.113492-1.6050.055034
17-0.017351-0.24540.403208
18-0.052574-0.74350.229025
190.0105580.14930.44073
20-0.070499-0.9970.159981
210.088511.25170.106066
220.0204070.28860.386593
230.0278240.39350.347189



Parameters (Session):
par1 = Default ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
Parameters (R input):
par1 = Default ; 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')