Home » date » 2007 » Dec » 20 » attachments

(P)ACF Energie

R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Thu, 20 Dec 2007 07:52:34 -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/Dec/20/t11981613437fskd42lm2cckk6.htm/, Retrieved Thu, 20 Dec 2007 15:35:49 +0100
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
106.8 114.3 105.7 90.1 91.6 97.7 100.8 104.6 95.9 102.7 104 107.9 113.8 113.8 123.1 125.1 137.6 134 140.3 152.1 150.6 167.3 153.2 142 154.4 158.5 180.9 181.3 172.4 192 199.3 215.4 214.3 201.5 190.5 196 215.7 209.4 214.1 237.8 239 237.8 251.5 248.8 215.4 201.2 203.1 214.2
 
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 time2 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
016.92820
10.9488976.57420
20.900036.23560
30.8569815.93730
40.8002235.54411e-06
50.7327745.07683e-06
60.6586634.56331.8e-05
70.5944294.11837.5e-05
80.5290683.66550.000308
90.4644693.21790.001158
100.417582.89310.00286
110.3557842.46490.008666
120.2825711.95770.028046
130.2136261.480.072698
140.1502851.04120.151498
150.0914260.63340.264734
160.0242490.1680.433642
17-0.035943-0.2490.597797
18-0.093907-0.65060.740799
19-0.141875-0.98290.834716
20-0.17064-1.18220.878531
21-0.21001-1.4550.92391
22-0.246375-1.70690.952852
23-0.284214-1.96910.972635
24-0.323315-2.240.985121
25-0.350022-2.4250.99044
26-0.380995-2.63960.994419
27-0.407255-2.82150.996534
28-0.424572-2.94150.997493
29-0.442806-3.06780.998231
30-0.445025-3.08320.998305
31-0.442882-3.06840.998233
32-0.436685-3.02540.998009
33-0.424112-2.93830.997471
34-0.413824-2.86710.996932
35-0.403845-2.79790.996309


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
00.9488976.57420
1-0.003778-0.02620.510387
20.033170.22980.40961
3-0.158655-1.09920.861417
4-0.143818-0.99640.837974
5-0.132189-0.91580.817834
60.0560730.38850.349687
7-0.025774-0.17860.570485
80.0113220.07840.468901
90.1376880.95390.17245
10-0.19436-1.34660.907778
11-0.190785-1.32180.90375
12-0.093207-0.64580.739243
13-0.012767-0.08840.535056
140.0564930.39140.348618
15-0.034271-0.23740.593337
160.0047890.03320.486835
17-0.099803-0.69150.753696
180.0487420.33770.368532
190.1035880.71770.238217
20-0.147958-1.02510.844769
21-0.012677-0.08780.53481
22-0.123784-0.85760.802312
23-0.113418-0.78580.782073
240.0447560.31010.378922
25-0.008488-0.05880.523325
260.028130.19490.423151
270.0792230.54890.292817
28-0.06678-0.46270.677152
29-0.035717-0.24750.597194
30-0.016578-0.11490.545481
310.0077920.0540.478586
320.0516750.3580.360952
33-0.004697-0.03250.512913
34-0.122743-0.85040.800335
35-0.031184-0.21610.585069
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/20/t11981613437fskd42lm2cckk6/1ts3c1198162352.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/20/t11981613437fskd42lm2cckk6/1ts3c1198162352.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/20/t11981613437fskd42lm2cckk6/2p19w1198162352.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/20/t11981613437fskd42lm2cckk6/2p19w1198162352.ps (open in new window)


 
Parameters (Session):
par1 = 12 ;
 
Parameters (R input):
par1 = 36 ; par2 = 1 ; 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