Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_cross.wasp
Title produced by softwareCross Correlation Function
Date of computationMon, 17 Oct 2011 11:55:13 -0400
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/Oct/17/t1318867056by49xo5evbys161.htm/, Retrieved Thu, 16 May 2024 02:36:31 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=130622, Retrieved Thu, 16 May 2024 02:36:31 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact77
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Cross Correlation Function] [] [2011-10-17 15:55:13] [d41d8cd98f00b204e9800998ecf8427e] [Current]
Feedback Forum

Post a new message
Dataseries X:
23011
23047
23079
23110
28015
28054
28090
28123
28152
28663
28706
28740
28767
29007
29049
29083
29386
29434
29470
29498
29728
29771
29804
30043
30086
30118
30403
30447
30482
30738
30782
30814
31167
31211
31245
31500
31542
31574
57126
57163
57195
57227
65394
65430
65464
65494
66184
66225
66258
66285
66573
66622
66659
66689
66966
67020
67060
67092
67377
67423
67458
67487
67843
67888
67923
68195
68242
68277
68642
68687
68721
89088
89126
89162
89195
103457
103496
103532
103565
103597
103735
103777
103812
108525
108562
108597
108627
113809
113851
113889
113926
113959
118430
118470
118504
118534
123478
123517
123551
123584
123615
128279
128316
128350
128382
132014
132052
132087
132184
132223
132258
132292
132908
132954
132992
133024
133468
133514
133552
133582
133908
133955
133993
134024
134361
134409
134449
134482
134873
134922
134961
134991
135421
135470
135506
135535
135853
135901
135942
135974
136457
136506
136542
141662
141701
141805
141842
141876
141907
147754
147796
147834
147878
147917
147957
153261
153299
153335
153368
156994
157035
157072
157106
157136
164858
164898
164934
164969
165003
168778
168819
168857
168894
168928
181053
181093
181131
181168
181203
183457
186361
186399
186438
186472
186506
190973
191013
191050
191084
191118
191153
195458
195498
195535
195568
195599
200030
200064
200098
205981
206020
206056
206091
206123
210253
210322
210366
210406
210444
210479
215152
215194
215244
215284
215319
215355
218883
218921
218958
218993
219027
223150
223191
223232
223267
223305
227073
227113
227150
227187
227222
230707
230746
230784
230819
230852
235572
235614
235651
235689
235723
235758
241784
241825
241866
241902
241936
245866
245907
245945
245981
246017
249534
249574
249613
249647
249681
253103
253144
253181
253219
253254
257605
257648
257739
257783
257821
257857
257959
261856
261897
261937
261975
262010
266580
266622
266660
266695
266730
270355
270404
270445
270480
270517
270557
274362
274402
274439
274473
274509
278234
278274
278314
278351
278386
283280
283322
283362
283398
283433
288124
288165
288205
288242
288278
288319
292490
292537
292578
292616
292652
296192
296234
296274
296313
296350
296385
299477
299521
299577
299617
299655
299691
303628
303670
303708
303744
303780
307001
307043
307083
307121
307168
307217
307260
310815
310858
310900
310940
310978
311017
314695
314739
314785
314825
314861
314898
318707
318749
318790
318826
318861
322035
322079
322121
322160
322198
322234
326205
326255
326299
326344
326381
326423
326929
330455
330510
330556
330597
330702
330744
330788
330828
330867
335012
335055
335097
335136
335172
335209
338273
338316
338358
338398
338438
338479
342116
342159
342201
342243
342281
342323
345899
345942
345983
346023
346060
346100
346219
349640
349681
349722
349762
349802
349844
353009
353055
353099
353140
353178
353226
353272
353354
353398
353439
356694
356738
356783
356822
356861
356899
360321
360368
360411
360452
360489
360529
365082
365126
365168
365207
365244
365282
368621
368666
368709
368751
368790
368831
373233
373277
373320
373359
373399
373439
373573
373620
373664
373706
373746
377036
377079
377120
377162
377199
377240
380486
380532
380576
380616
380653
384556
384600
384644
384682
384721
384756
388635
388679
388721
388760
388798
388837
392472
392516
392560
392601
392639
392675
396078
396122
396167
396208
396250
396294
396355
396400
399347
399391
399434
399474
399515
399552
399595
402835
402879
402919
402959
403075
403124
403168
403205
403243
406891
406932
406975
407017
407054
407096
410522
410566
410610
410650
410690
410730
414284
414327
414370
414411
414448
414488
417725
417770
417813
417852
417891
417932
422331
422376
422419
422460
422501
422542
422587
426236
426281
426326
426367
426403
426443
430201
430245
430286
430326
430366
430405
434282
434326
434369
434413
434452
434489
437762
437807
437852
437896
437937
437979
438024
441067
441112
441158
441203
441244
441286
444433
444481
444525
444565
444607
444646
447841
447886
447930
447972
448016
448055
448096
451838
451887
451933
451976
452017
452055
455540
455586
455632
455677
455721
455766
455806
458928
459007
459056
459101
459420
459474
459520
459562
459600
462587
462634
462686
462732
462775
462818
462865
466347
466393
466437
466479
466525
466569
469769
469815
469857
469899
469941
469983
470030
473061
473108
473155
473197
473245
473284
473324
476363
476408
476453
476498
476539
476581
476625
481090
481135
481186
481231
481269
481307
484533
484581
484630
484679
484721
484762
488504
488550
488594
488637
488679
488722
488763
491947
491992
492038
492082
492120
492173
492221
495916
495963
496010
496053
496094
496139
499589
499636
499682
499725
499767
499809
502816
502863
502913
502957
502998
503041
503085
506404
506451
506497
506541
506587
506631
510509
510557
510602
510645
510685
510728
515769
515818
515864
515909
515951
515994
516035
519139
519190
519239
519283
519337
519382
519428
519688
519751
519803
519848
519893
519938
523143
523191
523238
523282
523326
523370
523412
528788
528842
528903
528948
528992
529033
529079
532365
532414
532463
532509
532549
532595
532640
536705
536754
536802
536844
536885
536928
537009
537060
537113
537159
540670
540719
540766
540807
540850
540892
540939
543478
543968
544016
544069
544116
544161
544213
544259
547446
547493
547541
547582
547628
547671
547714
550951
550997
551044
551090
551133
551178
551219
554802
554849
554897
554942
554986
555030
558332
558379
558428
558472
558514
558557
558613
558659
561564
561613
561663
561711
561757
561801
561853
561905
565790
565840
565887
565931
565974
566017
566060
569509
569560
569618
569673
569716
569762
569845
569899
569948
569995
573514
573587
573640
573685
573727
573770
577071
577120
577166
577212
577256
577299
580582
580630
580682
580728
580772
580825
580875
584908
584956
585003
585050
585099
585146
585194
585240
595597
595645
595694
595737
595782
595830
595884
595938
599276
599323
599372
599419
599463
599510
599564
599613
602913
602963
603013
603056
603099
603146
603196
607564
607615
607664
607711
607756
607799
607844
611706
611753
611800
611845
611887
611930
615450
615499
615549
615596
615641
615692
615734
615785
618940
618988
619034
619080
619125
619166
619244
622291
622340
622384
622430
622475
622521
622565
625436
625485
625535
625580
625629
625673
625719
625768
629080
629130
629178
629226
629270
629315
629365
632454
632501
632548
632593
632637
632686
632731
635955
636004
636050
636132
636176
636218
636266
636312
639439
639490
639542
639590
639642
639694
639743
639810
639854
642875
642924
642975
643022
643068
643118
643164
646610
646660
646722
646768
646815
646863
646912
650119
650167
650217
650268
650317
650360
653456
653503
653554
653603
653650
653692
653741
657591
657640
657690
657734
657780
657824
661303
661352
661406
661450
661496
661543
661588
664882
664929
664978
665021
665107
665153
665196
665398
665458
665509
665556
665602
665644
668992
669040
669087
669132
669176
669217
669261
672593
672642
672695
672742
672786
672830
672876
676037
676087
676132
676177
676221
676439
676500
676550
676593
676635
679776
679825
679877
679924
679972
680017
680062
683269
683318
683366
683414
683460
683508
683558
687119
687173
687224
687268
687314
687357
687404
691302
691355
691402
691448
691490
691531
695555
695608
695660
695710
695751
695791
699615
699670
699727
699777
699835
699883
699931
703360
703410
703460
703508
703550
703596
703642
706896
706945
706994
707044
707087
707131
707177
710383
710434
710485
710529
710578
710640
710692
710737
710791
714182
714233
714282
714328
714377
714422
714472
717744
717798
717851
717898
717945
717990
718052
718098
721342
721393
721442
721488
721538
721582
721630
724628
724677
724730
724778
724826
724872
724923
724975
728243
728292
728341
728388
728432
728476
728524
731647
731699
731751
731800
731845
731897
731944
731996
732056
735201
735250
735302
735351
735397
735447
735491
735551
738653
738704
738756
738801
738846
738894
738943
738992
742697
742746
742793
742838
742887
742929
747836
747888
747941
747989
748036
748079
748123
751525
751574
751622
751669
751714
751761
751817
751864
755145
755193
755242
755289
755331
755381
755428
755557
758505
758556
758605
758653
758700
758747
758791
761683
761733
761784
761835
761887
761936
761985
762037
762094
765837
765886
765932
765977
766020
766062
766107
769434
769486
769535
769585
769633
769681
769730
773259
773310
773359
773408
773454
773499
773546
776592
776647
776698
776749
776794
776839
776884
780011
780062
780112
780158
780200
780243
780293
783378
783427
783479
783533
783579
783629
783689
783741
783787
786538
786587
786642
786698
786745
786794
786842
786893
790044
790097
790152
790202
790248
790295
790342
793358
793407
793456
793507
793555
793607
793656
796916
796971
797023
797071
797117
797165
797211
797263
800620
800674
800727
800776
800822
800874
800920
803808
803860
803911
803960
804007
804052
804136
804185
804230
807913
807963
808014
808062
808108
808155
808196
811129
811181
811231
811285
811335
811380
811433
811480
814981
815031
815081
815129
815232
815281
815333
815376
815421
819092
819144
819193
819245
819294
819342
819393
819440
822526
822578
822631
822681
822727
822777
822825
825622
825675
825730
825781
825834
825883
825928
825976
829271
829324
829377
829429
829487
829538
829584
829631
829789
829844
829896
829943
832769
832823
832876
832929
832980
833028
833086
833132
836057
836115
836167
836213
836260
836306
836355
836406
839662
839715
839767
839815
839863
839920
839967
840013
843551
843605
843658
843706
843749
843795
843843
843894
847059
847110
847161
847207
847257
847301
847351
850988
851041
851094
851141
851187
851231
851275
851373
851424
851477
851527
854493
854547
854602
854652
854748
854797
854847
854896
854948
857911
857962
858021
858075
858125
858173
858224
858277
858337
858391
858554
858700
858768
858825
858874
858921
858968
862002
862057
862111
862170
862217
862264
862310
862364
862976
863040
863097
863144
863187
863228
866095
866154
866208
866258
866312
866364
866418
866463
869345
869400
869454
869506
869557
869609
869655
869771
869830
869887
869935
869980
873032
873087
873142
873193
873240
873290
873341
873394
876712
876766
876820
876871
876920
876979
877030
877081
877132
880066
880119
880174
880223
880274
880324
880374
880426
883352
883417
883479
883530
883577
883627
883675
883722
886870
886926
886977
887026
887073
887123
887175
890904
890957
891011
891061
891106
891153
891288
891343
891393
891441
891486
894482
894535
894590
894641
894695
895011
895093
895148
895198
895244
895290
895338
895389
898378
898431
898493
898543
898593
898646
898693
898742
901775
901833
901892
901941
901990
902036
902083
902133
905082
905135
905194
905247
905296
905356
905405
905455
908397
908461
908528
908579
908625
908673
908726
908778
908830
911709
911764
911820
911872
911928
911978
912033
912087
912138
915130
915185
915239
915289
915343
915388
915438
915488
918384
918438
918492
918543
918597
918647
918699
918746
921461
921514
921572
921624
921674
921723
921780
921831
921886
924995
925054
925108
925159
925209
925257
925305
925406
925458
925507
925557
928527
928579
928633
928686
928738
928787
928834
928891
928941
932234
932286
932341
932398
932445
932494
932545
932608
932658
935666
935719
935772
935826
935877
935926
935976
936030
939034
939087
939140
939191
939241
939288
939335
939486
939537
939585
942470
942523
942578
942637
942684
942733
942780
942831
946129
946184
946240
946293
946342
946390
946440
946490
949400
949459
949517
949572
949617
949666
949898
949971
950028
950078
950125
950168
950211
953183
953237
953291
953340
953389
953437
953487
953536
956492
956547
956603
956657
956714
956773
956818
956869
956921
959808
959862
959919
959974
960029
960079
960129
960180
963287
963338
963395
963445
963499
963550
963624
963675
963723
963776
967125
967179
967233
967284
967335
967380
967430
967489
970474
970527
970582
970629
970684
970733
970787
970835
973761
973819
973877
973929
973988
974039
974091
974140
974193
977832
977886
977940
977993
978039
978083
978131
978188
978241
980935
980992
981048
981101
981149
981205
981255
981307
981365
984434
984491
984551
984604
984659
984708
984962
985031
985089
985143
985186
985229
988416
988641
988703
988757
988808
988859
988911
988960
989007
992266
992320
992377
992464
992533
992606
992656
992704
992752
992806
995514
995570
995627
995689
995744
995792
995843
995895
995944
996293
996353
996408
999622
999676
999736
999787
999836
999887
999936
999990
Dataseries Y:
2053
4102
6150
8199
10247
12296
14344
16393
18441
20490
22538
24587
26635
28684
30732
32781
34829
36878
38926
40975
43023
45072
47120
49169
51217
53266
55314
57363
59411
61460
63508
65557
67605
69654
71702
73751
75799
77848
79896
81945
83993
86042
88090
90139
92187
94236
96284
98333
102053
104102
106150
108199
110247
112296
114344
116393
118441
120490
122538
124587
126635
128684
130732
132781
134829
136878
138926
140975
143023
145072
147120
149169
151217
153266
155314
157363
159411
161460
163508
165557
167605
169654
171702
173751
175799
177848
179896
181945
183993
186042
188090
190139
192187
194236
196284
198333
202053
204102
206150
208199
210247
212296
214344
216393
218441
220490
222538
224587
226635
228684
230732
232781
234829
236878
238926
240975
243023
245072
247120
249169
251217
253266
255314
257363
259411
261460
263508
265557
267605
269654
271702
273751
275799
277848
279896
281945
283993
286042
288090
290138
292187
294235
296284
298332
302053
304101
306150
308198
310247
312295
314344
316392
318441
320489
322538
324586
326635
328683
330732
332780
334829
336877
338926
340974
343023
345071
347120
349168
351217
353265
355314
357362
359411
361459
363508
365556
367605
369653
371702
373750
375799
377847
379896
381944
383993
386041
388090
390138
392187
394235
396284
398332
402053
404101
406150
408198
410247
412295
414344
416392
418441
420489
422538
424586
426635
428683
430732
432780
434829
436877
438926
440974
443023
445071
447120
449168
451217
453265
455314
457362
459411
461459
463508
465556
467605
469653
471702
473750
475799
477847
479896
481944
483993
486041
488090
490138
492187
494235
496284
498332
502053
504101
506150
508198
510247
512295
514344
516392
518441
520489
522538
524586
526635
528683
530732
532780
534829
536877
538926
540974
543023
545071
547120
549168
551217
553265
555314
557362
559411
561459
563508
565556
567605
569653
571702
573750
575799
577847
579896
581944
583993
586041
588090
590138
592187
594235
596284
598332
602053
604101
606150
608198
610247
612295
614344
616392
618441
620489
622538
624586
626635
628683
630732
632780
634829
636877
638926
640974
643023
645071
647120
649168
651217
653265
655314
657362
659411
661459
663508
665556
667605
669653
671702
673750
675799
677847
679896
681944
683993
686041
688090
690138
692187
694235
696284
698332
702053
704101
706150
708198
710247
712295
714344
716392
718441
720489
722538
724586
726635
728683
730732
732780
734829
736877
738926
740974
743023
745071
747120
749168
751217
753265
755314
757362
759411
761459
763508
765556
767605
769653
771702
773750
775799
777847
779896
781944
783993
786041
788090
790138
792187
794235
796284
798332
802053
804101
806150
808198
810247
812295
814344
816392
818441
820489
822538
824586
826635
828683
830732
832780
834829
836877
838926
840974
843023
845071
847120
849168
851217
853265
855314
857362
859411
861459
863508
865556
867605
869653
871702
873750
875799
877847
879896
881944
883993
886041
888090
890138
892187
894235
896284
898332
902053
904101
906150
908198
910247
912295
914344
916392
918441
920489
922538
924586
926635
928683
930732
932780
934829
936877
938926
940974
943023
945071
947120
949168
951217
953265
955314
957362
959411
961459
963508
965556
967605
969653
971702
973750
975799
977847
979896
981944
983993
986041
988090
990138
992187
994235
996284
998332





















































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































cell2
2053
4102
6150
8199
10247
12296
14344
16393
18441
20490
22538
24587
26635
28684
30732
32781
34829
36878
38926
40975
43023
45072
47120
49169
51217
53266
55314
57363
59411
61460
63508
65557
67605
69654
71702
73751
75799
77848
79896
81945
83993
86042
88090
90139
92187
94236
96284
98333
102053
104102
106150
108199
110247
112296
114344
116393
118441
120490
122538
124587
126635
128684
130732
132781
134829
136878
138926
140975
143023
145072
147120
149169
151217
153266
155314
157363
159411
161460
163508
165557
167605
169654
171702
173751
175799
177848
179896
181945
183993
186042
188090
190139
192187
194236
196284
198333
202053
204102
206150
208199
210247
212296
214344
216393
218441
220490
222538
224587
226635
228684
230732
232781
234829
236878
238926
240975
243023
245072
247120
249169
251217
253266
255314
257363
259411
261460
263508
265557
267605
269654
271702
273751
275799
277848
279896
281945
283993
286042
288090
290138
292187
294235
296284
298332
302053
304101
306150
308198
310247
312295
314344
316392
318441
320489
322538
324586
326635
328683
330732
332780
334829
336877
338926
340974
343023
345071
347120
349168
351217
353265
355314
357362
359411
361459
363508
365556
367605
369653
371702
373750
375799
377847
379896
381944
383993
386041
388090
390138
392187
394235
396284
398332
402053
404101
406150
408198
410247
412295
414344
416392
418441
420489
422538
424586
426635
428683
430732
432780
434829
436877
438926
440974
443023
445071
447120
449168
451217
453265
455314
457362
459411
461459
463508
465556
467605
469653
471702
473750
475799
477847
479896
481944
483993
486041
488090
490138
492187
494235
496284
498332
502053
504101
506150
508198
510247
512295
514344
516392
518441
520489
522538
524586
526635
528683
530732
532780
534829
536877
538926
540974
543023
545071
547120
549168
551217
553265
555314
557362
559411
561459
563508
565556
567605
569653
571702
573750
575799
577847
579896
581944
583993
586041
588090
590138
592187
594235
596284
598332
602053
604101
606150
608198
610247
612295
614344
616392
618441
620489
622538
624586
626635
628683
630732
632780
634829
636877
638926
640974
643023
645071
647120
649168
651217
653265
655314
657362
659411
661459
663508
665556
667605
669653
671702
673750
675799
677847
679896
681944
683993
686041
688090
690138
692187
694235
696284
698332
702053
704101
706150
708198
710247
712295
714344
716392
718441
720489
722538
724586
726635
728683
730732
732780
734829
736877
738926
740974
743023
745071
747120
749168
751217
753265
755314
757362
759411
761459
763508
765556
767605
769653
771702
773750
775799
777847
779896
781944
783993
786041
788090
790138
792187
794235
796284
798332
802053
804101
806150
808198
810247
812295
814344
816392
818441
820489
822538
824586
826635
828683
830732
832780
834829
836877
838926
840974
843023
845071
847120
849168
851217
853265
855314
857362
859411
861459
863508
865556
867605
869653
871702
873750
875799
877847
879896
881944
883993
886041
888090
890138
892187
894235
896284
898332
902053
904101
906150
908198
910247
912295
914344
916392
918441
920489
922538
924586
926635
928683
930732
932780
934829
936877
938926
940974
943023
945071
947120
949168
951217
953265
955314
957362
959411
961459
963508
965556
967605
969653
971702
973750
975799
977847
979896
981944
983993
986041
988090
990138
992187
994235
996284
998332

































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































































Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 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 & 1 seconds \tabularnewline
R Server & 'George Udny Yule' @ yule.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=130622&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]'George Udny Yule' @ yule.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=130622&T=0

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



Parameters (Session):
par1 = 1 ; par2 = 0 ; par3 = 0 ; par4 = 1 ; par5 = 1 ; par6 = 0 ; par7 = 0 ; par8 = na.fail ;
Parameters (R input):
par1 = 1 ; par2 = 0 ; par3 = 0 ; par4 = 1 ; par5 = 1 ; par6 = 0 ; par7 = 0 ; par8 = na.fail ;
R code (references can be found in the software module):
par1 <- as.numeric(par1)
par2 <- as.numeric(par2)
par3 <- as.numeric(par3)
par4 <- as.numeric(par4)
par5 <- as.numeric(par5)
par6 <- as.numeric(par6)
par7 <- as.numeric(par7)
if (par8=='na.fail') par8 <- na.fail else par8 <- na.pass
ccf <- function (x, y, lag.max = NULL, type = c('correlation', 'covariance'), plot = TRUE, na.action = na.fail, ...) {
type <- match.arg(type)
if (is.matrix(x) || is.matrix(y))
stop('univariate time series only')
X <- na.action(ts.intersect(as.ts(x), as.ts(y)))
colnames(X) <- c(deparse(substitute(x))[1L], deparse(substitute(y))[1L])
acf.out <- acf(X, lag.max = lag.max, plot = FALSE, type = type, na.action=na.action)
lag <- c(rev(acf.out$lag[-1, 2, 1]), acf.out$lag[, 1, 2])
y <- c(rev(acf.out$acf[-1, 2, 1]), acf.out$acf[, 1, 2])
acf.out$acf <- array(y, dim = c(length(y), 1L, 1L))
acf.out$lag <- array(lag, dim = c(length(y), 1L, 1L))
acf.out$snames <- paste(acf.out$snames, collapse = ' & ')
if (plot) {
plot(acf.out, ...)
return(invisible(acf.out))
}
else return(acf.out)
}
if (par1 == 0) {
x <- log(x)
} else {
x <- (x ^ par1 - 1) / par1
}
if (par5 == 0) {
y <- log(y)
} else {
y <- (y ^ par5 - 1) / par5
}
if (par2 > 0) x <- diff(x,lag=1,difference=par2)
if (par6 > 0) y <- diff(y,lag=1,difference=par6)
if (par3 > 0) x <- diff(x,lag=par4,difference=par3)
if (par7 > 0) y <- diff(y,lag=par4,difference=par7)
x
y
bitmap(file='test1.png')
(r <- ccf(x,y,na.action=par8,main='Cross Correlation Function',ylab='CCF',xlab='Lag (k)'))
dev.off()
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Cross Correlation Function',2,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Parameter',header=TRUE)
a<-table.element(a,'Value',header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Box-Cox transformation parameter (lambda) of X series',header=TRUE)
a<-table.element(a,par1)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Degree of non-seasonal differencing (d) of X series',header=TRUE)
a<-table.element(a,par2)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Degree of seasonal differencing (D) of X series',header=TRUE)
a<-table.element(a,par3)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Seasonal Period (s)',header=TRUE)
a<-table.element(a,par4)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Box-Cox transformation parameter (lambda) of Y series',header=TRUE)
a<-table.element(a,par5)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Degree of non-seasonal differencing (d) of Y series',header=TRUE)
a<-table.element(a,par6)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Degree of seasonal differencing (D) of Y series',header=TRUE)
a<-table.element(a,par7)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'k',header=TRUE)
a<-table.element(a,'rho(Y[t],X[t+k])',header=TRUE)
a<-table.row.end(a)
mylength <- length(r$acf)
myhalf <- floor((mylength-1)/2)
for (i in 1:mylength) {
a<-table.row.start(a)
a<-table.element(a,i-myhalf-1,header=TRUE)
a<-table.element(a,r$acf[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable.tab')