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 computationTue, 04 Dec 2007 08:42:33 -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/Dec/04/t1196782230e3f8k6lvs6rz3jl.htm/, Retrieved Thu, 02 May 2024 12:18:58 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=2403, Retrieved Thu, 02 May 2024 12:18:58 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact227
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [(Partial) Autocorrelation Function] [WS8Q111] [2007-12-04 15:42:33] [77c9c0d97755c69877fabe95ec1f485a] [Current]
Feedback Forum

Post a new message
Dataseries X:
467037
460070
447988
442867
436087
431328
484015
509673
512927
502831
470984
471067
476049
474605
470439
461251
454724
455626
516847
525192
522975
518585
509239
512238
519164
517009
509933
509127
500857
506971
569323
579714
577992
565464
547344
554788
562325
560854
555332
543599
536662
542722
593530
610763
612613
611324
594167
595454
590865
589379
584428
573100
567456
569028
620735
628884
628232
612117
595404
597141
593408
590072
579799
574205
572775
572942
619567
625809
619916
587625
565742
557274




Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001

\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 & 3 seconds \tabularnewline
R Server & 'Herman Ole Andreas Wold' @ 193.190.124.10:1001 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=2403&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]3 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Herman Ole Andreas Wold' @ 193.190.124.10:1001[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=2403&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=2403&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 time3 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001







Autocorrelation Function
Time lag kACF(k)T-STATP-value
017.68110
10.1582251.21530.114537
2-0.042724-0.32820.628028
3-0.181625-1.39510.915891
40.0385310.2960.384148
50.1141020.87640.192174
6-0.048886-0.37550.645682
70.0072040.05530.478031
80.1134950.87180.193434
90.2425581.86310.033712
10-0.084648-0.65020.740955
11-0.095256-0.73170.766367
12-0.196681-1.51070.931903
130.1222930.93940.17569
140.2956012.27060.01342
150.0958150.7360.232332
160.0216310.16620.434303
17-0.138201-1.06150.853616
180.0862830.66280.255035
19-0.009901-0.0760.530181
20-0.036574-0.28090.610126
210.0179810.13810.445311
220.1093090.83960.202257
230.2436711.87170.033106
24-0.083843-0.6440.738967
25-0.206616-1.5870.941076
26-0.289081-2.22050.98488
270.0947640.72790.234779
280.0206360.15850.4373
290.110330.84750.200081
30-0.055846-0.4290.665242
31-0.032875-0.25250.59924
320.0600850.46150.32306
33-0.085787-0.65890.743751
34-0.077867-0.59810.723971
35-0.112842-0.86680.805206

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
0 & 1 & 7.6811 & 0 \tabularnewline
1 & 0.158225 & 1.2153 & 0.114537 \tabularnewline
2 & -0.042724 & -0.3282 & 0.628028 \tabularnewline
3 & -0.181625 & -1.3951 & 0.915891 \tabularnewline
4 & 0.038531 & 0.296 & 0.384148 \tabularnewline
5 & 0.114102 & 0.8764 & 0.192174 \tabularnewline
6 & -0.048886 & -0.3755 & 0.645682 \tabularnewline
7 & 0.007204 & 0.0553 & 0.478031 \tabularnewline
8 & 0.113495 & 0.8718 & 0.193434 \tabularnewline
9 & 0.242558 & 1.8631 & 0.033712 \tabularnewline
10 & -0.084648 & -0.6502 & 0.740955 \tabularnewline
11 & -0.095256 & -0.7317 & 0.766367 \tabularnewline
12 & -0.196681 & -1.5107 & 0.931903 \tabularnewline
13 & 0.122293 & 0.9394 & 0.17569 \tabularnewline
14 & 0.295601 & 2.2706 & 0.01342 \tabularnewline
15 & 0.095815 & 0.736 & 0.232332 \tabularnewline
16 & 0.021631 & 0.1662 & 0.434303 \tabularnewline
17 & -0.138201 & -1.0615 & 0.853616 \tabularnewline
18 & 0.086283 & 0.6628 & 0.255035 \tabularnewline
19 & -0.009901 & -0.076 & 0.530181 \tabularnewline
20 & -0.036574 & -0.2809 & 0.610126 \tabularnewline
21 & 0.017981 & 0.1381 & 0.445311 \tabularnewline
22 & 0.109309 & 0.8396 & 0.202257 \tabularnewline
23 & 0.243671 & 1.8717 & 0.033106 \tabularnewline
24 & -0.083843 & -0.644 & 0.738967 \tabularnewline
25 & -0.206616 & -1.587 & 0.941076 \tabularnewline
26 & -0.289081 & -2.2205 & 0.98488 \tabularnewline
27 & 0.094764 & 0.7279 & 0.234779 \tabularnewline
28 & 0.020636 & 0.1585 & 0.4373 \tabularnewline
29 & 0.11033 & 0.8475 & 0.200081 \tabularnewline
30 & -0.055846 & -0.429 & 0.665242 \tabularnewline
31 & -0.032875 & -0.2525 & 0.59924 \tabularnewline
32 & 0.060085 & 0.4615 & 0.32306 \tabularnewline
33 & -0.085787 & -0.6589 & 0.743751 \tabularnewline
34 & -0.077867 & -0.5981 & 0.723971 \tabularnewline
35 & -0.112842 & -0.8668 & 0.805206 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=2403&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]7.6811[/C][C]0[/C][/ROW]
[ROW][C]1[/C][C]0.158225[/C][C]1.2153[/C][C]0.114537[/C][/ROW]
[ROW][C]2[/C][C]-0.042724[/C][C]-0.3282[/C][C]0.628028[/C][/ROW]
[ROW][C]3[/C][C]-0.181625[/C][C]-1.3951[/C][C]0.915891[/C][/ROW]
[ROW][C]4[/C][C]0.038531[/C][C]0.296[/C][C]0.384148[/C][/ROW]
[ROW][C]5[/C][C]0.114102[/C][C]0.8764[/C][C]0.192174[/C][/ROW]
[ROW][C]6[/C][C]-0.048886[/C][C]-0.3755[/C][C]0.645682[/C][/ROW]
[ROW][C]7[/C][C]0.007204[/C][C]0.0553[/C][C]0.478031[/C][/ROW]
[ROW][C]8[/C][C]0.113495[/C][C]0.8718[/C][C]0.193434[/C][/ROW]
[ROW][C]9[/C][C]0.242558[/C][C]1.8631[/C][C]0.033712[/C][/ROW]
[ROW][C]10[/C][C]-0.084648[/C][C]-0.6502[/C][C]0.740955[/C][/ROW]
[ROW][C]11[/C][C]-0.095256[/C][C]-0.7317[/C][C]0.766367[/C][/ROW]
[ROW][C]12[/C][C]-0.196681[/C][C]-1.5107[/C][C]0.931903[/C][/ROW]
[ROW][C]13[/C][C]0.122293[/C][C]0.9394[/C][C]0.17569[/C][/ROW]
[ROW][C]14[/C][C]0.295601[/C][C]2.2706[/C][C]0.01342[/C][/ROW]
[ROW][C]15[/C][C]0.095815[/C][C]0.736[/C][C]0.232332[/C][/ROW]
[ROW][C]16[/C][C]0.021631[/C][C]0.1662[/C][C]0.434303[/C][/ROW]
[ROW][C]17[/C][C]-0.138201[/C][C]-1.0615[/C][C]0.853616[/C][/ROW]
[ROW][C]18[/C][C]0.086283[/C][C]0.6628[/C][C]0.255035[/C][/ROW]
[ROW][C]19[/C][C]-0.009901[/C][C]-0.076[/C][C]0.530181[/C][/ROW]
[ROW][C]20[/C][C]-0.036574[/C][C]-0.2809[/C][C]0.610126[/C][/ROW]
[ROW][C]21[/C][C]0.017981[/C][C]0.1381[/C][C]0.445311[/C][/ROW]
[ROW][C]22[/C][C]0.109309[/C][C]0.8396[/C][C]0.202257[/C][/ROW]
[ROW][C]23[/C][C]0.243671[/C][C]1.8717[/C][C]0.033106[/C][/ROW]
[ROW][C]24[/C][C]-0.083843[/C][C]-0.644[/C][C]0.738967[/C][/ROW]
[ROW][C]25[/C][C]-0.206616[/C][C]-1.587[/C][C]0.941076[/C][/ROW]
[ROW][C]26[/C][C]-0.289081[/C][C]-2.2205[/C][C]0.98488[/C][/ROW]
[ROW][C]27[/C][C]0.094764[/C][C]0.7279[/C][C]0.234779[/C][/ROW]
[ROW][C]28[/C][C]0.020636[/C][C]0.1585[/C][C]0.4373[/C][/ROW]
[ROW][C]29[/C][C]0.11033[/C][C]0.8475[/C][C]0.200081[/C][/ROW]
[ROW][C]30[/C][C]-0.055846[/C][C]-0.429[/C][C]0.665242[/C][/ROW]
[ROW][C]31[/C][C]-0.032875[/C][C]-0.2525[/C][C]0.59924[/C][/ROW]
[ROW][C]32[/C][C]0.060085[/C][C]0.4615[/C][C]0.32306[/C][/ROW]
[ROW][C]33[/C][C]-0.085787[/C][C]-0.6589[/C][C]0.743751[/C][/ROW]
[ROW][C]34[/C][C]-0.077867[/C][C]-0.5981[/C][C]0.723971[/C][/ROW]
[ROW][C]35[/C][C]-0.112842[/C][C]-0.8668[/C][C]0.805206[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=2403&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=2403&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
017.68110
10.1582251.21530.114537
2-0.042724-0.32820.628028
3-0.181625-1.39510.915891
40.0385310.2960.384148
50.1141020.87640.192174
6-0.048886-0.37550.645682
70.0072040.05530.478031
80.1134950.87180.193434
90.2425581.86310.033712
10-0.084648-0.65020.740955
11-0.095256-0.73170.766367
12-0.196681-1.51070.931903
130.1222930.93940.17569
140.2956012.27060.01342
150.0958150.7360.232332
160.0216310.16620.434303
17-0.138201-1.06150.853616
180.0862830.66280.255035
19-0.009901-0.0760.530181
20-0.036574-0.28090.610126
210.0179810.13810.445311
220.1093090.83960.202257
230.2436711.87170.033106
24-0.083843-0.6440.738967
25-0.206616-1.5870.941076
26-0.289081-2.22050.98488
270.0947640.72790.234779
280.0206360.15850.4373
290.110330.84750.200081
30-0.055846-0.4290.665242
31-0.032875-0.25250.59924
320.0600850.46150.32306
33-0.085787-0.65890.743751
34-0.077867-0.59810.723971
35-0.112842-0.86680.805206







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
00.1582251.21530.114537
1-0.069499-0.53380.702269
2-0.168408-1.29360.899572
30.0976250.74990.228155
40.0828710.63650.263443
5-0.117922-0.90580.81563
60.0684780.5260.300433
70.1468441.12790.131957
80.1718671.32010.095944
9-0.162576-1.24880.89166
100.0108970.08370.466789
11-0.142668-1.09590.861202
120.1061780.81560.209015
130.2610342.0050.024777
140.0084310.06480.474293
150.0238190.1830.427728
16-0.107293-0.82410.793408
170.0736390.56560.286894
18-0.009343-0.07180.528485
19-0.015063-0.11570.545859
200.1230390.94510.174236
21-0.049153-0.37750.64644
220.1334531.02510.154757
23-0.137688-1.05760.852725
24-0.139041-1.0680.855064
25-0.132973-1.02140.844379
260.0524920.40320.344129
27-0.101114-0.77670.779773
280.0658360.50570.307478
29-0.048851-0.37520.645582
30-0.051792-0.39780.653903
31-0.008862-0.06810.527019
320.0494550.37990.352704
33-0.045787-0.35170.636841
34-0.018-0.13830.554746
35-0.052354-0.40210.655483

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
0 & 0.158225 & 1.2153 & 0.114537 \tabularnewline
1 & -0.069499 & -0.5338 & 0.702269 \tabularnewline
2 & -0.168408 & -1.2936 & 0.899572 \tabularnewline
3 & 0.097625 & 0.7499 & 0.228155 \tabularnewline
4 & 0.082871 & 0.6365 & 0.263443 \tabularnewline
5 & -0.117922 & -0.9058 & 0.81563 \tabularnewline
6 & 0.068478 & 0.526 & 0.300433 \tabularnewline
7 & 0.146844 & 1.1279 & 0.131957 \tabularnewline
8 & 0.171867 & 1.3201 & 0.095944 \tabularnewline
9 & -0.162576 & -1.2488 & 0.89166 \tabularnewline
10 & 0.010897 & 0.0837 & 0.466789 \tabularnewline
11 & -0.142668 & -1.0959 & 0.861202 \tabularnewline
12 & 0.106178 & 0.8156 & 0.209015 \tabularnewline
13 & 0.261034 & 2.005 & 0.024777 \tabularnewline
14 & 0.008431 & 0.0648 & 0.474293 \tabularnewline
15 & 0.023819 & 0.183 & 0.427728 \tabularnewline
16 & -0.107293 & -0.8241 & 0.793408 \tabularnewline
17 & 0.073639 & 0.5656 & 0.286894 \tabularnewline
18 & -0.009343 & -0.0718 & 0.528485 \tabularnewline
19 & -0.015063 & -0.1157 & 0.545859 \tabularnewline
20 & 0.123039 & 0.9451 & 0.174236 \tabularnewline
21 & -0.049153 & -0.3775 & 0.64644 \tabularnewline
22 & 0.133453 & 1.0251 & 0.154757 \tabularnewline
23 & -0.137688 & -1.0576 & 0.852725 \tabularnewline
24 & -0.139041 & -1.068 & 0.855064 \tabularnewline
25 & -0.132973 & -1.0214 & 0.844379 \tabularnewline
26 & 0.052492 & 0.4032 & 0.344129 \tabularnewline
27 & -0.101114 & -0.7767 & 0.779773 \tabularnewline
28 & 0.065836 & 0.5057 & 0.307478 \tabularnewline
29 & -0.048851 & -0.3752 & 0.645582 \tabularnewline
30 & -0.051792 & -0.3978 & 0.653903 \tabularnewline
31 & -0.008862 & -0.0681 & 0.527019 \tabularnewline
32 & 0.049455 & 0.3799 & 0.352704 \tabularnewline
33 & -0.045787 & -0.3517 & 0.636841 \tabularnewline
34 & -0.018 & -0.1383 & 0.554746 \tabularnewline
35 & -0.052354 & -0.4021 & 0.655483 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=2403&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.158225[/C][C]1.2153[/C][C]0.114537[/C][/ROW]
[ROW][C]1[/C][C]-0.069499[/C][C]-0.5338[/C][C]0.702269[/C][/ROW]
[ROW][C]2[/C][C]-0.168408[/C][C]-1.2936[/C][C]0.899572[/C][/ROW]
[ROW][C]3[/C][C]0.097625[/C][C]0.7499[/C][C]0.228155[/C][/ROW]
[ROW][C]4[/C][C]0.082871[/C][C]0.6365[/C][C]0.263443[/C][/ROW]
[ROW][C]5[/C][C]-0.117922[/C][C]-0.9058[/C][C]0.81563[/C][/ROW]
[ROW][C]6[/C][C]0.068478[/C][C]0.526[/C][C]0.300433[/C][/ROW]
[ROW][C]7[/C][C]0.146844[/C][C]1.1279[/C][C]0.131957[/C][/ROW]
[ROW][C]8[/C][C]0.171867[/C][C]1.3201[/C][C]0.095944[/C][/ROW]
[ROW][C]9[/C][C]-0.162576[/C][C]-1.2488[/C][C]0.89166[/C][/ROW]
[ROW][C]10[/C][C]0.010897[/C][C]0.0837[/C][C]0.466789[/C][/ROW]
[ROW][C]11[/C][C]-0.142668[/C][C]-1.0959[/C][C]0.861202[/C][/ROW]
[ROW][C]12[/C][C]0.106178[/C][C]0.8156[/C][C]0.209015[/C][/ROW]
[ROW][C]13[/C][C]0.261034[/C][C]2.005[/C][C]0.024777[/C][/ROW]
[ROW][C]14[/C][C]0.008431[/C][C]0.0648[/C][C]0.474293[/C][/ROW]
[ROW][C]15[/C][C]0.023819[/C][C]0.183[/C][C]0.427728[/C][/ROW]
[ROW][C]16[/C][C]-0.107293[/C][C]-0.8241[/C][C]0.793408[/C][/ROW]
[ROW][C]17[/C][C]0.073639[/C][C]0.5656[/C][C]0.286894[/C][/ROW]
[ROW][C]18[/C][C]-0.009343[/C][C]-0.0718[/C][C]0.528485[/C][/ROW]
[ROW][C]19[/C][C]-0.015063[/C][C]-0.1157[/C][C]0.545859[/C][/ROW]
[ROW][C]20[/C][C]0.123039[/C][C]0.9451[/C][C]0.174236[/C][/ROW]
[ROW][C]21[/C][C]-0.049153[/C][C]-0.3775[/C][C]0.64644[/C][/ROW]
[ROW][C]22[/C][C]0.133453[/C][C]1.0251[/C][C]0.154757[/C][/ROW]
[ROW][C]23[/C][C]-0.137688[/C][C]-1.0576[/C][C]0.852725[/C][/ROW]
[ROW][C]24[/C][C]-0.139041[/C][C]-1.068[/C][C]0.855064[/C][/ROW]
[ROW][C]25[/C][C]-0.132973[/C][C]-1.0214[/C][C]0.844379[/C][/ROW]
[ROW][C]26[/C][C]0.052492[/C][C]0.4032[/C][C]0.344129[/C][/ROW]
[ROW][C]27[/C][C]-0.101114[/C][C]-0.7767[/C][C]0.779773[/C][/ROW]
[ROW][C]28[/C][C]0.065836[/C][C]0.5057[/C][C]0.307478[/C][/ROW]
[ROW][C]29[/C][C]-0.048851[/C][C]-0.3752[/C][C]0.645582[/C][/ROW]
[ROW][C]30[/C][C]-0.051792[/C][C]-0.3978[/C][C]0.653903[/C][/ROW]
[ROW][C]31[/C][C]-0.008862[/C][C]-0.0681[/C][C]0.527019[/C][/ROW]
[ROW][C]32[/C][C]0.049455[/C][C]0.3799[/C][C]0.352704[/C][/ROW]
[ROW][C]33[/C][C]-0.045787[/C][C]-0.3517[/C][C]0.636841[/C][/ROW]
[ROW][C]34[/C][C]-0.018[/C][C]-0.1383[/C][C]0.554746[/C][/ROW]
[ROW][C]35[/C][C]-0.052354[/C][C]-0.4021[/C][C]0.655483[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=2403&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=2403&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
00.1582251.21530.114537
1-0.069499-0.53380.702269
2-0.168408-1.29360.899572
30.0976250.74990.228155
40.0828710.63650.263443
5-0.117922-0.90580.81563
60.0684780.5260.300433
70.1468441.12790.131957
80.1718671.32010.095944
9-0.162576-1.24880.89166
100.0108970.08370.466789
11-0.142668-1.09590.861202
120.1061780.81560.209015
130.2610342.0050.024777
140.0084310.06480.474293
150.0238190.1830.427728
16-0.107293-0.82410.793408
170.0736390.56560.286894
18-0.009343-0.07180.528485
19-0.015063-0.11570.545859
200.1230390.94510.174236
21-0.049153-0.37750.64644
220.1334531.02510.154757
23-0.137688-1.05760.852725
24-0.139041-1.0680.855064
25-0.132973-1.02140.844379
260.0524920.40320.344129
27-0.101114-0.77670.779773
280.0658360.50570.307478
29-0.048851-0.37520.645582
30-0.051792-0.39780.653903
31-0.008862-0.06810.527019
320.0494550.37990.352704
33-0.045787-0.35170.636841
34-0.018-0.13830.554746
35-0.052354-0.40210.655483



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