Home » date » 2007 » Dec » 13 » attachments

paper - diesel (vrm/acf 2)

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:51:58 -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/t11975782337ptfcgdm2ndlp3b.htm/, Retrieved Thu, 13 Dec 2007 21:37:15 +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.68110
10.1864761.43240.07866
2-0.165099-1.26810.895137
3-0.174013-1.33660.906761
4-0.0626-0.48080.683797
50.134751.0350.152439
60.0916670.70410.242068
7-0.053649-0.41210.659115
8-0.125515-0.96410.830534
9-0.111763-0.85850.802945
100.1283270.98570.164152
110.2171741.66810.050293
12-0.057395-0.44090.669536
130.0406360.31210.378022
14-0.029415-0.22590.588986
15-0.069989-0.53760.703561
16-0.161605-1.24130.890299
170.0201190.15450.438857
180.1214950.93320.177255
190.0750560.57650.283229
200.0415110.31890.375483
21-0.0177-0.1360.55384
22-0.090477-0.6950.755099
23-0.18014-1.38370.914166
240.0863420.66320.254892
250.0529610.40680.342813
26-0.091703-0.70440.758018
27-0.153477-1.17890.878411
28-0.050895-0.39090.651373
29-0.015696-0.12060.547777
300.1273330.97810.166018
310.1020530.78390.218123
32-0.045427-0.34890.635808
33-0.15823-1.21540.88547
34-0.10629-0.81640.791229
350.0778210.59780.276146
360.0265030.20360.419693
37-0.001299-0.010.503963
38-0.068592-0.52690.699868
390.0202470.15550.438471
40-0.052094-0.40010.654751
410.0009510.00730.497097
420.0347010.26650.395375
43-0.083062-0.6380.737034
44-0.117207-0.90030.814185
450.0006650.00510.49797
460.0377250.28980.386505
47-0.009838-0.07560.529989


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
00.1864761.43240.07866
1-0.207073-1.59060.941473
2-0.106335-0.81680.791329
3-0.041242-0.31680.623738
40.1157250.88890.188833
50.0084830.06520.474133
6-0.051691-0.3970.653617
7-0.06841-0.52550.699385
8-0.073736-0.56640.713356
90.1280720.98370.16463
100.1187070.91180.182791
11-0.120592-0.92630.820964
120.1846921.41860.080632
13-0.031963-0.24550.596545
14-0.065584-0.50380.691848
15-0.221732-1.70320.953099
160.1143770.87850.191605
170.0553810.42540.336051
180.0496050.3810.352278
190.0663090.50930.306211
20-0.001033-0.00790.503153
21-0.060213-0.46250.67729
22-0.230997-1.77430.959415
230.0722720.55510.290451
24-0.035195-0.27030.606077
25-0.050009-0.38410.648866
26-0.039492-0.30330.618653
27-0.035587-0.27340.607232
28-0.05254-0.40360.656005
290.03410.26190.397144
30-0.006184-0.04750.518862
31-0.078079-0.59970.72451
32-0.015348-0.11790.546722
330.015980.12270.451364
34-0.035-0.26880.605504
350.0016590.01270.494937
360.0018760.01440.494274
37-0.067064-0.51510.695805
380.0366210.28130.389735
39-0.052966-0.40680.657202
40-0.026465-0.20330.580192
41-0.004335-0.03330.513224
42-0.10158-0.78030.780819
43-0.08699-0.66820.746688
440.0217310.16690.434002
450.0237910.18270.427813
46-0.009549-0.07330.529111
470.0147080.1130.455218
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/13/t11975782337ptfcgdm2ndlp3b/1zwto1197579116.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/13/t11975782337ptfcgdm2ndlp3b/1zwto1197579116.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/13/t11975782337ptfcgdm2ndlp3b/28td41197579116.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/13/t11975782337ptfcgdm2ndlp3b/28td41197579116.ps (open in new window)


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