Home » date » 2010 » Dec » 24 »

Autocorrelatie 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: Fri, 24 Dec 2010 12:01:32 +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/24/t12931919490yaiikeaov1m6kv.htm/, Retrieved Fri, 24 Dec 2010 12:59: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/24/t12931919490yaiikeaov1m6kv.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 «
5.715 4.575 4.621 4.413 4.280 4.024 4.336 4.144 3.764 4.248 4.215 4.871 4.946 4.490 4.851 4.591 4.279 4.191 4.285 4.516 4.197 4.404 4.373 5.307 5.320 4.356 4.484 4.210 4.018 3.912 3.972 3.886 3.892 4.242 4.134 4.743 5.116 4.823 5.489 4.263 4.221 4.076 3.715 3.715 3.784 4.141 3.968 4.767 5.019 4.343 4.853 4.154 4.035 3.996 4.734 3.778 3.887 3.953 3.987 4.436 4.803 4.672 4.560 4.289 3.961 3.943 3.932 3.816 3.834 4.130 4.467 4.447
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'George Udny Yule' @ 72.249.76.132
R Framework
error message
Warning: there are blank lines in the 'Data' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.339522.62990.005417
20.1128190.87390.192831
30.0070420.05450.478341
4-0.049351-0.38230.351805
5-0.169416-1.31230.09721
6-0.110581-0.85660.197548
7-0.06255-0.48450.314893
8-0.220398-1.70720.046478
9-0.066629-0.51610.303838
10-0.193676-1.50020.069402
11-0.378877-2.93480.002362
12-0.493982-3.82640.000156
13-0.059081-0.45760.324433
140.1402591.08640.140815
150.168011.30140.099049
160.3592612.78280.003597
170.2645972.04960.022393
180.1699591.31650.096507
190.0363910.28190.389503
20-1.5e-05-1e-040.499955
21-0.017622-0.13650.445943
22-0.004051-0.03140.487537
230.1085990.84120.201786
240.0609540.47220.319266
25-0.12784-0.99020.163015
26-0.225774-1.74880.042717
27-0.134262-1.040.151258
28-0.233969-1.81230.037471
29-0.121165-0.93850.175864
300.0414290.32090.374699
310.1475421.14290.128819
320.1298481.00580.159276
330.0739120.57250.284556
340.0603340.46730.320973
350.017610.13640.445979
36-0.034166-0.26460.396095
370.0744150.57640.283246
380.0378420.29310.385219
390.0085510.06620.473706
400.0384350.29770.383475
41-0.002907-0.02250.491054
42-0.176805-1.36950.08797
43-0.106705-0.82650.205889
44-0.04746-0.36760.357224
45-0.025794-0.19980.421157
46-0.001517-0.01180.495331
470.0402980.31210.378005
480.0382880.29660.383907


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.339522.62990.005417
2-0.002775-0.02150.491461
3-0.034391-0.26640.395425
4-0.046487-0.36010.360023
5-0.152972-1.18490.120361
6-0.003038-0.02350.490652
7-0.008746-0.06770.473107
8-0.229604-1.77850.040194
90.0787530.610.272077
10-0.242263-1.87660.032722
11-0.354134-2.74310.004006
12-0.416165-3.22360.001024
130.1019040.78930.21651
140.1331951.03170.153171
15-0.010155-0.07870.468782
160.183331.42010.080381
17-0.002099-0.01630.493542
18-0.017259-0.13370.447049
19-0.141917-1.09930.138018
20-0.219304-1.69870.047276
210.1124640.87110.193574
22-0.153986-1.19280.118827
23-0.126841-0.98250.164898
240.0132660.10280.459248
25-0.066872-0.5180.303186
260.0245580.19020.424888
270.1336381.03520.152375
280.0290270.22480.411432
290.0707360.54790.292891
30-0.066242-0.51310.304879
31-0.024729-0.19150.424372
32-0.128896-0.99840.161042
33-0.131279-1.01690.156646
34-0.068935-0.5340.297667
350.1144360.88640.189467
36-0.079447-0.61540.270311
370.0116010.08990.464348
38-0.006335-0.04910.480512
390.0598270.46340.322371
40-0.045063-0.34910.364135
410.0456430.35350.362458
42-0.106155-0.82230.207089
430.0831480.64410.260996
44-0.111007-0.85990.196645
45-0.112721-0.87310.193037
46-0.024719-0.19150.424401
47-0.003827-0.02960.488223
48-0.154221-1.19460.118474
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/24/t12931919490yaiikeaov1m6kv/1pxvz1293192088.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/24/t12931919490yaiikeaov1m6kv/1pxvz1293192088.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/24/t12931919490yaiikeaov1m6kv/2ioc21293192088.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/24/t12931919490yaiikeaov1m6kv/2ioc21293192088.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/24/t12931919490yaiikeaov1m6kv/3ioc21293192088.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/24/t12931919490yaiikeaov1m6kv/3ioc21293192088.ps (open in new window)


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