Home » date » 2007 » Dec » 13 » attachments

paper: tijdreeks 1: autocorrelatie gediff

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 01:56:27 -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/t1197535270rnw0jsdwp78h3t4.htm/, Retrieved Thu, 13 Dec 2007 09:41:12 +0100
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
15044.5 14944.2 16754.8 14254.0 15454.9 15644.8 14568.3 12520.2 14803.0 15873.2 14755.3 12875.1 14291.1 14205.3 15859.4 15258.9 15498.6 15106.5 15023.6 12083.0 15761.3 16943.0 15070.3 13659.6 14768.9 14725.1 15998.1 15370.6 14956.9 15469.7 15101.8 11703.7 16283.6 16726.5 14968.9 14861.0 14583.3 15305.8 17903.9 16379.4 15420.3 17870.5 15912.8 13866.5 17823.2 17872.0 17420.4 16704.4 15991.2 16583.6 19123.5 17838.7 17209.4 18586.5 16258.1 15141.6 19202.1 17746.5 19090.1 18040.3
 
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
016.92820
10.4097532.83880.003309
20.4024282.78810.003788
30.563023.90070.000149
40.3136062.17270.017384
50.3808792.63880.005592
60.3493112.42010.009676
70.1010790.70030.243563
80.1663431.15250.127419
90.1982091.37320.088031
10-0.016209-0.11230.544472
110.0636170.44080.330685
120.0947870.65670.257254
13-0.06234-0.43190.666127
140.1153180.79890.214129
150.0177690.12310.451268
16-0.115552-0.80060.786337
170.1056740.73210.233825
18-0.036418-0.25230.599062
19-0.152363-1.05560.851783
200.023670.1640.435214
21-0.064855-0.44930.672392
22-0.179547-1.24390.890219
23-0.022302-0.15450.561073
24-0.195377-1.35360.9089
25-0.225629-1.56320.937713
26-0.119468-0.82770.794031
27-0.237683-1.64670.946925
28-0.191072-1.32380.904077
29-0.243498-1.6870.950954
30-0.236018-1.63520.945723
31-0.185542-1.28550.897603
32-0.199152-1.37980.912973
33-0.226146-1.56680.938133
34-0.20851-1.44460.922467
35-0.121956-0.84490.79883
36-0.121414-0.84120.797792
37-0.088202-0.61110.727985
38-0.081077-0.56170.711539
39-0.137559-0.9530.827326
40-0.036707-0.25430.599829
41-0.030643-0.21230.583615
42-0.089101-0.61730.730025
43-0.018234-0.12630.550001
44-0.033609-0.23280.591565
45-0.035443-0.24560.596464
46-0.067104-0.46490.677952
47-0.026733-0.18520.57308


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
00.4097532.83880.003309
10.2818531.95270.028348
20.4296492.97670.002277
3-0.036-0.24940.597948
40.1128690.7820.219033
5-0.028451-0.19710.577716
6-0.243038-1.68380.950645
7-0.113168-0.78410.78157
80.0703040.48710.314209
9-0.097838-0.67780.749437
100.0287280.1990.421538
110.1208310.83710.20333
12-0.00857-0.05940.523549
130.1453441.0070.159499
14-0.059955-0.41540.660142
15-0.139519-0.96660.830709
160.0428540.29690.383912
17-0.095049-0.65850.743324
18-0.164155-1.13730.869471
190.0219270.15190.439944
200.0978760.67810.25048
21-0.095738-0.66330.744841
220.0376340.26070.397706
23-0.077871-0.53950.703985
24-0.086952-0.60240.725136
25-0.144921-1.0040.839803
260.0088930.06160.475563
270.0685210.47470.318566
28-0.201987-1.39940.91594
290.1319350.91410.182624
300.0433870.30060.38251
31-0.036607-0.25360.599565
32-0.00831-0.05760.522836
33-0.082608-0.57230.715114
340.0087040.06030.476083
350.1192910.82650.206313
360.0202730.14050.444443
37-0.022453-0.15560.561484
38-0.049963-0.34620.63463
39-0.038092-0.26390.60351
40-0.020146-0.13960.55521
41-0.077397-0.53620.702859
420.1023070.70880.240938
43-0.028944-0.20050.579042
44-0.0066-0.04570.51814
45-0.026625-0.18450.572786
460.0291680.20210.420352
47NANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/13/t1197535270rnw0jsdwp78h3t4/1t12w1197536185.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/13/t1197535270rnw0jsdwp78h3t4/1t12w1197536185.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/13/t1197535270rnw0jsdwp78h3t4/26jz41197536185.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/13/t1197535270rnw0jsdwp78h3t4/26jz41197536185.ps (open in new window)


 
Parameters:
par1 = 48 ; par2 = 1 ; par3 = 0 ; par4 = 1 ; 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