Home » date » 2009 » Dec » 21 »

Autocorrelatie en partiële correlatie met d=1

*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, 21 Dec 2009 09:53:21 -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/21/t1261414554jd297buyxl2buii.htm/, Retrieved Mon, 21 Dec 2009 17:55:56 +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/21/t1261414554jd297buyxl2buii.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:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
467 460 448 443 436 431 484 510 513 503 471 471 476 475 470 461 455 456 517 525 523 519 509 512 519 517 510 509 501 507 569 580 578 565 547 555 562 561 555 544 537 543 594 611 613 611 594 595 591 589 584 573 567 569 621 629 628 612 595 597
 
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.2660372.04350.02274
2-0.157003-1.2060.116323
3-0.350555-2.69270.004606
4-0.378808-2.90970.002548
50.0173720.13340.44715
60.150571.15650.126059
70.0391120.30040.382456
8-0.27721-2.12930.018707
9-0.231324-1.77680.040375
10-0.109569-0.84160.2017
110.236561.81710.037144
120.7366865.65860
130.1502811.15430.126509
14-0.132324-1.01640.156794
15-0.254543-1.95520.027652
16-0.277032-2.12790.018766
170.0133270.10240.459406
180.1319171.01330.157534
190.0270220.20760.418144
20-0.221696-1.70290.046927
21-0.209852-1.61190.05616
22-0.096401-0.74050.230977
230.1972241.51490.067568
240.5757544.42252.1e-05
250.1121120.86120.196321
26-0.107312-0.82430.20655
27-0.20094-1.54340.064035
28-0.224663-1.72570.044821
290.0187670.14420.442935
300.0723090.55540.290355
310.0125030.0960.461907
32-0.13358-1.02610.154528
33-0.140366-1.07820.142672
34-0.054256-0.41670.339188
350.1236030.94940.173141
360.3632852.79040.003539
370.0800380.61480.27053
38-0.037387-0.28720.387493
39-0.131269-1.00830.158716
40-0.147398-1.13220.131068
41-0.006887-0.05290.478996
420.0298030.22890.409861
430.0113490.08720.465415
44-0.088197-0.67750.250384
45-0.064766-0.49750.31035
46-0.003186-0.02450.490279
470.1092010.83880.202487
480.1887211.44960.076234
490.0196240.15070.440349
50-0.042529-0.32670.372537
51-0.0828-0.6360.263618
52-0.076658-0.58880.279114
53-0.010862-0.08340.466894
540.014750.11330.455091
550.0209510.16090.436349
560.0216130.1660.434359
570.0087880.06750.473205
589.2e-057e-040.499721
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.2660372.04350.02274
2-0.245128-1.88290.032326
3-0.26716-2.05210.022303
4-0.294877-2.2650.0136
50.0890060.68370.24843
6-0.076281-0.58590.280081
7-0.18804-1.44440.076964
8-0.455947-3.50220.000443
9-0.18281-1.40420.082752
10-0.3664-2.81440.003316
11-0.146984-1.1290.131733
120.4788583.67820.000255
13-0.30736-2.36090.010778
140.0434410.33370.369903
150.1816531.39530.084077
160.1099470.84450.200895
17-0.070394-0.54070.295373
180.1557371.19620.118194
190.1116060.85730.197384
200.0170130.13070.448237
21-0.130397-1.00160.160313
220.0955670.73410.232907
23-0.051751-0.39750.346213
24-0.012073-0.09270.463216
25-0.059235-0.4550.325392
26-0.015208-0.11680.4537
27-0.08918-0.6850.248013
28-0.042224-0.32430.373417
29-0.028028-0.21530.415144
30-0.217889-1.67360.049748
31-0.061405-0.47170.319456
320.0848840.6520.258465
33-0.065002-0.49930.309715
34-0.104248-0.80070.213246
35-0.055724-0.4280.335096
36-0.142066-1.09120.139805
370.0157860.12130.451952
38-0.025889-0.19890.421528
39-0.11476-0.88150.190815
40-0.00593-0.04550.481913
41-0.048975-0.37620.354064
420.0070810.05440.478405
43-0.086309-0.6630.254972
44-0.058784-0.45150.326633
450.1529171.17460.122441
460.0669770.51450.304425
470.0697870.5360.296971
48-0.062266-0.47830.317111
490.0887770.68190.248982
50-0.006364-0.04890.480588
510.0293340.22530.411256
52-0.112887-0.86710.1947
53-0.040924-0.31430.377185
54-0.026996-0.20740.41822
55-0.010212-0.07840.468873
560.0590380.45350.325934
57-0.01131-0.08690.465532
58-0.043393-0.33330.370042
59NANANA
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/21/t1261414554jd297buyxl2buii/1c3y81261414399.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/21/t1261414554jd297buyxl2buii/1c3y81261414399.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/21/t1261414554jd297buyxl2buii/2ucyp1261414399.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/21/t1261414554jd297buyxl2buii/2ucyp1261414399.ps (open in new window)


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