Home » date » 2010 » Dec » 14 »

*The author of this computation has been verified*
R Software Module: /rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Tue, 14 Dec 2010 13:00:59 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Dec/14/t1292331558x8moptex9fh1x9j.htm/, Retrieved Tue, 14 Dec 2010 13:59:20 +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/2010/Dec/14/t1292331558x8moptex9fh1x9j.htm/},
    year = {2010},
}
@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 = {2010},
    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 «
313737 312276 309391 302950 300316 304035 333476 337698 335932 323931 313927 314485 313218 309664 302963 298989 298423 301631 329765 335083 327616 309119 295916 291413 291542 284678 276475 272566 264981 263290 296806 303598 286994 276427 266424 267153 268381 262522 255542 253158 243803 250741 280445 285257 270976 261076 255603 260376 263903 264291 263276 262572 256167 264221 293860 300713 287224 275902 271115 277509 279681
 
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.88896.94250
20.7099465.54490
30.5904744.61171e-05
40.5563374.34512.7e-05
50.5730544.47571.7e-05
60.5763684.50161.5e-05
70.5160254.03037.9e-05
80.4355793.4020.000593
90.3942943.07950.001553
100.4271923.33650.000724
110.5109063.99039e-05
120.5321444.15625.1e-05
130.3966823.09820.001471
140.2151661.68050.048987
150.0923780.72150.23668
160.0417180.32580.372835
170.034810.27190.393319
180.0197820.15450.438863
19-0.048334-0.37750.353557
20-0.135231-1.05620.147524
21-0.184272-1.43920.077601
22-0.165456-1.29230.100572
23-0.105778-0.82620.205968
24-0.090266-0.7050.241747
25-0.185637-1.44990.076109
26-0.304645-2.37930.010243
27-0.368911-2.88130.00273
28-0.376922-2.94390.00229
29-0.348851-2.72460.004194
30-0.326407-2.54930.006662
31-0.349548-2.73010.004133
32-0.389623-3.04310.001726
33-0.391339-3.05650.001661
34-0.34925-2.72770.004159
35-0.284877-2.2250.014896
36-0.255016-1.99170.025441
37-0.290631-2.26990.01338
38-0.338812-2.64620.00517
39-0.349887-2.73270.004103
40-0.322077-2.51550.007268
41-0.265615-2.07450.021129
42-0.220013-1.71840.045402
43-0.209095-1.63310.053802
44-0.214583-1.67590.049434
45-0.201204-1.57150.060625
46-0.165964-1.29620.099892
47-0.120273-0.93940.175625
48-0.092245-0.72050.236999
49-0.097434-0.7610.224799
50-0.110562-0.86350.195618
51-0.106289-0.83010.204846
52-0.08122-0.63440.264112
53-0.041738-0.3260.372776
54-0.01378-0.10760.457322
55-0.012882-0.10060.460094
56-0.025509-0.19920.421371
57-0.029161-0.22780.4103
58-0.023647-0.18470.427042
59-0.012907-0.10080.460017
60-0.005866-0.04580.481804


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.88896.94250
2-0.38215-2.98470.00204
30.3232692.52480.007096
40.1486661.16110.125058
50.1297551.01340.157432
6-0.03709-0.28970.38652
7-0.153874-1.20180.117045
80.1046250.81710.208512
90.0781510.61040.271939
100.2216221.73090.04426
110.1557151.21620.114302
12-0.281126-2.19570.015965
13-0.537125-4.19514.5e-05
140.0762030.59520.276966
15-0.059172-0.46210.322809
16-0.164737-1.28660.101542
17-0.079567-0.62140.268313
18-0.001644-0.01280.494898
19-0.044542-0.34790.364563
20-0.039225-0.30640.380189
210.0054980.04290.482944
22-0.007031-0.05490.478193
23-0.033427-0.26110.397459
240.0873510.68220.248838
25-0.029305-0.22890.409864
260.0825110.64440.260856
270.0181040.14140.44401
28-0.012333-0.09630.46179
290.0506690.39570.346841
300.014270.11150.455812
310.0116680.09110.463843
320.006330.04940.480365
330.0634030.49520.311122
34-0.155257-1.21260.114979
35-0.032688-0.25530.399675
360.0065840.05140.479577
370.0892090.69670.244306
38-0.107218-0.83740.202819
39-0.065519-0.51170.305348
400.0492570.38470.350897
410.0210810.16460.434884
42-0.08046-0.62840.266039
430.0816380.63760.263055
44-0.059272-0.46290.322532
45-0.105686-0.82540.20617
46-0.006805-0.05310.478895
470.0325910.25450.399967
480.0020630.01610.493598
49-0.005707-0.04460.482297
500.0156790.12250.451471
51-0.022743-0.17760.429803
52-0.014897-0.11640.453878
53-0.040368-0.31530.376812
54-0.007398-0.05780.477055
55-0.069953-0.54630.293409
56-0.027838-0.21740.414304
57-0.041345-0.32290.373931
580.0239640.18720.426075
59-0.039583-0.30920.379129
60-0.027302-0.21320.415928
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/14/t1292331558x8moptex9fh1x9j/16kls1292331657.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t1292331558x8moptex9fh1x9j/16kls1292331657.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/14/t1292331558x8moptex9fh1x9j/26kls1292331657.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t1292331558x8moptex9fh1x9j/26kls1292331657.ps (open in new window)


 
Parameters (Session):
par1 = 60 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
Parameters (R input):
par1 = 60 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; 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 <- as.numeric(par4)
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('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