Home » date » 2009 » Dec » 11 »

paper:8 ACF (d=1,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: Fri, 11 Dec 2009 08:39:41 -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/11/t1260546034yzriy8eokqp0gez.htm/, Retrieved Fri, 11 Dec 2009 16:40:36 +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/11/t1260546034yzriy8eokqp0gez.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 «
118.7 110.1 110.3 112.9 102.2 99.4 116.1 103.8 101.8 113.7 89.7 99.5 122.9 108.6 114.4 110.5 104.1 103.6 121.6 101.1 116.0 120.1 96.0 105.0 124.7 123.9 123.6 114.8 108.8 106.1 123.2 106.2 115.2 120.6 109.5 114.4 121.4 129.5 124.3 112.6 125.1 117.9 116.4 126.4 93.3 102.9 97.8 97.1 110.7 109.3 103.2 106.2 81.3 84.5 92.7 85.0 79.1 92.6 78.1 76.9 92.5
 
Output produced by software:


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


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.522543-3.62030.000354
2-0.077373-0.53610.297198
30.4178312.89480.002847
4-0.447255-3.09870.001623
50.1121190.77680.22055
60.1675841.16110.125681
7-0.294356-2.03940.02347
80.3309622.2930.013136
9-0.138835-0.96190.170467
10-0.043515-0.30150.382174
110.1722111.19310.119345
12-0.299081-2.07210.021826
130.0883370.6120.271707
140.100970.69950.243795
15-0.131818-0.91330.182834
160.0683870.47380.318895
170.0958050.66380.255011
18-0.086115-0.59660.276783
19-0.069418-0.48090.316372
200.1157310.80180.213308
21-0.084837-0.58780.279722
22-0.03875-0.26850.394745
230.2128251.47450.073438
24-0.208725-1.44610.077326
250.0500460.34670.365155
260.088990.61650.270225
27-0.123334-0.85450.198541
280.0118990.08240.46732
290.060110.41650.339466
30-0.119137-0.82540.206613
310.1526321.05750.147796
32-0.097371-0.67460.251581
330.0141990.09840.461024
340.0442080.30630.380356
35-0.083169-0.57620.283582
360.0512870.35530.361949


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.522543-3.62030.000354
2-0.482047-3.33970.000814
30.1899921.31630.097161
4-0.16467-1.14090.129793
5-0.184144-1.27580.104085
6-0.088362-0.61220.271651
7-0.123388-0.85490.198438
80.2048291.41910.081166
90.0235460.16310.43555
100.1071560.74240.230733
110.0443070.3070.380099
12-0.179285-1.24210.110113
13-0.237292-1.6440.053355
14-0.161785-1.12090.133958
150.078930.54680.29351
16-0.134561-0.93230.177932
170.0162850.11280.455321
180.0831130.57580.283711
19-0.122751-0.85040.199651
200.0430740.29840.383333
210.0194780.13490.446609
220.0374830.25970.398106
230.1634371.13230.131562
24-0.112163-0.77710.220461
25-0.181758-1.25930.107013
26-0.204323-1.41560.081676
270.1114990.77250.221807
28-0.122468-0.84850.200189
29-0.038728-0.26830.394803
30-0.105989-0.73430.233166
31-0.073563-0.50970.306312
32-0.027897-0.19330.42378
330.0269850.1870.42624
340.0328110.22730.410569
350.0252080.17460.431046
36-0.007293-0.05050.479956
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/11/t1260546034yzriy8eokqp0gez/1goqv1260545979.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/11/t1260546034yzriy8eokqp0gez/1goqv1260545979.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/11/t1260546034yzriy8eokqp0gez/24vxq1260545979.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/11/t1260546034yzriy8eokqp0gez/24vxq1260545979.ps (open in new window)


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