Home » date » 2009 » Nov » 26 »

ACF met: d=1, D=1, lambda=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, 26 Nov 2009 03:10:06 -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/26/t1259230249ij5hzxsdj84otcs.htm/, Retrieved Thu, 26 Nov 2009 11:10:51 +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/26/t1259230249ij5hzxsdj84otcs.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 «
1919 1911 1870 2263 1802 1863 1989 2197 2409 2502 2593 2598 2053 2213 2238 2359 2151 2474 3079 2312 2565 1972 2484 2202 2151 1976 2012 2114 1772 1957 2070 1990 2182 2008 1916 2397 2114 1778 1641 2186 1773 1785 2217 2153 1895 2475 1793 2308 2051 1898 2142 1874 1560 1808 1575 1525 1997 1753 1623 2251 1890
 
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
1-0.531404-3.68170.000293
20.1215710.84230.201907
3-0.06376-0.44170.33033
40.0945360.6550.257809
5-0.187874-1.30160.099628
60.0952750.66010.256177
7-0.018754-0.12990.448581
80.0468740.32480.37339
9-0.023328-0.16160.436142
10-0.014478-0.10030.460261
110.1961621.35910.090241
12-0.367193-2.5440.007117
130.1523881.05580.148177
14-0.002995-0.02080.491765
150.0293990.20370.419731
16-0.15667-1.08540.141574
170.1952311.35260.09126
18-0.062142-0.43050.334367
190.0415770.28810.387273
20-0.155282-1.07580.143692
210.1550471.07420.144053
22-0.14971-1.03720.152415
230.1391590.96410.169909
24-0.139277-0.96490.169706
250.1800061.24710.109203
26-0.129564-0.89760.186927
270.0989770.68570.248091
28-0.021283-0.14750.441696
29-0.021456-0.14870.441226
30-0.039309-0.27230.393264
31-0.023557-0.16320.435521
320.1493061.03440.153062
33-0.087823-0.60850.272878
340.0449440.31140.378429
35-0.047835-0.33140.370888
360.0877340.60780.273079


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.531404-3.68170.000293
2-0.224104-1.55260.06354
3-0.152249-1.05480.148396
40.0139140.09640.461802
5-0.178663-1.23780.110903
6-0.146628-1.01590.157392
7-0.0819-0.56740.286536
80.004610.03190.487328
90.0335380.23240.408623
10-0.047927-0.3320.370651
110.2552971.76870.041645
12-0.194574-1.3480.091985
13-0.211097-1.46250.075058
14-0.081524-0.56480.287416
15-0.011138-0.07720.469407
16-0.148739-1.03050.153971
17-0.111158-0.77010.2225
18-0.019046-0.1320.447787
190.0371420.25730.399014
20-0.163328-1.13160.131718
21-0.071635-0.49630.310974
22-0.172085-1.19220.119514
230.1295280.89740.186993
24-0.188628-1.30690.098744
25-0.081524-0.56480.287414
26-0.05371-0.37210.355723
270.0530660.36760.357376
28-0.028848-0.19990.421214
29-0.094133-0.65220.2587
30-0.023634-0.16370.435311
31-0.108756-0.75350.22742
32-0.019737-0.13670.445903
330.068510.47460.318595
34-0.030412-0.21070.417008
350.0590210.40890.342213
36-0.103034-0.71380.239392
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/26/t1259230249ij5hzxsdj84otcs/18arj1259230205.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/26/t1259230249ij5hzxsdj84otcs/18arj1259230205.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/26/t1259230249ij5hzxsdj84otcs/2lvzu1259230205.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/26/t1259230249ij5hzxsdj84otcs/2lvzu1259230205.ps (open in new window)


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