Home » date » 2010 » May » 05 »

6bis eigen reeks

*Unverified author*
R Software Module: /rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Wed, 05 May 2010 09:52:38 +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/May/05/t12730532009zdi96n01bl2mdh.htm/, Retrieved Wed, 05 May 2010 11:53:23 +0200
 
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/May/05/t12730532009zdi96n01bl2mdh.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:
KDGP2W21
 
Dataseries X:
» Textbox « » Textfile « » CSV «
93.2 96 95.2 77.1 70.9 64.8 70.1 77.3 79.5 100.6 100.7 107.1 95.9 82.8 83.3 80 80.4 67.5 75.7 71.1 89.3 101.1 105.2 114.1 96.3 84.4 91.2 81.9 80.5 70.4 74.8 75.9 86.3 98.7 100.9 113.8 89.8 84.4 87.2 85.6 72 69.2 77.5 78.1 94.3 97.7 100.2 116.4 97.1 93 96 80.5 76.1 69.9 73.6 92.6 94.2 93.5 108.5 109.4 105.1 92.5 97.1
 
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.046910.36940.356555
20.0650480.51220.30517
3-0.006075-0.04780.481
4-0.288009-2.26780.013419
5-0.106347-0.83740.202798
6-0.399346-3.14450.001277
7-0.209988-1.65340.051648
8-0.124557-0.98080.165261
90.0713050.56150.288256
100.0052070.0410.483714
110.2114071.66460.050518
120.5440444.28383.3e-05
130.0994650.78320.218248
140.0959780.75570.226336
15-0.059285-0.46680.321135
16-0.159593-1.25660.1068
17-0.107328-0.84510.200651
18-0.352473-2.77540.00364
19-0.138579-1.09120.139709
20-0.127511-1.0040.159635
210.1311921.0330.152807
22-0.009798-0.07720.469376
230.1499421.18060.121127
240.3932293.09630.001471
250.0644020.50710.30694
260.0949830.74790.228676
27-0.042884-0.33770.368378
28-0.130973-1.03130.153207
29-0.087351-0.68780.247071
30-0.239215-1.88360.032157
31-0.170578-1.34310.092063
320.0035130.02770.489012
330.0554360.43650.331995
340.0261470.20590.418779
350.1342691.05720.147254
360.1722121.3560.090009
370.1117960.88030.191053
380.0749440.59010.27863
39-0.084838-0.6680.253301
40-0.041531-0.3270.372378
41-0.105825-0.83330.203946
42-0.140276-1.10450.136815
43-0.071416-0.56230.287961
44-0.0097-0.07640.469681
450.0123880.09750.461306
460.066390.52280.301504
470.0339870.26760.394944
480.1133390.89240.187807


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.046910.36940.356555
20.0629860.4960.310841
3-0.011963-0.09420.462628
4-0.293155-2.30830.012166
5-0.088412-0.69620.244467
6-0.389488-3.06680.001602
7-0.255659-2.01310.024228
8-0.296782-2.33690.011346
9-0.086006-0.67720.250394
10-0.424915-3.34580.000699
11-0.211792-1.66770.050214
120.2467331.94280.028294
13-0.027097-0.21340.415871
14-0.160238-1.26170.105889
15-0.008988-0.07080.471905
160.0483370.38060.352398
17-0.021806-0.17170.432116
18-0.081089-0.63850.262751
190.1322581.04140.150867
20-0.105003-0.82680.205762
210.1193160.93950.175562
22-0.04256-0.33510.369333
23-0.037937-0.29870.383077
240.0076860.06050.47597
250.0418490.32950.371436
26-0.103474-0.81480.209165
270.0548940.43220.333536
28-0.051487-0.40540.343286
29-0.015159-0.11940.452687
30-0.044562-0.35090.363433
310.0061730.04860.480696
320.0315260.24820.402387
33-0.029505-0.23230.408525
340.0513060.4040.343806
350.0303550.2390.405941
36-0.129529-1.01990.155867
370.0631890.49760.310279
380.0226330.17820.429569
39-0.053444-0.42080.337673
40-0.018281-0.14390.443005
410.0167550.13190.447735
42-0.009733-0.07660.469581
430.0663770.52270.301538
440.0711370.56010.288704
45-0.071464-0.56270.287832
460.0811220.63880.262667
470.0273040.2150.41524
480.004150.03270.487019
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/May/05/t12730532009zdi96n01bl2mdh/1fwuz1273053156.png (open in new window)
http://www.freestatistics.org/blog/date/2010/May/05/t12730532009zdi96n01bl2mdh/1fwuz1273053156.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/May/05/t12730532009zdi96n01bl2mdh/2fwuz1273053156.png (open in new window)
http://www.freestatistics.org/blog/date/2010/May/05/t12730532009zdi96n01bl2mdh/2fwuz1273053156.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