Home » date » 2009 » Dec » 28 »

acf

*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: Mon, 28 Dec 2009 05:35:39 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Dec/28/t12620037813f1bo82ywn09cbg.htm/, Retrieved Mon, 28 Dec 2009 13:36:24 +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/2009/Dec/28/t12620037813f1bo82ywn09cbg.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 «
13.4 13.5 14.8 14.3 14.3 14 13.2 12.2 14.3 15.7 14.2 14.6 14.5 14.3 15.3 14.4 13.7 14.2 13.5 11.9 14.6 15.6 14.1 14.9 14.2 14.6 17.2 15.4 14.3 17.5 14.5 14.4 16.6 16.7 16.6 16.9 15.7 16.4 18.4 16.9 16.5 18.3 15.1 15.7 18.1 16.8 18.9 19 18.1 17.8 21.5 17.1 18.7 19 16.4 16.9 18.6 19.3 19.4 17.6 18.6 18.1 20.4 18.1 19.6 19.9 19.2 17.8 19.2 22 21.1 19.5
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.7442866.31550
20.6574965.5790
30.6984675.92670
40.6116735.19021e-06
50.6078995.15821e-06
60.6586715.5890
70.5318214.51271.2e-05
80.5027644.26613e-05
90.5330294.52291.2e-05
100.4039173.42740.000506
110.4544793.85640.000124
120.5666874.80854e-06
130.3924983.33050.000685
140.3468692.94330.002184
150.3512652.98060.001961
160.2720872.30870.011916
170.2956562.50870.007185
180.3186832.70410.00427
190.2149961.82430.036128
200.184851.56850.060574
210.1822891.54680.063152
220.0505990.42930.334478
230.1093970.92830.178186
240.1220511.03560.151919
25-0.013604-0.11540.454211
26-0.063392-0.53790.296153
27-0.06721-0.57030.285125
28-0.130814-1.110.135347
29-0.106111-0.90040.185459
30-0.095292-0.80860.21071
31-0.160009-1.35770.089396
32-0.163193-1.38470.085205
33-0.201179-1.70710.04606
34-0.263021-2.23180.01437
35-0.203263-1.72470.044432
36-0.178757-1.51680.066847
37-0.251274-2.13210.018204
38-0.29236-2.48080.007724
39-0.29775-2.52650.00686
40-0.321558-2.72850.003995
41-0.306665-2.60210.00562
42-0.298041-2.5290.006816
43-0.340368-2.88810.002558
44-0.329739-2.79790.003297
45-0.358635-3.04310.001634
46-0.394553-3.34790.000649
47-0.357494-3.03340.001681
48-0.307419-2.60850.005525
49-0.334535-2.83860.002942
50-0.358943-3.04570.001621
51-0.331838-2.81570.003137
52-0.326213-2.7680.003583
53-0.284025-2.410.009254
54-0.257841-2.18780.015964
55-0.259683-2.20350.01538
56-0.253545-2.15140.0174
57-0.2537-2.15270.017346
58-0.248581-2.10930.019199
59-0.226034-1.9180.029541
60-0.201194-1.70720.046048


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.7442866.31550
20.2321191.96960.026366
30.3552793.01460.001776
4-0.036499-0.30970.37884
50.167321.41980.079997
60.1875531.59140.057946
7-0.191795-1.62740.054006
80.0125010.10610.457908
90.0343610.29160.385729
10-0.203395-1.72590.044331
110.2144691.81980.036471
120.2717882.30620.011991
13-0.303719-2.57710.006005
14-0.086454-0.73360.232791
15-0.103103-0.87490.192279
160.0236120.20040.420882
170.0128430.1090.456762
18-0.032932-0.27940.390354
190.0464360.3940.347364
20-0.138066-1.17150.122625
21-0.041329-0.35070.363424
22-0.099838-0.84720.199858
230.0632230.53650.296646
24-0.145948-1.23840.109794
25-0.088447-0.75050.2277
26-0.127346-1.08060.141748
270.0580820.49280.311812
280.0062850.05330.478808
29-0.013529-0.11480.454464
300.0231410.19640.42244
310.0475070.40310.344031
32-0.023696-0.20110.420606
33-0.11723-0.99470.161601
340.0886560.75230.22717
35-0.036112-0.30640.380084
360.0790490.67080.252261
37-0.017808-0.15110.440159
38-0.064063-0.54360.294201
39-0.001279-0.01090.495685
40-0.031404-0.26650.395319
41-0.041888-0.35540.361654
420.0002910.00250.49902
43-0.047237-0.40080.344871
440.0274520.23290.408236
450.0300330.25480.399788
46-0.082988-0.70420.241797
470.0136280.11560.45413
480.0109020.09250.463276
490.0358910.30450.380796
50-0.049627-0.42110.337469
510.0670860.56920.285482
520.0165770.14070.444265
530.0496640.42140.337355
54-0.01926-0.16340.43532
550.0271580.23040.409202
56-0.022877-0.19410.423317
57-0.039553-0.33560.369067
580.0809990.68730.247051
59-0.069062-0.5860.279849
60-0.105631-0.89630.186538
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/28/t12620037813f1bo82ywn09cbg/1totp1262003735.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/28/t12620037813f1bo82ywn09cbg/1totp1262003735.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/28/t12620037813f1bo82ywn09cbg/2vh651262003735.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/28/t12620037813f1bo82ywn09cbg/2vh651262003735.ps (open in new window)


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