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 computationThu, 13 Dec 2007 08:24:11 -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/13/t119755851966ie235qihuvyvh.htm/, Retrieved Sun, 05 May 2024 10:13:30 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=3612, Retrieved Sun, 05 May 2024 10:13:30 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsACF
Estimated Impact187
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [(Partial) Autocorrelation Function] [paper] [2007-12-13 15:24:11] [8ce1ad2ac57e06e10fb37a1292ae8cb6] [Current]
Feedback Forum

Post a new message
Dataseries X:
98,6
98
106,8
96,6
100,1
107,7
91,5
97,8
107,4
117,5
105,6
97,4
99,5
98
104,3
100,6
101,1
103,9
96,9
95,5
108,4
117
103,8
100,8
110,6
104
112,6
107,3
98,9
109,8
104,9
102,2
123,9
124,9
112,7
121,9
100,6
104,3
120,4
107,5
102,9
125,6
107,5
108,8
128,4
121,1
119,5
128,7
108,7
105,5
119,8
111,3
110,6
120,1
97,5
107,7
127,3
117,2
119,8
116,2
111
112,4
130,6
109,1
118,8
123,9
101,6
112,8
128
129,6
125,8
119,5
115,7
113,6
129,7
112
116,8
126,3
112,9
115,9




Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

\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 & 1 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=3612&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]1 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=3612&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=3612&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 time1 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135







Autocorrelation Function
Time lag kACF(k)T-STATP-value
018.94430
10.3887783.47730.000411
20.2325952.08040.020345
30.5039964.50791.1e-05
40.1851381.65590.050827
50.2880762.57660.005907
60.5461384.88483e-06
70.1885911.68680.047768
80.1757461.57190.059958
90.4088623.6570.000228
100.0875750.78330.217884
110.270662.42090.008874
120.6143465.49490
130.1572171.40620.08177
140.1388251.24170.10899
150.2759022.46770.007865
16-0.006471-0.05790.523004
170.1542161.37940.085815
180.2779232.48580.007504
19-0.035711-0.31940.624877
200.0072380.06470.474271
210.1459081.3050.097809
22-0.091751-0.82060.792857
230.1275661.1410.12864
240.2831012.53210.006647
25-0.014057-0.12570.54987
260.0122720.10980.456436
270.0760560.68030.24915
28-0.148033-1.3240.90537
29-0.017798-0.15920.563041
300.083720.74880.228083
31-0.126922-1.13520.870164
32-0.072082-0.64470.739523
33-0.043973-0.39330.652429
34-0.202741-1.81340.963238
35-0.020981-0.18770.57419

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
0 & 1 & 8.9443 & 0 \tabularnewline
1 & 0.388778 & 3.4773 & 0.000411 \tabularnewline
2 & 0.232595 & 2.0804 & 0.020345 \tabularnewline
3 & 0.503996 & 4.5079 & 1.1e-05 \tabularnewline
4 & 0.185138 & 1.6559 & 0.050827 \tabularnewline
5 & 0.288076 & 2.5766 & 0.005907 \tabularnewline
6 & 0.546138 & 4.8848 & 3e-06 \tabularnewline
7 & 0.188591 & 1.6868 & 0.047768 \tabularnewline
8 & 0.175746 & 1.5719 & 0.059958 \tabularnewline
9 & 0.408862 & 3.657 & 0.000228 \tabularnewline
10 & 0.087575 & 0.7833 & 0.217884 \tabularnewline
11 & 0.27066 & 2.4209 & 0.008874 \tabularnewline
12 & 0.614346 & 5.4949 & 0 \tabularnewline
13 & 0.157217 & 1.4062 & 0.08177 \tabularnewline
14 & 0.138825 & 1.2417 & 0.10899 \tabularnewline
15 & 0.275902 & 2.4677 & 0.007865 \tabularnewline
16 & -0.006471 & -0.0579 & 0.523004 \tabularnewline
17 & 0.154216 & 1.3794 & 0.085815 \tabularnewline
18 & 0.277923 & 2.4858 & 0.007504 \tabularnewline
19 & -0.035711 & -0.3194 & 0.624877 \tabularnewline
20 & 0.007238 & 0.0647 & 0.474271 \tabularnewline
21 & 0.145908 & 1.305 & 0.097809 \tabularnewline
22 & -0.091751 & -0.8206 & 0.792857 \tabularnewline
23 & 0.127566 & 1.141 & 0.12864 \tabularnewline
24 & 0.283101 & 2.5321 & 0.006647 \tabularnewline
25 & -0.014057 & -0.1257 & 0.54987 \tabularnewline
26 & 0.012272 & 0.1098 & 0.456436 \tabularnewline
27 & 0.076056 & 0.6803 & 0.24915 \tabularnewline
28 & -0.148033 & -1.324 & 0.90537 \tabularnewline
29 & -0.017798 & -0.1592 & 0.563041 \tabularnewline
30 & 0.08372 & 0.7488 & 0.228083 \tabularnewline
31 & -0.126922 & -1.1352 & 0.870164 \tabularnewline
32 & -0.072082 & -0.6447 & 0.739523 \tabularnewline
33 & -0.043973 & -0.3933 & 0.652429 \tabularnewline
34 & -0.202741 & -1.8134 & 0.963238 \tabularnewline
35 & -0.020981 & -0.1877 & 0.57419 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=3612&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]8.9443[/C][C]0[/C][/ROW]
[ROW][C]1[/C][C]0.388778[/C][C]3.4773[/C][C]0.000411[/C][/ROW]
[ROW][C]2[/C][C]0.232595[/C][C]2.0804[/C][C]0.020345[/C][/ROW]
[ROW][C]3[/C][C]0.503996[/C][C]4.5079[/C][C]1.1e-05[/C][/ROW]
[ROW][C]4[/C][C]0.185138[/C][C]1.6559[/C][C]0.050827[/C][/ROW]
[ROW][C]5[/C][C]0.288076[/C][C]2.5766[/C][C]0.005907[/C][/ROW]
[ROW][C]6[/C][C]0.546138[/C][C]4.8848[/C][C]3e-06[/C][/ROW]
[ROW][C]7[/C][C]0.188591[/C][C]1.6868[/C][C]0.047768[/C][/ROW]
[ROW][C]8[/C][C]0.175746[/C][C]1.5719[/C][C]0.059958[/C][/ROW]
[ROW][C]9[/C][C]0.408862[/C][C]3.657[/C][C]0.000228[/C][/ROW]
[ROW][C]10[/C][C]0.087575[/C][C]0.7833[/C][C]0.217884[/C][/ROW]
[ROW][C]11[/C][C]0.27066[/C][C]2.4209[/C][C]0.008874[/C][/ROW]
[ROW][C]12[/C][C]0.614346[/C][C]5.4949[/C][C]0[/C][/ROW]
[ROW][C]13[/C][C]0.157217[/C][C]1.4062[/C][C]0.08177[/C][/ROW]
[ROW][C]14[/C][C]0.138825[/C][C]1.2417[/C][C]0.10899[/C][/ROW]
[ROW][C]15[/C][C]0.275902[/C][C]2.4677[/C][C]0.007865[/C][/ROW]
[ROW][C]16[/C][C]-0.006471[/C][C]-0.0579[/C][C]0.523004[/C][/ROW]
[ROW][C]17[/C][C]0.154216[/C][C]1.3794[/C][C]0.085815[/C][/ROW]
[ROW][C]18[/C][C]0.277923[/C][C]2.4858[/C][C]0.007504[/C][/ROW]
[ROW][C]19[/C][C]-0.035711[/C][C]-0.3194[/C][C]0.624877[/C][/ROW]
[ROW][C]20[/C][C]0.007238[/C][C]0.0647[/C][C]0.474271[/C][/ROW]
[ROW][C]21[/C][C]0.145908[/C][C]1.305[/C][C]0.097809[/C][/ROW]
[ROW][C]22[/C][C]-0.091751[/C][C]-0.8206[/C][C]0.792857[/C][/ROW]
[ROW][C]23[/C][C]0.127566[/C][C]1.141[/C][C]0.12864[/C][/ROW]
[ROW][C]24[/C][C]0.283101[/C][C]2.5321[/C][C]0.006647[/C][/ROW]
[ROW][C]25[/C][C]-0.014057[/C][C]-0.1257[/C][C]0.54987[/C][/ROW]
[ROW][C]26[/C][C]0.012272[/C][C]0.1098[/C][C]0.456436[/C][/ROW]
[ROW][C]27[/C][C]0.076056[/C][C]0.6803[/C][C]0.24915[/C][/ROW]
[ROW][C]28[/C][C]-0.148033[/C][C]-1.324[/C][C]0.90537[/C][/ROW]
[ROW][C]29[/C][C]-0.017798[/C][C]-0.1592[/C][C]0.563041[/C][/ROW]
[ROW][C]30[/C][C]0.08372[/C][C]0.7488[/C][C]0.228083[/C][/ROW]
[ROW][C]31[/C][C]-0.126922[/C][C]-1.1352[/C][C]0.870164[/C][/ROW]
[ROW][C]32[/C][C]-0.072082[/C][C]-0.6447[/C][C]0.739523[/C][/ROW]
[ROW][C]33[/C][C]-0.043973[/C][C]-0.3933[/C][C]0.652429[/C][/ROW]
[ROW][C]34[/C][C]-0.202741[/C][C]-1.8134[/C][C]0.963238[/C][/ROW]
[ROW][C]35[/C][C]-0.020981[/C][C]-0.1877[/C][C]0.57419[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=3612&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=3612&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
018.94430
10.3887783.47730.000411
20.2325952.08040.020345
30.5039964.50791.1e-05
40.1851381.65590.050827
50.2880762.57660.005907
60.5461384.88483e-06
70.1885911.68680.047768
80.1757461.57190.059958
90.4088623.6570.000228
100.0875750.78330.217884
110.270662.42090.008874
120.6143465.49490
130.1572171.40620.08177
140.1388251.24170.10899
150.2759022.46770.007865
16-0.006471-0.05790.523004
170.1542161.37940.085815
180.2779232.48580.007504
19-0.035711-0.31940.624877
200.0072380.06470.474271
210.1459081.3050.097809
22-0.091751-0.82060.792857
230.1275661.1410.12864
240.2831012.53210.006647
25-0.014057-0.12570.54987
260.0122720.10980.456436
270.0760560.68030.24915
28-0.148033-1.3240.90537
29-0.017798-0.15920.563041
300.083720.74880.228083
31-0.126922-1.13520.870164
32-0.072082-0.64470.739523
33-0.043973-0.39330.652429
34-0.202741-1.81340.963238
35-0.020981-0.18770.57419







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
00.3887783.47730.000411
10.0959490.85820.196674
20.45774.09385e-05
3-0.199615-1.78540.961008
40.3295012.94710.002101
50.2331982.08580.020093
6-0.103326-0.92420.820912
7-0.03042-0.27210.606872
80.1378081.23260.110669
9-0.171229-1.53150.935207
100.2781742.48810.007461
110.321292.87370.002597
12-0.186636-1.66930.950519
13-0.112266-1.00410.84083
14-0.180929-1.61830.94523
15-0.029889-0.26730.60505
16-0.066925-0.59860.724432
17-0.119425-1.06820.855672
18-2.3e-05-2e-040.500081
19-0.11269-1.00790.841737
200.0264130.23620.406923
210.0185340.16580.434377
220.1131261.01180.157336
23-0.022832-0.20420.580647
240.1076430.96280.169278
25-0.119435-1.06830.855692
260.0886130.79260.215184
27-0.17414-1.55760.938357
28-0.048603-0.43470.66753
290.008990.08040.468057
300.0914490.81790.20791
31-0.012831-0.11480.545539
32-0.076279-0.68230.751478
33-0.046203-0.41330.659737
34-0.030256-0.27060.60631
350.1480291.3240.094634

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
0 & 0.388778 & 3.4773 & 0.000411 \tabularnewline
1 & 0.095949 & 0.8582 & 0.196674 \tabularnewline
2 & 0.4577 & 4.0938 & 5e-05 \tabularnewline
3 & -0.199615 & -1.7854 & 0.961008 \tabularnewline
4 & 0.329501 & 2.9471 & 0.002101 \tabularnewline
5 & 0.233198 & 2.0858 & 0.020093 \tabularnewline
6 & -0.103326 & -0.9242 & 0.820912 \tabularnewline
7 & -0.03042 & -0.2721 & 0.606872 \tabularnewline
8 & 0.137808 & 1.2326 & 0.110669 \tabularnewline
9 & -0.171229 & -1.5315 & 0.935207 \tabularnewline
10 & 0.278174 & 2.4881 & 0.007461 \tabularnewline
11 & 0.32129 & 2.8737 & 0.002597 \tabularnewline
12 & -0.186636 & -1.6693 & 0.950519 \tabularnewline
13 & -0.112266 & -1.0041 & 0.84083 \tabularnewline
14 & -0.180929 & -1.6183 & 0.94523 \tabularnewline
15 & -0.029889 & -0.2673 & 0.60505 \tabularnewline
16 & -0.066925 & -0.5986 & 0.724432 \tabularnewline
17 & -0.119425 & -1.0682 & 0.855672 \tabularnewline
18 & -2.3e-05 & -2e-04 & 0.500081 \tabularnewline
19 & -0.11269 & -1.0079 & 0.841737 \tabularnewline
20 & 0.026413 & 0.2362 & 0.406923 \tabularnewline
21 & 0.018534 & 0.1658 & 0.434377 \tabularnewline
22 & 0.113126 & 1.0118 & 0.157336 \tabularnewline
23 & -0.022832 & -0.2042 & 0.580647 \tabularnewline
24 & 0.107643 & 0.9628 & 0.169278 \tabularnewline
25 & -0.119435 & -1.0683 & 0.855692 \tabularnewline
26 & 0.088613 & 0.7926 & 0.215184 \tabularnewline
27 & -0.17414 & -1.5576 & 0.938357 \tabularnewline
28 & -0.048603 & -0.4347 & 0.66753 \tabularnewline
29 & 0.00899 & 0.0804 & 0.468057 \tabularnewline
30 & 0.091449 & 0.8179 & 0.20791 \tabularnewline
31 & -0.012831 & -0.1148 & 0.545539 \tabularnewline
32 & -0.076279 & -0.6823 & 0.751478 \tabularnewline
33 & -0.046203 & -0.4133 & 0.659737 \tabularnewline
34 & -0.030256 & -0.2706 & 0.60631 \tabularnewline
35 & 0.148029 & 1.324 & 0.094634 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=3612&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.388778[/C][C]3.4773[/C][C]0.000411[/C][/ROW]
[ROW][C]1[/C][C]0.095949[/C][C]0.8582[/C][C]0.196674[/C][/ROW]
[ROW][C]2[/C][C]0.4577[/C][C]4.0938[/C][C]5e-05[/C][/ROW]
[ROW][C]3[/C][C]-0.199615[/C][C]-1.7854[/C][C]0.961008[/C][/ROW]
[ROW][C]4[/C][C]0.329501[/C][C]2.9471[/C][C]0.002101[/C][/ROW]
[ROW][C]5[/C][C]0.233198[/C][C]2.0858[/C][C]0.020093[/C][/ROW]
[ROW][C]6[/C][C]-0.103326[/C][C]-0.9242[/C][C]0.820912[/C][/ROW]
[ROW][C]7[/C][C]-0.03042[/C][C]-0.2721[/C][C]0.606872[/C][/ROW]
[ROW][C]8[/C][C]0.137808[/C][C]1.2326[/C][C]0.110669[/C][/ROW]
[ROW][C]9[/C][C]-0.171229[/C][C]-1.5315[/C][C]0.935207[/C][/ROW]
[ROW][C]10[/C][C]0.278174[/C][C]2.4881[/C][C]0.007461[/C][/ROW]
[ROW][C]11[/C][C]0.32129[/C][C]2.8737[/C][C]0.002597[/C][/ROW]
[ROW][C]12[/C][C]-0.186636[/C][C]-1.6693[/C][C]0.950519[/C][/ROW]
[ROW][C]13[/C][C]-0.112266[/C][C]-1.0041[/C][C]0.84083[/C][/ROW]
[ROW][C]14[/C][C]-0.180929[/C][C]-1.6183[/C][C]0.94523[/C][/ROW]
[ROW][C]15[/C][C]-0.029889[/C][C]-0.2673[/C][C]0.60505[/C][/ROW]
[ROW][C]16[/C][C]-0.066925[/C][C]-0.5986[/C][C]0.724432[/C][/ROW]
[ROW][C]17[/C][C]-0.119425[/C][C]-1.0682[/C][C]0.855672[/C][/ROW]
[ROW][C]18[/C][C]-2.3e-05[/C][C]-2e-04[/C][C]0.500081[/C][/ROW]
[ROW][C]19[/C][C]-0.11269[/C][C]-1.0079[/C][C]0.841737[/C][/ROW]
[ROW][C]20[/C][C]0.026413[/C][C]0.2362[/C][C]0.406923[/C][/ROW]
[ROW][C]21[/C][C]0.018534[/C][C]0.1658[/C][C]0.434377[/C][/ROW]
[ROW][C]22[/C][C]0.113126[/C][C]1.0118[/C][C]0.157336[/C][/ROW]
[ROW][C]23[/C][C]-0.022832[/C][C]-0.2042[/C][C]0.580647[/C][/ROW]
[ROW][C]24[/C][C]0.107643[/C][C]0.9628[/C][C]0.169278[/C][/ROW]
[ROW][C]25[/C][C]-0.119435[/C][C]-1.0683[/C][C]0.855692[/C][/ROW]
[ROW][C]26[/C][C]0.088613[/C][C]0.7926[/C][C]0.215184[/C][/ROW]
[ROW][C]27[/C][C]-0.17414[/C][C]-1.5576[/C][C]0.938357[/C][/ROW]
[ROW][C]28[/C][C]-0.048603[/C][C]-0.4347[/C][C]0.66753[/C][/ROW]
[ROW][C]29[/C][C]0.00899[/C][C]0.0804[/C][C]0.468057[/C][/ROW]
[ROW][C]30[/C][C]0.091449[/C][C]0.8179[/C][C]0.20791[/C][/ROW]
[ROW][C]31[/C][C]-0.012831[/C][C]-0.1148[/C][C]0.545539[/C][/ROW]
[ROW][C]32[/C][C]-0.076279[/C][C]-0.6823[/C][C]0.751478[/C][/ROW]
[ROW][C]33[/C][C]-0.046203[/C][C]-0.4133[/C][C]0.659737[/C][/ROW]
[ROW][C]34[/C][C]-0.030256[/C][C]-0.2706[/C][C]0.60631[/C][/ROW]
[ROW][C]35[/C][C]0.148029[/C][C]1.324[/C][C]0.094634[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=3612&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=3612&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.3887783.47730.000411
10.0959490.85820.196674
20.45774.09385e-05
3-0.199615-1.78540.961008
40.3295012.94710.002101
50.2331982.08580.020093
6-0.103326-0.92420.820912
7-0.03042-0.27210.606872
80.1378081.23260.110669
9-0.171229-1.53150.935207
100.2781742.48810.007461
110.321292.87370.002597
12-0.186636-1.66930.950519
13-0.112266-1.00410.84083
14-0.180929-1.61830.94523
15-0.029889-0.26730.60505
16-0.066925-0.59860.724432
17-0.119425-1.06820.855672
18-2.3e-05-2e-040.500081
19-0.11269-1.00790.841737
200.0264130.23620.406923
210.0185340.16580.434377
220.1131261.01180.157336
23-0.022832-0.20420.580647
240.1076430.96280.169278
25-0.119435-1.06830.855692
260.0886130.79260.215184
27-0.17414-1.55760.938357
28-0.048603-0.43470.66753
290.008990.08040.468057
300.0914490.81790.20791
31-0.012831-0.11480.545539
32-0.076279-0.68230.751478
33-0.046203-0.41330.659737
34-0.030256-0.27060.60631
350.1480291.3240.094634



Parameters (Session):
par1 = FALSE ; par2 = 1 ; par3 = 0 ; par4 = 1 ; par5 = 12 ; par6 = 3 ; par7 = 0 ; par8 = 2 ; par9 = 0 ;
Parameters (R input):
par1 = 36 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; 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')