Home » date » 2009 » Dec » 06 »

review WS 9 autocorrelatie d=2 D=0

*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: Sun, 06 Dec 2009 13:59:35 -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/06/t1260133393fqvz2vrieep7i2n.htm/, Retrieved Sun, 06 Dec 2009 22:03:15 +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/06/t1260133393fqvz2vrieep7i2n.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 «
6.3 6.2 6.1 6.3 6.5 6.6 6.5 6.2 6.2 5.9 6.1 6.1 6.1 6.1 6.1 6.4 6.7 6.9 7 7 6.8 6.4 5.9 5.5 5.5 5.6 5.8 5.9 6.1 6.1 6 6 5.9 5.5 5.6 5.4 5.2 5.2 5.2 5.5 5.8 5.8 5.5 5.3 5.1 5.2 5.8 5.8 5.5 5 4.9 5.3 6.1 6.5 6.8 6.6 6.4 6.4
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time0 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.018621-0.13930.444839
2-0.069148-0.51750.303438
3-0.344067-2.57480.006351
4-0.36283-2.71520.004396
50.0422360.31610.376564
60.2690082.01310.024462
70.1307150.97820.166097
8-0.050581-0.37850.353241
9-0.111775-0.83640.203229
10-0.221352-1.65640.051612
110.0503740.3770.353812
120.2026181.51630.06754
130.0427530.31990.375105
140.0962310.72010.237222
150.0162740.12180.451754
16-0.055921-0.41850.3386
17-0.136116-1.01860.156387
18-0.016159-0.12090.452093
19-0.11745-0.87890.191601
200.1011310.75680.226173
210.0211740.15840.437337
220.0612220.45810.32431
23-0.061403-0.45950.323827
240.0535540.40080.345062
25-0.127884-0.9570.17134
260.1360321.0180.156535
270.0427890.32020.375004
280.0373110.27920.390555
29-0.005501-0.04120.483655
30-0.080077-0.59920.275714
31-0.01617-0.1210.45206
32-0.138939-1.03970.151469
332e-051e-040.499942
34-0.015934-0.11920.452755
350.1094520.81910.208112
360.1735011.29840.099742


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.018621-0.13930.444839
2-0.069519-0.52020.302477
3-0.348543-2.60830.005823
4-0.446007-3.33760.000753
5-0.145679-1.09020.140155
60.0770540.57660.283255
7-0.133274-0.99730.161447
8-0.292621-2.18980.016361
9-0.119087-0.89120.188327
10-0.206501-1.54530.063952
11-0.205362-1.53680.064988
12-0.098791-0.73930.231412
13-0.25201-1.88590.032252
14-0.167304-1.2520.107889
150.0644340.48220.315778
160.1454891.08870.140467
17-0.138072-1.03320.152968
18-0.021312-0.15950.43693
190.0098350.07360.470797
200.0860990.64430.261005
21-0.116263-0.870.193997
22-0.014332-0.10730.457487
23-0.125586-0.93980.175679
240.077760.58190.281483
25-0.145592-1.08950.140298
26-0.008015-0.060.476192
27-0.115856-0.8670.194825
280.0080070.05990.476218
290.0004980.00370.49852
30-0.005363-0.04010.484065
310.0907240.67890.249994
32-0.129283-0.96750.168735
33-0.092182-0.68980.246576
34-0.105608-0.79030.216343
35-0.023478-0.17570.430585
360.0323390.2420.40483
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/06/t1260133393fqvz2vrieep7i2n/159yy1260133173.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/06/t1260133393fqvz2vrieep7i2n/159yy1260133173.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/06/t1260133393fqvz2vrieep7i2n/2k4kt1260133173.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/06/t1260133393fqvz2vrieep7i2n/2k4kt1260133173.ps (open in new window)


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