Home » date » 2009 » Dec » 08 »

Autocorrelatie Adviesprijzen motorbrandstoffen

*Unverified author*
R Software Module: /rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Tue, 08 Dec 2009 10:22:26 -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/08/t1260293044nlz2q98yq33ds4y.htm/, Retrieved Tue, 08 Dec 2009 18:24:06 +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/08/t1260293044nlz2q98yq33ds4y.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:
KDGP2W22
 
Dataseries X:
» Textbox « » Textfile « » CSV «
100,34 115,78 114,6 114,2 115,88 125,22 161,71 165,01 135,78 153,67 125,52 135,29 103,05 120,79 120,17 119,62 121,17 129,86 167,8 167,14 140,55 158,44 131,07 140,55 106,15 123,65 122,8 122,25 123,88 132,96 171,82 173,69 149,5 164,44 133,37 143,77 69,49 84,5 82,3 78,8 79,47 88,93 138,13 139,69 114,43 128,65 95,92 98,22 56,65 69,6 66,91 63,76 64 35,24 45,3 43,02 43,08 43,17 46,38 70,85 72,81 59,51 67,54 56,51 53,82 112,55 127,65 126,51 126,08 127,34
 
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
10.8374067.00620
20.7492176.26840
30.6073725.08161e-06
40.5005324.18784e-05
50.3918083.27810.000815
60.2824582.36320.01045
70.3074612.57240.006111
80.3178122.6590.004853
90.3149582.63510.005174
100.3430612.87030.00271
110.3213532.68860.00448
120.3873093.24050.000914
130.2766682.31480.011782
140.2334261.9530.02741
150.1409051.17890.121216
160.0796860.66670.253577
17-0.000287-0.00240.499044
18-0.110734-0.92650.178694
19-0.116431-0.97410.166674
20-0.107401-0.89860.185978
21-0.102678-0.85910.196617
22-0.06211-0.51960.302474
23-0.044538-0.37260.355274
240.0214360.17930.429091
25-0.057163-0.47830.316979
26-0.099839-0.83530.203192
27-0.178521-1.49360.069885
28-0.237572-1.98770.025381
29-0.307811-2.57530.006065
30-0.365244-3.05580.001588
31-0.348659-2.91710.002373
32-0.319162-2.67030.004708
33-0.29071-2.43230.008783
34-0.237353-1.98580.025484
35-0.20483-1.71370.045502
36-0.146197-1.22320.112683
37-0.169667-1.41950.080091
38-0.174646-1.46120.074218
39-0.19652-1.64420.052309
40-0.210248-1.75910.041468
41-0.222444-1.86110.033465
42-0.244243-2.04350.022385
43-0.23962-2.00480.024426
44-0.225884-1.88990.031457
45-0.21756-1.82020.036499
46-0.192695-1.61220.055709
47-0.170429-1.42590.079169
48-0.144483-1.20880.115397


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.8374067.00620
20.1605621.34340.091747
3-0.184663-1.5450.063428
4-0.026117-0.21850.413833
5-0.026873-0.22480.411382
6-0.093443-0.78180.218485
70.3919263.27910.000812
80.1332951.11520.134284
9-0.19661-1.6450.052231
100.1376991.15210.126606
11-0.120473-1.00790.158476
120.2383331.9940.025022
13-0.325321-2.72180.004093
14-0.028921-0.2420.404754
15-0.086423-0.72310.236023
160.0130970.10960.456531
17-0.11034-0.92320.179544
18-0.110482-0.92440.179239
190.0435770.36460.358258
200.1215431.01690.156351
21-0.015894-0.1330.447295
220.0268930.2250.411315
230.0533880.44670.328243
24-0.157538-1.31810.095891
25-0.131559-1.10070.137399
26-0.043256-0.36190.359258
27-0.022969-0.19220.42408
28-0.040938-0.34250.366497
29-0.051217-0.42850.334797
300.0796860.66670.253578
31-0.007477-0.06260.475149
32-0.021444-0.17940.429065
330.0205370.17180.432036
340.0215110.180.428845
35-0.01787-0.14950.440789
36-0.06671-0.55810.289267
370.0275820.23080.409083
38-0.011786-0.09860.460865
390.0401980.33630.368816
40-0.030419-0.25450.399928
410.1413961.1830.120405
42-0.063653-0.53260.298014
43-0.155634-1.30210.09857
44-0.052339-0.43790.331405
450.0051250.04290.482959
46-0.062364-0.52180.301736
47-0.005419-0.04530.481984
48-0.101207-0.84680.200008
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/08/t1260293044nlz2q98yq33ds4y/1ttla1260292944.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/08/t1260293044nlz2q98yq33ds4y/1ttla1260292944.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/08/t1260293044nlz2q98yq33ds4y/23t3b1260292944.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/08/t1260293044nlz2q98yq33ds4y/23t3b1260292944.ps (open in new window)


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