Home » date » 2010 » Nov » 16 »

index van huishoudconsumptie van brandstof en elektriciteit

*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, 16 Nov 2010 18:45:09 +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/Nov/16/t1289933066f52i6q9z4k4gpfw.htm/, Retrieved Tue, 16 Nov 2010 19:44:26 +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/Nov/16/t1289933066f52i6q9z4k4gpfw.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:
KDGP2W12
 
Dataseries X:
» Textbox « » Textfile « » CSV «
132.1 125 127.1 101.5 85.7 79.3 70.9 77.1 83.9 96.2 111.7 127.2 143.6 134.9 135.6 105.3 86.4 74.6 67.6 73.4 78.5 98.2 118.6 136.9 137.9 115.6 119.3 98.5 84.3 73.5 60.7 69.5 77.9 113.9 126.3 135.1 130.5 113.1 110 90.8 85.4 72.5 64.7 67.2 77.9 105.2 107.2 120.7 121.3 107.9 105.6 81.3 71.7 64.8 57.3 61.9 70.1 88.8 106.8 110.7 114.1 108 111.5 86.8 78.4 68 57.3 65.3 73.3 88.6 101.3 122.9 126.6 114.1 124.7
 
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'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.477574.10825.1e-05
20.3715023.19580.001025
3-0.005085-0.04370.482615
4-0.395127-3.3990.000546
5-0.453484-3.9010.000105
6-0.728124-6.26360
7-0.443553-3.81560.00014
8-0.42215-3.63150.000258
90.0049160.04230.483191
100.3568393.06960.001498
110.4155243.57450.000311
120.7478786.43350
130.3840423.30370.000736
140.3306632.84450.002875
15-0.032127-0.27640.391518
16-0.328307-2.82420.003044
17-0.377282-3.24550.000881
18-0.60531-5.20711e-06
19-0.351231-3.02140.001727
20-0.317588-2.7320.003934
210.0613460.52770.299638
220.2981432.56470.006176
230.3130722.69320.004375
240.5602934.81984e-06
250.2704262.32630.011372
260.2502512.15270.017299
27-0.003166-0.02720.489172
28-0.271566-2.33610.011099
29-0.30562-2.6290.005204
30-0.468575-4.03086.7e-05
31-0.243019-2.09050.020002
32-0.231635-1.99260.024997
330.0298790.2570.398934
340.2005631.72530.044323
350.249222.14390.017664
360.417053.58760.000298
370.1970191.69480.047157
380.2068981.77980.039607
39-0.015465-0.1330.447262
40-0.184323-1.58560.058546
41-0.224927-1.93490.028413
42-0.318799-2.74240.003822
43-0.176004-1.5140.067137
44-0.15761-1.35580.08964
450.037230.32030.374834
460.1274481.09640.13824
470.1509881.29880.099015
480.3026722.60370.005569


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.477574.10825.1e-05
20.1858071.59840.057111
3-0.319711-2.75030.00374
4-0.531124-4.56891e-05
5-0.11882-1.02210.155026
6-0.432991-3.72470.00019
7-0.027527-0.23680.406736
8-0.361696-3.11140.001323
90.0974820.83860.202204
100.1728391.48680.070656
11-0.068277-0.58730.27938
120.2653462.28260.012664
13-0.183353-1.57730.0595
14-0.009197-0.07910.468578
15-0.070188-0.60380.273919
16-0.014601-0.12560.450194
170.0878330.75560.226152
180.0822880.70790.240625
19-0.052424-0.4510.326666
200.0338760.29140.385776
210.0769570.6620.25501
22-0.042262-0.36350.358616
23-0.16559-1.42450.079258
240.0112750.0970.461497
250.0291360.25060.401393
260.0201960.17370.431277
270.1352121.16310.124255
28-0.121393-1.04430.149881
290.011230.09660.461651
300.0247920.21330.415853
31-0.045113-0.38810.349536
32-0.025096-0.21590.414835
33-0.058536-0.50350.308038
34-0.078544-0.67570.25068
350.1677381.44290.07663
36-0.073157-0.62930.265539
37-0.056764-0.48830.31339
380.050130.43120.333775
39-0.082023-0.70560.241329
400.0384690.33090.370818
41-0.065478-0.56330.287478
420.112310.96610.168564
43-0.023018-0.1980.42179
440.0945980.81380.209196
45-0.024839-0.21370.415696
460.0062680.05390.478573
47-0.126291-1.08640.140416
480.0816170.70210.242412
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Nov/16/t1289933066f52i6q9z4k4gpfw/1jql91289933106.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/16/t1289933066f52i6q9z4k4gpfw/1jql91289933106.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/16/t1289933066f52i6q9z4k4gpfw/2jql91289933106.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/16/t1289933066f52i6q9z4k4gpfw/2jql91289933106.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 (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