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:40:27 +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/t1292949491kfzvu4qzugfl6up.htm/, Retrieved Tue, 21 Dec 2010 17:38:12 +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/t1292949491kfzvu4qzugfl6up.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 time2 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.1032881.11720.133093
20.0328350.35520.361551
3-0.121791-1.31740.095143
4-0.003444-0.03720.485175
5-0.103171-1.1160.133362
6-0.141673-1.53240.064058
7-0.007141-0.07720.469283
80.0105790.11440.454547
9-0.12319-1.33250.092641
10-0.01413-0.15280.439394
110.0312530.33810.367963
120.6267466.77930
130.0323390.34980.36356
14-0.023379-0.25290.400403
15-0.146307-1.58260.058111
16-0.084925-0.91860.180097
17-0.134384-1.45360.07437
18-0.238483-2.57960.005565
19-0.039327-0.42540.335669
20-0.054159-0.58580.279562
21-0.070204-0.75940.22458
22-0.006372-0.06890.472586
230.0414140.4480.327504
240.4934515.33750
25-0.048499-0.52460.30043
26-0.075893-0.82090.206683
27-0.195659-2.11640.018216
28-0.014666-0.15860.437115
29-0.125607-1.35860.088436
30-0.197285-2.1340.017467
31-0.018991-0.20540.418802
32-0.054541-0.58990.278182
33-0.118544-1.28220.101146
340.0062120.06720.473273
350.0417770.45190.326095
360.4221844.56666e-06
37-0.066058-0.71450.238164
38-0.050264-0.54370.293844
39-0.197366-2.13480.01743
400.0016110.01740.493065
41-0.086982-0.94090.174359
42-0.121869-1.31820.095003
430.0073550.07960.468363
44-0.011929-0.1290.448778
45-0.075043-0.81170.209302
460.0221670.23980.405462
470.0382560.41380.339889
480.3937784.25942.1e-05
49-0.006739-0.07290.471009
50-0.0147-0.1590.43697
51-0.129051-1.39590.082694
520.0387940.41960.337767
53-0.050276-0.54380.293802
54-0.077554-0.83890.201624
550.0064290.06950.472341
56-0.006643-0.07190.471419
570.0156030.16880.433135
580.0306180.33120.370548
590.0523040.56580.286322
600.3066443.31690.000607


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.1032881.11720.133093
20.0224060.24240.404463
3-0.12886-1.39380.083005
40.0219580.23750.406337
5-0.099333-1.07450.142415
6-0.142076-1.53680.063522
70.0320880.34710.364577
8-0.009029-0.09770.461182
9-0.168675-1.82450.035314
100.014290.15460.438712
110.0167270.18090.42837
120.6114686.6140
13-0.129778-1.40380.08152
14-0.129817-1.40420.081456
15-0.051298-0.55490.290019
16-0.11157-1.20680.114969
170.0235260.25450.399791
18-0.205791-2.2260.013966
19-0.11546-1.24890.107099
20-0.09644-1.04320.149513
210.0568840.61530.269777
220.0397910.43040.333844
23-0.007463-0.08070.4679
240.1357771.46860.072306
25-0.174574-1.88830.030731
26-0.051906-0.56150.287781
27-0.112517-1.21710.113015
280.1304481.4110.080448
29-0.064224-0.69470.244314
30-0.041803-0.45220.325993
31-0.039143-0.42340.336391
32-0.074095-0.80150.212246
33-0.09964-1.07780.141675
34-0.029285-0.31680.375992
35-0.063872-0.69090.245504
36-0.033717-0.36470.357995
37-0.033597-0.36340.358477
38-0.03557-0.38470.350562
39-0.021128-0.22850.409815
40-0.010642-0.11510.454275
41-0.000465-0.0050.497996
420.0063730.06890.472579
43-0.113396-1.22660.111224
440.0103350.11180.455589
45-0.058982-0.6380.262363
46-0.000512-0.00550.497796
47-0.082219-0.88930.187824
480.053140.57480.283265
490.0281670.30470.38058
50-0.039524-0.42750.334893
510.0376650.40740.342226
52-0.070111-0.75840.224878
530.0103590.1120.45549
540.0096790.10470.458399
55-0.094787-1.02530.153673
56-0.048629-0.5260.299941
570.1292581.39810.082357
58-0.034494-0.37310.354869
59-0.022586-0.24430.403712
60-0.054755-0.59230.277406
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292949491kfzvu4qzugfl6up/1orb51292949623.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292949491kfzvu4qzugfl6up/1orb51292949623.ps (open in new window)


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


http://www.freestatistics.org/blog/date/2010/Dec/21/t1292949491kfzvu4qzugfl6up/3hiaq1292949623.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292949491kfzvu4qzugfl6up/3hiaq1292949623.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 = 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 (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