Home » date » 2009 » May » 29 »

Autocorrelation - 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 05:57:07 -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/t12435983344zr5zdggnf4dim1.htm/, Retrieved Fri, 29 May 2009 13:58:57 +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/t12435983344zr5zdggnf4dim1.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.97765214.20120
20.94961513.7940
30.92380113.4190
40.90111713.08950
50.88272212.82230
60.85993412.49130
70.84038812.20730
80.82098411.92550
90.80476711.68990
100.7932711.52290
110.7875211.43940
120.7748711.25560
130.73806310.7210
140.69349110.07350
150.6519149.46960
160.6145678.92710
170.5826398.46330
180.5503647.99450
190.5203997.55920
200.4934487.16770
210.4726046.8650
220.4550026.60930
230.4447636.46060
240.4294916.23870
250.3932885.71280
260.3514585.10520
270.3125364.53985e-06
280.2812764.08583.1e-05
290.2556543.71360.000131
300.2296963.33650.000501
310.2078873.01970.001421
320.1878452.72860.003448
330.1737092.52330.006182
340.1643782.38770.008917
350.1620622.35410.009743
360.1549872.25130.012698
370.1270121.84490.033223
380.0938921.36390.087032
390.0644580.93630.175094
400.0414120.60150.274061
410.0234060.340.367102
420.005540.08050.467969
43-0.008782-0.12760.449307
44-0.018999-0.2760.391421
45-0.02471-0.35890.360001
46-0.026341-0.38260.351193
47-0.022971-0.33370.369477
48-0.024464-0.35540.361338


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.97765214.20120
2-0.140021-2.03390.021605
30.0532040.77280.220245
40.0434920.63180.264113
50.0736971.07050.142805
6-0.129467-1.88060.030701
70.1081451.57090.058853
8-0.037434-0.54380.293592
90.0776771.12830.130231
100.0646720.93940.174296
110.1473382.14020.016743
12-0.225963-3.28230.000602
13-0.509034-7.39410
14-0.137961-2.0040.023174
150.0680140.9880.162153
16-0.008662-0.12580.449995
170.1000091.45270.073895
180.0944431.37190.085782
190.0148250.21530.414856
20-0.003191-0.04630.481539
210.1203541.74820.040938
22-0.120926-1.75660.040222
230.0466340.67740.249447
24-0.017133-0.24890.401851
25-0.239119-3.47340.000312
26-0.031882-0.46310.321879
270.1296791.88370.030491
280.0840311.22060.111796
290.0244110.35460.361623
300.0510880.74210.229426
310.0660940.96010.16906
32-0.153672-2.23220.013326
330.0152860.2220.412251
340.0146420.21270.41589
35-0.003309-0.04810.480857
36-0.05647-0.82030.206495
37-0.12571-1.8260.034629
38-0.002879-0.04180.483341
390.0793871.15320.125073
400.0124210.18040.428498
41-0.012978-0.18850.425324
420.0135250.19650.422219
430.038740.56270.287107
440.007930.11520.454202
45-0.009-0.13070.448053
46-0.034281-0.4980.309514
47-0.070113-1.01850.154815
48-0.016871-0.24510.403324
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/29/t12435983344zr5zdggnf4dim1/1cq3u1243598225.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/29/t12435983344zr5zdggnf4dim1/1cq3u1243598225.ps (open in new window)


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


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