Home » date » 2010 » Dec » 27 »

autocorrelatie

*The author of this computation has been verified*
R Software Module: /rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Mon, 27 Dec 2010 14:52:24 +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/Dec/27/t1293461494fw60ewy7wbmtc42.htm/, Retrieved Mon, 27 Dec 2010 15:51:34 +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/2010/Dec/27/t1293461494fw60ewy7wbmtc42.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:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
16 17 23 24 27 31 40 47 43 60 64 65 65 55 57 57 57 65 69 70 71 71 73 68 65 57 41 21 21 17 9 11 6 -2 0 5 3 7 4 8 9 14 12 12 7 15 14 19 39 12 11 17 16 25 24 28 25 31 24 24
 
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'RServer@AstonUniversity' @ vre.aston.ac.uk


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.9448017.31840
20.8894276.88950
30.8271096.40680
40.7393875.72730
50.6620835.12852e-06
60.5731834.43992e-05
70.4827183.73910.000207
80.386272.9920.002009
90.2959252.29220.012708
100.2133881.65290.051788
110.1422641.1020.137438
120.0758070.58720.279637
130.0061470.04760.481092
14-0.072132-0.55870.289212
15-0.149141-1.15520.126286
16-0.213024-1.65010.052076
17-0.274886-2.12930.018673
18-0.330903-2.56320.006449
19-0.363898-2.81870.003261
20-0.394238-3.05380.001684
21-0.414431-3.21020.001066
22-0.403136-3.12270.001379
23-0.389598-3.01780.001867
24-0.376939-2.91980.002464
25-0.353864-2.7410.004029
26-0.3304-2.55930.006514
27-0.312097-2.41750.009342
28-0.289609-2.24330.014291
29-0.263492-2.0410.022829
30-0.240135-1.86010.033889
31-0.21952-1.70040.047117
32-0.203046-1.57280.060513
33-0.184182-1.42670.07943
34-0.168274-1.30340.098702
35-0.149882-1.1610.125124
36-0.122018-0.94510.174188
37-0.109391-0.84730.200088
38-0.094214-0.72980.234182
39-0.084715-0.65620.257101
40-0.082914-0.64220.26158
41-0.062804-0.48650.314201
42-0.049131-0.38060.352435
43-0.038974-0.30190.381888
44-0.028265-0.21890.413719
45-0.022351-0.17310.431565
46-0.013839-0.10720.457496
47-0.013812-0.1070.457577
48-0.005703-0.04420.482456


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.9448017.31840
2-0.030017-0.23250.408467
3-0.094049-0.72850.234571
4-0.273149-2.11580.01926
50.0491340.38060.352425
6-0.135241-1.04760.149518
7-0.029978-0.23220.408584
8-0.164176-1.27170.104194
90.0478290.37050.356163
10-0.010325-0.080.468261
110.0974970.75520.226538
12-0.083343-0.64560.260508
13-0.09677-0.74960.22822
14-0.238728-1.84920.03468
15-0.052337-0.40540.343313
160.0325850.25240.400797
17-0.006828-0.05290.478998
18-0.079636-0.61690.269832
190.1612331.24890.108275
20-0.004859-0.03760.485051
210.0491190.38050.35247
220.1477941.14480.128418
23-0.034894-0.27030.393934
24-0.198734-1.53940.064484
25-0.036513-0.28280.38914
260.0199160.15430.438958
27-0.057393-0.44460.329117
28-0.025844-0.20020.421005
290.0419270.32480.373245
300.0230380.17850.429484
31-0.0293-0.2270.410615
32-0.075797-0.58710.279664
33-0.016552-0.12820.449206
34-0.108793-0.84270.201369
35-0.071107-0.55080.291911
360.1098490.85090.199108
37-0.054726-0.42390.336576
38-0.015814-0.12250.451458
39-0.067371-0.52180.301848
400.0946420.73310.233179
410.1452711.12530.132478
42-0.046892-0.36320.358857
43-0.048827-0.37820.353305
44-0.048261-0.37380.354924
45-0.077602-0.60110.275018
460.0495760.3840.351163
47-0.08807-0.68220.248873
480.0102580.07950.468466
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/27/t1293461494fw60ewy7wbmtc42/1wth11293461540.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/27/t1293461494fw60ewy7wbmtc42/1wth11293461540.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/27/t1293461494fw60ewy7wbmtc42/2wth11293461540.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/27/t1293461494fw60ewy7wbmtc42/2wth11293461540.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