Home » date » 2009 » Dec » 17 »

ACF d=1

*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: Thu, 17 Dec 2009 13:40:32 -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/17/t1261082748oajv8q8tutsu22i.htm/, Retrieved Thu, 17 Dec 2009 21:45:50 +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/17/t1261082748oajv8q8tutsu22i.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 «
9,9 9,8 9,3 8,3 8 8,5 10,4 11,1 10,9 10 9,2 9,2 9,5 9,6 9,5 9,1 8,9 9 10,1 10,3 10,2 9,6 9,2 9,3 9,4 9,4 9,2 9 9 9 9,8 10 9,8 9,3 9 9 9,1 9,1 9,1 9,2 8,8 8,3 8,4 8,1 7,7 7,9 7,9 8 7,9 7,6 7,1 6,8 6,5 6,9 8,2 8,7 8,3 7,9 7,5 7,8
 
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.4433643.40550.000597
2-0.223004-1.71290.045988
3-0.599626-4.60581.1e-05
4-0.430321-3.30540.000809
50.0225620.17330.431502
60.2827632.17190.016946
70.207291.59220.05834
8-0.048624-0.37350.355062
9-0.209191-1.60680.056716
10-0.136192-1.04610.149889
110.0984820.75650.226194
120.352172.70510.004456
130.0777510.59720.276324
14-0.147723-1.13470.13055
15-0.24581-1.88810.031966
16-0.10749-0.82560.206166
170.1059780.8140.209449
180.1518051.1660.124146
190.0546650.41990.338046
20-0.136982-1.05220.148504
21-0.197999-1.52090.066819
22-0.076941-0.5910.27839
230.1343841.03220.15309
240.3028492.32620.011731
250.1022750.78560.217626
26-0.118013-0.90650.184187
27-0.187613-1.44110.077424
28-0.112459-0.86380.195594
290.0546090.41950.338203
300.1050290.80670.211527
310.0744050.57150.284909
32-0.05861-0.45020.327111
33-0.098173-0.75410.226901
34-0.06698-0.51450.304418
350.0300310.23070.409185
360.1272430.97740.166188


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.4433643.40550.000597
2-0.522232-4.01138.6e-05
3-0.372371-2.86020.002923
4-0.074623-0.57320.284347
50.001630.01250.495026
6-0.142916-1.09780.138385
7-0.14525-1.11570.134541
8-0.125566-0.96450.169369
9-0.11512-0.88430.190073
10-0.076986-0.59130.278275
110.0301030.23120.40897
120.2575391.97820.026291
13-0.406742-3.12420.001382
140.1868981.43560.0782
150.0572990.44010.330728
16-0.059359-0.45590.325051
17-0.042644-0.32760.372204
180.0116080.08920.464627
190.0030040.02310.490835
20-0.248163-1.90620.030751
21-0.057646-0.44280.329769
220.0173570.13330.447196
23-0.067804-0.52080.302222
24-0.067407-0.51780.30328
250.0427320.32820.37195
26-0.083851-0.64410.261012
270.0838920.64440.260911
28-0.109413-0.84040.202035
290.0564870.43390.332976
30-0.014312-0.10990.456419
31-0.028413-0.21820.413996
32-0.02627-0.20180.42039
330.0068260.05240.47918
34-0.086527-0.66460.25444
35-0.078176-0.60050.275244
36-0.054282-0.4170.339114
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/17/t1261082748oajv8q8tutsu22i/1kymz1261082431.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/17/t1261082748oajv8q8tutsu22i/1kymz1261082431.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/17/t1261082748oajv8q8tutsu22i/2t9o21261082431.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/17/t1261082748oajv8q8tutsu22i/2t9o21261082431.ps (open in new window)


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