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 computationMon, 13 Dec 2010 19:38:16 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2010/Dec/13/t1292269039yr2373vdr3cyig6.htm/, Retrieved Mon, 06 May 2024 17:34:58 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=109113, Retrieved Mon, 06 May 2024 17:34:58 +0000
QR Codes:

Original text written by user:workshop 6
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact127
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   [Spectral Analysis] [Unemployment] [2010-11-29 09:21:38] [b98453cac15ba1066b407e146608df68]
- RMPD      [(Partial) Autocorrelation Function] [tutorial] [2010-12-13 19:38:16] [7b74daa7106fa81c528ad8096e75c3c0] [Current]
- R PD        [(Partial) Autocorrelation Function] [tutorial 9d1] [2010-12-15 16:44:23] [8b2514d8f13517d765015fc185a22b4b]
-   PD          [(Partial) Autocorrelation Function] [ACF stationair] [2010-12-17 20:36:18] [46df8573ee32a55e1a6edcfb6691f406]
Feedback Forum

Post a new message
Dataseries X:
1.2998
1.3146
1.3225
1.3321
1.3339
1.3496
1.3647
1.3674
1.3647
1.3481
1.3612
1.3626
1.3711
1.37
1.377
1.3945
1.3917
1.4084
1.4244
1.4014
1.4018
1.3926
1.3857
1.3857
1.3803
1.3912
1.4031
1.3934
1.4016
1.3861
1.3859
1.3896
1.4089
1.4101
1.3958
1.3833
1.3936
1.3874
1.397
1.3856
1.378
1.3705
1.3726
1.3648
1.3611
1.346
1.3477
1.3412
1.3323
1.3364
1.312
1.3074
1.306
1.3078
1.2989
1.285
1.2801
1.2725
1.2715
1.2697
1.2744
1.2874
1.2834
1.2818
1.28
1.268
1.27
1.2713
1.2693
1.2613
1.2611
1.2704
1.2711
1.2836
1.288
1.286
1.282
1.2799
1.279
1.3016
1.3133
1.3253
1.3176
1.3184
1.3206
1.3221
1.3073
1.3028
1.3069
1.2992
1.3033
1.2931
1.2897
1.285
1.2817
1.2844
1.2957
1.3
1.2828
1.2703
1.2569
1.2572
1.2637
1.266
1.2567
1.2579
1.2531
1.2548
1.2328
1.2271
1.2198
1.2339
1.2294
1.2262
1.2271
1.2258
1.2391
1.2372
1.2363
1.2277
1.2258
1.2249
1.2127
1.2045
1.201
1.1942
1.1959
1.206
1.2268
1.2218
1.2155
1.2307
1.2384
1.2255
1.2309
1.2223
1.236
1.2497
1.2334
1.227
1.2428
1.2349
1.2492
1.2587
1.2686
1.2698
1.2969
1.2746
1.2727
1.2924
1.3089
1.3238
1.3315
1.3256
1.3245
1.329
1.3321
1.3311
1.3339
1.3373
1.3486
1.3432
1.3535
1.3544
1.3615
1.3583
1.3585
1.3384
1.3296
1.334
1.3396
1.3468
1.3479
1.3482
1.3471
1.3353
1.3356
1.3338
1.3519
1.3471
1.3548
1.366
1.3756
1.3723
1.3705
1.3765
1.3657
1.361
1.3557
1.3662
1.3582
1.3668
1.3641
1.3548
1.3525
1.357
1.3489
1.3547
1.3577
1.3626
1.3519
1.3567
1.3726
1.3649
1.3607
1.3572
1.3718
1.374
1.376
1.3675
1.3691
1.3847
1.3984
1.3937
1.3913
1.3966
1.3999
1.4072
1.4085
1.4151
1.4135
1.4064
1.4132
1.4279
1.4369
1.4374
1.4486
1.4563
1.4481
1.4528
1.4273
1.4304
1.435
1.4442
1.4389
1.4406
1.4338
1.4433
1.4405
1.4398
1.4276
1.4279
1.4368
1.4337
1.4343
1.456
1.4541
1.4647
1.4757
1.473
1.4768
1.4774
1.4787
1.5068
1.512
1.509
1.5074
1.5023
1.4918
1.5071
1.5083
1.4969
1.4968
1.4815
1.4863
1.4957
1.4875
1.4965
1.4868
1.4922
1.5037
1.4966
1.4984
1.4862
1.4867
1.4761
1.4658
1.4772
1.48
1.4788
1.4785
1.4874
1.5019
1.502
1.5
1.4921
1.4971
1.4918
1.4869
1.4864
1.4881
1.4864
1.4765
1.475
1.4763
1.4694
1.4722
1.4616
1.4537
1.4539
1.4643
1.4549
1.465
1.467
1.4768
1.4783
1.478
1.4658
1.4705
1.4712
1.4671
1.4611
1.4561
1.4594
1.4545
1.4522
1.4473
1.433
1.4262
1.4335
1.422
1.4314
1.4272
1.4364
1.4268
1.427
1.4324
1.4323
1.433
1.4243
1.4112
1.4101
1.4072
1.4294
1.4293
1.417
1.4166
1.4202
1.4357
1.437
1.441
1.4384
1.4303
1.4138
1.4053
1.4104
1.4229
1.4269
1.4227
1.4229
1.4191
1.4223
1.4217
1.409
1.413
1.4089
1.3991
1.3975
1.3901
1.399
1.3901
1.4019
1.3897
1.4009
1.4049
1.4096
1.4134
1.4058
1.4096
1.394
1.4029
1.3978
1.3858
1.3932
1.392
1.384
1.389
1.385
1.4004
1.3969
1.4102
1.3959
1.3866
1.4177
1.4095
1.4207
1.4238
1.422
1.4098
1.3856
1.3901
1.3908
1.401
1.3972
1.3771
1.369
1.3612
1.3494
1.3518
1.3563
1.3623
1.3683
1.3574
1.3425
1.3363
1.3322
1.3403
1.3223
1.3275
1.3266
1.2992
1.3125
1.3232
1.305
1.2947
1.2932
1.2966
1.3058
1.3196
1.3173
1.3276
1.3273
1.3231
1.3255
1.3496
1.3425
1.3392
1.3246
1.3308
1.3193
1.3295
1.3607
1.3494
1.3507
1.3558
1.3549
1.3671
1.313
1.2942
1.3042
1.2905
1.2782
1.2786
1.2783
1.2565
1.2658
1.2555
1.2555
1.2615
1.2596
1.2644
1.2782
1.2795
1.2763
1.2798
1.2591
1.2705
1.2596
1.2634
1.2765
1.2823
1.2833
1.2938
1.2967
1.3008
1.2796
1.2829
1.2818
1.2849
1.276
1.2816
1.3111
1.326
1.3174
1.299
1.2795
1.2984
1.291
1.293
1.3182
1.327
1.3085
1.3173
1.3262
1.3394
1.3684
1.3617
1.3595
1.3332
1.3582
1.3866




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' @ 72.249.76.132

\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' @ 72.249.76.132 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=109113&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' @ 72.249.76.132[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=109113&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=109113&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' @ 72.249.76.132







Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.035195-0.7630.222919
2-0.007638-0.16560.434274
3-0.005099-0.11050.456013
4-0.811432-17.59140
50.0462781.00330.158119
60.0027780.06020.475997
70.0466141.01060.15637
80.4236499.18450
9-0.03039-0.65880.255164
100.0116730.25310.400164
11-0.067863-1.47120.070948
12-0.084463-1.83110.033859
130.0058360.12650.449685
14-0.01935-0.41950.337523
150.0605181.3120.095081
16-0.093869-2.0350.021204
170.0140070.30370.38076
180.0157660.34180.366329
19-0.038-0.82380.205228
200.145413.15240.000861
21-0.033124-0.71810.236524
22-0.006105-0.13240.447379
230.0189470.41080.340716
24-0.132985-2.8830.00206
250.056831.2320.109276
26-0.009573-0.20750.417839

\begin{tabular}{lllllllll}
\hline
Autocorrelation Function \tabularnewline
Time lag k & ACF(k) & T-STAT & P-value \tabularnewline
1 & -0.035195 & -0.763 & 0.222919 \tabularnewline
2 & -0.007638 & -0.1656 & 0.434274 \tabularnewline
3 & -0.005099 & -0.1105 & 0.456013 \tabularnewline
4 & -0.811432 & -17.5914 & 0 \tabularnewline
5 & 0.046278 & 1.0033 & 0.158119 \tabularnewline
6 & 0.002778 & 0.0602 & 0.475997 \tabularnewline
7 & 0.046614 & 1.0106 & 0.15637 \tabularnewline
8 & 0.423649 & 9.1845 & 0 \tabularnewline
9 & -0.03039 & -0.6588 & 0.255164 \tabularnewline
10 & 0.011673 & 0.2531 & 0.400164 \tabularnewline
11 & -0.067863 & -1.4712 & 0.070948 \tabularnewline
12 & -0.084463 & -1.8311 & 0.033859 \tabularnewline
13 & 0.005836 & 0.1265 & 0.449685 \tabularnewline
14 & -0.01935 & -0.4195 & 0.337523 \tabularnewline
15 & 0.060518 & 1.312 & 0.095081 \tabularnewline
16 & -0.093869 & -2.035 & 0.021204 \tabularnewline
17 & 0.014007 & 0.3037 & 0.38076 \tabularnewline
18 & 0.015766 & 0.3418 & 0.366329 \tabularnewline
19 & -0.038 & -0.8238 & 0.205228 \tabularnewline
20 & 0.14541 & 3.1524 & 0.000861 \tabularnewline
21 & -0.033124 & -0.7181 & 0.236524 \tabularnewline
22 & -0.006105 & -0.1324 & 0.447379 \tabularnewline
23 & 0.018947 & 0.4108 & 0.340716 \tabularnewline
24 & -0.132985 & -2.883 & 0.00206 \tabularnewline
25 & 0.05683 & 1.232 & 0.109276 \tabularnewline
26 & -0.009573 & -0.2075 & 0.417839 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=109113&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.035195[/C][C]-0.763[/C][C]0.222919[/C][/ROW]
[ROW][C]2[/C][C]-0.007638[/C][C]-0.1656[/C][C]0.434274[/C][/ROW]
[ROW][C]3[/C][C]-0.005099[/C][C]-0.1105[/C][C]0.456013[/C][/ROW]
[ROW][C]4[/C][C]-0.811432[/C][C]-17.5914[/C][C]0[/C][/ROW]
[ROW][C]5[/C][C]0.046278[/C][C]1.0033[/C][C]0.158119[/C][/ROW]
[ROW][C]6[/C][C]0.002778[/C][C]0.0602[/C][C]0.475997[/C][/ROW]
[ROW][C]7[/C][C]0.046614[/C][C]1.0106[/C][C]0.15637[/C][/ROW]
[ROW][C]8[/C][C]0.423649[/C][C]9.1845[/C][C]0[/C][/ROW]
[ROW][C]9[/C][C]-0.03039[/C][C]-0.6588[/C][C]0.255164[/C][/ROW]
[ROW][C]10[/C][C]0.011673[/C][C]0.2531[/C][C]0.400164[/C][/ROW]
[ROW][C]11[/C][C]-0.067863[/C][C]-1.4712[/C][C]0.070948[/C][/ROW]
[ROW][C]12[/C][C]-0.084463[/C][C]-1.8311[/C][C]0.033859[/C][/ROW]
[ROW][C]13[/C][C]0.005836[/C][C]0.1265[/C][C]0.449685[/C][/ROW]
[ROW][C]14[/C][C]-0.01935[/C][C]-0.4195[/C][C]0.337523[/C][/ROW]
[ROW][C]15[/C][C]0.060518[/C][C]1.312[/C][C]0.095081[/C][/ROW]
[ROW][C]16[/C][C]-0.093869[/C][C]-2.035[/C][C]0.021204[/C][/ROW]
[ROW][C]17[/C][C]0.014007[/C][C]0.3037[/C][C]0.38076[/C][/ROW]
[ROW][C]18[/C][C]0.015766[/C][C]0.3418[/C][C]0.366329[/C][/ROW]
[ROW][C]19[/C][C]-0.038[/C][C]-0.8238[/C][C]0.205228[/C][/ROW]
[ROW][C]20[/C][C]0.14541[/C][C]3.1524[/C][C]0.000861[/C][/ROW]
[ROW][C]21[/C][C]-0.033124[/C][C]-0.7181[/C][C]0.236524[/C][/ROW]
[ROW][C]22[/C][C]-0.006105[/C][C]-0.1324[/C][C]0.447379[/C][/ROW]
[ROW][C]23[/C][C]0.018947[/C][C]0.4108[/C][C]0.340716[/C][/ROW]
[ROW][C]24[/C][C]-0.132985[/C][C]-2.883[/C][C]0.00206[/C][/ROW]
[ROW][C]25[/C][C]0.05683[/C][C]1.232[/C][C]0.109276[/C][/ROW]
[ROW][C]26[/C][C]-0.009573[/C][C]-0.2075[/C][C]0.417839[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=109113&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=109113&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
1-0.035195-0.7630.222919
2-0.007638-0.16560.434274
3-0.005099-0.11050.456013
4-0.811432-17.59140
50.0462781.00330.158119
60.0027780.06020.475997
70.0466141.01060.15637
80.4236499.18450
9-0.03039-0.65880.255164
100.0116730.25310.400164
11-0.067863-1.47120.070948
12-0.084463-1.83110.033859
130.0058360.12650.449685
14-0.01935-0.41950.337523
150.0605181.3120.095081
16-0.093869-2.0350.021204
170.0140070.30370.38076
180.0157660.34180.366329
19-0.038-0.82380.205228
200.145413.15240.000861
21-0.033124-0.71810.236524
22-0.006105-0.13240.447379
230.0189470.41080.340716
24-0.132985-2.8830.00206
250.056831.2320.109276
26-0.009573-0.20750.417839







Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.035195-0.7630.222919
2-0.008888-0.19270.423644
3-0.00569-0.12340.450935
4-0.812981-17.6250
5-0.045157-0.9790.164049
6-0.048226-1.04550.148159
70.0391430.84860.198268
8-0.689958-14.95790
9-0.038703-0.83910.200932
10-0.106837-2.31620.010489
11-0.020238-0.43880.330522
12-0.37416-8.11160
13-0.04667-1.01180.156081
14-0.130713-2.83380.002399
15-0.062176-1.34790.089164
16-0.17828-3.8656.3e-05
17-0.048175-1.04440.148417
18-0.10485-2.27310.011736
19-0.094377-2.0460.020654
200.0192040.41630.338676
21-0.106078-2.29970.010951
22-0.02959-0.64150.260756
23-0.057894-1.25510.105032
240.0310970.67420.250271
25-0.003697-0.08010.468078
26-0.018706-0.40550.342634

\begin{tabular}{lllllllll}
\hline
Partial Autocorrelation Function \tabularnewline
Time lag k & PACF(k) & T-STAT & P-value \tabularnewline
1 & -0.035195 & -0.763 & 0.222919 \tabularnewline
2 & -0.008888 & -0.1927 & 0.423644 \tabularnewline
3 & -0.00569 & -0.1234 & 0.450935 \tabularnewline
4 & -0.812981 & -17.625 & 0 \tabularnewline
5 & -0.045157 & -0.979 & 0.164049 \tabularnewline
6 & -0.048226 & -1.0455 & 0.148159 \tabularnewline
7 & 0.039143 & 0.8486 & 0.198268 \tabularnewline
8 & -0.689958 & -14.9579 & 0 \tabularnewline
9 & -0.038703 & -0.8391 & 0.200932 \tabularnewline
10 & -0.106837 & -2.3162 & 0.010489 \tabularnewline
11 & -0.020238 & -0.4388 & 0.330522 \tabularnewline
12 & -0.37416 & -8.1116 & 0 \tabularnewline
13 & -0.04667 & -1.0118 & 0.156081 \tabularnewline
14 & -0.130713 & -2.8338 & 0.002399 \tabularnewline
15 & -0.062176 & -1.3479 & 0.089164 \tabularnewline
16 & -0.17828 & -3.865 & 6.3e-05 \tabularnewline
17 & -0.048175 & -1.0444 & 0.148417 \tabularnewline
18 & -0.10485 & -2.2731 & 0.011736 \tabularnewline
19 & -0.094377 & -2.046 & 0.020654 \tabularnewline
20 & 0.019204 & 0.4163 & 0.338676 \tabularnewline
21 & -0.106078 & -2.2997 & 0.010951 \tabularnewline
22 & -0.02959 & -0.6415 & 0.260756 \tabularnewline
23 & -0.057894 & -1.2551 & 0.105032 \tabularnewline
24 & 0.031097 & 0.6742 & 0.250271 \tabularnewline
25 & -0.003697 & -0.0801 & 0.468078 \tabularnewline
26 & -0.018706 & -0.4055 & 0.342634 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=109113&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.035195[/C][C]-0.763[/C][C]0.222919[/C][/ROW]
[ROW][C]2[/C][C]-0.008888[/C][C]-0.1927[/C][C]0.423644[/C][/ROW]
[ROW][C]3[/C][C]-0.00569[/C][C]-0.1234[/C][C]0.450935[/C][/ROW]
[ROW][C]4[/C][C]-0.812981[/C][C]-17.625[/C][C]0[/C][/ROW]
[ROW][C]5[/C][C]-0.045157[/C][C]-0.979[/C][C]0.164049[/C][/ROW]
[ROW][C]6[/C][C]-0.048226[/C][C]-1.0455[/C][C]0.148159[/C][/ROW]
[ROW][C]7[/C][C]0.039143[/C][C]0.8486[/C][C]0.198268[/C][/ROW]
[ROW][C]8[/C][C]-0.689958[/C][C]-14.9579[/C][C]0[/C][/ROW]
[ROW][C]9[/C][C]-0.038703[/C][C]-0.8391[/C][C]0.200932[/C][/ROW]
[ROW][C]10[/C][C]-0.106837[/C][C]-2.3162[/C][C]0.010489[/C][/ROW]
[ROW][C]11[/C][C]-0.020238[/C][C]-0.4388[/C][C]0.330522[/C][/ROW]
[ROW][C]12[/C][C]-0.37416[/C][C]-8.1116[/C][C]0[/C][/ROW]
[ROW][C]13[/C][C]-0.04667[/C][C]-1.0118[/C][C]0.156081[/C][/ROW]
[ROW][C]14[/C][C]-0.130713[/C][C]-2.8338[/C][C]0.002399[/C][/ROW]
[ROW][C]15[/C][C]-0.062176[/C][C]-1.3479[/C][C]0.089164[/C][/ROW]
[ROW][C]16[/C][C]-0.17828[/C][C]-3.865[/C][C]6.3e-05[/C][/ROW]
[ROW][C]17[/C][C]-0.048175[/C][C]-1.0444[/C][C]0.148417[/C][/ROW]
[ROW][C]18[/C][C]-0.10485[/C][C]-2.2731[/C][C]0.011736[/C][/ROW]
[ROW][C]19[/C][C]-0.094377[/C][C]-2.046[/C][C]0.020654[/C][/ROW]
[ROW][C]20[/C][C]0.019204[/C][C]0.4163[/C][C]0.338676[/C][/ROW]
[ROW][C]21[/C][C]-0.106078[/C][C]-2.2997[/C][C]0.010951[/C][/ROW]
[ROW][C]22[/C][C]-0.02959[/C][C]-0.6415[/C][C]0.260756[/C][/ROW]
[ROW][C]23[/C][C]-0.057894[/C][C]-1.2551[/C][C]0.105032[/C][/ROW]
[ROW][C]24[/C][C]0.031097[/C][C]0.6742[/C][C]0.250271[/C][/ROW]
[ROW][C]25[/C][C]-0.003697[/C][C]-0.0801[/C][C]0.468078[/C][/ROW]
[ROW][C]26[/C][C]-0.018706[/C][C]-0.4055[/C][C]0.342634[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=109113&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=109113&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
1-0.035195-0.7630.222919
2-0.008888-0.19270.423644
3-0.00569-0.12340.450935
4-0.812981-17.6250
5-0.045157-0.9790.164049
6-0.048226-1.04550.148159
70.0391430.84860.198268
8-0.689958-14.95790
9-0.038703-0.83910.200932
10-0.106837-2.31620.010489
11-0.020238-0.43880.330522
12-0.37416-8.11160
13-0.04667-1.01180.156081
14-0.130713-2.83380.002399
15-0.062176-1.34790.089164
16-0.17828-3.8656.3e-05
17-0.048175-1.04440.148417
18-0.10485-2.27310.011736
19-0.094377-2.0460.020654
200.0192040.41630.338676
21-0.106078-2.29970.010951
22-0.02959-0.64150.260756
23-0.057894-1.25510.105032
240.0310970.67420.250271
25-0.003697-0.08010.468078
26-0.018706-0.40550.342634



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