Home » date » 2010 » May » 02 »

autocorrelatie 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: Sun, 02 May 2010 08:39:16 +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/02/t12727895882rl6wgxzizxdtc2.htm/, Retrieved Sun, 02 May 2010 10:39:48 +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/02/t12727895882rl6wgxzizxdtc2.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 «
2.17 2.18 2.18 2.18 2.17 2.17 2.18 2.17 2.18 2.17 2.17 2.17 2.17 2.17 2.17 2.17 2.17 2.17 2.18 2.18 2.18 2.18 2.18 2.18 2.18 2.18 2.18 2.18 2.18 2.18 2.18 2.19 2.19 2.19 2.20 2.20 2.21 2.21 2.21 2.20 2.21 2.20 2.21 2.21 2.22 2.22 2.23 2.24 2.24 2.25 2.25 2.32 2.36 2.37 2.37 2.37 2.38 2.38 2.41 2.42 2.43 2.44 2.44 2.44 2.43 2.43 2.43 2.42 2.42 2.42 2.42 2.42
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.2597122.18840.015967
20.213991.80310.037807
3-0.009121-0.07690.469479
40.0521220.43920.33093
50.1355381.14210.128632
60.060460.50940.306011
70.2769182.33330.011233
80.0205460.17310.431523
90.1150490.96940.167813
10-0.041541-0.350.363676
11-0.039012-0.32870.371668
12-0.11409-0.96130.169822
13-0.155908-1.31370.096587
14-0.067964-0.57270.284338
15-0.047165-0.39740.346126
16-0.055722-0.46950.320067
17-0.034923-0.29430.384706
18-0.021307-0.17950.429014
19-0.107472-0.90560.184111
20-0.026711-0.22510.411286
21-0.034019-0.28670.387607
22-0.024307-0.20480.419152
23-0.043951-0.37030.356115
24-0.023152-0.19510.422942
25-0.020623-0.17380.431269
26-0.007007-0.0590.476542
27-0.052729-0.44430.329088
28-0.005852-0.04930.480404
29-0.040487-0.34120.366998
30-0.026871-0.22640.410762
31-0.072593-0.61170.271351
32-0.025717-0.21670.414534
33-0.030995-0.26120.397359
340.0269680.22720.410446
35-0.052014-0.43830.331257
36-0.045581-0.38410.351036
37-0.058043-0.48910.313148
38-0.044426-0.37430.354632
39-0.038618-0.32540.372917
40-0.047176-0.39750.346092
41-0.004203-0.03540.485924
42-0.134716-1.13510.130069
430.0080390.06770.473094
44-0.089214-0.75170.22735
45-0.001894-0.0160.493657
46-0.010451-0.08810.465037
47-0.11879-1.00090.160127
48-0.064731-0.54540.293584


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.2597122.18840.015967
20.1571391.32410.094862
3-0.106401-0.89660.186494
40.0481460.40570.343096
50.1529851.28910.100779
6-0.027997-0.23590.407091
70.2487742.09620.019815
8-0.101537-0.85560.197559
90.040550.34170.366802
10-0.042209-0.35570.361575
11-0.081465-0.68640.247338
12-0.137294-1.15690.125604
13-0.098382-0.8290.204946
14-0.073358-0.61810.269234
150.0524860.44230.329826
16-0.100755-0.8490.199373
170.0705510.59450.277044
180.0530660.44710.328067
19-0.065378-0.55090.291721
200.1057080.89070.188047
210.0363050.30590.380285
22-0.063663-0.53640.296668
230.0201510.16980.432828
24-0.045417-0.38270.351546
25-0.058891-0.49620.310634
260.0274080.23090.409011
27-0.134459-1.1330.130518
280.0454290.38280.351509
29-0.043207-0.36410.358443
30-0.028035-0.23620.406968
31-0.029924-0.25210.40083
320.016020.1350.446502
33-0.021147-0.17820.429542
340.141841.19520.118
35-0.168602-1.42070.079895
360.0571260.48140.315873
37-0.035876-0.30230.381656
38-0.040764-0.34350.366126
39-0.029688-0.25020.401593
40-0.016372-0.1380.445332
41-0.074281-0.62590.266694
42-0.0684-0.57630.283102
430.0119810.1010.459935
44-0.050501-0.42550.335868
450.0300960.25360.400271
460.0230860.19450.42316
47-0.12166-1.02510.154392
48-0.031144-0.26240.396876
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/May/02/t12727895882rl6wgxzizxdtc2/16sb61272789552.png (open in new window)
http://www.freestatistics.org/blog/date/2010/May/02/t12727895882rl6wgxzizxdtc2/16sb61272789552.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/May/02/t12727895882rl6wgxzizxdtc2/26sb61272789552.png (open in new window)
http://www.freestatistics.org/blog/date/2010/May/02/t12727895882rl6wgxzizxdtc2/26sb61272789552.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