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, 04 Dec 2009 06:05:08 -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/2009/Dec/04/t1259931965apfp2jrzvl7lvwl.htm/, Retrieved Sun, 28 Apr 2024 18:08:26 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=63453, Retrieved Sun, 28 Apr 2024 18:08:26 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsWorkshop 9 - Aurocorrelatie 1
Estimated Impact143
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] [] [2009-11-27 14:46:03] [b98453cac15ba1066b407e146608df68]
-    D    [(Partial) Autocorrelation Function] [BBWS9-Autocorella...] [2009-12-01 20:15:32] [408e92805dcb18620260f240a7fb9d53]
-    D        [(Partial) Autocorrelation Function] [shw-ws9] [2009-12-04 13:05:08] [5b5bced41faf164488f2c271c918b21f] [Current]
Feedback Forum

Post a new message
Dataseries X:
1178
2141
2238
2685
4341
5376
4478
6404
4617
3024
1897
2075
1351
2211
2453
3042
4765
4992
4601
6266
4812
3159
1916
2237
1595
2453
2226
3597
4706
4974
5756
5493
5004
3225
2006
2291
1588
2105
2191
3591
4668
4885
5822
5599
5340
3082
2010
2301
1514
1979
2480
3499
4676
5585
5610
5796
6199
3030
1930
2552




Summary of computational 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 computational 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=63453&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]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=63453&T=0

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







Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.7358065.69950
20.3820082.9590.002206
3-0.0234-0.18130.428388
4-0.428421-3.31850.000771
5-0.714546-5.53480
6-0.775354-6.00590
7-0.662668-5.1332e-06
8-0.3424-2.65220.005108
90.0426420.33030.371161
100.3633182.81420.003301
110.6200794.80315e-06
120.7610225.89490
130.5746474.45121.9e-05
140.2988812.31510.012022
15-0.039346-0.30480.380796
16-0.335411-2.59810.005889
17-0.553885-4.29043.3e-05
18-0.605433-4.68978e-06
19-0.510487-3.95420.000103
20-0.260596-2.01860.024004
210.031810.24640.403108
220.2783782.15630.017539
230.4797843.71640.000223
240.5559254.30623.1e-05
250.4381353.39380.000613
260.2175371.6850.048589
27-0.040754-0.31570.37667
28-0.245143-1.89890.031197
29-0.414433-3.21020.001066
30-0.445617-3.45170.000513
31-0.351592-2.72340.004225
32-0.188122-1.45720.07514
330.0279930.21680.414538
340.1979771.53350.065201
350.3300772.55680.006556
360.3824262.96230.002186

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & 0.735806 & 5.6995 & 0 \tabularnewline
2 & 0.382008 & 2.959 & 0.002206 \tabularnewline
3 & -0.0234 & -0.1813 & 0.428388 \tabularnewline
4 & -0.428421 & -3.3185 & 0.000771 \tabularnewline
5 & -0.714546 & -5.5348 & 0 \tabularnewline
6 & -0.775354 & -6.0059 & 0 \tabularnewline
7 & -0.662668 & -5.133 & 2e-06 \tabularnewline
8 & -0.3424 & -2.6522 & 0.005108 \tabularnewline
9 & 0.042642 & 0.3303 & 0.371161 \tabularnewline
10 & 0.363318 & 2.8142 & 0.003301 \tabularnewline
11 & 0.620079 & 4.8031 & 5e-06 \tabularnewline
12 & 0.761022 & 5.8949 & 0 \tabularnewline
13 & 0.574647 & 4.4512 & 1.9e-05 \tabularnewline
14 & 0.298881 & 2.3151 & 0.012022 \tabularnewline
15 & -0.039346 & -0.3048 & 0.380796 \tabularnewline
16 & -0.335411 & -2.5981 & 0.005889 \tabularnewline
17 & -0.553885 & -4.2904 & 3.3e-05 \tabularnewline
18 & -0.605433 & -4.6897 & 8e-06 \tabularnewline
19 & -0.510487 & -3.9542 & 0.000103 \tabularnewline
20 & -0.260596 & -2.0186 & 0.024004 \tabularnewline
21 & 0.03181 & 0.2464 & 0.403108 \tabularnewline
22 & 0.278378 & 2.1563 & 0.017539 \tabularnewline
23 & 0.479784 & 3.7164 & 0.000223 \tabularnewline
24 & 0.555925 & 4.3062 & 3.1e-05 \tabularnewline
25 & 0.438135 & 3.3938 & 0.000613 \tabularnewline
26 & 0.217537 & 1.685 & 0.048589 \tabularnewline
27 & -0.040754 & -0.3157 & 0.37667 \tabularnewline
28 & -0.245143 & -1.8989 & 0.031197 \tabularnewline
29 & -0.414433 & -3.2102 & 0.001066 \tabularnewline
30 & -0.445617 & -3.4517 & 0.000513 \tabularnewline
31 & -0.351592 & -2.7234 & 0.004225 \tabularnewline
32 & -0.188122 & -1.4572 & 0.07514 \tabularnewline
33 & 0.027993 & 0.2168 & 0.414538 \tabularnewline
34 & 0.197977 & 1.5335 & 0.065201 \tabularnewline
35 & 0.330077 & 2.5568 & 0.006556 \tabularnewline
36 & 0.382426 & 2.9623 & 0.002186 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=63453&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.735806[/C][C]5.6995[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]0.382008[/C][C]2.959[/C][C]0.002206[/C][/ROW]
[ROW][C]3[/C][C]-0.0234[/C][C]-0.1813[/C][C]0.428388[/C][/ROW]
[ROW][C]4[/C][C]-0.428421[/C][C]-3.3185[/C][C]0.000771[/C][/ROW]
[ROW][C]5[/C][C]-0.714546[/C][C]-5.5348[/C][C]0[/C][/ROW]
[ROW][C]6[/C][C]-0.775354[/C][C]-6.0059[/C][C]0[/C][/ROW]
[ROW][C]7[/C][C]-0.662668[/C][C]-5.133[/C][C]2e-06[/C][/ROW]
[ROW][C]8[/C][C]-0.3424[/C][C]-2.6522[/C][C]0.005108[/C][/ROW]
[ROW][C]9[/C][C]0.042642[/C][C]0.3303[/C][C]0.371161[/C][/ROW]
[ROW][C]10[/C][C]0.363318[/C][C]2.8142[/C][C]0.003301[/C][/ROW]
[ROW][C]11[/C][C]0.620079[/C][C]4.8031[/C][C]5e-06[/C][/ROW]
[ROW][C]12[/C][C]0.761022[/C][C]5.8949[/C][C]0[/C][/ROW]
[ROW][C]13[/C][C]0.574647[/C][C]4.4512[/C][C]1.9e-05[/C][/ROW]
[ROW][C]14[/C][C]0.298881[/C][C]2.3151[/C][C]0.012022[/C][/ROW]
[ROW][C]15[/C][C]-0.039346[/C][C]-0.3048[/C][C]0.380796[/C][/ROW]
[ROW][C]16[/C][C]-0.335411[/C][C]-2.5981[/C][C]0.005889[/C][/ROW]
[ROW][C]17[/C][C]-0.553885[/C][C]-4.2904[/C][C]3.3e-05[/C][/ROW]
[ROW][C]18[/C][C]-0.605433[/C][C]-4.6897[/C][C]8e-06[/C][/ROW]
[ROW][C]19[/C][C]-0.510487[/C][C]-3.9542[/C][C]0.000103[/C][/ROW]
[ROW][C]20[/C][C]-0.260596[/C][C]-2.0186[/C][C]0.024004[/C][/ROW]
[ROW][C]21[/C][C]0.03181[/C][C]0.2464[/C][C]0.403108[/C][/ROW]
[ROW][C]22[/C][C]0.278378[/C][C]2.1563[/C][C]0.017539[/C][/ROW]
[ROW][C]23[/C][C]0.479784[/C][C]3.7164[/C][C]0.000223[/C][/ROW]
[ROW][C]24[/C][C]0.555925[/C][C]4.3062[/C][C]3.1e-05[/C][/ROW]
[ROW][C]25[/C][C]0.438135[/C][C]3.3938[/C][C]0.000613[/C][/ROW]
[ROW][C]26[/C][C]0.217537[/C][C]1.685[/C][C]0.048589[/C][/ROW]
[ROW][C]27[/C][C]-0.040754[/C][C]-0.3157[/C][C]0.37667[/C][/ROW]
[ROW][C]28[/C][C]-0.245143[/C][C]-1.8989[/C][C]0.031197[/C][/ROW]
[ROW][C]29[/C][C]-0.414433[/C][C]-3.2102[/C][C]0.001066[/C][/ROW]
[ROW][C]30[/C][C]-0.445617[/C][C]-3.4517[/C][C]0.000513[/C][/ROW]
[ROW][C]31[/C][C]-0.351592[/C][C]-2.7234[/C][C]0.004225[/C][/ROW]
[ROW][C]32[/C][C]-0.188122[/C][C]-1.4572[/C][C]0.07514[/C][/ROW]
[ROW][C]33[/C][C]0.027993[/C][C]0.2168[/C][C]0.414538[/C][/ROW]
[ROW][C]34[/C][C]0.197977[/C][C]1.5335[/C][C]0.065201[/C][/ROW]
[ROW][C]35[/C][C]0.330077[/C][C]2.5568[/C][C]0.006556[/C][/ROW]
[ROW][C]36[/C][C]0.382426[/C][C]2.9623[/C][C]0.002186[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=63453&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=63453&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.7358065.69950
20.3820082.9590.002206
3-0.0234-0.18130.428388
4-0.428421-3.31850.000771
5-0.714546-5.53480
6-0.775354-6.00590
7-0.662668-5.1332e-06
8-0.3424-2.65220.005108
90.0426420.33030.371161
100.3633182.81420.003301
110.6200794.80315e-06
120.7610225.89490
130.5746474.45121.9e-05
140.2988812.31510.012022
15-0.039346-0.30480.380796
16-0.335411-2.59810.005889
17-0.553885-4.29043.3e-05
18-0.605433-4.68978e-06
19-0.510487-3.95420.000103
20-0.260596-2.01860.024004
210.031810.24640.403108
220.2783782.15630.017539
230.4797843.71640.000223
240.5559254.30623.1e-05
250.4381353.39380.000613
260.2175371.6850.048589
27-0.040754-0.31570.37667
28-0.245143-1.89890.031197
29-0.414433-3.21020.001066
30-0.445617-3.45170.000513
31-0.351592-2.72340.004225
32-0.188122-1.45720.07514
330.0279930.21680.414538
340.1979771.53350.065201
350.3300772.55680.006556
360.3824262.96230.002186







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.7358065.69950
2-0.347593-2.69240.00459
3-0.363174-2.81310.003311
4-0.416363-3.22510.00102
5-0.34813-2.69660.004539
6-0.161931-1.25430.107296
7-0.233533-1.80890.037736
80.019970.15470.438792
9-0.043567-0.33750.36847
10-0.150901-1.16890.123538
110.0776370.60140.274928
120.2821072.18520.016395
13-0.265498-2.05650.022044
140.0455290.35270.362786
150.0011120.00860.496579
160.1852821.43520.078213
17-0.007196-0.05570.477868
180.0113420.08790.465141
190.053380.41350.340363
20-0.01137-0.08810.465058
210.0007680.00590.497636
220.0057650.04470.482265
230.0843570.65340.25799
24-0.060789-0.47090.319721
250.0091040.07050.472006
26-0.077026-0.59660.276496
270.0407150.31540.376785
280.0606220.46960.320181
29-0.06368-0.49330.311813
300.0628160.48660.314168
310.0778270.60280.274441
32-0.128495-0.99530.161789
330.0745830.57770.282807
34-0.06446-0.49930.309694
350.0265780.20590.418793
360.0270170.20930.417473

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & 0.735806 & 5.6995 & 0 \tabularnewline
2 & -0.347593 & -2.6924 & 0.00459 \tabularnewline
3 & -0.363174 & -2.8131 & 0.003311 \tabularnewline
4 & -0.416363 & -3.2251 & 0.00102 \tabularnewline
5 & -0.34813 & -2.6966 & 0.004539 \tabularnewline
6 & -0.161931 & -1.2543 & 0.107296 \tabularnewline
7 & -0.233533 & -1.8089 & 0.037736 \tabularnewline
8 & 0.01997 & 0.1547 & 0.438792 \tabularnewline
9 & -0.043567 & -0.3375 & 0.36847 \tabularnewline
10 & -0.150901 & -1.1689 & 0.123538 \tabularnewline
11 & 0.077637 & 0.6014 & 0.274928 \tabularnewline
12 & 0.282107 & 2.1852 & 0.016395 \tabularnewline
13 & -0.265498 & -2.0565 & 0.022044 \tabularnewline
14 & 0.045529 & 0.3527 & 0.362786 \tabularnewline
15 & 0.001112 & 0.0086 & 0.496579 \tabularnewline
16 & 0.185282 & 1.4352 & 0.078213 \tabularnewline
17 & -0.007196 & -0.0557 & 0.477868 \tabularnewline
18 & 0.011342 & 0.0879 & 0.465141 \tabularnewline
19 & 0.05338 & 0.4135 & 0.340363 \tabularnewline
20 & -0.01137 & -0.0881 & 0.465058 \tabularnewline
21 & 0.000768 & 0.0059 & 0.497636 \tabularnewline
22 & 0.005765 & 0.0447 & 0.482265 \tabularnewline
23 & 0.084357 & 0.6534 & 0.25799 \tabularnewline
24 & -0.060789 & -0.4709 & 0.319721 \tabularnewline
25 & 0.009104 & 0.0705 & 0.472006 \tabularnewline
26 & -0.077026 & -0.5966 & 0.276496 \tabularnewline
27 & 0.040715 & 0.3154 & 0.376785 \tabularnewline
28 & 0.060622 & 0.4696 & 0.320181 \tabularnewline
29 & -0.06368 & -0.4933 & 0.311813 \tabularnewline
30 & 0.062816 & 0.4866 & 0.314168 \tabularnewline
31 & 0.077827 & 0.6028 & 0.274441 \tabularnewline
32 & -0.128495 & -0.9953 & 0.161789 \tabularnewline
33 & 0.074583 & 0.5777 & 0.282807 \tabularnewline
34 & -0.06446 & -0.4993 & 0.309694 \tabularnewline
35 & 0.026578 & 0.2059 & 0.418793 \tabularnewline
36 & 0.027017 & 0.2093 & 0.417473 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=63453&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.735806[/C][C]5.6995[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]-0.347593[/C][C]-2.6924[/C][C]0.00459[/C][/ROW]
[ROW][C]3[/C][C]-0.363174[/C][C]-2.8131[/C][C]0.003311[/C][/ROW]
[ROW][C]4[/C][C]-0.416363[/C][C]-3.2251[/C][C]0.00102[/C][/ROW]
[ROW][C]5[/C][C]-0.34813[/C][C]-2.6966[/C][C]0.004539[/C][/ROW]
[ROW][C]6[/C][C]-0.161931[/C][C]-1.2543[/C][C]0.107296[/C][/ROW]
[ROW][C]7[/C][C]-0.233533[/C][C]-1.8089[/C][C]0.037736[/C][/ROW]
[ROW][C]8[/C][C]0.01997[/C][C]0.1547[/C][C]0.438792[/C][/ROW]
[ROW][C]9[/C][C]-0.043567[/C][C]-0.3375[/C][C]0.36847[/C][/ROW]
[ROW][C]10[/C][C]-0.150901[/C][C]-1.1689[/C][C]0.123538[/C][/ROW]
[ROW][C]11[/C][C]0.077637[/C][C]0.6014[/C][C]0.274928[/C][/ROW]
[ROW][C]12[/C][C]0.282107[/C][C]2.1852[/C][C]0.016395[/C][/ROW]
[ROW][C]13[/C][C]-0.265498[/C][C]-2.0565[/C][C]0.022044[/C][/ROW]
[ROW][C]14[/C][C]0.045529[/C][C]0.3527[/C][C]0.362786[/C][/ROW]
[ROW][C]15[/C][C]0.001112[/C][C]0.0086[/C][C]0.496579[/C][/ROW]
[ROW][C]16[/C][C]0.185282[/C][C]1.4352[/C][C]0.078213[/C][/ROW]
[ROW][C]17[/C][C]-0.007196[/C][C]-0.0557[/C][C]0.477868[/C][/ROW]
[ROW][C]18[/C][C]0.011342[/C][C]0.0879[/C][C]0.465141[/C][/ROW]
[ROW][C]19[/C][C]0.05338[/C][C]0.4135[/C][C]0.340363[/C][/ROW]
[ROW][C]20[/C][C]-0.01137[/C][C]-0.0881[/C][C]0.465058[/C][/ROW]
[ROW][C]21[/C][C]0.000768[/C][C]0.0059[/C][C]0.497636[/C][/ROW]
[ROW][C]22[/C][C]0.005765[/C][C]0.0447[/C][C]0.482265[/C][/ROW]
[ROW][C]23[/C][C]0.084357[/C][C]0.6534[/C][C]0.25799[/C][/ROW]
[ROW][C]24[/C][C]-0.060789[/C][C]-0.4709[/C][C]0.319721[/C][/ROW]
[ROW][C]25[/C][C]0.009104[/C][C]0.0705[/C][C]0.472006[/C][/ROW]
[ROW][C]26[/C][C]-0.077026[/C][C]-0.5966[/C][C]0.276496[/C][/ROW]
[ROW][C]27[/C][C]0.040715[/C][C]0.3154[/C][C]0.376785[/C][/ROW]
[ROW][C]28[/C][C]0.060622[/C][C]0.4696[/C][C]0.320181[/C][/ROW]
[ROW][C]29[/C][C]-0.06368[/C][C]-0.4933[/C][C]0.311813[/C][/ROW]
[ROW][C]30[/C][C]0.062816[/C][C]0.4866[/C][C]0.314168[/C][/ROW]
[ROW][C]31[/C][C]0.077827[/C][C]0.6028[/C][C]0.274441[/C][/ROW]
[ROW][C]32[/C][C]-0.128495[/C][C]-0.9953[/C][C]0.161789[/C][/ROW]
[ROW][C]33[/C][C]0.074583[/C][C]0.5777[/C][C]0.282807[/C][/ROW]
[ROW][C]34[/C][C]-0.06446[/C][C]-0.4993[/C][C]0.309694[/C][/ROW]
[ROW][C]35[/C][C]0.026578[/C][C]0.2059[/C][C]0.418793[/C][/ROW]
[ROW][C]36[/C][C]0.027017[/C][C]0.2093[/C][C]0.417473[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=63453&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=63453&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.7358065.69950
2-0.347593-2.69240.00459
3-0.363174-2.81310.003311
4-0.416363-3.22510.00102
5-0.34813-2.69660.004539
6-0.161931-1.25430.107296
7-0.233533-1.80890.037736
80.019970.15470.438792
9-0.043567-0.33750.36847
10-0.150901-1.16890.123538
110.0776370.60140.274928
120.2821072.18520.016395
13-0.265498-2.05650.022044
140.0455290.35270.362786
150.0011120.00860.496579
160.1852821.43520.078213
17-0.007196-0.05570.477868
180.0113420.08790.465141
190.053380.41350.340363
20-0.01137-0.08810.465058
210.0007680.00590.497636
220.0057650.04470.482265
230.0843570.65340.25799
24-0.060789-0.47090.319721
250.0091040.07050.472006
26-0.077026-0.59660.276496
270.0407150.31540.376785
280.0606220.46960.320181
29-0.06368-0.49330.311813
300.0628160.48660.314168
310.0778270.60280.274441
32-0.128495-0.99530.161789
330.0745830.57770.282807
34-0.06446-0.49930.309694
350.0265780.20590.418793
360.0270170.20930.417473



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