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, 23 Nov 2010 15:23:19 +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/23/t1290525778b1rtqlo6eddqe1m.htm/, Retrieved Fri, 29 Mar 2024 08:21:56 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=99264, Retrieved Fri, 29 Mar 2024 08:21:56 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact111
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [(Partial) Autocorrelation Function] [APO central tendency] [2010-11-23 15:23:19] [f76239c595e4d455b3b05a43389f68d5] [Current]
Feedback Forum

Post a new message
Dataseries X:
-2.7089441800854E-14
-2.7089441800854E-14
-2.7089441800854E-14
-0.0067221197756271
1.8651746813703E-14
0.0067221197756187
-0.012775191488727
0.012775191488696
-0.0067221197756271
1.8651746813703E-14
1.8651746813703E-14
0.0067221197756187
-2.7089441800854E-14
-0.0067221197756271
0.0067221197756187
-2.7089441800854E-14
-2.7089441800854E-14
-2.7089441800854E-14
-2.7089441800854E-14
-2.7089441800854E-14
-2.7089441800854E-14
-2.7089441800854E-14
-2.7089441800854E-14
-2.7089441800854E-14
-2.7089441800854E-14
-2.7089441800854E-14
-2.7089441800854E-14
-2.7089441800854E-14
-0.0067221197756271
1.8651746813703E-14
1.8651746813703E-14
0.0017733645364189
3.1974423109205E-14
3.1974423109205E-14
-0.0063988842582678
1.0658141036402E-14
0.0063988842583105
3.1974423109205E-14
3.1974423109205E-14
3.1974423109205E-14
3.1974423109205E-14
3.1974423109205E-14
3.1974423109205E-14
3.1974423109205E-14
-0.0063988842582678
0.0063988842583105
-0.0063988842582678
0.0063988842583105
3.1974423109205E-14
3.1974423109205E-14
3.1974423109205E-14
-0.0063988842582678
1.0658141036402E-14
0.0063988842583105
-0.0063988842582678
0.0063988842583105
-0.0063988842582678
1.0658141036402E-14
1.0658141036402E-14
1.0658141036402E-14
1.0658141036402E-14
1.0658141036402E-14
1.0658141036402E-14
1.0658141036402E-14
1.0658141036402E-14
1.0658141036402E-14
1.0658141036402E-14
1.0658141036402E-14
1.0658141036402E-14
1.0658141036402E-14
1.0658141036402E-14
1.0658141036402E-14
1.0658141036402E-14
1.0658141036402E-14
1.0658141036402E-14
0.0063988842583105
-0.0063988842582678
1.0658141036402E-14
0.0063988842583105
-0.0063988842582678
1.0658141036402E-14
1.0658141036402E-14
0.0063988842583105
3.1974423109205E-14
3.1974423109205E-14
3.1974423109205E-14
3.1974423109205E-14
3.1974423109205E-14
0.0003542958407321
-0.0063966102966977
-5.3290705182008E-15
-5.3290705182008E-15
-5.3290705182008E-15
0.0063966102966946
2.2204460492503E-15
-0.0039041753228979
3.5971225997855E-14
3.5971225997855E-14
3.5971225997855E-14
3.5971225997855E-14
3.5971225997855E-14
3.5971225997855E-14
-0.0064217131136641
-1.5987211554602E-14
-1.5987211554602E-14
-1.5987211554602E-14
-1.5987211554602E-14
0.0064217131136841
3.5971225997855E-14
3.5971225997855E-14
3.5971225997855E-14
-0.0064217131136641
0.0064217131136841
3.5971225997855E-14
3.5971225997855E-14
-0.017578928007164
0.0064935293105748
2.6201263381154E-14
2.6201263381154E-14
2.6201263381154E-14
2.6201263381154E-14
2.6201263381154E-14
-0.0064935293105735
-2.4868995751604E-14
-0.011649203449725
-1.3322676295502E-14
-0.0058758891057136
-4.4408920985006E-14
-4.4408920985006E-14
-4.4408920985006E-14
-4.4408920985006E-14
-4.4408920985006E-14
-4.4408920985006E-14
0.0058758891056558
-0.0058758891057136
-4.4408920985006E-14
-4.4408920985006E-14
-4.4408920985006E-14
-4.4408920985006E-14
-4.4408920985006E-14
-4.4408920985006E-14
0.0058758891056558
-0.0058758891057136
-4.4408920985006E-14
0.0058758891056558
-1.3322676295502E-14
-1.3322676295502E-14
-0.0058758891057136
-4.4408920985006E-14
0.0058758891056558
-1.3322676295502E-14
-1.3322676295502E-14
-1.3322676295502E-14
-1.3322676295502E-14
-1.3322676295502E-14
-1.3322676295502E-14
-0.0058758891057136
0.0058758891056558
-0.0058758891057136
0.0058758891056558
-0.0058758891057136
0.0058758891056558
-0.0058758891057136
0.0058758891056558
-1.3322676295502E-14
-1.3322676295502E-14
-0.0058758891057136
0.0058758891056558
-0.0058758891057136
-4.4408920985006E-14
-4.4408920985006E-14
-4.4408920985006E-14
0.0058758891056558
-1.3322676295502E-14
-0.011416069481314
-2.9309887850104E-14
0.0055401803755708
0.010260258569556
-1.1990408665952E-14
-1.1990408665952E-14
-1.1990408665952E-14
-0.035625288710512
-9.7699626167014E-15
-9.7699626167014E-15
0.01982484976529
-2.9309887850104E-14
-2.9309887850104E-14
-0.019824849765329
0.01982484976529
-2.9309887850104E-14
-2.9309887850104E-14
-2.9309887850104E-14
-2.9309887850104E-14
0.015800438945171
-1.1990408665952E-14
-1.1990408665952E-14
-1.1990408665952E-14
-1.1990408665952E-14
-1.1990408665952E-14
-1.1990408665952E-14




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'George Udny Yule' @ 72.249.76.132

\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 & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=99264&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]'George Udny Yule' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=99264&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=99264&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'George Udny Yule' @ 72.249.76.132







Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.276402-3.90896.3e-05
20.0484440.68510.247036
3-0.265562-3.75560.000113
40.0447330.63260.26385
50.0220.31110.378017
60.0799851.13120.12967
7-0.030837-0.43610.331619
80.0150220.21240.415987
90.0110690.15650.437883
10-0.037664-0.53260.297435
11-0.010697-0.15130.439957
12-0.051896-0.73390.23193
130.1203281.70170.045183
14-0.099921-1.41310.07959
15-0.002656-0.03760.485037
160.0668710.94570.172722
17-0.028266-0.39970.344885
18-0.057922-0.81910.206841
190.0154790.21890.413473
20-0.050086-0.70830.239785
210.0752241.06380.144344
22-0.052602-0.74390.228905
230.062410.88260.189252

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & -0.276402 & -3.9089 & 6.3e-05 \tabularnewline
2 & 0.048444 & 0.6851 & 0.247036 \tabularnewline
3 & -0.265562 & -3.7556 & 0.000113 \tabularnewline
4 & 0.044733 & 0.6326 & 0.26385 \tabularnewline
5 & 0.022 & 0.3111 & 0.378017 \tabularnewline
6 & 0.079985 & 1.1312 & 0.12967 \tabularnewline
7 & -0.030837 & -0.4361 & 0.331619 \tabularnewline
8 & 0.015022 & 0.2124 & 0.415987 \tabularnewline
9 & 0.011069 & 0.1565 & 0.437883 \tabularnewline
10 & -0.037664 & -0.5326 & 0.297435 \tabularnewline
11 & -0.010697 & -0.1513 & 0.439957 \tabularnewline
12 & -0.051896 & -0.7339 & 0.23193 \tabularnewline
13 & 0.120328 & 1.7017 & 0.045183 \tabularnewline
14 & -0.099921 & -1.4131 & 0.07959 \tabularnewline
15 & -0.002656 & -0.0376 & 0.485037 \tabularnewline
16 & 0.066871 & 0.9457 & 0.172722 \tabularnewline
17 & -0.028266 & -0.3997 & 0.344885 \tabularnewline
18 & -0.057922 & -0.8191 & 0.206841 \tabularnewline
19 & 0.015479 & 0.2189 & 0.413473 \tabularnewline
20 & -0.050086 & -0.7083 & 0.239785 \tabularnewline
21 & 0.075224 & 1.0638 & 0.144344 \tabularnewline
22 & -0.052602 & -0.7439 & 0.228905 \tabularnewline
23 & 0.06241 & 0.8826 & 0.189252 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=99264&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.276402[/C][C]-3.9089[/C][C]6.3e-05[/C][/ROW]
[ROW][C]2[/C][C]0.048444[/C][C]0.6851[/C][C]0.247036[/C][/ROW]
[ROW][C]3[/C][C]-0.265562[/C][C]-3.7556[/C][C]0.000113[/C][/ROW]
[ROW][C]4[/C][C]0.044733[/C][C]0.6326[/C][C]0.26385[/C][/ROW]
[ROW][C]5[/C][C]0.022[/C][C]0.3111[/C][C]0.378017[/C][/ROW]
[ROW][C]6[/C][C]0.079985[/C][C]1.1312[/C][C]0.12967[/C][/ROW]
[ROW][C]7[/C][C]-0.030837[/C][C]-0.4361[/C][C]0.331619[/C][/ROW]
[ROW][C]8[/C][C]0.015022[/C][C]0.2124[/C][C]0.415987[/C][/ROW]
[ROW][C]9[/C][C]0.011069[/C][C]0.1565[/C][C]0.437883[/C][/ROW]
[ROW][C]10[/C][C]-0.037664[/C][C]-0.5326[/C][C]0.297435[/C][/ROW]
[ROW][C]11[/C][C]-0.010697[/C][C]-0.1513[/C][C]0.439957[/C][/ROW]
[ROW][C]12[/C][C]-0.051896[/C][C]-0.7339[/C][C]0.23193[/C][/ROW]
[ROW][C]13[/C][C]0.120328[/C][C]1.7017[/C][C]0.045183[/C][/ROW]
[ROW][C]14[/C][C]-0.099921[/C][C]-1.4131[/C][C]0.07959[/C][/ROW]
[ROW][C]15[/C][C]-0.002656[/C][C]-0.0376[/C][C]0.485037[/C][/ROW]
[ROW][C]16[/C][C]0.066871[/C][C]0.9457[/C][C]0.172722[/C][/ROW]
[ROW][C]17[/C][C]-0.028266[/C][C]-0.3997[/C][C]0.344885[/C][/ROW]
[ROW][C]18[/C][C]-0.057922[/C][C]-0.8191[/C][C]0.206841[/C][/ROW]
[ROW][C]19[/C][C]0.015479[/C][C]0.2189[/C][C]0.413473[/C][/ROW]
[ROW][C]20[/C][C]-0.050086[/C][C]-0.7083[/C][C]0.239785[/C][/ROW]
[ROW][C]21[/C][C]0.075224[/C][C]1.0638[/C][C]0.144344[/C][/ROW]
[ROW][C]22[/C][C]-0.052602[/C][C]-0.7439[/C][C]0.228905[/C][/ROW]
[ROW][C]23[/C][C]0.06241[/C][C]0.8826[/C][C]0.189252[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=99264&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=99264&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.276402-3.90896.3e-05
20.0484440.68510.247036
3-0.265562-3.75560.000113
40.0447330.63260.26385
50.0220.31110.378017
60.0799851.13120.12967
7-0.030837-0.43610.331619
80.0150220.21240.415987
90.0110690.15650.437883
10-0.037664-0.53260.297435
11-0.010697-0.15130.439957
12-0.051896-0.73390.23193
130.1203281.70170.045183
14-0.099921-1.41310.07959
15-0.002656-0.03760.485037
160.0668710.94570.172722
17-0.028266-0.39970.344885
18-0.057922-0.81910.206841
190.0154790.21890.413473
20-0.050086-0.70830.239785
210.0752241.06380.144344
22-0.052602-0.74390.228905
230.062410.88260.189252







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.276402-3.90896.3e-05
2-0.030266-0.4280.334546
3-0.281908-3.98684.7e-05
4-0.124462-1.76020.039955
5-0.018292-0.25870.39807
60.0109850.15530.438353
7-0.021423-0.3030.381115
80.020990.29680.383449
90.0589930.83430.202559
10-0.023923-0.33830.367737
11-0.023713-0.33530.368857
12-0.059797-0.84570.199378
130.0807061.14140.127543
14-0.07686-1.0870.139182
15-0.087805-1.24180.10789
160.106561.5070.066697
17-0.018967-0.26820.394399
18-0.113455-1.60450.055091
190.0117920.16680.433862
20-0.049498-0.70.24237
21-0.009293-0.13140.447787
22-0.061764-0.87350.191727
230.0421790.59650.275755

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & -0.276402 & -3.9089 & 6.3e-05 \tabularnewline
2 & -0.030266 & -0.428 & 0.334546 \tabularnewline
3 & -0.281908 & -3.9868 & 4.7e-05 \tabularnewline
4 & -0.124462 & -1.7602 & 0.039955 \tabularnewline
5 & -0.018292 & -0.2587 & 0.39807 \tabularnewline
6 & 0.010985 & 0.1553 & 0.438353 \tabularnewline
7 & -0.021423 & -0.303 & 0.381115 \tabularnewline
8 & 0.02099 & 0.2968 & 0.383449 \tabularnewline
9 & 0.058993 & 0.8343 & 0.202559 \tabularnewline
10 & -0.023923 & -0.3383 & 0.367737 \tabularnewline
11 & -0.023713 & -0.3353 & 0.368857 \tabularnewline
12 & -0.059797 & -0.8457 & 0.199378 \tabularnewline
13 & 0.080706 & 1.1414 & 0.127543 \tabularnewline
14 & -0.07686 & -1.087 & 0.139182 \tabularnewline
15 & -0.087805 & -1.2418 & 0.10789 \tabularnewline
16 & 0.10656 & 1.507 & 0.066697 \tabularnewline
17 & -0.018967 & -0.2682 & 0.394399 \tabularnewline
18 & -0.113455 & -1.6045 & 0.055091 \tabularnewline
19 & 0.011792 & 0.1668 & 0.433862 \tabularnewline
20 & -0.049498 & -0.7 & 0.24237 \tabularnewline
21 & -0.009293 & -0.1314 & 0.447787 \tabularnewline
22 & -0.061764 & -0.8735 & 0.191727 \tabularnewline
23 & 0.042179 & 0.5965 & 0.275755 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=99264&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.276402[/C][C]-3.9089[/C][C]6.3e-05[/C][/ROW]
[ROW][C]2[/C][C]-0.030266[/C][C]-0.428[/C][C]0.334546[/C][/ROW]
[ROW][C]3[/C][C]-0.281908[/C][C]-3.9868[/C][C]4.7e-05[/C][/ROW]
[ROW][C]4[/C][C]-0.124462[/C][C]-1.7602[/C][C]0.039955[/C][/ROW]
[ROW][C]5[/C][C]-0.018292[/C][C]-0.2587[/C][C]0.39807[/C][/ROW]
[ROW][C]6[/C][C]0.010985[/C][C]0.1553[/C][C]0.438353[/C][/ROW]
[ROW][C]7[/C][C]-0.021423[/C][C]-0.303[/C][C]0.381115[/C][/ROW]
[ROW][C]8[/C][C]0.02099[/C][C]0.2968[/C][C]0.383449[/C][/ROW]
[ROW][C]9[/C][C]0.058993[/C][C]0.8343[/C][C]0.202559[/C][/ROW]
[ROW][C]10[/C][C]-0.023923[/C][C]-0.3383[/C][C]0.367737[/C][/ROW]
[ROW][C]11[/C][C]-0.023713[/C][C]-0.3353[/C][C]0.368857[/C][/ROW]
[ROW][C]12[/C][C]-0.059797[/C][C]-0.8457[/C][C]0.199378[/C][/ROW]
[ROW][C]13[/C][C]0.080706[/C][C]1.1414[/C][C]0.127543[/C][/ROW]
[ROW][C]14[/C][C]-0.07686[/C][C]-1.087[/C][C]0.139182[/C][/ROW]
[ROW][C]15[/C][C]-0.087805[/C][C]-1.2418[/C][C]0.10789[/C][/ROW]
[ROW][C]16[/C][C]0.10656[/C][C]1.507[/C][C]0.066697[/C][/ROW]
[ROW][C]17[/C][C]-0.018967[/C][C]-0.2682[/C][C]0.394399[/C][/ROW]
[ROW][C]18[/C][C]-0.113455[/C][C]-1.6045[/C][C]0.055091[/C][/ROW]
[ROW][C]19[/C][C]0.011792[/C][C]0.1668[/C][C]0.433862[/C][/ROW]
[ROW][C]20[/C][C]-0.049498[/C][C]-0.7[/C][C]0.24237[/C][/ROW]
[ROW][C]21[/C][C]-0.009293[/C][C]-0.1314[/C][C]0.447787[/C][/ROW]
[ROW][C]22[/C][C]-0.061764[/C][C]-0.8735[/C][C]0.191727[/C][/ROW]
[ROW][C]23[/C][C]0.042179[/C][C]0.5965[/C][C]0.275755[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=99264&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=99264&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.276402-3.90896.3e-05
2-0.030266-0.4280.334546
3-0.281908-3.98684.7e-05
4-0.124462-1.76020.039955
5-0.018292-0.25870.39807
60.0109850.15530.438353
7-0.021423-0.3030.381115
80.020990.29680.383449
90.0589930.83430.202559
10-0.023923-0.33830.367737
11-0.023713-0.33530.368857
12-0.059797-0.84570.199378
130.0807061.14140.127543
14-0.07686-1.0870.139182
15-0.087805-1.24180.10789
160.106561.5070.066697
17-0.018967-0.26820.394399
18-0.113455-1.60450.055091
190.0117920.16680.433862
20-0.049498-0.70.24237
21-0.009293-0.13140.447787
22-0.061764-0.87350.191727
230.0421790.59650.275755



Parameters (Session):
par1 = Apollo Oil Corp. ; par3 = Time series of Xycoon Stock Exchange ; par4 = No season ;
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')