Home » date » 2009 » Dec » 16 »

correlatie zonder trend

*Unverified author*
R Software Module: /rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Wed, 16 Dec 2009 10:23:35 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Dec/16/t126098426558tmln38mr1hkgb.htm/, Retrieved Wed, 16 Dec 2009 18:24:27 +0100
 
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/2009/Dec/16/t126098426558tmln38mr1hkgb.htm/},
    year = {2009},
}
@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 = {2009},
    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 «
2.46 2.46 2.45 2.45 2.46 2.43 2.44 2.44 2.43 2.43 2.42 2.43 2.43 2.42 2.41 2.42 2.39 2.4 2.39 2.4 2.41 2.41 2.41 2.41 2.42 2.43 2.43 2.43 2.44 2.42 2.44 2.42 2.42 2.42 2.43 2.44 2.43 2.44 2.44 2.45 2.45 2.43 2.44 2.45 2.46 2.44 2.43 2.42 2.41 2.43 2.41 2.43 2.43 2.44 2.43 2.44 2.43 2.44 2.44 2.43 2.43 2.43 2.43 2.44 2.47 2.48 2.49 2.5 2.51 2.49 2.49 2.48 2.48 2.48 2.5 2.5 2.5 2.5 2.5 2.48 2.49 2.48 2.5 2.5 2.49 2.48 2.47 2.46 2.43 2.42 2.43 2.45 2.45 2.46 2.44 2.45 2.45 2.42 2.41 2.39 2.39 2.38 2.37 2.37 2.38 2.39 2.41 2.42 2.48 2.53 2.56 2.56 2.53 2.57 2.56 2.57 2.58 2.57 2.6 2.63 2.72 2.83 2.9 2.92 2.94 2.95 2.98 3.02 3.16 3.2 3.18 3.17 3.19
 
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.4358655.00771e-06
20.2933413.37020.000493
30.1173341.34810.089973
40.1313431.5090.066842
50.1739041.9980.023885
60.1879132.1590.016331
70.2674083.07230.00129
80.2107462.42130.008412
90.0832390.95630.170322
100.0608010.69860.243029
110.0904261.03890.150372
120.1303081.49710.068373
130.2242222.57610.005546
140.0860010.98810.162462
150.1461461.67910.04775
160.0128560.14770.441399
170.0340180.39080.348272
180.1112911.27860.101634
190.1068641.22780.110859
200.0244390.28080.389659
21-0.073287-0.8420.200655
22-0.099144-1.13910.128366
23-0.058491-0.6720.251377
24-0.071868-0.82570.205233
25-0.05102-0.58620.279379
26-0.053368-0.61310.270417
27-0.037563-0.43160.33338
28-0.012383-0.14230.443542
29-0.025587-0.2940.384619
30-0.055321-0.63560.263073
31-0.035183-0.40420.34335
32-0.080532-0.92520.178263
33-0.062191-0.71450.238083
34-0.096825-1.11240.133986
35-0.094556-1.08640.139648
36-0.021586-0.2480.40226
37-0.053399-0.61350.270298
380.0259540.29820.383014
39-0.067612-0.77680.219333
40-0.036476-0.41910.337922
41-0.062475-0.71780.23708
42-0.015124-0.17380.431157
43-0.011374-0.13070.448115
44-0.01982-0.22770.410111
450.012230.14050.444236
460.0331080.38040.352138
470.004430.05090.479744
48-0.029606-0.34010.367143


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.4358655.00771e-06
20.1276061.46610.072503
3-0.06253-0.71840.236884
40.0864780.99360.161129
50.1224651.4070.080887
60.0647570.7440.229098
70.161661.85730.032746
80.0283510.32570.372571
9-0.10817-1.24280.108076
100.0199760.22950.409417
110.0659390.75760.225025
120.0271140.31150.37795
130.1371341.57550.058762
14-0.131172-1.50710.067094
150.0799980.91910.179858
16-0.065251-0.74970.227392
17-0.00431-0.04950.480292
180.1115941.28210.101024
19-0.021905-0.25170.400846
20-0.163517-1.87870.031247
21-0.080188-0.92130.179289
22-0.040927-0.47020.319487
230.0032770.03760.485013
24-0.040852-0.46930.319797
25-0.067083-0.77070.221123
26-0.068025-0.78150.217941
270.0816540.93810.174946
280.0517640.59470.276525
290.0551730.63390.263626
30-0.09182-1.05490.146692
31-0.012612-0.14490.442507
32-0.034198-0.39290.347511
330.0342640.39370.347233
34-0.026286-0.3020.38156
35-0.027908-0.32060.374497
360.0501670.57640.282671
37-0.026745-0.30730.379556
380.1229971.41310.079987
39-0.022909-0.26320.396403
400.0120520.13850.445042
41-0.033777-0.38810.349296
420.0201150.23110.408796
430.0104870.12050.452139
44-0.020863-0.23970.405469
450.0587780.67530.250331
46-0.015011-0.17250.431667
47-0.019821-0.22770.410108
48-0.030834-0.35430.361856
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/16/t126098426558tmln38mr1hkgb/1pzwd1260984213.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/16/t126098426558tmln38mr1hkgb/1pzwd1260984213.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/16/t126098426558tmln38mr1hkgb/2ph1x1260984213.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/16/t126098426558tmln38mr1hkgb/2ph1x1260984213.ps (open in new window)


 
Parameters (Session):
par1 = 48 ; par2 = 1 ; par3 = 1 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
Parameters (R input):
par1 = 48 ; par2 = 1 ; par3 = 1 ; 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