Home » date » 2010 » Dec » 19 »

ACF huwelijken 2

*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: Sun, 19 Dec 2010 10:21:14 +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/19/t1292753987m2njggot0r426p6.htm/, Retrieved Sun, 19 Dec 2010 11:19:50 +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/19/t1292753987m2njggot0r426p6.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 «
3111 3995 5245 5588 10681 10516 7496 9935 10249 6271 3616 3724 2886 3318 4166 6401 9209 9820 7470 8207 9564 5309 3385 3706 2733 3045 3449 5542 10072 9418 7516 7840 10081 4956 3641 3970 2931 3170 3889 4850 8037 12370 6712 7297 10613 5184 3506 3810 2692 3073 3713 4555 7807 10869 9682 7704 9826 5456 3677 3431 2765 3483 3445 6081 8767 9407 6551 12480 9530 5960 3252 3717 2642 2989 3607 5366 8898 9435 7328 8594 11349 5797 3621 3851
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time16 seconds
R Server'George Udny Yule' @ 72.249.76.132


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.594048-5.00552e-06
20.0398510.33580.36901
30.0281520.23720.406588
40.0939280.79150.215658
5-0.113598-0.95720.170858
60.0491490.41410.34001
70.0503520.42430.336325
8-0.13441-1.13260.130605
90.1120340.9440.174181
100.0090490.07620.469718
110.0815980.68760.246985
12-0.486729-4.10135.4e-05
130.6296755.30571e-06
14-0.272003-2.29190.012439
15-0.015326-0.12910.448807
16-0.020026-0.16870.433239
170.088090.74230.230189
18-0.077679-0.65450.25744
190.0258190.21760.414199
200.0550510.46390.32208
21-0.091036-0.76710.222788
220.0030890.0260.489653
230.1152250.97090.167446
240.0056880.04790.480955
25-0.358183-3.01810.001765
260.492764.15214.5e-05
27-0.250327-2.10930.019223
280.0099960.08420.466556
290.0243720.20540.41894
300.0022650.01910.492412
31-0.006177-0.0520.47932
32-0.003199-0.0270.489287
330.0414080.34890.364095
34-0.057409-0.48370.31503
350.0169910.14320.44328
36-0.005218-0.0440.482527
370.1224061.03140.152924
38-0.30087-2.53520.006722
390.2985322.51550.007076
40-0.098169-0.82720.205451
41-0.029041-0.24470.403697
420.0161880.13640.445944
430.0032850.02770.488997
44-0.009322-0.07850.468807
45-0.005203-0.04380.482579
460.0421630.35530.361721
47-0.030978-0.2610.397415
48-0.0261-0.21990.413282


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.594048-5.00552e-06
2-0.483756-4.07625.9e-05
3-0.452108-3.80950.000147
4-0.275174-2.31870.011649
5-0.275157-2.31850.011653
6-0.244808-2.06280.021396
7-0.068698-0.57890.282257
8-0.186263-1.56950.060492
9-0.165778-1.39690.083402
10-0.055704-0.46940.320121
110.4654993.92241e-04
12-0.342511-2.8860.002582
13-0.161916-1.36430.088387
14-0.093593-0.78860.216478
150.0355290.29940.382765
160.0320560.27010.393931
17-0.01912-0.16110.436232
18-0.053225-0.44850.327587
19-0.083425-0.7030.242192
20-0.132504-1.11650.133987
210.0226030.19050.424748
22-0.12692-1.06940.144246
230.0505920.42630.335592
24-0.077217-0.65060.258688
25-0.283358-2.38760.009811
260.0601690.5070.306866
270.0528430.44530.328743
28-0.064187-0.54090.295151
29-0.021898-0.18450.427069
30-0.189156-1.59390.057705
31-0.036569-0.30810.379441
32-0.015119-0.12740.449494
330.0297090.25030.401526
340.0068340.05760.47712
350.1857161.56490.06103
36-0.075931-0.63980.262178
37-0.095058-0.8010.212909
380.0852570.71840.237437
39-0.021278-0.17930.429111
40-0.085099-0.71710.237847
41-0.034087-0.28720.38739
42-0.044236-0.37270.355226
430.093580.78850.21651
44-0.011002-0.09270.463199
45-0.009939-0.08380.466745
46-0.095152-0.80180.212682
470.0317240.26730.395001
48-0.110737-0.93310.176969
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292753987m2njggot0r426p6/1bytx1292754057.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292753987m2njggot0r426p6/1bytx1292754057.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/19/t1292753987m2njggot0r426p6/2lpa01292754057.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292753987m2njggot0r426p6/2lpa01292754057.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/19/t1292753987m2njggot0r426p6/3lpa01292754057.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t1292753987m2njggot0r426p6/3lpa01292754057.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 = 1 ; par4 = 1 ; 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 (par8 != '') par8 <- as.numeric(par8)
ox <- x
if (par8 == '') {
if (par2 == 0) {
x <- log(x)
} else {
x <- (x ^ par2 - 1) / par2
}
} else {
x <- log(x,base=par8)
}
if (par3 > 0) x <- diff(x,lag=1,difference=par3)
if (par4 > 0) x <- diff(x,lag=par5,difference=par4)
bitmap(file='picts.png')
op <- par(mfrow=c(2,1))
plot(ox,type='l',main='Original Time Series',xlab='time',ylab='value')
if (par8=='') {
mytitle <- paste('Working Time Series (lambda=',par2,', d=',par3,', D=',par4,')',sep='')
mysub <- paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep='')
} else {
mytitle <- paste('Working Time Series (base=',par8,', d=',par3,', D=',par4,')',sep='')
mysub <- paste('(base=',par8,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep='')
}
plot(x,type='l', main=mytitle,xlab='time',ylab='value')
par(op)
dev.off()
bitmap(file='pic1.png')
racf <- acf(x, par1, main='Autocorrelation', xlab='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=mysub)
dev.off()
bitmap(file='pic2.png')
rpacf <- pacf(x,par1,main='Partial Autocorrelation',xlab='lags',ylab='PACF',sub=mysub)
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