Home » date » 2009 » May » 29 »

Autocorrelation2 - werklooshied austalie - Magali van de Wildebergh

*Unverified author*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Fri, 29 May 2009 06:01:18 -0600
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/May/29/t1243598667dib28j5d1ao4qkn.htm/, Retrieved Fri, 29 May 2009 14:04:30 +0200
 
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/2009/May/29/t1243598667dib28j5d1ao4qkn.htm/},
    year = {2009},
}
@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 = {2009},
    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 «
428800 424800 403400 398400 393500 380500 398300 387300 370400 372800 444600 449900 458100 424800 420600 400100 393000 387100 377500 400400 391400 363600 431000 441700 448500 415600 408000 416600 409300 387600 394500 407600 378500 359600 435700 433800 427700 413300 379500 379300 353700 378200 380600 394000 374000 375000 437600 443900 488800 463900 440000 453800 451600 453400 461400 509100 540600 555100 677400 694600 750100 733900 709300 720500 693200 687200 686800 720900 653100 624700 690000 717800 736500 699900 675600 635600 632500 594900 604000 620800 578400 571200 627400 657700 674100 672800 615300 609100 607600 566900 572700 589200 534800 543100 591100 624800 665300 642600 608700 594500 563800 596100 597600 633100 591000 584200 655800 670700 699700 712900 652000 635100 603100 610100 602000 597600 585400 567100 620600 646200 644800 645200 644800 593000 569100 518800 538700 554600 etc...
 
Output produced by software:


Summary of computational 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
10.151182.19080.014783
2-0.082845-1.20050.115642
3-0.099714-1.4450.074975
4-0.115658-1.6760.047609
50.0771431.11790.132441
6-0.101711-1.47390.070999
7-0.002528-0.03660.485404
8-0.082731-1.19890.115962
9-0.109459-1.58620.057097
10-0.095627-1.38580.083644
110.1561392.26270.01234
120.6585669.54350
130.176532.55820.005613
14-0.098369-1.42550.077749
15-0.134628-1.95090.026197
16-0.164671-2.38630.008953
17-0.023188-0.3360.368595
18-0.093907-1.36080.087511
19-0.055859-0.80950.209581
20-0.157768-2.28630.011618
21-0.092459-1.33990.09087
22-0.150235-2.17710.015294
230.1280651.85580.032439
240.5645358.18090
250.1308021.89550.0297
26-0.094591-1.37080.085957
27-0.203339-2.94670.001788
28-0.157675-2.28490.011658
29-0.032855-0.47610.317246
30-0.132722-1.92330.027896
31-0.027693-0.40130.344298
32-0.171425-2.48420.006883
33-0.113542-1.64540.050693
34-0.133832-1.93940.026896
350.1132141.64060.051186
360.555258.04630
370.1151681.66890.04831
38-0.122335-1.77280.038856
39-0.175465-2.54270.00586
40-0.15318-2.21980.013751
41-0.002786-0.04040.483919
42-0.114221-1.65520.049686
43-0.08801-1.27540.10179
44-0.123694-1.79250.037246
45-0.071635-1.03810.150213
46-0.081474-1.18070.119536
470.1067341.54670.061717
480.4760596.89880


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.151182.19080.014783
2-0.108172-1.56760.059244
3-0.071948-1.04260.149159
4-0.100773-1.46030.072845
50.099731.44520.074943
6-0.16468-2.38640.00895
70.0447010.64780.258918
8-0.125067-1.81240.035677
9-0.072691-1.05340.146685
10-0.139465-2.0210.022272
110.2183573.16430.000893
120.6027668.73490
130.0772131.11890.132227
14-0.078384-1.13590.128649
15-0.050647-0.73390.231901
16-0.138154-2.0020.023283
17-0.201238-2.91620.001964
18-0.050643-0.73390.231916
19-0.015332-0.22220.412195
20-0.182692-2.64750.004362
210.0512090.74210.229432
22-0.108268-1.56890.059083
23-0.023012-0.33350.369556
240.2065732.99350.001544
250.0017140.02480.490106
26-0.083193-1.20560.114668
27-0.086904-1.25940.10465
280.0207280.30040.382094
29-0.067414-0.97690.164867
30-0.090115-1.30590.09651
310.1199531.73830.041813
32-0.072237-1.04680.148195
33-0.086397-1.2520.105978
34-0.008168-0.11840.452945
350.0174090.25230.400537
360.0936451.3570.088112
37-0.020425-0.2960.383768
38-0.080543-1.16720.122232
39-0.029137-0.42220.336641
40-0.010086-0.14620.441968
410.0322930.4680.320146
42-0.048351-0.70070.24214
43-0.107747-1.56140.059967
440.0001470.00210.499153
450.0480780.69670.243377
460.0308660.44730.32756
47-0.039366-0.57050.284483
480.0062660.09080.463866
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/29/t1243598667dib28j5d1ao4qkn/1gn8e1243598476.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/29/t1243598667dib28j5d1ao4qkn/1gn8e1243598476.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/29/t1243598667dib28j5d1ao4qkn/2woph1243598476.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/29/t1243598667dib28j5d1ao4qkn/2woph1243598476.ps (open in new window)


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