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 computationFri, 24 Dec 2010 16:13:00 +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/24/t1293207068qv53pnhninyj788.htm/, Retrieved Tue, 30 Apr 2024 03:33:09 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=115176, Retrieved Tue, 30 Apr 2024 03:33:09 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact120
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Univariate Data Series] [data set] [2008-12-01 19:54:57] [b98453cac15ba1066b407e146608df68]
- RMP   [(Partial) Autocorrelation Function] [Unemployment] [2010-11-29 09:05:21] [b98453cac15ba1066b407e146608df68]
- R PD      [(Partial) Autocorrelation Function] [ACF van de goudpr...] [2010-12-24 16:13:00] [03bcd8c83ef1a42b4029a16ba47a4880] [Current]
-    D        [(Partial) Autocorrelation Function] [autocorrelatiefun...] [2010-12-24 16:50:22] [96348ef82925ade81ab3c243141d80f1]
-    D        [(Partial) Autocorrelation Function] [autocorrelatiefun...] [2010-12-24 16:50:22] [96348ef82925ade81ab3c243141d80f1]
-    D          [(Partial) Autocorrelation Function] [autocorrelatiefun...] [2010-12-24 16:55:11] [96348ef82925ade81ab3c243141d80f1]
-   PD            [(Partial) Autocorrelation Function] [ACF goudprijzen m...] [2010-12-28 18:54:34] [30b3e197115d238a51c18bcedc33a6a5]
-   P           [(Partial) Autocorrelation Function] [ACF inflatie] [2010-12-28 18:50:30] [30b3e197115d238a51c18bcedc33a6a5]
Feedback Forum

Post a new message
Dataseries X:
600,58
602,89
549,64
476,58
469,19
540,02
587,12
574,71
623,85
645,39
615,15
539,13
603,24
544,14
536,36
561,37
570,83
563,66
515,46
509,39
526,94
504,54
465,72
472,78
453,41
456,42
407,65
417,80
400,15
396,14
425,40
465,05
565,15
554,02
527,61
540,11
602,28
607,94
520,70
544,05
564,13
536,55
544,57
576,06
555,20
528,02
526,32
540,82
533,61
514,22
522,10
529,87
527,42
537,63
513,46
513,21
527,32
526,93
540,06
515,31
490,06
507,63
480,66
513,92
499,70
495,28
452,26
469,19
440,63
435,96
417,73
404,87
421,91
384,75
409,63
380,59
404,85
385,26
373,41
395,12
432,87
447,73
401,91
387,92
377,51
374,66
377,40
400,38
429,18
420,64
427,39
427,99
432,69
413,84
390,97
393,18
408,37
382,31
376,13
385,17
398,23
420,28
420,89
413,39
397,34
367,80
373,07
381,80
385,16
362,50
377,22
369,18
376,74
366,94
357,76
365,95
345,59
344,81
358,99
355,67
352,57
360,86
340,21
321,56
319,21
301,28
295,81
315,21
311,70
295,92
293,79
287,73
292,31
283,23
318,46
317,40
314,78
339,93
328,29
317,46
296,54
306,94
300,02
280,23
292,65
296,25
289,08
287,43
277,98
266,25
266,37
247,22
246,10
271,03
274,35
276,29
268,08
276,63
272,45
276,36
298,83
320,92
349,04
322,99
295,04
319,37
324,63
339,90
339,85
332,66
332,07
317,71
325,43
316,45
313,44
310,46
312,21
295,69
307,54
302,60
288,98
281,13
276,01
275,15
277,27
273,59
270,56
286,55
280,07
275,80
285,34
283,19
308,44
301,39
298,99
306,65
305,04
297,07
290,54
291,85
295,36
293,65
291,83
293,33
287,84
313,96
298,87
301,34
300,15
297,56
306,71
299,08
300,19
275,67
267,61
265,49
266,11
273,22
272,63
281,99
269,60
265,28
266,59
257,87
249,87
246,32
251,70
247,93
247,43
256,62
262,89
264,16
259,75
251,82
247,44
242,02
252,07
290,39
283,82
279,99
280,68
304,87
296,86
295,62
304,04
300,60
299,61
303,41
313,88
316,14
311,05
303,86
283,10
284,38
289,38
291,92
311,66
316,46
310,94
302,71
311,31
312,38
310,77
308,94
319,05
339,77
335,61
341,44
343,23
335,31
315,68
317,35
325,56
322,59
318,61
326,54
336,02
333,15
314,95
302,48
307,31
305,50
308,57
322,58
337,09
323,81
333,06
331,90
327,90
319,93
331,51
336,42
319,77
323,20
324,51
328,34
331,88
336,45
337,95
330,75
323,87
325,26
328,73
331,72
332,54
354,25
352,69
356,15
372,50
390,90
404,65
430,04
453,54
464,98
463,31
497,20
528,62
470,91
499,53
493,51
469,97
464,41
487,15
476,45
484,91
509,61
495,19
504,75
493,43
488,58
484,82
488,46
512,32
530,29
549,38
551,45
604,41
625,29
623,56
577,42
572,28
571,69
596,28
560,00
577,93
606,51
597,31
607,58
648,14
737,48
708,73
674,01
679,90
674,93
663,38
665,69
684,21
703,71
755,42
772,43




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 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 & 3 seconds \tabularnewline
R Server & 'George Udny Yule' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=115176&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]3 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=115176&T=0

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







Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.96581918.32510
20.93241517.69130
30.90961817.25880
40.89145716.91420
50.87153516.53620
60.85239716.17310
70.83675315.87630
80.81679715.49760
90.79397515.06460
100.76775914.56720
110.74258314.08950
120.72225513.70380
130.70160913.31210
140.68547413.00590
150.67225912.75520
160.65903112.50420
170.64411412.22120
180.62841111.92330
190.61878711.74070
200.61058411.5850
210.59807411.34770
220.58402911.08120
230.57078710.82990
240.55767910.58120
250.54570810.35410

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & 0.965819 & 18.3251 & 0 \tabularnewline
2 & 0.932415 & 17.6913 & 0 \tabularnewline
3 & 0.909618 & 17.2588 & 0 \tabularnewline
4 & 0.891457 & 16.9142 & 0 \tabularnewline
5 & 0.871535 & 16.5362 & 0 \tabularnewline
6 & 0.852397 & 16.1731 & 0 \tabularnewline
7 & 0.836753 & 15.8763 & 0 \tabularnewline
8 & 0.816797 & 15.4976 & 0 \tabularnewline
9 & 0.793975 & 15.0646 & 0 \tabularnewline
10 & 0.767759 & 14.5672 & 0 \tabularnewline
11 & 0.742583 & 14.0895 & 0 \tabularnewline
12 & 0.722255 & 13.7038 & 0 \tabularnewline
13 & 0.701609 & 13.3121 & 0 \tabularnewline
14 & 0.685474 & 13.0059 & 0 \tabularnewline
15 & 0.672259 & 12.7552 & 0 \tabularnewline
16 & 0.659031 & 12.5042 & 0 \tabularnewline
17 & 0.644114 & 12.2212 & 0 \tabularnewline
18 & 0.628411 & 11.9233 & 0 \tabularnewline
19 & 0.618787 & 11.7407 & 0 \tabularnewline
20 & 0.610584 & 11.585 & 0 \tabularnewline
21 & 0.598074 & 11.3477 & 0 \tabularnewline
22 & 0.584029 & 11.0812 & 0 \tabularnewline
23 & 0.570787 & 10.8299 & 0 \tabularnewline
24 & 0.557679 & 10.5812 & 0 \tabularnewline
25 & 0.545708 & 10.3541 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=115176&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.965819[/C][C]18.3251[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]0.932415[/C][C]17.6913[/C][C]0[/C][/ROW]
[ROW][C]3[/C][C]0.909618[/C][C]17.2588[/C][C]0[/C][/ROW]
[ROW][C]4[/C][C]0.891457[/C][C]16.9142[/C][C]0[/C][/ROW]
[ROW][C]5[/C][C]0.871535[/C][C]16.5362[/C][C]0[/C][/ROW]
[ROW][C]6[/C][C]0.852397[/C][C]16.1731[/C][C]0[/C][/ROW]
[ROW][C]7[/C][C]0.836753[/C][C]15.8763[/C][C]0[/C][/ROW]
[ROW][C]8[/C][C]0.816797[/C][C]15.4976[/C][C]0[/C][/ROW]
[ROW][C]9[/C][C]0.793975[/C][C]15.0646[/C][C]0[/C][/ROW]
[ROW][C]10[/C][C]0.767759[/C][C]14.5672[/C][C]0[/C][/ROW]
[ROW][C]11[/C][C]0.742583[/C][C]14.0895[/C][C]0[/C][/ROW]
[ROW][C]12[/C][C]0.722255[/C][C]13.7038[/C][C]0[/C][/ROW]
[ROW][C]13[/C][C]0.701609[/C][C]13.3121[/C][C]0[/C][/ROW]
[ROW][C]14[/C][C]0.685474[/C][C]13.0059[/C][C]0[/C][/ROW]
[ROW][C]15[/C][C]0.672259[/C][C]12.7552[/C][C]0[/C][/ROW]
[ROW][C]16[/C][C]0.659031[/C][C]12.5042[/C][C]0[/C][/ROW]
[ROW][C]17[/C][C]0.644114[/C][C]12.2212[/C][C]0[/C][/ROW]
[ROW][C]18[/C][C]0.628411[/C][C]11.9233[/C][C]0[/C][/ROW]
[ROW][C]19[/C][C]0.618787[/C][C]11.7407[/C][C]0[/C][/ROW]
[ROW][C]20[/C][C]0.610584[/C][C]11.585[/C][C]0[/C][/ROW]
[ROW][C]21[/C][C]0.598074[/C][C]11.3477[/C][C]0[/C][/ROW]
[ROW][C]22[/C][C]0.584029[/C][C]11.0812[/C][C]0[/C][/ROW]
[ROW][C]23[/C][C]0.570787[/C][C]10.8299[/C][C]0[/C][/ROW]
[ROW][C]24[/C][C]0.557679[/C][C]10.5812[/C][C]0[/C][/ROW]
[ROW][C]25[/C][C]0.545708[/C][C]10.3541[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=115176&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=115176&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
10.96581918.32510
20.93241517.69130
30.90961817.25880
40.89145716.91420
50.87153516.53620
60.85239716.17310
70.83675315.87630
80.81679715.49760
90.79397515.06460
100.76775914.56720
110.74258314.08950
120.72225513.70380
130.70160913.31210
140.68547413.00590
150.67225912.75520
160.65903112.50420
170.64411412.22120
180.62841111.92330
190.61878711.74070
200.61058411.5850
210.59807411.34770
220.58402911.08120
230.57078710.82990
240.55767910.58120
250.54570810.35410







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.96581918.32510
2-0.005829-0.11060.456
30.1407052.66970.003968
40.0615361.16760.121878
5-0.010143-0.19250.423747
60.0229310.43510.33188
70.0449370.85260.197221
8-0.067344-1.27780.101077
9-0.037308-0.70790.239744
10-0.077637-1.47310.070806
11-0.021941-0.41630.338717
120.040180.76240.223173
13-0.021113-0.40060.344482
140.0712181.35130.08873
150.0453530.86050.195038
160.0142810.2710.393289
170.0043580.08270.467077
18-0.003842-0.07290.470963
190.0786331.4920.068293
200.0208040.39470.34664
21-0.058432-1.10870.134156
22-0.024768-0.46990.319343
23-0.024741-0.46940.319525
24-0.026342-0.49980.308757
250.0248470.47140.318809

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & 0.965819 & 18.3251 & 0 \tabularnewline
2 & -0.005829 & -0.1106 & 0.456 \tabularnewline
3 & 0.140705 & 2.6697 & 0.003968 \tabularnewline
4 & 0.061536 & 1.1676 & 0.121878 \tabularnewline
5 & -0.010143 & -0.1925 & 0.423747 \tabularnewline
6 & 0.022931 & 0.4351 & 0.33188 \tabularnewline
7 & 0.044937 & 0.8526 & 0.197221 \tabularnewline
8 & -0.067344 & -1.2778 & 0.101077 \tabularnewline
9 & -0.037308 & -0.7079 & 0.239744 \tabularnewline
10 & -0.077637 & -1.4731 & 0.070806 \tabularnewline
11 & -0.021941 & -0.4163 & 0.338717 \tabularnewline
12 & 0.04018 & 0.7624 & 0.223173 \tabularnewline
13 & -0.021113 & -0.4006 & 0.344482 \tabularnewline
14 & 0.071218 & 1.3513 & 0.08873 \tabularnewline
15 & 0.045353 & 0.8605 & 0.195038 \tabularnewline
16 & 0.014281 & 0.271 & 0.393289 \tabularnewline
17 & 0.004358 & 0.0827 & 0.467077 \tabularnewline
18 & -0.003842 & -0.0729 & 0.470963 \tabularnewline
19 & 0.078633 & 1.492 & 0.068293 \tabularnewline
20 & 0.020804 & 0.3947 & 0.34664 \tabularnewline
21 & -0.058432 & -1.1087 & 0.134156 \tabularnewline
22 & -0.024768 & -0.4699 & 0.319343 \tabularnewline
23 & -0.024741 & -0.4694 & 0.319525 \tabularnewline
24 & -0.026342 & -0.4998 & 0.308757 \tabularnewline
25 & 0.024847 & 0.4714 & 0.318809 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=115176&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.965819[/C][C]18.3251[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]-0.005829[/C][C]-0.1106[/C][C]0.456[/C][/ROW]
[ROW][C]3[/C][C]0.140705[/C][C]2.6697[/C][C]0.003968[/C][/ROW]
[ROW][C]4[/C][C]0.061536[/C][C]1.1676[/C][C]0.121878[/C][/ROW]
[ROW][C]5[/C][C]-0.010143[/C][C]-0.1925[/C][C]0.423747[/C][/ROW]
[ROW][C]6[/C][C]0.022931[/C][C]0.4351[/C][C]0.33188[/C][/ROW]
[ROW][C]7[/C][C]0.044937[/C][C]0.8526[/C][C]0.197221[/C][/ROW]
[ROW][C]8[/C][C]-0.067344[/C][C]-1.2778[/C][C]0.101077[/C][/ROW]
[ROW][C]9[/C][C]-0.037308[/C][C]-0.7079[/C][C]0.239744[/C][/ROW]
[ROW][C]10[/C][C]-0.077637[/C][C]-1.4731[/C][C]0.070806[/C][/ROW]
[ROW][C]11[/C][C]-0.021941[/C][C]-0.4163[/C][C]0.338717[/C][/ROW]
[ROW][C]12[/C][C]0.04018[/C][C]0.7624[/C][C]0.223173[/C][/ROW]
[ROW][C]13[/C][C]-0.021113[/C][C]-0.4006[/C][C]0.344482[/C][/ROW]
[ROW][C]14[/C][C]0.071218[/C][C]1.3513[/C][C]0.08873[/C][/ROW]
[ROW][C]15[/C][C]0.045353[/C][C]0.8605[/C][C]0.195038[/C][/ROW]
[ROW][C]16[/C][C]0.014281[/C][C]0.271[/C][C]0.393289[/C][/ROW]
[ROW][C]17[/C][C]0.004358[/C][C]0.0827[/C][C]0.467077[/C][/ROW]
[ROW][C]18[/C][C]-0.003842[/C][C]-0.0729[/C][C]0.470963[/C][/ROW]
[ROW][C]19[/C][C]0.078633[/C][C]1.492[/C][C]0.068293[/C][/ROW]
[ROW][C]20[/C][C]0.020804[/C][C]0.3947[/C][C]0.34664[/C][/ROW]
[ROW][C]21[/C][C]-0.058432[/C][C]-1.1087[/C][C]0.134156[/C][/ROW]
[ROW][C]22[/C][C]-0.024768[/C][C]-0.4699[/C][C]0.319343[/C][/ROW]
[ROW][C]23[/C][C]-0.024741[/C][C]-0.4694[/C][C]0.319525[/C][/ROW]
[ROW][C]24[/C][C]-0.026342[/C][C]-0.4998[/C][C]0.308757[/C][/ROW]
[ROW][C]25[/C][C]0.024847[/C][C]0.4714[/C][C]0.318809[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=115176&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=115176&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
10.96581918.32510
2-0.005829-0.11060.456
30.1407052.66970.003968
40.0615361.16760.121878
5-0.010143-0.19250.423747
60.0229310.43510.33188
70.0449370.85260.197221
8-0.067344-1.27780.101077
9-0.037308-0.70790.239744
10-0.077637-1.47310.070806
11-0.021941-0.41630.338717
120.040180.76240.223173
13-0.021113-0.40060.344482
140.0712181.35130.08873
150.0453530.86050.195038
160.0142810.2710.393289
170.0043580.08270.467077
18-0.003842-0.07290.470963
190.0786331.4920.068293
200.0208040.39470.34664
21-0.058432-1.10870.134156
22-0.024768-0.46990.319343
23-0.024741-0.46940.319525
24-0.026342-0.49980.308757
250.0248470.47140.318809



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