Home » date » 2010 » Dec » 21 »

ACFKoffie2d1D1

*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: Tue, 21 Dec 2010 08:40:48 +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/Dec/21/t1292920739c1sa0n6umdi47ux.htm/, Retrieved Tue, 21 Dec 2010 09:38:59 +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/Dec/21/t1292920739c1sa0n6umdi47ux.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:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
7.14 7.24 7.33 7.61 7.66 7.69 7.7 7.68 7.71 7.71 7.72 7.68 7.72 7.74 7.76 7.9 7.97 7.96 7.95 7.97 7.93 7.99 7.96 7.92 7.97 7.98 8 8.04 8.17 8.29 8.26 8.3 8.32 8.28 8.27 8.32 8.31 8.34 8.32 8.36 8.33 8.35 8.34 8.37 8.31 8.33 8.34 8.25 8.27 8.31 8.25 8.3 8.3 8.35 8.78 8.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'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.1225390.80350.21304
20.0148690.09750.46139
30.1650291.08220.142605
4-0.071553-0.46920.320646
5-0.046228-0.30310.381624
60.0533050.34950.364193
7-0.05072-0.33260.370528
8-0.039709-0.26040.397904
90.0195080.12790.449403
10-0.049236-0.32290.374183
11-0.030564-0.20040.421048
12-0.12253-0.80350.213057
13-0.071999-0.47210.31961
14-0.169025-1.10840.136931
15-0.168942-1.10780.137047
16-0.037143-0.24360.404364
170.0219570.1440.443095
18-0.083854-0.54990.292627
190.0573420.3760.354377
200.078590.51530.304474
21-0.112913-0.74040.231535
220.0282830.18550.426868
230.0851590.55840.289726
240.0198060.12990.448634
250.2045681.34140.093409
260.1423230.93330.177944
27-0.021719-0.14240.443706
28-0.029118-0.19090.424737
290.0193130.12660.449907
300.0256230.1680.433678
31-0.014431-0.09460.462523
32-0.007578-0.04970.4803
330.0735210.48210.316087
34-0.048087-0.31530.37702
350.0331790.21760.414397
36-0.012924-0.08470.466429
37-0.053725-0.35230.363167
38-0.004134-0.02710.489251
39-0.169807-1.11350.13584
40-0.120821-0.79230.216275
41-0.109062-0.71520.239186
42-0.019092-0.12520.450477
43NANANA
44NANANA
45NANANA
46NANANA
47NANANA
48NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.1225390.80350.21304
2-0.000149-0.0010.499612
30.1657131.08670.141622
4-0.116694-0.76520.224163
5-0.021886-0.14350.443276
60.035090.23010.409553
7-0.033661-0.22070.413174
8-0.024935-0.16350.435441
90.0059630.03910.484494
10-0.033822-0.22180.412764
11-0.013562-0.08890.464775
12-0.140444-0.92090.181107
13-0.020944-0.13730.445703
14-0.169677-1.11260.136021
15-0.105671-0.69290.24604
16-0.017566-0.11520.454416
170.0611460.4010.345217
18-0.087333-0.57270.284921
190.0483310.31690.376415
200.0395910.25960.3982
21-0.106249-0.69670.244863
22-0.002238-0.01470.49418
230.0585460.38390.351468
240.0406330.26640.395585
250.1753661.150.12826
260.0318550.20890.417761
27-0.050205-0.32920.371796
28-0.14103-0.92480.180116
29-0.003533-0.02320.490812
300.0426310.27960.39058
310.0024460.0160.493638
32-0.008218-0.05390.478637
330.0852080.55870.289617
34-0.049537-0.32480.373441
350.0559730.3670.357696
36-0.092846-0.60880.27292
370.0559370.36680.357782
380.0505340.33140.370986
39-0.137762-0.90340.185683
40-0.025178-0.16510.434818
41-0.100345-0.6580.257021
42-0.012797-0.08390.466757
43NANANA
44NANANA
45NANANA
46NANANA
47NANANA
48NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292920739c1sa0n6umdi47ux/1kir21292920845.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292920739c1sa0n6umdi47ux/1kir21292920845.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t1292920739c1sa0n6umdi47ux/2kir21292920845.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292920739c1sa0n6umdi47ux/2kir21292920845.ps (open in new window)


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