Home » date » 2007 » Nov » 29 » attachments

Autocorrelation Function (energieprijzen)

R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Thu, 29 Nov 2007 04:01:12 -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/29/t11963335084bd6fo07pvqztpt.htm/, Retrieved Thu, 29 Nov 2007 11:51:48 +0100
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
108,9 108,8 108,8 108,8 108,8 108,8 108,8 108,8 108,8 108,8 108,8 108,8 108,8 108,8 109,1 113,2 112,1 112,1 116,2 118,1 119,2 119,2 119,2 120,0 121,5 123,5 123,5 128,3 126,9 122,5 119,7 122,6 123,3 123,7 121,7 121,0 121,0 121,0 121,0 129,4 130,8 130,8 129,6 129,6 134,7 131,0 126,9 130,4 130,4 131,6 131,6 131,6 131,6 128,8
 
Text written by user:
Inducing Stationary in time series vraag 2
 
Output produced by software:


Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001


Autocorrelation Function
Time lag kACF(k)T-STATP-value
017.28010
10.0091790.06680.473486
2-0.26418-1.92330.970087
3-0.037692-0.27440.607578
40.0308480.22460.411587
50.1036710.75470.226874
6-0.151239-1.1010.862072
7-0.048704-0.35460.63784
80.2648961.92850.02958
9-0.130678-0.95130.827127
10-0.23774-1.73080.955344
11-0.165775-1.20690.883577
120.214341.56040.062306
130.0611750.44540.328937
14-0.219197-1.59580.941758
15-0.148426-1.08060.857607
160.1370970.99810.161388
170.1235480.89940.186243
18-0.094427-0.68740.752597
19-0.059592-0.43380.666916
200.0785110.57160.285016
210.0742650.54070.295505
22-0.017547-0.12770.550583
23-0.019422-0.14140.555953
240.1835261.33610.093615
250.0576020.41930.338329
26-0.028483-0.20740.581737
27-0.100788-0.73370.766831
28-0.093262-0.6790.749941
290.1285120.93560.176866
30-0.05341-0.38880.650521
31-0.077899-0.56710.713485
320.0393440.28640.387834
33-0.023792-0.17320.568427
34-0.01468-0.10690.542353
35-0.055473-0.40380.656026
36-0.006747-0.04910.519497
370.0046920.03420.486439
38-0.057406-0.41790.661152
390.0044520.03240.487132
400.0102030.07430.470535
410.0101210.07370.470771
420.0073510.05350.47876
430.0048180.03510.486077
440.0151470.11030.456304
450.0093470.0680.473002
46-0.000152-0.00110.500439
470.0057770.04210.483306


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
00.0091790.06680.473486
1-0.264287-1.9240.970136
2-0.034621-0.2520.599009
3-0.041396-0.30140.617843
40.0911630.66370.254886
5-0.169095-1.2310.888127
60.0068730.050.480142
70.2084821.51780.067507
8-0.179806-1.3090.901911
9-0.151119-1.10020.861884
10-0.226449-1.64860.947424
110.1546991.12620.132573
12-0.141412-1.02950.846038
13-0.102133-0.74350.769781
14-0.19963-1.45330.923986
150.0320440.23330.408219
160.0245720.17890.429353
17-0.045281-0.32970.628519
180.0158930.11570.454164
19-0.158668-1.15510.873389
200.0541070.39390.347616
21-0.008444-0.06150.524394
220.1315790.95790.171228
230.0024380.01780.492952
24-0.031823-0.23170.591158
250.1130550.82310.207082
26-0.033696-0.24530.596418
27-0.095012-0.69170.753927
28-0.032431-0.23610.592868
29-0.05639-0.41050.658461
30-0.02969-0.21610.585148
310.0177030.12890.448971
32-0.001431-0.01040.504137
33-0.043486-0.31660.623598
340.0298790.21750.414319
350.0225530.16420.435103
36-0.076738-0.55870.710627
37-0.078613-0.57230.715234
38-0.023515-0.17120.567638
390.0042410.03090.487742
40-0.089414-0.65090.741052
41-0.035774-0.26040.602234
42-0.036075-0.26260.603073
43-0.009119-0.06640.526342
44-0.021504-0.15650.561903
45-0.049074-0.35730.638842
46-0.055227-0.40210.655371
47-0.119432-0.86950.805747
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Nov/29/t11963335084bd6fo07pvqztpt/1rx1b1196334063.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Nov/29/t11963335084bd6fo07pvqztpt/1rx1b1196334063.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Nov/29/t11963335084bd6fo07pvqztpt/2cib91196334063.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Nov/29/t11963335084bd6fo07pvqztpt/2cib91196334063.ps (open in new window)


 
Parameters:
par1 = 1 ;
 
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