Home » date » 2010 » Nov » 20 »

oef 6 bis oef 2 stap 2 (juiste)

*Unverified author*
R Software Module: /rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Sat, 20 Nov 2010 16:45:34 +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/20/t1290271508qp272cq6x4bdzs9.htm/, Retrieved Sat, 20 Nov 2010 17:45:09 +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/20/t1290271508qp272cq6x4bdzs9.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 «
102,8 106,3 103,7 106,9 104,3 105,4 96,2 95,7 95,9 93,6 94,7 94,5 96,6 96,7 98,9 102 105,2 106,4 99,3 96,4 93,1 95,6 93,3 96,7 105,6 105,2 107 104,9 104,5 105,2 99,7 100,2 98,5 98,4 97,1 98,4 100,6 111,3 119 117,8 108,8 109,3 103,5 103,7 110 105,5 110,4 106,7 110,2 105,2 108 108,1 107,2 106 99,4 100,2 100,3 100,8 99,5 100,2 103 111 120,5 109,5 106,6 105,5 103,9 104,9 104,8 99,6 97 95,4 99,3 103,9 107,4 107,4 111 113,2 108,5 113,3 113,8 105,3 107,5 109,4 118,9 119 115 124,1 120,5 117,7 117,1 118,1 119,6 118,8 124,9 124 124,9 121,7 121,6 125,1 127,9 129 130,1 130,3 127,9 124,1 125,7 129,2 129,2 132,6 131,5 131 125,8 127,2 127,3 127,5 122 118,4 118,3 115,5
 
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
10.0026250.02860.4886
2-0.003594-0.03920.484397
3-0.129402-1.41160.080338
4-0.154044-1.68040.047749
5-0.039807-0.43420.332449
6-0.179286-1.95580.026418
70.0746210.8140.208629
8-0.099271-1.08290.140516
90.0019280.0210.491626
10-0.039932-0.43560.331957
110.0868240.94710.172745
120.1977322.1570.016508
130.0100110.10920.456613
140.1034991.1290.130575
150.0801510.87430.191847
16-0.092293-1.00680.158037
17-0.091117-0.9940.161127
18-0.090129-0.98320.163753
19-0.185334-2.02180.022722
20-0.061474-0.67060.251885
21-0.066023-0.72020.236399
220.1343011.46510.072772
230.1983622.16390.016236
240.1577931.72130.043896
25-0.027464-0.29960.382503
26-0.03717-0.40550.342928
270.0368860.40240.344065
28-0.106342-1.16010.124174
29-0.013561-0.14790.441324
30-0.101273-1.10480.135746
31-0.104615-1.14120.128037
32-0.124238-1.35530.088949
33-0.057229-0.62430.266815
340.0967381.05530.146716
350.0032280.03520.485983
360.1933712.10940.018502
37-0.052319-0.57070.284628
380.0859010.93710.175312
390.0176710.19280.423733
40-0.120211-1.31140.096132
410.1303971.42250.078754
42-0.180445-1.96840.025673
43-0.039199-0.42760.334855
44-0.183088-1.99730.02404
450.0135690.1480.441289
460.0851010.92830.177554
470.0710770.77540.219834
480.1161171.26670.103871


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.0026250.02860.4886
2-0.003601-0.03930.484367
3-0.129385-1.41140.080364
4-0.156051-1.70230.045654
5-0.044955-0.49040.312378
6-0.207783-2.26660.012609
70.0246160.26850.394379
8-0.154592-1.68640.047169
9-0.077475-0.84520.199861
10-0.116613-1.27210.10291
110.0389490.42490.335846
120.1203221.31260.09593
130.0014290.01560.493796
140.0770370.84040.201192
150.1782851.94490.027076
16-0.042222-0.46060.322968
170.0020110.02190.491268
180.0136350.14870.441004
19-0.194976-2.12690.017745
20-0.054363-0.5930.277144
21-0.105939-1.15570.125067
220.0323570.3530.362366
230.1299391.41750.079479
240.1117311.21880.112658
25-0.072183-0.78740.216299
26-0.01328-0.14490.442529
270.0377580.41190.340578
28-0.033998-0.37090.355696
29-0.034656-0.37810.353033
30-0.057092-0.62280.267303
31-0.06378-0.69580.243969
32-0.121051-1.32050.0946
33-0.048981-0.53430.297057
340.004350.04750.481115
35-0.167599-1.82830.035006
360.067450.73580.231651
37-0.159201-1.73670.042516
38-0.06712-0.73220.232746
390.0141840.15470.438647
40-0.10598-1.15610.124977
410.1577771.72110.043912
42-0.055348-0.60380.273572
430.0069540.07590.469831
44-0.107448-1.17210.121746
45-0.042302-0.46150.322656
46-0.006268-0.06840.472803
470.0295780.32270.37376
48-0.052274-0.57020.284795
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Nov/20/t1290271508qp272cq6x4bdzs9/1wwdk1290271530.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/20/t1290271508qp272cq6x4bdzs9/1wwdk1290271530.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/20/t1290271508qp272cq6x4bdzs9/2wwdk1290271530.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/20/t1290271508qp272cq6x4bdzs9/2wwdk1290271530.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