Home » date » 2007 » Nov » 27 » attachments

Energie_Q2_autocorrelatie

R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Tue, 27 Nov 2007 09:28:20 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2007/Nov/27/t1196180313jkr2flboctu0pwc.htm/, Retrieved Tue, 27 Nov 2007 17:18:35 +0100
 
User-defined keywords:
groep MENS
 
Dataseries X:
» Textbox « » Textfile « » CSV «
101.8 103.4 104.9 105.1 105.6 104.5 105.5 105.1 106.9 106.6 106.6 106.5 109.7 109.5 109.2 109.1 109.0 109.0 109.0 109.0 109.0 109.0 109.0 109.0 109.0 109.0 109.0 109.0 109.0 109.0 109.0 109.0 109.0 109.0 109.0 109.2 113.3 112.3 112.3 116.3 118.3 119.4 119.4 119.4 120.1 121.7 123.7 123.7 128.5 127.1 122.6 119.8 122.7 123.4 123.8 121.8 121.2 121.2 121.2 121.2 129.6 131.0 131.0 129.8 129.8 134.9 131.2 127.1 130.5 130.5 131.7 131.7 131.7
 
Text written by user:
 
Output produced by software:


Summary of compuational 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
018.5440
10.9428458.05570
20.8875997.58360
30.8446147.21640
40.805936.88590
50.7640846.52830
60.7226946.17470
70.6758645.77460
80.6217795.31251e-06
90.5736434.90123e-06
100.5259934.49411.3e-05
110.483164.12814.8e-05
120.4451453.80330.000147
130.4075143.48180.000422
140.3856173.29470.000761
150.3667643.13360.001243
160.3528133.01440.00177
170.3321912.83820.002935
180.3042.59740.005678
190.2743542.34410.010899
200.2483312.12170.018627
210.2198161.87810.03218
220.1947011.66350.050247
230.1616711.38130.085697
240.1189151.0160.15649
250.0646240.55210.291268
260.0205070.17520.4307
27-0.025082-0.21430.584546
28-0.063706-0.54430.706055
29-0.098138-0.83850.797753
30-0.137055-1.1710.877297
31-0.175145-1.49640.930575
32-0.210748-1.80060.962054
33-0.246612-2.10710.980725
34-0.279068-2.38440.990146
35-0.303852-2.59610.994303
36-0.329128-2.81210.996841
37-0.350263-2.99260.998114
38-0.364414-3.11360.99868
39-0.377853-3.22840.999067
40-0.381378-3.25850.999149
41-0.383701-3.27830.9992
42-0.383258-3.27460.99919
43-0.383171-3.27380.999188
44-0.381005-3.25530.999141
45-0.378613-3.23490.999085
46-0.37335-3.18990.998951
47-0.365003-3.11860.9987


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
00.9428458.05570
1-0.012219-0.10440.541431
20.081430.69570.244402
30.0187480.16020.43659
4-0.037726-0.32230.625939
5-0.011937-0.1020.540478
6-0.076096-0.65020.741186
7-0.09583-0.81880.792208
80.00950.08120.467764
9-0.042881-0.36640.642427
100.019530.16690.43397
110.0226130.19320.423668
12-0.012848-0.10980.543556
130.1396251.1930.118375
140.0189670.16210.435855
150.0562030.48020.316261
16-0.056354-0.48150.684196
17-0.098846-0.84450.799436
18-0.053096-0.45360.674286
19-0.032855-0.28070.610137
20-0.079154-0.67630.749504
210.0180820.15450.438824
22-0.102852-0.87880.808796
23-0.084415-0.72120.763468
24-0.135991-1.16190.875471
250.0269910.23060.40913
26-0.048617-0.41540.66046
270.0433710.37060.356017
280.0249560.21320.415872
29-0.055729-0.47610.682303
30-0.025222-0.21550.585008
31-0.041075-0.35090.63668
32-0.076309-0.6520.74177
33-0.025155-0.21490.584789
340.0021370.01830.49274
35-0.068554-0.58570.720066
360.0017680.01510.493994
37-0.018835-0.16090.563702
380.0051530.0440.482503
390.0890630.7610.224568
400.0450120.38460.350833
410.0533810.45610.324841
42-0.001047-0.00890.503555
43-0.015764-0.13470.553385
44-0.020761-0.17740.570149
45-0.018677-0.15960.563171
460.0325610.27820.390822
470.0155250.13260.447421
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Nov/27/t1196180313jkr2flboctu0pwc/1pzwm1196180898.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Nov/27/t1196180313jkr2flboctu0pwc/1pzwm1196180898.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Nov/27/t1196180313jkr2flboctu0pwc/2j9i51196180898.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Nov/27/t1196180313jkr2flboctu0pwc/2j9i51196180898.ps (open in new window)


 
Parameters:
par1 = 48 ; par2 = 1.0 ; par3 = 0 ; par4 = 0 ; par5 = 12 ;
 
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 (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='lags',ylab='ACF')
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 1:par1) {
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(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-1,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(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:

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