Home » date » 2010 » Dec » 23 »

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: Thu, 23 Dec 2010 08:12:56 +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/23/t1293091959tl2jwdyj7yfmmky.htm/, Retrieved Thu, 23 Dec 2010 09:12:42 +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/23/t1293091959tl2jwdyj7yfmmky.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 «
206010 198112 194519 185705 180173 176142 203401 221902 197378 185001 176356 180449 180144 173666 165688 161570 156145 153730 182698 200765 176512 166618 158644 159585 163095 159044 155511 153745 150569 150605 179612 194690 189917 184128 175335 179566 181140 177876 175041 169292 166070 166972 206348 215706 202108 195411 193111 195198 198770 194163 190420 189733 186029 191531 232571 243477 227247 217859 208679 213188 216234 213586 209465 204045 200237 203666 241476 260307 243324 244460 233575 237217 235243 230354 227184 221678 217142 219452 256446 265845 248624 241114 229245 231805 219277 219313 212610 214771 211142 211457 240048 240636 230580 208795 197922 194596 194581 185686 178106 172608 167302 168053 202300 202388 182516 173476 166444 171297 169701 164182 161914 159612 151001 158114 186530 187069 174330 169362 166827 178037 186413 189226 191563 188906 186005 195309 223532 226899 etc...
 
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
10.2372472.82710.002688
2-0.315694-3.76190.000123
3-0.304912-3.63340.000195
4-0.143527-1.71030.044695
50.0892361.06340.144711
60.1111461.32450.09374
70.1002691.19480.11707
8-0.137018-1.63280.052368
9-0.263627-3.14150.001023
10-0.306579-3.65330.000182
110.2494382.97240.001736
120.828659.87450
130.193692.30810.01122
14-0.299292-3.56650.000247
15-0.291718-3.47620.000337
16-0.152554-1.81790.035595
170.0587020.69950.242687
180.093141.10990.13446
190.0627170.74740.228043
20-0.144973-1.72760.043121
21-0.251719-2.99960.001597
22-0.294114-3.50480.000306
230.2391942.85030.002509
240.7255428.64580
250.1403131.6720.048361
26-0.295374-3.51980.00029
27-0.270472-3.2230.000787
28-0.145948-1.73920.042086
290.0471710.56210.287463
300.0570770.68010.248759
310.0437040.52080.301661
32-0.14323-1.70680.045024
33-0.236128-2.81380.002796
34-0.260946-3.10950.001132
350.2623873.12670.001072
360.6751688.04560
370.0878021.04630.148604
38-0.282274-3.36370.000494
39-0.238528-2.84240.002569
40-0.129986-1.5490.061808
410.0547810.65280.257472
420.0632530.75370.226126
430.0406610.48450.314376
44-0.123939-1.47690.070957
45-0.216974-2.58550.005365
46-0.211656-2.52220.006383
470.2365882.81930.002751
480.6011887.1640


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.2372472.82710.002688
2-0.394166-4.6973e-06
3-0.13421-1.59930.055989
4-0.17552-2.09160.019129
50.0198180.23620.406827
6-0.073713-0.87840.190606
70.0832090.99160.161551
8-0.222905-2.65620.004403
9-0.145901-1.73860.042136
10-0.421836-5.02681e-06
110.3635884.33261.4e-05
120.6606957.87310
13-0.05958-0.710.239442
140.022470.26780.394637
150.1157711.37960.084943
16-0.108607-1.29420.098847
17-0.011007-0.13120.447915
18-0.116727-1.3910.083206
19-0.117374-1.39870.082045
20-0.1382-1.64680.0509
21-0.067758-0.80740.210386
22-0.148344-1.76770.039627
23-0.038116-0.45420.325187
240.0408630.48690.313528
25-0.087897-1.04740.148343
26-0.064297-0.76620.22242
270.0733530.87410.191768
28-0.05501-0.65550.256597
290.0398370.47470.317859
30-0.134886-1.60740.055099
310.0442720.52760.299312
32-0.109304-1.30250.097426
33-0.012851-0.15310.439252
34-0.060084-0.7160.237588
350.0935061.11430.133525
360.0358770.42750.334822
37-0.02274-0.2710.393399
38-0.02722-0.32440.373072
390.1020731.21630.112936
40-0.125054-1.49020.069196
410.1102831.31420.095452
42-0.06729-0.80190.211988
430.0599050.71390.238244
44-0.057047-0.67980.248871
450.0429140.51140.304939
46-0.046202-0.55060.291398
47-0.153257-1.82630.034955
48-0.121954-1.45330.07418
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/23/t1293091959tl2jwdyj7yfmmky/19ps61293091973.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/23/t1293091959tl2jwdyj7yfmmky/19ps61293091973.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/23/t1293091959tl2jwdyj7yfmmky/29ps61293091973.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/23/t1293091959tl2jwdyj7yfmmky/29ps61293091973.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/23/t1293091959tl2jwdyj7yfmmky/31ga91293091973.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/23/t1293091959tl2jwdyj7yfmmky/31ga91293091973.ps (open in new window)


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