Home » date » 2009 » Nov » 25 »

ACF(2)

*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: Wed, 25 Nov 2009 08:43:27 -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/Nov/25/t1259163897i3vdpvnn8ynakem.htm/, Retrieved Wed, 25 Nov 2009 16:44:59 +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/Nov/25/t1259163897i3vdpvnn8ynakem.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 «
2.085 2.053 2.077 2.058 2.057 2.076 2.07 2.062 2.073 2.061 2.094 2.067 2.086 2.276 2.326 2.349 2.52 2.628 2.577 2.698 2.814 2.968 3.041 3.278 3.328 3.5 3.563 3.569 3.69 3.819 3.79 3.956 4.063 4.047 4.029 3.941 4.022 3.879 4.022 4.028 4.091 3.987 4.01 4.007 4.191 4.299 4.273 3.82 3.15 2.486 1.812 1.257 1.062 0.842 0.782 0.698 0.358 0.347 0.363 0.359 0.355
 
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.9644276.7510
20.9004886.30340
30.8168615.7180
40.7270595.08943e-06
50.6359624.45172.5e-05
60.5507513.85530.000169
70.461913.23340.001096
80.3702592.59180.006273
90.2781431.9470.028639
100.1923451.34640.092182
110.1203820.84270.201754
120.0664960.46550.321828
130.0263470.18440.427219
14-0.002434-0.0170.493238
15-0.027153-0.19010.42502
16-0.056788-0.39750.346356
17-0.090728-0.63510.26416
18-0.126771-0.88740.189601
19-0.159032-1.11320.135522
20-0.192058-1.34440.092504
21-0.21991-1.53940.065074
22-0.24726-1.73080.044888
23-0.274083-1.91860.030437
24-0.301159-2.10810.02008
25-0.320459-2.24320.014719
26-0.336135-2.35290.011342
27-0.343259-2.40280.010051
28-0.344574-2.4120.009827
29-0.339903-2.37930.010642
30-0.332598-2.32820.012037
31-0.32405-2.26830.013875
32-0.313229-2.19260.016557
33-0.300618-2.10430.020252
34-0.284569-1.9920.02598
35-0.265412-1.85790.034599
36-0.242677-1.69870.047855


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.9644276.7510
2-0.424018-2.96810.002313
3-0.190149-1.3310.094667
40.020380.14270.443572
5-0.020261-0.14180.443898
60.03820.26740.395141
7-0.19974-1.39820.084178
8-0.094633-0.66240.255398
9-0.005191-0.03630.485582
100.0544070.38080.352481
110.1118980.78330.218615
120.0531520.37210.355725
13-0.043695-0.30590.380501
14-0.001512-0.01060.495798
15-0.062378-0.43660.332143
16-0.156244-1.09370.139715
17-0.061982-0.43390.333142
18-0.05152-0.36060.359959
190.0378630.2650.396046
20-0.125359-0.87750.192244
210.0307020.21490.415364
22-0.020875-0.14610.442212
23-0.007084-0.04960.480327
240.0037150.0260.48968
250.0714510.50020.309603
26-0.082544-0.57780.283021
27-0.011012-0.07710.469435
28-0.044957-0.31470.377163
29-0.020755-0.14530.442542
30-0.022056-0.15440.438969
31-0.067695-0.47390.318851
320.0437410.30620.38038
33-0.035097-0.24570.40348
340.0196060.13720.445701
350.028380.19870.421676
360.0182310.12760.449487
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/25/t1259163897i3vdpvnn8ynakem/165511259163805.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/25/t1259163897i3vdpvnn8ynakem/165511259163805.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/25/t1259163897i3vdpvnn8ynakem/2ubpf1259163805.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/25/t1259163897i3vdpvnn8ynakem/2ubpf1259163805.ps (open in new window)


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