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 computationThu, 01 Dec 2011 12:46:48 -0500
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2011/Dec/01/t1322762156wpm2e61byobqn3b.htm/, Retrieved Fri, 26 Apr 2024 14:42:55 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=149907, Retrieved Fri, 26 Apr 2024 14:42:55 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact183
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Univariate Data Series] [] [2008-12-08 19:22:39] [d2d412c7f4d35ffbf5ee5ee89db327d4]
- RMPD    [(Partial) Autocorrelation Function] [] [2011-12-01 17:46:48] [79818163420d1233b8d9d93d595e6c9e] [Current]
- R P       [(Partial) Autocorrelation Function] [] [2011-12-05 14:45:05] [86f7284edee3dbb8ea5c7e2dec87d892]
-   P         [(Partial) Autocorrelation Function] [] [2011-12-05 15:01:18] [86f7284edee3dbb8ea5c7e2dec87d892]
- RMP         [ARIMA Forecasting] [] [2011-12-05 16:06:32] [86f7284edee3dbb8ea5c7e2dec87d892]
- R P           [ARIMA Forecasting] [] [2011-12-16 07:39:11] [86f7284edee3dbb8ea5c7e2dec87d892]
- RMPD            [Multiple Regression] [] [2011-12-23 12:25:40] [ad2d4c5ace9fa07b356a7b5098237581]
- R                 [Multiple Regression] [] [2011-12-23 12:45:24] [ad2d4c5ace9fa07b356a7b5098237581]
- RMPD          [Multiple Regression] [] [2011-12-16 11:27:07] [86f7284edee3dbb8ea5c7e2dec87d892]
- R               [Multiple Regression] [] [2011-12-17 18:08:25] [74be16979710d4c4e7c6647856088456]
- RMP         [Univariate Explorative Data Analysis] [] [2011-12-05 16:49:42] [86f7284edee3dbb8ea5c7e2dec87d892]
- RMP         [Classical Decomposition] [] [2011-12-05 17:18:28] [86f7284edee3dbb8ea5c7e2dec87d892]
Feedback Forum

Post a new message
Dataseries X:
579
572
560
551
537
541
588
607
599
578
563
566
561
554
540
526
512
505
554
584
569
540
522
526
527
516
503
489
479
475
524
552
532
511
492
492
493
481
462
457
442
439
488
521
501
485
464
460
467
460
448
443
436
431
484
510
513
503
471
471




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'George Udny Yule' @ yule.wessa.net

\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 & 2 seconds \tabularnewline
R Server & 'George Udny Yule' @ yule.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=149907&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]2 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'George Udny Yule' @ yule.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=149907&T=0

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







Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.874386.77290
20.6761295.23731e-06
30.5506384.26523.6e-05
40.5157133.99479e-05
50.5449044.22084.2e-05
60.5556054.30373.1e-05
70.4906983.80090.00017
80.4049053.13640.001325
90.3578222.77170.003708
100.3879423.0050.001936
110.4852373.75860.000195
120.5256234.07156.9e-05
130.4085033.16420.001221
140.2255381.7470.042876
150.0983940.76220.224476
160.0554230.42930.334619
170.0788850.6110.27174
180.0913620.70770.240941
190.0368610.28550.388112
20-0.043199-0.33460.36954
21-0.091221-0.70660.241277
22-0.075391-0.5840.280714
23-0.004113-0.03190.487345
240.0288480.22350.41197
25-0.052533-0.40690.342758
26-0.182005-1.40980.08188
27-0.271725-2.10480.019754
28-0.292452-2.26530.013558
29-0.259366-2.0090.024519
30-0.232934-1.80430.038102
31-0.26536-2.05550.022097
32-0.320968-2.48620.007856
33-0.350624-2.71590.004311
34-0.335185-2.59630.005916
35-0.279709-2.16660.017123
36-0.242743-1.88030.032464

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & 0.87438 & 6.7729 & 0 \tabularnewline
2 & 0.676129 & 5.2373 & 1e-06 \tabularnewline
3 & 0.550638 & 4.2652 & 3.6e-05 \tabularnewline
4 & 0.515713 & 3.9947 & 9e-05 \tabularnewline
5 & 0.544904 & 4.2208 & 4.2e-05 \tabularnewline
6 & 0.555605 & 4.3037 & 3.1e-05 \tabularnewline
7 & 0.490698 & 3.8009 & 0.00017 \tabularnewline
8 & 0.404905 & 3.1364 & 0.001325 \tabularnewline
9 & 0.357822 & 2.7717 & 0.003708 \tabularnewline
10 & 0.387942 & 3.005 & 0.001936 \tabularnewline
11 & 0.485237 & 3.7586 & 0.000195 \tabularnewline
12 & 0.525623 & 4.0715 & 6.9e-05 \tabularnewline
13 & 0.408503 & 3.1642 & 0.001221 \tabularnewline
14 & 0.225538 & 1.747 & 0.042876 \tabularnewline
15 & 0.098394 & 0.7622 & 0.224476 \tabularnewline
16 & 0.055423 & 0.4293 & 0.334619 \tabularnewline
17 & 0.078885 & 0.611 & 0.27174 \tabularnewline
18 & 0.091362 & 0.7077 & 0.240941 \tabularnewline
19 & 0.036861 & 0.2855 & 0.388112 \tabularnewline
20 & -0.043199 & -0.3346 & 0.36954 \tabularnewline
21 & -0.091221 & -0.7066 & 0.241277 \tabularnewline
22 & -0.075391 & -0.584 & 0.280714 \tabularnewline
23 & -0.004113 & -0.0319 & 0.487345 \tabularnewline
24 & 0.028848 & 0.2235 & 0.41197 \tabularnewline
25 & -0.052533 & -0.4069 & 0.342758 \tabularnewline
26 & -0.182005 & -1.4098 & 0.08188 \tabularnewline
27 & -0.271725 & -2.1048 & 0.019754 \tabularnewline
28 & -0.292452 & -2.2653 & 0.013558 \tabularnewline
29 & -0.259366 & -2.009 & 0.024519 \tabularnewline
30 & -0.232934 & -1.8043 & 0.038102 \tabularnewline
31 & -0.26536 & -2.0555 & 0.022097 \tabularnewline
32 & -0.320968 & -2.4862 & 0.007856 \tabularnewline
33 & -0.350624 & -2.7159 & 0.004311 \tabularnewline
34 & -0.335185 & -2.5963 & 0.005916 \tabularnewline
35 & -0.279709 & -2.1666 & 0.017123 \tabularnewline
36 & -0.242743 & -1.8803 & 0.032464 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=149907&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.87438[/C][C]6.7729[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]0.676129[/C][C]5.2373[/C][C]1e-06[/C][/ROW]
[ROW][C]3[/C][C]0.550638[/C][C]4.2652[/C][C]3.6e-05[/C][/ROW]
[ROW][C]4[/C][C]0.515713[/C][C]3.9947[/C][C]9e-05[/C][/ROW]
[ROW][C]5[/C][C]0.544904[/C][C]4.2208[/C][C]4.2e-05[/C][/ROW]
[ROW][C]6[/C][C]0.555605[/C][C]4.3037[/C][C]3.1e-05[/C][/ROW]
[ROW][C]7[/C][C]0.490698[/C][C]3.8009[/C][C]0.00017[/C][/ROW]
[ROW][C]8[/C][C]0.404905[/C][C]3.1364[/C][C]0.001325[/C][/ROW]
[ROW][C]9[/C][C]0.357822[/C][C]2.7717[/C][C]0.003708[/C][/ROW]
[ROW][C]10[/C][C]0.387942[/C][C]3.005[/C][C]0.001936[/C][/ROW]
[ROW][C]11[/C][C]0.485237[/C][C]3.7586[/C][C]0.000195[/C][/ROW]
[ROW][C]12[/C][C]0.525623[/C][C]4.0715[/C][C]6.9e-05[/C][/ROW]
[ROW][C]13[/C][C]0.408503[/C][C]3.1642[/C][C]0.001221[/C][/ROW]
[ROW][C]14[/C][C]0.225538[/C][C]1.747[/C][C]0.042876[/C][/ROW]
[ROW][C]15[/C][C]0.098394[/C][C]0.7622[/C][C]0.224476[/C][/ROW]
[ROW][C]16[/C][C]0.055423[/C][C]0.4293[/C][C]0.334619[/C][/ROW]
[ROW][C]17[/C][C]0.078885[/C][C]0.611[/C][C]0.27174[/C][/ROW]
[ROW][C]18[/C][C]0.091362[/C][C]0.7077[/C][C]0.240941[/C][/ROW]
[ROW][C]19[/C][C]0.036861[/C][C]0.2855[/C][C]0.388112[/C][/ROW]
[ROW][C]20[/C][C]-0.043199[/C][C]-0.3346[/C][C]0.36954[/C][/ROW]
[ROW][C]21[/C][C]-0.091221[/C][C]-0.7066[/C][C]0.241277[/C][/ROW]
[ROW][C]22[/C][C]-0.075391[/C][C]-0.584[/C][C]0.280714[/C][/ROW]
[ROW][C]23[/C][C]-0.004113[/C][C]-0.0319[/C][C]0.487345[/C][/ROW]
[ROW][C]24[/C][C]0.028848[/C][C]0.2235[/C][C]0.41197[/C][/ROW]
[ROW][C]25[/C][C]-0.052533[/C][C]-0.4069[/C][C]0.342758[/C][/ROW]
[ROW][C]26[/C][C]-0.182005[/C][C]-1.4098[/C][C]0.08188[/C][/ROW]
[ROW][C]27[/C][C]-0.271725[/C][C]-2.1048[/C][C]0.019754[/C][/ROW]
[ROW][C]28[/C][C]-0.292452[/C][C]-2.2653[/C][C]0.013558[/C][/ROW]
[ROW][C]29[/C][C]-0.259366[/C][C]-2.009[/C][C]0.024519[/C][/ROW]
[ROW][C]30[/C][C]-0.232934[/C][C]-1.8043[/C][C]0.038102[/C][/ROW]
[ROW][C]31[/C][C]-0.26536[/C][C]-2.0555[/C][C]0.022097[/C][/ROW]
[ROW][C]32[/C][C]-0.320968[/C][C]-2.4862[/C][C]0.007856[/C][/ROW]
[ROW][C]33[/C][C]-0.350624[/C][C]-2.7159[/C][C]0.004311[/C][/ROW]
[ROW][C]34[/C][C]-0.335185[/C][C]-2.5963[/C][C]0.005916[/C][/ROW]
[ROW][C]35[/C][C]-0.279709[/C][C]-2.1666[/C][C]0.017123[/C][/ROW]
[ROW][C]36[/C][C]-0.242743[/C][C]-1.8803[/C][C]0.032464[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=149907&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=149907&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.874386.77290
20.6761295.23731e-06
30.5506384.26523.6e-05
40.5157133.99479e-05
50.5449044.22084.2e-05
60.5556054.30373.1e-05
70.4906983.80090.00017
80.4049053.13640.001325
90.3578222.77170.003708
100.3879423.0050.001936
110.4852373.75860.000195
120.5256234.07156.9e-05
130.4085033.16420.001221
140.2255381.7470.042876
150.0983940.76220.224476
160.0554230.42930.334619
170.0788850.6110.27174
180.0913620.70770.240941
190.0368610.28550.388112
20-0.043199-0.33460.36954
21-0.091221-0.70660.241277
22-0.075391-0.5840.280714
23-0.004113-0.03190.487345
240.0288480.22350.41197
25-0.052533-0.40690.342758
26-0.182005-1.40980.08188
27-0.271725-2.10480.019754
28-0.292452-2.26530.013558
29-0.259366-2.0090.024519
30-0.232934-1.80430.038102
31-0.26536-2.05550.022097
32-0.320968-2.48620.007856
33-0.350624-2.71590.004311
34-0.335185-2.59630.005916
35-0.279709-2.16660.017123
36-0.242743-1.88030.032464







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.874386.77290
2-0.375483-2.90850.002543
30.3252012.5190.007226
40.1116710.8650.195242
50.2122021.64370.052733
6-0.095844-0.74240.230369
7-0.117117-0.90720.18397
80.0923320.71520.238629
90.0425890.32990.371314
100.2225251.72370.044958
110.1948991.50970.068187
12-0.215908-1.67240.049825
13-0.420634-3.25820.000924
14-0.067886-0.52580.300468
150.0072920.05650.477571
16-0.101506-0.78630.217404
170.0101550.07870.468782
18-0.023498-0.1820.428093
19-0.033112-0.25650.399227
200.0105410.08160.4676
210.0208420.16140.436144
22-0.022249-0.17230.431875
23-0.013238-0.10250.459334
24-0.009136-0.07080.471909
25-0.060951-0.47210.319276
260.0327080.25340.40043
27-0.028831-0.22330.412021
28-0.045888-0.35540.36175
29-0.059107-0.45780.324362
30-0.001934-0.0150.49405
31-0.056008-0.43380.332981
320.0070150.05430.478423
33-0.016486-0.12770.449406
34-0.081499-0.63130.265124
35-0.040236-0.31170.378189
360.0412090.31920.375339

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & 0.87438 & 6.7729 & 0 \tabularnewline
2 & -0.375483 & -2.9085 & 0.002543 \tabularnewline
3 & 0.325201 & 2.519 & 0.007226 \tabularnewline
4 & 0.111671 & 0.865 & 0.195242 \tabularnewline
5 & 0.212202 & 1.6437 & 0.052733 \tabularnewline
6 & -0.095844 & -0.7424 & 0.230369 \tabularnewline
7 & -0.117117 & -0.9072 & 0.18397 \tabularnewline
8 & 0.092332 & 0.7152 & 0.238629 \tabularnewline
9 & 0.042589 & 0.3299 & 0.371314 \tabularnewline
10 & 0.222525 & 1.7237 & 0.044958 \tabularnewline
11 & 0.194899 & 1.5097 & 0.068187 \tabularnewline
12 & -0.215908 & -1.6724 & 0.049825 \tabularnewline
13 & -0.420634 & -3.2582 & 0.000924 \tabularnewline
14 & -0.067886 & -0.5258 & 0.300468 \tabularnewline
15 & 0.007292 & 0.0565 & 0.477571 \tabularnewline
16 & -0.101506 & -0.7863 & 0.217404 \tabularnewline
17 & 0.010155 & 0.0787 & 0.468782 \tabularnewline
18 & -0.023498 & -0.182 & 0.428093 \tabularnewline
19 & -0.033112 & -0.2565 & 0.399227 \tabularnewline
20 & 0.010541 & 0.0816 & 0.4676 \tabularnewline
21 & 0.020842 & 0.1614 & 0.436144 \tabularnewline
22 & -0.022249 & -0.1723 & 0.431875 \tabularnewline
23 & -0.013238 & -0.1025 & 0.459334 \tabularnewline
24 & -0.009136 & -0.0708 & 0.471909 \tabularnewline
25 & -0.060951 & -0.4721 & 0.319276 \tabularnewline
26 & 0.032708 & 0.2534 & 0.40043 \tabularnewline
27 & -0.028831 & -0.2233 & 0.412021 \tabularnewline
28 & -0.045888 & -0.3554 & 0.36175 \tabularnewline
29 & -0.059107 & -0.4578 & 0.324362 \tabularnewline
30 & -0.001934 & -0.015 & 0.49405 \tabularnewline
31 & -0.056008 & -0.4338 & 0.332981 \tabularnewline
32 & 0.007015 & 0.0543 & 0.478423 \tabularnewline
33 & -0.016486 & -0.1277 & 0.449406 \tabularnewline
34 & -0.081499 & -0.6313 & 0.265124 \tabularnewline
35 & -0.040236 & -0.3117 & 0.378189 \tabularnewline
36 & 0.041209 & 0.3192 & 0.375339 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=149907&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.87438[/C][C]6.7729[/C][C]0[/C][/ROW]
[ROW][C]2[/C][C]-0.375483[/C][C]-2.9085[/C][C]0.002543[/C][/ROW]
[ROW][C]3[/C][C]0.325201[/C][C]2.519[/C][C]0.007226[/C][/ROW]
[ROW][C]4[/C][C]0.111671[/C][C]0.865[/C][C]0.195242[/C][/ROW]
[ROW][C]5[/C][C]0.212202[/C][C]1.6437[/C][C]0.052733[/C][/ROW]
[ROW][C]6[/C][C]-0.095844[/C][C]-0.7424[/C][C]0.230369[/C][/ROW]
[ROW][C]7[/C][C]-0.117117[/C][C]-0.9072[/C][C]0.18397[/C][/ROW]
[ROW][C]8[/C][C]0.092332[/C][C]0.7152[/C][C]0.238629[/C][/ROW]
[ROW][C]9[/C][C]0.042589[/C][C]0.3299[/C][C]0.371314[/C][/ROW]
[ROW][C]10[/C][C]0.222525[/C][C]1.7237[/C][C]0.044958[/C][/ROW]
[ROW][C]11[/C][C]0.194899[/C][C]1.5097[/C][C]0.068187[/C][/ROW]
[ROW][C]12[/C][C]-0.215908[/C][C]-1.6724[/C][C]0.049825[/C][/ROW]
[ROW][C]13[/C][C]-0.420634[/C][C]-3.2582[/C][C]0.000924[/C][/ROW]
[ROW][C]14[/C][C]-0.067886[/C][C]-0.5258[/C][C]0.300468[/C][/ROW]
[ROW][C]15[/C][C]0.007292[/C][C]0.0565[/C][C]0.477571[/C][/ROW]
[ROW][C]16[/C][C]-0.101506[/C][C]-0.7863[/C][C]0.217404[/C][/ROW]
[ROW][C]17[/C][C]0.010155[/C][C]0.0787[/C][C]0.468782[/C][/ROW]
[ROW][C]18[/C][C]-0.023498[/C][C]-0.182[/C][C]0.428093[/C][/ROW]
[ROW][C]19[/C][C]-0.033112[/C][C]-0.2565[/C][C]0.399227[/C][/ROW]
[ROW][C]20[/C][C]0.010541[/C][C]0.0816[/C][C]0.4676[/C][/ROW]
[ROW][C]21[/C][C]0.020842[/C][C]0.1614[/C][C]0.436144[/C][/ROW]
[ROW][C]22[/C][C]-0.022249[/C][C]-0.1723[/C][C]0.431875[/C][/ROW]
[ROW][C]23[/C][C]-0.013238[/C][C]-0.1025[/C][C]0.459334[/C][/ROW]
[ROW][C]24[/C][C]-0.009136[/C][C]-0.0708[/C][C]0.471909[/C][/ROW]
[ROW][C]25[/C][C]-0.060951[/C][C]-0.4721[/C][C]0.319276[/C][/ROW]
[ROW][C]26[/C][C]0.032708[/C][C]0.2534[/C][C]0.40043[/C][/ROW]
[ROW][C]27[/C][C]-0.028831[/C][C]-0.2233[/C][C]0.412021[/C][/ROW]
[ROW][C]28[/C][C]-0.045888[/C][C]-0.3554[/C][C]0.36175[/C][/ROW]
[ROW][C]29[/C][C]-0.059107[/C][C]-0.4578[/C][C]0.324362[/C][/ROW]
[ROW][C]30[/C][C]-0.001934[/C][C]-0.015[/C][C]0.49405[/C][/ROW]
[ROW][C]31[/C][C]-0.056008[/C][C]-0.4338[/C][C]0.332981[/C][/ROW]
[ROW][C]32[/C][C]0.007015[/C][C]0.0543[/C][C]0.478423[/C][/ROW]
[ROW][C]33[/C][C]-0.016486[/C][C]-0.1277[/C][C]0.449406[/C][/ROW]
[ROW][C]34[/C][C]-0.081499[/C][C]-0.6313[/C][C]0.265124[/C][/ROW]
[ROW][C]35[/C][C]-0.040236[/C][C]-0.3117[/C][C]0.378189[/C][/ROW]
[ROW][C]36[/C][C]0.041209[/C][C]0.3192[/C][C]0.375339[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=149907&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=149907&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.874386.77290
2-0.375483-2.90850.002543
30.3252012.5190.007226
40.1116710.8650.195242
50.2122021.64370.052733
6-0.095844-0.74240.230369
7-0.117117-0.90720.18397
80.0923320.71520.238629
90.0425890.32990.371314
100.2225251.72370.044958
110.1948991.50970.068187
12-0.215908-1.67240.049825
13-0.420634-3.25820.000924
14-0.067886-0.52580.300468
150.0072920.05650.477571
16-0.101506-0.78630.217404
170.0101550.07870.468782
18-0.023498-0.1820.428093
19-0.033112-0.25650.399227
200.0105410.08160.4676
210.0208420.16140.436144
22-0.022249-0.17230.431875
23-0.013238-0.10250.459334
24-0.009136-0.07080.471909
25-0.060951-0.47210.319276
260.0327080.25340.40043
27-0.028831-0.22330.412021
28-0.045888-0.35540.36175
29-0.059107-0.45780.324362
30-0.001934-0.0150.49405
31-0.056008-0.43380.332981
320.0070150.05430.478423
33-0.016486-0.12770.449406
34-0.081499-0.63130.265124
35-0.040236-0.31170.378189
360.0412090.31920.375339



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