Home » date » 2009 » Dec » 11 »

paper:4 ACF (d=1,D=0)

*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:01:14 -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/t1260543728lkcigtaqb7z6zc4.htm/, Retrieved Fri, 11 Dec 2009 16:02:10 +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/t1260543728lkcigtaqb7z6zc4.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 time1 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.402133-3.11490.00141
2-0.226814-1.75690.042019
30.4008863.10520.001451
4-0.34663-2.6850.004682
5-0.06968-0.53970.295687
60.4033343.12420.001373
7-0.21625-1.67510.049563
8-0.051543-0.39930.345562
90.1545431.19710.117992
10-0.188616-1.4610.074614
11-0.103204-0.79940.213602
120.3597362.78650.003561
13-0.111755-0.86570.195064
14-0.075649-0.5860.280046
150.0849130.65770.256612
16-0.151482-1.17340.122642
170.0257820.19970.421193
180.123850.95930.170619
19-0.032708-0.25340.40043
20-0.132388-1.02550.154628
210.0590080.45710.324634
22-0.009639-0.07470.470365
23-0.094769-0.73410.232881
240.144541.11960.133673
250.1076280.83370.203884
26-0.214699-1.66310.050759
270.0788220.61060.2719
280.005450.04220.483233
29-0.080968-0.62720.266463
300.0727910.56380.287484
310.1267390.98170.165091
32-0.238999-1.85130.034526
330.0329590.25530.399681
340.1075360.8330.204082
35-0.197234-1.52780.065912
360.1482381.14820.127712


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.402133-3.11490.00141
2-0.463475-3.59010.000333
30.1230960.95350.172081
4-0.266513-2.06440.021655
5-0.258007-1.99850.025099
60.0991720.76820.222696
70.1026780.79530.214776
80.0419430.32490.373197
9-0.059697-0.46240.322729
10-0.048027-0.3720.355597
11-0.241406-1.86990.033188
120.128170.99280.162397
130.1390881.07740.142813
140.1464441.13440.130579
15-0.099158-0.76810.222727
16-0.083711-0.64840.259594
170.060050.46510.321756
18-0.012827-0.09940.460593
190.0361720.28020.390149
20-0.294147-2.27850.013137
21-0.162771-1.26080.106128
22-0.059831-0.46340.32236
230.0268960.20830.417836
24-0.066727-0.51690.303576
250.0846150.65540.257349
26-0.054763-0.42420.336473
270.0169130.1310.448104
280.036510.28280.389151
290.065040.50380.308125
30-0.125809-0.97450.166858
31-0.003262-0.02530.489964
32-0.059615-0.46180.322957
33-0.058249-0.45120.326737
34-0.020199-0.15650.438097
35-0.179141-1.38760.085193
36-0.067941-0.52630.30032
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/11/t1260543728lkcigtaqb7z6zc4/1dsa81260543672.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/11/t1260543728lkcigtaqb7z6zc4/1dsa81260543672.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/11/t1260543728lkcigtaqb7z6zc4/2j30u1260543672.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/11/t1260543728lkcigtaqb7z6zc4/2j30u1260543672.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 = 0 ; 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