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 computationFri, 30 Nov 2007 06:12:13 -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/Nov/30/t1196427682r5oh4up5pxryxks.htm/, Retrieved Sun, 28 Apr 2024 07:02:34 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=7681, Retrieved Sun, 28 Apr 2024 07:02:34 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsq1
Estimated Impact172
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [(Partial) Autocorrelation Function] [partial autocorre...] [2007-11-30 13:12:13] [c8ae83d0115975332f4c8aef1088e2d8] [Current]
Feedback Forum

Post a new message
Dataseries X:
12710.3
12120.8
12469.5
12054.6
12112.9
9617.2
12645.8
13581.3
12162.3
10969.7
11880.0
11887.6
12926.9
12300.0
12092.8
12380.8
12196.9
9455.0
13168.0
13427.9
11980.5
11884.8
11691.7
12233.8
14341.4
13130.7
12421.1
14285.8
12864.6
11160.2
14316.2
14388.7
14013.9
13419.0
12769.6
13315.5
15332.9
14243.0
13824.4
14962.9
13202.9
12199.0
15508.9
14199.8
15169.6
14058.0
13786.2
14147.9
16541.7
13587.5
15582.4
15802.8
14130.5
12923.2
15612.2
16033.7
16036.6
14037.8
15330.6
15038.3
17401.8




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=7681&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=7681&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=7681&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
0170
10.1008010.70560.241887
20.2730761.91150.030897
30.4724123.30690.000886
40.1890041.3230.095983
50.2594851.81640.037715
60.2469821.72890.045064
7-0.137754-0.96430.830179
80.1463111.02420.15539
90.0425620.29790.383507
10-0.211872-1.48310.927775
11-0.129899-0.90930.816178
12-0.169947-1.18960.880038
13-0.238429-1.6690.949252
14-0.070071-0.49050.687013
15-0.28042-1.96290.972328
16-0.33148-2.32040.987736
17-0.059531-0.41670.660647
18-0.129527-0.90670.815496
19-0.217639-1.52350.932966
20-0.136809-0.95770.828533
210.0150150.10510.458361
22-0.199052-1.39340.915101
230.143821.00670.159502
24-0.088284-0.6180.730277
25-0.124036-0.86830.805255
260.163191.14230.129434
27-0.007752-0.05430.521528
28-0.063746-0.44620.671298
290.1101470.7710.222196
30-0.054983-0.38490.649005
310.0685480.47980.316739
320.0238180.16670.434136
33-0.091612-0.64130.737837
340.055780.39050.348945
350.0609030.42630.335871

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
0 & 1 & 7 & 0 \tabularnewline
1 & 0.100801 & 0.7056 & 0.241887 \tabularnewline
2 & 0.273076 & 1.9115 & 0.030897 \tabularnewline
3 & 0.472412 & 3.3069 & 0.000886 \tabularnewline
4 & 0.189004 & 1.323 & 0.095983 \tabularnewline
5 & 0.259485 & 1.8164 & 0.037715 \tabularnewline
6 & 0.246982 & 1.7289 & 0.045064 \tabularnewline
7 & -0.137754 & -0.9643 & 0.830179 \tabularnewline
8 & 0.146311 & 1.0242 & 0.15539 \tabularnewline
9 & 0.042562 & 0.2979 & 0.383507 \tabularnewline
10 & -0.211872 & -1.4831 & 0.927775 \tabularnewline
11 & -0.129899 & -0.9093 & 0.816178 \tabularnewline
12 & -0.169947 & -1.1896 & 0.880038 \tabularnewline
13 & -0.238429 & -1.669 & 0.949252 \tabularnewline
14 & -0.070071 & -0.4905 & 0.687013 \tabularnewline
15 & -0.28042 & -1.9629 & 0.972328 \tabularnewline
16 & -0.33148 & -2.3204 & 0.987736 \tabularnewline
17 & -0.059531 & -0.4167 & 0.660647 \tabularnewline
18 & -0.129527 & -0.9067 & 0.815496 \tabularnewline
19 & -0.217639 & -1.5235 & 0.932966 \tabularnewline
20 & -0.136809 & -0.9577 & 0.828533 \tabularnewline
21 & 0.015015 & 0.1051 & 0.458361 \tabularnewline
22 & -0.199052 & -1.3934 & 0.915101 \tabularnewline
23 & 0.14382 & 1.0067 & 0.159502 \tabularnewline
24 & -0.088284 & -0.618 & 0.730277 \tabularnewline
25 & -0.124036 & -0.8683 & 0.805255 \tabularnewline
26 & 0.16319 & 1.1423 & 0.129434 \tabularnewline
27 & -0.007752 & -0.0543 & 0.521528 \tabularnewline
28 & -0.063746 & -0.4462 & 0.671298 \tabularnewline
29 & 0.110147 & 0.771 & 0.222196 \tabularnewline
30 & -0.054983 & -0.3849 & 0.649005 \tabularnewline
31 & 0.068548 & 0.4798 & 0.316739 \tabularnewline
32 & 0.023818 & 0.1667 & 0.434136 \tabularnewline
33 & -0.091612 & -0.6413 & 0.737837 \tabularnewline
34 & 0.05578 & 0.3905 & 0.348945 \tabularnewline
35 & 0.060903 & 0.4263 & 0.335871 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=7681&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[/C][C]0[/C][/ROW]
[ROW][C]1[/C][C]0.100801[/C][C]0.7056[/C][C]0.241887[/C][/ROW]
[ROW][C]2[/C][C]0.273076[/C][C]1.9115[/C][C]0.030897[/C][/ROW]
[ROW][C]3[/C][C]0.472412[/C][C]3.3069[/C][C]0.000886[/C][/ROW]
[ROW][C]4[/C][C]0.189004[/C][C]1.323[/C][C]0.095983[/C][/ROW]
[ROW][C]5[/C][C]0.259485[/C][C]1.8164[/C][C]0.037715[/C][/ROW]
[ROW][C]6[/C][C]0.246982[/C][C]1.7289[/C][C]0.045064[/C][/ROW]
[ROW][C]7[/C][C]-0.137754[/C][C]-0.9643[/C][C]0.830179[/C][/ROW]
[ROW][C]8[/C][C]0.146311[/C][C]1.0242[/C][C]0.15539[/C][/ROW]
[ROW][C]9[/C][C]0.042562[/C][C]0.2979[/C][C]0.383507[/C][/ROW]
[ROW][C]10[/C][C]-0.211872[/C][C]-1.4831[/C][C]0.927775[/C][/ROW]
[ROW][C]11[/C][C]-0.129899[/C][C]-0.9093[/C][C]0.816178[/C][/ROW]
[ROW][C]12[/C][C]-0.169947[/C][C]-1.1896[/C][C]0.880038[/C][/ROW]
[ROW][C]13[/C][C]-0.238429[/C][C]-1.669[/C][C]0.949252[/C][/ROW]
[ROW][C]14[/C][C]-0.070071[/C][C]-0.4905[/C][C]0.687013[/C][/ROW]
[ROW][C]15[/C][C]-0.28042[/C][C]-1.9629[/C][C]0.972328[/C][/ROW]
[ROW][C]16[/C][C]-0.33148[/C][C]-2.3204[/C][C]0.987736[/C][/ROW]
[ROW][C]17[/C][C]-0.059531[/C][C]-0.4167[/C][C]0.660647[/C][/ROW]
[ROW][C]18[/C][C]-0.129527[/C][C]-0.9067[/C][C]0.815496[/C][/ROW]
[ROW][C]19[/C][C]-0.217639[/C][C]-1.5235[/C][C]0.932966[/C][/ROW]
[ROW][C]20[/C][C]-0.136809[/C][C]-0.9577[/C][C]0.828533[/C][/ROW]
[ROW][C]21[/C][C]0.015015[/C][C]0.1051[/C][C]0.458361[/C][/ROW]
[ROW][C]22[/C][C]-0.199052[/C][C]-1.3934[/C][C]0.915101[/C][/ROW]
[ROW][C]23[/C][C]0.14382[/C][C]1.0067[/C][C]0.159502[/C][/ROW]
[ROW][C]24[/C][C]-0.088284[/C][C]-0.618[/C][C]0.730277[/C][/ROW]
[ROW][C]25[/C][C]-0.124036[/C][C]-0.8683[/C][C]0.805255[/C][/ROW]
[ROW][C]26[/C][C]0.16319[/C][C]1.1423[/C][C]0.129434[/C][/ROW]
[ROW][C]27[/C][C]-0.007752[/C][C]-0.0543[/C][C]0.521528[/C][/ROW]
[ROW][C]28[/C][C]-0.063746[/C][C]-0.4462[/C][C]0.671298[/C][/ROW]
[ROW][C]29[/C][C]0.110147[/C][C]0.771[/C][C]0.222196[/C][/ROW]
[ROW][C]30[/C][C]-0.054983[/C][C]-0.3849[/C][C]0.649005[/C][/ROW]
[ROW][C]31[/C][C]0.068548[/C][C]0.4798[/C][C]0.316739[/C][/ROW]
[ROW][C]32[/C][C]0.023818[/C][C]0.1667[/C][C]0.434136[/C][/ROW]
[ROW][C]33[/C][C]-0.091612[/C][C]-0.6413[/C][C]0.737837[/C][/ROW]
[ROW][C]34[/C][C]0.05578[/C][C]0.3905[/C][C]0.348945[/C][/ROW]
[ROW][C]35[/C][C]0.060903[/C][C]0.4263[/C][C]0.335871[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=7681&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=7681&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
0170
10.1008010.70560.241887
20.2730761.91150.030897
30.4724123.30690.000886
40.1890041.3230.095983
50.2594851.81640.037715
60.2469821.72890.045064
7-0.137754-0.96430.830179
80.1463111.02420.15539
90.0425620.29790.383507
10-0.211872-1.48310.927775
11-0.129899-0.90930.816178
12-0.169947-1.18960.880038
13-0.238429-1.6690.949252
14-0.070071-0.49050.687013
15-0.28042-1.96290.972328
16-0.33148-2.32040.987736
17-0.059531-0.41670.660647
18-0.129527-0.90670.815496
19-0.217639-1.52350.932966
20-0.136809-0.95770.828533
210.0150150.10510.458361
22-0.199052-1.39340.915101
230.143821.00670.159502
24-0.088284-0.6180.730277
25-0.124036-0.86830.805255
260.163191.14230.129434
27-0.007752-0.05430.521528
28-0.063746-0.44620.671298
290.1101470.7710.222196
30-0.054983-0.38490.649005
310.0685480.47980.316739
320.0238180.16670.434136
33-0.091612-0.64130.737837
340.055780.39050.348945
350.0609030.42630.335871







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
00.1008010.70560.241887
10.2656141.85930.034497
20.4624143.23690.001085
30.1413830.98970.163597
40.0632050.44240.330062
5-0.022298-0.15610.561697
6-0.463275-3.24290.998934
7-0.232067-1.62450.944654
8-0.06217-0.43520.667332
9-0.069383-0.48570.68532
10-0.127365-0.89160.811505
11-0.065976-0.46180.676877
120.0184880.12940.448779
130.2156951.50990.06875
140.1580461.10630.136995
15-0.116734-0.81710.791098
16-0.083817-0.58670.719958
170.0492450.34470.365892
18-0.008152-0.05710.522636
19-0.184589-1.29210.898812
200.1471391.030.154041
21-0.252706-1.76890.958436
220.0599910.41990.338184
230.0156310.10940.45666
24-0.102573-0.7180.76192
25-0.050535-0.35370.637477
26-0.075472-0.52830.700164
270.0086040.06020.476108
28-0.00509-0.03560.514138
290.1515541.06090.146974
300.0723420.50640.307425
31-0.172195-1.20540.883074
32-0.067506-0.47250.68068
330.0805630.56390.287684
340.0110910.07760.469215
35-0.051576-0.3610.640186

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
0 & 0.100801 & 0.7056 & 0.241887 \tabularnewline
1 & 0.265614 & 1.8593 & 0.034497 \tabularnewline
2 & 0.462414 & 3.2369 & 0.001085 \tabularnewline
3 & 0.141383 & 0.9897 & 0.163597 \tabularnewline
4 & 0.063205 & 0.4424 & 0.330062 \tabularnewline
5 & -0.022298 & -0.1561 & 0.561697 \tabularnewline
6 & -0.463275 & -3.2429 & 0.998934 \tabularnewline
7 & -0.232067 & -1.6245 & 0.944654 \tabularnewline
8 & -0.06217 & -0.4352 & 0.667332 \tabularnewline
9 & -0.069383 & -0.4857 & 0.68532 \tabularnewline
10 & -0.127365 & -0.8916 & 0.811505 \tabularnewline
11 & -0.065976 & -0.4618 & 0.676877 \tabularnewline
12 & 0.018488 & 0.1294 & 0.448779 \tabularnewline
13 & 0.215695 & 1.5099 & 0.06875 \tabularnewline
14 & 0.158046 & 1.1063 & 0.136995 \tabularnewline
15 & -0.116734 & -0.8171 & 0.791098 \tabularnewline
16 & -0.083817 & -0.5867 & 0.719958 \tabularnewline
17 & 0.049245 & 0.3447 & 0.365892 \tabularnewline
18 & -0.008152 & -0.0571 & 0.522636 \tabularnewline
19 & -0.184589 & -1.2921 & 0.898812 \tabularnewline
20 & 0.147139 & 1.03 & 0.154041 \tabularnewline
21 & -0.252706 & -1.7689 & 0.958436 \tabularnewline
22 & 0.059991 & 0.4199 & 0.338184 \tabularnewline
23 & 0.015631 & 0.1094 & 0.45666 \tabularnewline
24 & -0.102573 & -0.718 & 0.76192 \tabularnewline
25 & -0.050535 & -0.3537 & 0.637477 \tabularnewline
26 & -0.075472 & -0.5283 & 0.700164 \tabularnewline
27 & 0.008604 & 0.0602 & 0.476108 \tabularnewline
28 & -0.00509 & -0.0356 & 0.514138 \tabularnewline
29 & 0.151554 & 1.0609 & 0.146974 \tabularnewline
30 & 0.072342 & 0.5064 & 0.307425 \tabularnewline
31 & -0.172195 & -1.2054 & 0.883074 \tabularnewline
32 & -0.067506 & -0.4725 & 0.68068 \tabularnewline
33 & 0.080563 & 0.5639 & 0.287684 \tabularnewline
34 & 0.011091 & 0.0776 & 0.469215 \tabularnewline
35 & -0.051576 & -0.361 & 0.640186 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=7681&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.100801[/C][C]0.7056[/C][C]0.241887[/C][/ROW]
[ROW][C]1[/C][C]0.265614[/C][C]1.8593[/C][C]0.034497[/C][/ROW]
[ROW][C]2[/C][C]0.462414[/C][C]3.2369[/C][C]0.001085[/C][/ROW]
[ROW][C]3[/C][C]0.141383[/C][C]0.9897[/C][C]0.163597[/C][/ROW]
[ROW][C]4[/C][C]0.063205[/C][C]0.4424[/C][C]0.330062[/C][/ROW]
[ROW][C]5[/C][C]-0.022298[/C][C]-0.1561[/C][C]0.561697[/C][/ROW]
[ROW][C]6[/C][C]-0.463275[/C][C]-3.2429[/C][C]0.998934[/C][/ROW]
[ROW][C]7[/C][C]-0.232067[/C][C]-1.6245[/C][C]0.944654[/C][/ROW]
[ROW][C]8[/C][C]-0.06217[/C][C]-0.4352[/C][C]0.667332[/C][/ROW]
[ROW][C]9[/C][C]-0.069383[/C][C]-0.4857[/C][C]0.68532[/C][/ROW]
[ROW][C]10[/C][C]-0.127365[/C][C]-0.8916[/C][C]0.811505[/C][/ROW]
[ROW][C]11[/C][C]-0.065976[/C][C]-0.4618[/C][C]0.676877[/C][/ROW]
[ROW][C]12[/C][C]0.018488[/C][C]0.1294[/C][C]0.448779[/C][/ROW]
[ROW][C]13[/C][C]0.215695[/C][C]1.5099[/C][C]0.06875[/C][/ROW]
[ROW][C]14[/C][C]0.158046[/C][C]1.1063[/C][C]0.136995[/C][/ROW]
[ROW][C]15[/C][C]-0.116734[/C][C]-0.8171[/C][C]0.791098[/C][/ROW]
[ROW][C]16[/C][C]-0.083817[/C][C]-0.5867[/C][C]0.719958[/C][/ROW]
[ROW][C]17[/C][C]0.049245[/C][C]0.3447[/C][C]0.365892[/C][/ROW]
[ROW][C]18[/C][C]-0.008152[/C][C]-0.0571[/C][C]0.522636[/C][/ROW]
[ROW][C]19[/C][C]-0.184589[/C][C]-1.2921[/C][C]0.898812[/C][/ROW]
[ROW][C]20[/C][C]0.147139[/C][C]1.03[/C][C]0.154041[/C][/ROW]
[ROW][C]21[/C][C]-0.252706[/C][C]-1.7689[/C][C]0.958436[/C][/ROW]
[ROW][C]22[/C][C]0.059991[/C][C]0.4199[/C][C]0.338184[/C][/ROW]
[ROW][C]23[/C][C]0.015631[/C][C]0.1094[/C][C]0.45666[/C][/ROW]
[ROW][C]24[/C][C]-0.102573[/C][C]-0.718[/C][C]0.76192[/C][/ROW]
[ROW][C]25[/C][C]-0.050535[/C][C]-0.3537[/C][C]0.637477[/C][/ROW]
[ROW][C]26[/C][C]-0.075472[/C][C]-0.5283[/C][C]0.700164[/C][/ROW]
[ROW][C]27[/C][C]0.008604[/C][C]0.0602[/C][C]0.476108[/C][/ROW]
[ROW][C]28[/C][C]-0.00509[/C][C]-0.0356[/C][C]0.514138[/C][/ROW]
[ROW][C]29[/C][C]0.151554[/C][C]1.0609[/C][C]0.146974[/C][/ROW]
[ROW][C]30[/C][C]0.072342[/C][C]0.5064[/C][C]0.307425[/C][/ROW]
[ROW][C]31[/C][C]-0.172195[/C][C]-1.2054[/C][C]0.883074[/C][/ROW]
[ROW][C]32[/C][C]-0.067506[/C][C]-0.4725[/C][C]0.68068[/C][/ROW]
[ROW][C]33[/C][C]0.080563[/C][C]0.5639[/C][C]0.287684[/C][/ROW]
[ROW][C]34[/C][C]0.011091[/C][C]0.0776[/C][C]0.469215[/C][/ROW]
[ROW][C]35[/C][C]-0.051576[/C][C]-0.361[/C][C]0.640186[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=7681&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=7681&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.1008010.70560.241887
10.2656141.85930.034497
20.4624143.23690.001085
30.1413830.98970.163597
40.0632050.44240.330062
5-0.022298-0.15610.561697
6-0.463275-3.24290.998934
7-0.232067-1.62450.944654
8-0.06217-0.43520.667332
9-0.069383-0.48570.68532
10-0.127365-0.89160.811505
11-0.065976-0.46180.676877
120.0184880.12940.448779
130.2156951.50990.06875
140.1580461.10630.136995
15-0.116734-0.81710.791098
16-0.083817-0.58670.719958
170.0492450.34470.365892
18-0.008152-0.05710.522636
19-0.184589-1.29210.898812
200.1471391.030.154041
21-0.252706-1.76890.958436
220.0599910.41990.338184
230.0156310.10940.45666
24-0.102573-0.7180.76192
25-0.050535-0.35370.637477
26-0.075472-0.52830.700164
270.0086040.06020.476108
28-0.00509-0.03560.514138
290.1515541.06090.146974
300.0723420.50640.307425
31-0.172195-1.20540.883074
32-0.067506-0.47250.68068
330.0805630.56390.287684
340.0110910.07760.469215
35-0.051576-0.3610.640186



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