Home » date » 2010 » Dec » 21 »

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: Tue, 21 Dec 2010 16:34:57 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Dec/21/t1292949142c2bvdynis0ozuw3.htm/, Retrieved Tue, 21 Dec 2010 17:32:25 +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/2010/Dec/21/t1292949142c2bvdynis0ozuw3.htm/},
    year = {2010},
}
@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 = {2010},
    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 «
143827 145191 146832 148577 149873 151847 153252 154292 155657 156523 156416 156693 160312 160438 160882 161668 164391 168556 169738 170387 171294 172202 172651 172770 178366 180014 181067 182586 184957 186417 188599 189490 190264 191221 191110 190674 195438 196393 197172 198760 200945 203845 204613 205487 206100 206315 206291 207801 211653 211325 211893 212056 214696 217455 218884 219816 219984 219062 218550 218179 222218 222196 223393 223292 226236 228831 228745 229140 229270 229359 230006 228810 232677 232961 234629 235660 240024 243554 244368 244356 245126 246321 246797 246735 251083 251786 252732 255051 259022 261698 263891 265247 262228 263429 264305 266371 273248 275472 278146 279506 283991 286794 288703 289285 288869 286942 285833 284095 289229 289389 290793 291454 294733 293853 294056 293982 293075 292391
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'George Udny Yule' @ 72.249.76.132


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.97538810.59540
20.95007810.32050
30.92418610.03920
40.8981999.75690
50.8719019.47130
60.8453179.18250
70.8195848.9030
80.7936188.62090
90.7677358.33970
100.7415688.05550
110.7161757.77960
120.6895337.49020
130.6621717.1930
140.6334436.88090
150.6039756.56080
160.5743436.2390
170.5455275.92590
180.5183715.63090
190.4925525.35050
200.4666985.06961e-06
210.441324.7942e-06
220.4163154.52237e-06
230.3928864.26782e-05
240.3694144.01295.3e-05
250.346793.76710.00013
260.3245223.52520.000302
270.3011543.27140.000702
280.2783293.02340.001533
290.2563622.78480.003121
300.2352572.55550.005936
310.2157662.34380.01038
320.196742.13710.017325
330.1777731.93110.027934
340.158941.72650.043435
350.1408411.52990.064356
360.121981.3250.093859
370.1037671.12720.130973
380.08580.9320.176614
390.0678720.73730.23121
400.0502080.54540.293255
410.0330060.35850.360293
420.0174650.18970.424927
430.0031990.03480.486168
44-0.010929-0.11870.452851
45-0.024782-0.26920.394122
46-0.038832-0.42180.336959
47-0.05219-0.56690.285921
48-0.065901-0.71590.237744
49-0.07908-0.8590.196033
50-0.092766-1.00770.157831
51-0.106642-1.15840.124514
52-0.120618-1.31020.096329
53-0.13423-1.45810.073733
54-0.146492-1.59130.057108
55-0.157685-1.71290.044679
56-0.169005-1.83590.034447
57-0.180297-1.95850.026264
58-0.192329-2.08920.019418
59-0.203747-2.21330.014401
60-0.215876-2.3450.010348


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.97538810.59540
2-0.026787-0.2910.385787
3-0.02479-0.26930.394088
4-0.01507-0.16370.435125
5-0.019929-0.21650.414492
6-0.019729-0.21430.415338
70.0034310.03730.485168
8-0.019273-0.20940.417263
9-0.012965-0.14080.44412
10-0.020424-0.22190.412405
119e-040.00980.496109
12-0.041005-0.44540.328414
13-0.029963-0.32550.372697
14-0.043955-0.47750.316956
15-0.031907-0.34660.364754
16-0.021002-0.22810.409965
17-0.000467-0.00510.497981
180.0148010.16080.436272
190.0090590.09840.460889
20-0.020346-0.2210.412731
21-0.008319-0.09040.464076
22-0.011588-0.12590.450019
230.0149340.16220.435705
24-0.018166-0.19730.421953
250.0014640.01590.493669
26-0.009307-0.10110.459823
27-0.038856-0.42210.336867
28-0.005906-0.06420.474476
290.0001130.00120.49951
30-0.00423-0.0460.481713
310.0135380.14710.441668
32-0.011099-0.12060.452119
33-0.017678-0.1920.424024
34-0.015947-0.17320.431382
35-0.001183-0.01290.494884
36-0.034088-0.37030.355916
37-0.005147-0.05590.477754
38-0.012101-0.13140.447822
39-0.016126-0.17520.430623
40-0.010527-0.11440.454577
41-0.006188-0.06720.47326
420.0136240.1480.441301
430.0076040.08260.467155
44-0.018211-0.19780.421761
45-0.011463-0.12450.450557
46-0.02115-0.22980.409342
470.0009450.01030.495914
48-0.021734-0.23610.406884
49-0.004834-0.05250.479106
50-0.027016-0.29350.384841
51-0.021273-0.23110.408823
52-0.018918-0.20550.418766
53-0.008542-0.09280.463116
540.0067150.07290.470987
550.0036850.040.484067
56-0.024026-0.2610.397277
57-0.017466-0.18970.424925
58-0.034201-0.37150.355458
590.000410.00450.498227
60-0.030576-0.33210.370186
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292949142c2bvdynis0ozuw3/1hi281292949293.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292949142c2bvdynis0ozuw3/1hi281292949293.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t1292949142c2bvdynis0ozuw3/2s9jt1292949293.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292949142c2bvdynis0ozuw3/2s9jt1292949293.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t1292949142c2bvdynis0ozuw3/3s9jt1292949293.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292949142c2bvdynis0ozuw3/3s9jt1292949293.ps (open in new window)


 
Parameters (Session):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
 
Parameters (R input):
par1 = 60 ; par2 = 1 ; par3 = 0 ; 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 (par8 != '') par8 <- as.numeric(par8)
ox <- x
if (par8 == '') {
if (par2 == 0) {
x <- log(x)
} else {
x <- (x ^ par2 - 1) / par2
}
} else {
x <- log(x,base=par8)
}
if (par3 > 0) x <- diff(x,lag=1,difference=par3)
if (par4 > 0) x <- diff(x,lag=par5,difference=par4)
bitmap(file='picts.png')
op <- par(mfrow=c(2,1))
plot(ox,type='l',main='Original Time Series',xlab='time',ylab='value')
if (par8=='') {
mytitle <- paste('Working Time Series (lambda=',par2,', d=',par3,', D=',par4,')',sep='')
mysub <- paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep='')
} else {
mytitle <- paste('Working Time Series (base=',par8,', d=',par3,', D=',par4,')',sep='')
mysub <- paste('(base=',par8,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep='')
}
plot(x,type='l', main=mytitle,xlab='time',ylab='value')
par(op)
dev.off()
bitmap(file='pic1.png')
racf <- acf(x, par1, main='Autocorrelation', xlab='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=mysub)
dev.off()
bitmap(file='pic2.png')
rpacf <- pacf(x,par1,main='Partial Autocorrelation',xlab='lags',ylab='PACF',sub=mysub)
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