Home » date » 2010 » Nov » 22 »

Opgave 6B visproducten autocorrelatie

*Unverified author*
R Software Module: /rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Mon, 22 Nov 2010 14: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/Nov/22/t1290436681dwedkbsx769y3va.htm/, Retrieved Mon, 22 Nov 2010 15:38:02 +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/Nov/22/t1290436681dwedkbsx769y3va.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:
KDGP2W12
 
Dataseries X:
» Textbox « » Textfile « » CSV «
96,1 96,5 96,9 97,8 98,9 100,2 101,2 101 101,6 102,4 103,7 103,7 104,6 104,5 104,5 105,6 106,1 107,6 107,7 108,3 108,1 108,1 108 108,2 108,9 109,8 109,9 109,8 110,9 111,1 112,2 112,7 114,6 114,2 114,7 114,7 116 116,3 116,4 116,6 118,1 117,2 108,3 109,5 110,5 110,6 111,2 111,1 111 112,4 112,5 112,4 111,8 111,6 112,9 112,8 113,7 113,8 114 113,8 113,9 114,4 114,4 114,5 113,8 114,3 115 115,4 115,3 114,9 114,3 114,5 115,5 115,8 115,8 116 114,9 114,1 114,1 113,5 115 114,7 115,4 116,1 116,6 117,2 118,2 118 117,7 118,5 117,5 118 117,7 116,3 115 115,7 113,6 114,8 114,9 117,3 117,3 117,7 120 119,6 119,2 117,3 117,5 119 112,5 118,9 118,4 119,4 120,6 118,6 122 122,6 120,6 117,4 116,4 122,2 121 122,4 124,9 126,1 124,5 123,2 126,4 123,9 116 126,6 125,9 126,6 116,7 126,4 129 128,7 128,4 129,2 133,3 128,9 132,7 127,7 131,8 133,9
 
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
1-0.363929-4.3521.3e-05
2-0.045842-0.54820.292207
3-0.106044-1.26810.103412
40.2218432.65290.004442
50.0174420.20860.417536
6-0.314427-3.760.000123
70.1839742.20.014706
8-0.051912-0.62080.267866
90.0443110.52990.298509
10-0.02243-0.26820.394456
110.0428750.51270.304472
120.017850.21350.415639
13-0.070435-0.84230.20052
140.0453260.5420.294323
150.0637990.76290.223382
16-0.066495-0.79520.213917
170.0276250.33040.370809
18-0.107072-1.28040.10124
190.0427560.51130.304968
200.1193341.4270.077876
21-0.090839-1.08630.139593
220.0334350.39980.344939
23-0.044989-0.5380.295712
240.1941542.32170.010829
25-0.146551-1.75250.040916
26-0.030003-0.35880.360141
270.0318580.3810.351895
280.0169030.20210.420052
290.0153630.18370.427251
30-0.107314-1.28330.100734
310.1088781.3020.097506
32-0.044793-0.53560.296517
33-0.025649-0.30670.379754
340.0566790.67780.249503
35-0.010989-0.13140.447819
360.0395480.47290.318493
37-0.044013-0.52630.299741
380.0025290.03020.487958
39-0.011651-0.13930.444694
40-0.011374-0.1360.446
410.0024140.02890.488507
42-0.035044-0.41910.337898
430.01070.1280.449184
44-0.020089-0.24020.405248
450.0020680.02470.490154
46-0.00911-0.10890.456701
47-0.005347-0.06390.474551
480.009860.11790.453154


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.363929-4.3521.3e-05
2-0.205504-2.45750.007594
3-0.241835-2.89190.002214
40.0866071.03570.151053
50.1459681.74550.04152
6-0.270963-3.24020.000743
70.0069810.08350.466794
8-0.088162-1.05430.14677
9-0.090367-1.08060.140841
100.1143881.36790.086747
110.074420.88990.187498
12-0.009172-0.10970.456407
130.0106950.12790.449207
14-0.041947-0.50160.308356
150.0815970.97580.165415
160.0275080.32890.371339
170.06870.82150.206356
18-0.098756-1.1810.119791
19-0.127617-1.52610.0646
200.1491261.78330.038331
210.0133250.15930.436811
220.0522520.62480.266536
230.0723140.86480.194312
240.0781940.93510.175664
25-0.040966-0.48990.312484
260.0006660.0080.496831
27-0.008782-0.1050.458256
280.004170.04990.480148
290.0478860.57260.283895
30-0.023861-0.28530.387901
31-0.019665-0.23520.407213
32-0.021972-0.26270.396562
33-0.05682-0.67950.248969
340.0409640.48990.312494
350.0070890.08480.46628
360.0412170.49290.311424
370.0426210.50970.305532
38-0.049056-0.58660.279191
39-0.066349-0.79340.214426
40-0.009666-0.11560.454073
41-0.029767-0.3560.361196
42-0.00047-0.00560.497763
43-0.033231-0.39740.345839
44-0.138672-1.65830.049727
45-0.065878-0.78780.216062
46-0.067313-0.80490.211093
47-0.029655-0.35460.361699
48-0.018343-0.21940.413343
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Nov/22/t1290436681dwedkbsx769y3va/15i6b1290436752.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/22/t1290436681dwedkbsx769y3va/15i6b1290436752.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/22/t1290436681dwedkbsx769y3va/25i6b1290436752.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/22/t1290436681dwedkbsx769y3va/25i6b1290436752.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