Home » date » 2007 » Dec » 13 » attachments

paper diesel (vrm/acf)

R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Thu, 13 Dec 2007 13:48:28 -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/13/t1197578016b0eg88j1p0vqzml.htm/, Retrieved Thu, 13 Dec 2007 21:33:38 +0100
 
User-defined keywords:
Lise Swinnen Diesel
 
Dataseries X:
» Textbox « » Textfile « » CSV «
0,76 0,77 0,76 0,77 0,78 0,79 0,78 0,76 0,78 0,76 0,74 0,73 0,72 0,71 0,73 0,75 0,75 0,72 0,72 0,72 0,74 0,78 0,74 0,74 0,75 0,78 0,81 0,75 0,7 0,71 0,71 0,73 0,74 0,74 0,75 0,74 0,74 0,73 0,76 0,8 0,83 0,81 0,83 0,88 0,89 0,93 0,91 0,9 0,86 0,88 0,93 0,98 0,97 1,03 1,06 1,06 1,08 1,09 1,04 1
 
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
017.7460
10.9412677.2910
20.8616886.67460
30.7802676.04390
40.7110975.50810
50.6491185.0282e-06
60.5778244.47581.7e-05
70.5043143.90640.00012
80.4439063.43850.000535
90.3898023.01940.001858
100.3512592.72080.004254
110.3138052.43070.009037
120.2655712.05710.022016
130.2084591.61470.05581
140.1437581.11350.134958
150.0765550.5930.277708
160.0242260.18770.425889
17-0.016381-0.12690.550271
18-0.04895-0.37920.647049
19-0.084709-0.65620.742883
20-0.132074-1.0230.844803
21-0.17255-1.33660.906795
22-0.196575-1.52270.933452
23-0.209165-1.62020.944781
24-0.214003-1.65770.948697
25-0.223936-1.73460.956027
26-0.238182-1.8450.965009
27-0.24093-1.86620.966551
28-0.239575-1.85570.965798
29-0.237337-1.83840.964523
30-0.227007-1.75840.95811
31-0.225531-1.7470.957119
32-0.225675-1.74810.957217
33-0.239486-1.85510.965748
34-0.262481-2.03320.976767
35-0.269901-2.09060.979598
36-0.274804-2.12860.9813
37-0.279013-2.16120.98266
38-0.284995-2.20760.984445
39-0.297329-2.30310.987622
40-0.29547-2.28870.987183
41-0.281388-2.17960.983389
42-0.269308-2.0860.979383
43-0.258067-1.9990.974927
44-0.247704-1.91870.970109
45-0.229239-1.77570.959572
46-0.201344-1.55960.937943
47-0.170285-1.3190.903913


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
00.9412677.2910
1-0.213095-1.65060.94798
2-0.0282-0.21840.586084
30.0667520.51710.303509
4-0.012791-0.09910.539297
5-0.142481-1.10370.862925
6-0.023711-0.18370.572553
70.0890850.690.246412
8-0.044934-0.34810.635492
90.0776410.60140.274918
10-0.03457-0.26780.605106
11-0.12461-0.96520.830847
12-0.088157-0.68290.751339
13-0.083597-0.64750.740125
14-0.086135-0.66720.7464
150.0757970.58710.279662
160.051710.40050.34509
17-0.003386-0.02620.510419
18-0.071755-0.55580.709798
19-0.133516-1.03420.847406
200.0012910.010.496027
210.0513030.39740.346246
220.0174670.13530.446413
230.0434910.33690.36869
24-0.006003-0.04650.518466
25-0.042147-0.32650.627397
260.0502750.38940.349169
27-0.055517-0.430.665645
28-0.075181-0.58230.718743
290.0995350.7710.221867
30-0.057123-0.44250.670132
31-0.019658-0.15230.560259
32-0.129619-1.0040.8403
33-0.101286-0.78460.782101
340.0673130.52140.302003
35-0.065229-0.50530.692386
36-0.020726-0.16050.563503
37-0.000815-0.00630.502509
38-0.028589-0.22140.587252
390.0471240.3650.358189
40-0.001706-0.01320.505249
41-0.08614-0.66720.74641
42-0.001207-0.00940.503715
430.0846490.65570.257266
440.0918470.71140.239783
450.0168770.13070.448213
460.0479620.37150.355783
47-0.04802-0.3720.644383
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/13/t1197578016b0eg88j1p0vqzml/136hy1197578906.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/13/t1197578016b0eg88j1p0vqzml/136hy1197578906.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/13/t1197578016b0eg88j1p0vqzml/2plrd1197578906.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/13/t1197578016b0eg88j1p0vqzml/2plrd1197578906.ps (open in new window)


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