Home » date » 2009 » Dec » 17 »

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: Thu, 17 Dec 2009 02:16:45 -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/17/t1261041541e4yyuf2hnt5z0oy.htm/, Retrieved Thu, 17 Dec 2009 10:19:04 +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/17/t1261041541e4yyuf2hnt5z0oy.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 «
10,9 10 9,2 9,2 9,5 9,6 9,5 9,1 8,9 9 10,1 10,3 10,2 9,6 9,2 9,3 9,4 9,4 9,2 9 9 9 9,8 10 9,8 9,3 9 9 9,1 9,1 9,1 9,2 8,8 8,3 8,4 8,1 7,7 7,9 7,9 8 7,9 7,6 7,1 6,8 6,5 6,9 8,2 8,7 8,3 7,9 7,5 7,8 8,3 8,4 8,2 7,7 7,2 7,3 8,1 8,5
 
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.8581876.64750
20.67165.20221e-06
30.5608844.34462.7e-05
40.5453354.22414.1e-05
50.5833654.51871.5e-05
60.6002254.64939e-06
70.5470214.23724e-05
80.4621583.57990.000344
90.4065193.14890.001277
100.4082053.16190.001229
110.4115773.18810.001138
120.3952793.06180.001645
130.3113532.41170.009477
140.2289251.77320.040632
150.1768451.36980.087921
160.1360061.05350.148168
170.1011610.78360.218181
180.0543270.42080.337695
19-0.001873-0.01450.494235
20-0.052267-0.40490.343511
21-0.07662-0.59350.277539
22-0.066317-0.51370.304678
23-0.074185-0.57460.283843
24-0.114088-0.88370.190188
25-0.190895-1.47870.07223
26-0.249906-1.93580.028806
27-0.267891-2.07510.021138
28-0.26583-2.05910.021916
29-0.26021-2.01560.024165
30-0.274447-2.12590.01882
31-0.319595-2.47560.008071
32-0.386474-2.99360.002
33-0.408393-3.16340.001224
34-0.363994-2.81950.003254
35-0.310229-2.4030.009685
36-0.274073-2.1230.018946
37-0.275759-2.1360.018384
38-0.30873-2.39140.009968
39-0.31997-2.47850.008012
40-0.304796-2.36090.010747
41-0.277632-2.15050.017776
42-0.269389-2.08670.020587
43-0.2855-2.21150.015412
44-0.303297-2.34930.011058
45-0.265268-2.05480.022132
46-0.182278-1.41190.08157
47-0.129449-1.00270.160014
48-0.116898-0.90550.184415
49-0.127389-0.98670.163865
50-0.138629-1.07380.143603
51-0.120832-0.9360.176523
52-0.094417-0.73140.233705
53-0.082053-0.63560.263733
54-0.084489-0.65440.257663
55-0.099475-0.77050.222003
56-0.10341-0.8010.213144
57-0.074185-0.57460.283843
58-0.029599-0.22930.409718
59-0.008243-0.06380.474652
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.8581876.64750
2-0.246226-1.90730.030639
30.2178231.68720.048374
40.2132341.65170.05191
50.1742841.350.091044
60.0269910.20910.417549
7-0.094942-0.73540.232475
8-0.011933-0.09240.463333
90.0412650.31960.375176
100.0775110.60040.27525
11-0.08848-0.68540.247878
120.0108570.08410.466629
13-0.214268-1.65970.051095
140.0528860.40970.341758
15-0.085962-0.66590.254027
16-0.142488-1.10370.137064
17-0.048433-0.37520.354432
18-0.084499-0.65450.257636
19-0.015498-0.120.452423
20-0.064558-0.50010.30943
210.0311490.24130.405081
220.0649880.50340.308264
23-0.030697-0.23780.406431
24-0.051606-0.39970.345383
25-0.106713-0.82660.205871
260.0274820.21290.416073
27-0.018797-0.14560.442361
28-0.011587-0.08980.464391
290.0011760.00910.496383
30-0.001886-0.01460.494197
31-0.065293-0.50580.307441
32-0.167166-1.29490.100164
330.0798590.61860.269265
340.0639330.49520.311126
350.0490740.38010.352597
360.0613990.47560.318045
370.020840.16140.436151
38-0.027569-0.21350.415811
390.0427910.33150.370727
40-0.027651-0.21420.415566
41-0.048379-0.37470.354585
42-0.046005-0.35640.361412
43-0.06097-0.47230.319223
44-0.011152-0.08640.465726
450.1175680.91070.183055
460.0469110.36340.358803
47-0.039343-0.30470.380807
480.0099570.07710.469391
49-0.02228-0.17260.43178
50-0.02496-0.19330.423673
51-0.045527-0.35270.362792
52-0.076486-0.59250.277885
53-0.0423-0.32770.372156
540.0469240.36350.358765
55-0.054831-0.42470.336281
56-0.034184-0.26480.396039
57-0.016833-0.13040.448349
58-0.028864-0.22360.411923
59-0.016772-0.12990.448534
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/17/t1261041541e4yyuf2hnt5z0oy/1p0vw1261041403.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/17/t1261041541e4yyuf2hnt5z0oy/1p0vw1261041403.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/17/t1261041541e4yyuf2hnt5z0oy/2a71d1261041403.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/17/t1261041541e4yyuf2hnt5z0oy/2a71d1261041403.ps (open in new window)


 
Parameters (Session):
par1 = 60 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ;
 
Parameters (R input):
par1 = 60 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ;
 
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 (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='lags',ylab='ACF')
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