Home » date » 2009 » Nov » 28 »

ws8: ACF D=d=1, L=1

*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: Sat, 28 Nov 2009 01:44:04 -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/Nov/28/t1259397906jd909z7bgdl5vok.htm/, Retrieved Sat, 28 Nov 2009 09:45:08 +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/Nov/28/t1259397906jd909z7bgdl5vok.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 «
27071 29462 26105 22397 23843 21705 18089 20764 25316 17704 15548 28029 29383 36438 32034 22679 24319 18004 17537 20366 22782 19169 13807 29743 25591 29096 26482 22405 27044 17970 18730 19684 19785 18479 10698 31956 29506 34506 27165 26736 23691 18157 17328 18205 20995 17382 9367 31124 26551 30651 25859 25100 25778 20418 18688 20424 24776 19814 12738 31566
 
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
1-0.341901-2.3440.01168
20.1362410.9340.177534
3-0.178837-1.2260.113145
4-0.212798-1.45890.075626
50.0711520.48780.313982
6-0.031824-0.21820.414119
7-0.010913-0.07480.470339
80.1510711.03570.152824
90.1912731.31130.098063
10-0.092572-0.63460.264369
11-0.111194-0.76230.224843
12-0.180068-1.23450.111579
13-0.158046-1.08350.142056
140.2104591.44280.077849
15-0.001604-0.0110.495637
160.0921780.63190.265245
170.0781770.5360.297258
18-0.048814-0.33460.369689
19-0.068914-0.47240.319396
20-0.050276-0.34470.365938
210.0053590.03670.485423
22-0.102079-0.69980.243746
230.2452431.68130.049669
24-0.095555-0.65510.257801
250.1109580.76070.225321
260.0102570.07030.472118
27-0.141722-0.97160.168112
280.0383440.26290.396899
290.0163120.11180.455717
30-0.020058-0.13750.445608
310.0422070.28940.38679
32-0.048621-0.33330.370185
33-0.008345-0.05720.477309
340.0550080.37710.353893
35-0.024472-0.16780.433741
36-0.067821-0.4650.322054
370.0322590.22120.412964
38-0.044086-0.30220.381901
390.0413850.28370.388935
400.0119440.08190.467543
41-0.063356-0.43430.333011
420.050990.34960.364111
430.0061950.04250.483153
440.020860.1430.443448
450.0173070.11870.453028
46-0.031303-0.21460.415503
47NANANA
48NANANA
49NANANA
50NANANA
51NANANA
52NANANA
53NANANA
54NANANA
55NANANA
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.341901-2.3440.01168
20.0219060.15020.440634
3-0.142506-0.9770.166793
4-0.366878-2.51520.007687
5-0.141947-0.97310.167732
6-0.075739-0.51920.303015
7-0.216247-1.48250.072439
8-0.03064-0.21010.417265
90.3297042.26030.014237
100.0721530.49470.311573
11-0.215518-1.47750.073104
12-0.144268-0.98910.163851
13-0.228258-1.56490.062163
14-0.093467-0.64080.262389
15-0.056864-0.38980.349208
16-0.090129-0.61790.269815
17-0.068597-0.47030.320166
18-0.052452-0.35960.36038
19-0.127907-0.87690.192505
20-0.025451-0.17450.431119
210.2464821.68980.048845
22-0.110449-0.75720.226355
23-0.077607-0.5320.2986
24-0.04731-0.32430.373558
25-0.073833-0.50620.30755
26-0.021911-0.15020.440619
270.035660.24450.403964
280.0197790.13560.446359
290.0986330.67620.251115
300.0725840.49760.31054
31-0.027472-0.18830.425712
32-0.059438-0.40750.342751
330.0457930.31390.377478
340.0098590.06760.473199
35-0.067924-0.46570.321803
36-0.016983-0.11640.453904
37-0.060355-0.41380.34046
38-0.110098-0.75480.22707
39-0.007669-0.05260.479145
400.0531290.36420.358658
41-0.003391-0.02320.490775
420.0166140.11390.454902
43-0.059015-0.40460.343808
44-0.101338-0.69470.24532
450.0713220.4890.313572
460.0003120.00210.499152
47NANANA
48NANANA
49NANANA
50NANANA
51NANANA
52NANANA
53NANANA
54NANANA
55NANANA
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/28/t1259397906jd909z7bgdl5vok/1yge31259397842.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/28/t1259397906jd909z7bgdl5vok/1yge31259397842.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/28/t1259397906jd909z7bgdl5vok/2zw5u1259397842.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/28/t1259397906jd909z7bgdl5vok/2zw5u1259397842.ps (open in new window)


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