Home » date » 2010 » May » 03 »

Paper : Opgave 6 BIS /(oef2) - Ishia Opgenhaffen

*Unverified author*
R Software Module: /rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Mon, 03 May 2010 15:14:11 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/May/03/t1272899722drcfp6cq9eqohu1.htm/, Retrieved Mon, 03 May 2010 17:15:25 +0200
 
BibTeX entries for LaTeX users:
@Manual{KEY,
    author = {{YOUR NAME}},
    publisher = {Office for Research Development and Education},
    title = {Statistical Computations at FreeStatistics.org, URL http://www.freestatistics.org/blog/date/2010/May/03/t1272899722drcfp6cq9eqohu1.htm/},
    year = {2010},
}
@Manual{R,
    title = {R: A Language and Environment for Statistical Computing},
    author = {{R Development Core Team}},
    organization = {R Foundation for Statistical Computing},
    address = {Vienna, Austria},
    year = {2010},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
KDGP2W21
 
Dataseries X:
» Textbox « » Textfile « » CSV «
121,67 121,65 121,61 121,5 121,41 121,41 121,4 121,38 121,34 121,19 120,96 120,96 120,96 120,9 120,86 120,73 120,53 120,53 120,53 120,52 120,51 120,43 120,29 120,27 120,27 120,24 120,21 120,06 119,86 119,85 119,85 119,83 119,71 119,57 119,2 119,13 119,13 119,09 118,9 118,54 118,12 118,11 118,1 118,08 117,91 117,63 117,28 117,2 117,17 117,14 116,96 116,34 115,99 115,99 115,97 115,92 115,63 115,31 115,13 115,09 115,07 115,01 114,64 113,86 113,34 113,33 113,32 113,26 113,2 112,61 112,28 112,16
 
Output produced by software:


Summary of computational 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
10.9538138.09340
20.9052197.6810
30.8588567.28760
40.8187736.94750
50.7785186.60590
60.7356896.24250
70.6884945.84210
80.638195.41520
90.5921985.0252e-06
100.5548364.70796e-06
110.5216394.42631.7e-05
120.4862574.1264.9e-05
130.4472443.7950.000153
140.4063773.44820.000473
150.3666063.11080.001337
160.3304482.80390.003242
170.2974132.52360.006911
180.2623032.22570.014582
190.2241341.90180.030596
200.183921.56060.0615
210.1466441.24430.108709
220.1160520.98470.164027
230.0871840.73980.230919
240.0564490.4790.3167
250.0232770.19750.421992
26-0.010604-0.090.464278
27-0.041265-0.35010.363627
28-0.068421-0.58060.28167
29-0.093379-0.79230.215381
30-0.120029-1.01850.15593
31-0.148765-1.26230.105456
32-0.178643-1.51580.066969
33-0.203891-1.73010.043951
34-0.224726-1.90690.030264
35-0.241863-2.05230.02189
36-0.259643-2.20310.015393
37-0.278993-2.36730.010303
38-0.298296-2.53110.006777
39-0.312881-2.65490.00488
40-0.324019-2.74940.003772
41-0.331736-2.81490.003145
42-0.340249-2.88710.002565
43-0.34984-2.96850.002031
44-0.359825-3.05320.001586
45-0.366903-3.11330.001327
46-0.37084-3.14670.001201
47-0.372711-3.16260.001145
48-0.374658-3.17910.001089


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.9538138.09340
2-0.050313-0.42690.335356
3-5.6e-05-5e-040.499812
40.0435330.36940.356459
5-0.027154-0.23040.409214
6-0.048237-0.40930.341766
7-0.067618-0.57380.283959
8-0.061906-0.52530.300499
90.0140760.11940.452629
100.0588450.49930.309539
110.0165730.14060.444279
12-0.037669-0.31960.375085
13-0.048733-0.41350.34023
14-0.042434-0.36010.359928
15-0.026593-0.22560.411058
16-0.00491-0.04170.483443
17-0.001726-0.01460.494177
18-0.04166-0.35350.362373
19-0.042325-0.35910.36027
20-0.042264-0.35860.360463
21-0.007379-0.06260.475123
220.0275430.23370.407938
23-0.020353-0.17270.431685
24-0.041721-0.3540.362181
25-0.038157-0.32380.373524
26-0.032835-0.27860.39067
27-0.007244-0.06150.475579
28-0.0121-0.10270.459255
29-0.016009-0.13580.446162
30-0.03765-0.31950.375149
31-0.034835-0.29560.384199
32-0.039076-0.33160.370588
330.004920.04180.483406
34-0.00294-0.0250.490082
350.0023830.02020.491962
36-0.025313-0.21480.415271
37-0.029472-0.25010.401619
38-0.023025-0.19540.422826
390.007930.06730.47327
40-0.012838-0.10890.45678
410.0020750.01760.493001
42-0.021605-0.18330.42753
43-0.017693-0.15010.440541
44-0.023133-0.19630.422468
45-0.007181-0.06090.47579
46-0.011007-0.09340.462924
47-0.009117-0.07740.469275
48-0.012868-0.10920.456677
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/May/03/t1272899722drcfp6cq9eqohu1/1jvt01272899650.png (open in new window)
http://www.freestatistics.org/blog/date/2010/May/03/t1272899722drcfp6cq9eqohu1/1jvt01272899650.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/May/03/t1272899722drcfp6cq9eqohu1/2jvt01272899650.png (open in new window)
http://www.freestatistics.org/blog/date/2010/May/03/t1272899722drcfp6cq9eqohu1/2jvt01272899650.ps (open in new window)


 
Parameters (Session):
par1 = 48 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
Parameters (R input):
par1 = 48 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
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 (par6 == 'White Noise') par6 <- 'white' else par6 <- 'ma'
par7 <- as.numeric(par7)
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='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep=''))
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 2:(par1+1)) {
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(abs(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,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(abs(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:

  • personalize online software applications according to your needs
  • enforce strict security rules with respect to the data that you upload (e.g. statistical data)
  • manage user sessions of online applications
  • alert you about important changes or upgrades in resources or applications

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