Home » date » 2008 » Dec » 21 »

vfdgd

*Unverified author*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Sun, 21 Dec 2008 12:55:58 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/Dec/21/t12298894027dzl9t54lhxrzvr.htm/, Retrieved Sun, 21 Dec 2008 20:56:42 +0100
 
BibTeX entries for LaTeX users:
@Manual{KEY,
    author = {{YOUR NAME}},
    publisher = {Office for Research Development and Education},
    title = {Statistical Computations at FreeStatistics.org, URL http://www.freestatistics.org/blog/date/2008/Dec/21/t12298894027dzl9t54lhxrzvr.htm/},
    year = {2008},
}
@Manual{R,
    title = {R: A Language and Environment for Statistical Computing},
    author = {{R Development Core Team}},
    organization = {R Foundation for Statistical Computing},
    address = {Vienna, Austria},
    year = {2008},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
485 464 460 467 460 448 443 436 431 484 510 513 503 471 471 476 475 470 461 455 456 517 525 523 519 509 512 519 517 510 509 501 507 569 580 578 565 547 555 562 561 555 544 537 543 594 611 613 611 594 595 591 589 584 573 567 569 621 629 628 612 595 597 593 590 580 574 573 573 620 626 620 588 566 557 561 549 532 526 511 499 555 565 542 527 510 514 517 508 493 490 469 478 528
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.002872-0.02580.489722
20.0006090.00550.497822
3-0.044724-0.40250.344183
40.0815590.7340.232525
50.0268140.24130.404957
60.0618690.55680.289592
7-0.004268-0.03840.484728
80.1051220.94610.173455
90.0861640.77550.220158
10-0.082592-0.74330.229717
110.0329660.29670.383729
12-0.301513-2.71360.004064
13-0.056594-0.50930.305948
140.1548171.39340.083662
150.0088680.07980.468292
16-0.064196-0.57780.282513
17-0.06281-0.56530.286719
180.0414250.37280.355126
190.0427420.38470.350742
20-0.035132-0.31620.376337
21-0.001596-0.01440.494289
220.0617670.55590.289906
230.1726761.55410.062032
24-0.079851-0.71870.237211
25-0.117772-1.060.146159
26-0.195232-1.75710.041341
270.05040.45360.325663
28-0.019741-0.17770.429714
290.1134231.02080.155193
30-0.096229-0.86610.194508
31-0.065753-0.59180.277823
320.0129820.11680.453637
33-0.0842-0.75780.225384
34-0.076508-0.68860.246529
35-0.080001-0.720.236795
360.0071110.0640.474563
370.0805540.7250.235276
380.145551.310.096958
39-0.117448-1.0570.14682
40-0.034132-0.30720.379744
41-0.014335-0.1290.448832
42-0.043696-0.39330.34758
430.0443840.39950.345306
44-0.086146-0.77530.220206
45-0.053714-0.48340.315047
460.0315340.28380.388641
47-0.099755-0.89780.185978
48-0.072179-0.64960.25889
49-0.065178-0.58660.279551
500.0129360.11640.453801
51-0.009819-0.08840.464899
52-0.001782-0.0160.493621
53-0.127525-1.14770.12723
540.0392850.35360.362293
55-0.098886-0.890.188059
560.0015750.01420.494362
570.0607950.54720.292888
58-0.023753-0.21380.415629
590.0283330.2550.399687
600.0604190.54380.294046


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.002872-0.02580.489722
26e-040.00540.497851
3-0.044721-0.40250.344194
40.0814660.73320.232777
50.0272640.24540.403392
60.0603770.54340.294176
70.0032570.02930.488343
80.1023250.92090.179913
90.0898370.80850.210575
10-0.093495-0.84150.201284
110.0404420.3640.358412
12-0.32715-2.94440.002111
13-0.093465-0.84120.20136
140.1669811.50280.068386
15-0.036094-0.32480.373066
16-0.011353-0.10220.459434
17-0.04991-0.44920.327248
180.0829490.74650.228751
190.0682930.61460.27026
20-0.001363-0.01230.495121
210.1112281.00110.159891
22-0.032623-0.29360.384905
230.1919581.72760.043933
24-0.172918-1.55630.061773
25-0.22981-2.06830.020902
26-0.134606-1.21150.114622
27-0.032807-0.29530.384273
28-0.054653-0.49190.31207
290.075380.67840.249719
30-0.013977-0.12580.450103
31-0.013512-0.12160.451756
320.0699970.630.265244
330.0068830.06190.47538
34-0.015742-0.14170.443843
350.0598580.53870.295777
36-0.050194-0.45170.326329
37-0.090316-0.81280.209344
380.0618980.55710.289503
39-0.059127-0.53210.298042
40-0.067735-0.60960.271913
410.0036110.03250.487079
42-0.112761-1.01490.156599
43-0.008125-0.07310.470943
44-0.046348-0.41710.338843
45-0.07897-0.71070.239648
46-0.031264-0.28140.38957
47-0.063365-0.57030.285031
480.0319110.28720.387347
49-0.05024-0.45220.32618
500.0902430.81220.209532
51-0.028922-0.26030.397646
52-0.132367-1.19130.118507
530.0203110.18280.427706
540.0118010.10620.457838
55-0.114187-1.02770.153578
56-0.041628-0.37470.354449
570.0010830.00980.496122
58-0.080952-0.72860.234183
59-0.039726-0.35750.360813
600.0572350.51510.303936
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/21/t12298894027dzl9t54lhxrzvr/1oozb1229889354.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/21/t12298894027dzl9t54lhxrzvr/1oozb1229889354.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/21/t12298894027dzl9t54lhxrzvr/2jjpu1229889354.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/21/t12298894027dzl9t54lhxrzvr/2jjpu1229889354.ps (open in new window)


 
Parameters (Session):
par1 = 60 ; par2 = 1 ; par3 = 1 ; par4 = 1 ; par5 = 12 ;
 
Parameters (R input):
par1 = 60 ; par2 = 1 ; par3 = 1 ; 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('http://www.xycoon.com/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('http://www.xycoon.com/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')
 





Copyright

Creative Commons License

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.

Software written by Ed van Stee & Patrick Wessa


Disclaimer

Information provided on this web site is provided "AS IS" without warranty of any kind, either express or implied, including, without limitation, warranties of merchantability, fitness for a particular purpose, and noninfringement. We use reasonable efforts to include accurate and timely information and periodically update the information, and software without notice. However, we make no warranties or representations as to the accuracy or completeness of such information (or software), and we assume no liability or responsibility for errors or omissions in the content of this web site, or any software bugs in online applications. Your use of this web site is AT YOUR OWN RISK. Under no circumstances and under no legal theory shall we be liable to you or any other person for any direct, indirect, special, incidental, exemplary, or consequential damages arising from your access to, or use of, this web site.


Privacy Policy

We may request personal information to be submitted to our servers in order to be able to:

  • personalize online software applications according to your needs
  • enforce strict security rules with respect to the data that you upload (e.g. statistical data)
  • manage user sessions of online applications
  • alert you about important changes or upgrades in resources or applications

We NEVER allow other companies to directly offer registered users information about their products and services. Banner references and hyperlinks of third parties NEVER contain any personal data of the visitor.

We do NOT sell, nor transmit by any means, personal information, nor statistical data series uploaded by you to third parties.

We carefully protect your data from loss, misuse, alteration, and destruction. However, at any time, and under any circumstance you are solely responsible for managing your passwords, and keeping them secret.

We store a unique ANONYMOUS USER ID in the form of a small 'Cookie' on your computer. This allows us to track your progress when using this website which is necessary to create state-dependent features. The cookie is used for NO OTHER PURPOSE. At any time you may opt to disallow cookies from this website - this will not affect other features of this website.

We examine cookies that are used by third-parties (banner and online ads) very closely: abuse from third-parties automatically results in termination of the advertising contract without refund. We have very good reason to believe that the cookies that are produced by third parties (banner ads) do NOT cause any privacy or security risk.

FreeStatistics.org is safe. There is no need to download any software to use the applications and services contained in this website. Hence, your system's security is not compromised by their use, and your personal data - other than data you submit in the account application form, and the user-agent information that is transmitted by your browser - is never transmitted to our servers.

As a general rule, we do not log on-line behavior of individuals (other than normal logging of webserver 'hits'). However, in cases of abuse, hacking, unauthorized access, Denial of Service attacks, illegal copying, hotlinking, non-compliance with international webstandards (such as robots.txt), or any other harmful behavior, our system engineers are empowered to log, track, identify, publish, and ban misbehaving individuals - even if this leads to ban entire blocks of IP addresses, or disclosing user's identity.


FreeStatistics.org is powered by