Home » date » 2010 » Dec » 21 »

ACF-48 lags

*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 19:52:07 +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/t12929610081zldbaonu00cg6g.htm/, Retrieved Tue, 21 Dec 2010 20:50:10 +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/t12929610081zldbaonu00cg6g.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 «
8.1 9.9 11.5 23.4 25.4 27.9 26.1 18.8 14.1 11.5 15.8 12.4 4.5 -2.2 -4.2 -9.4 -14.5 -17.9 -15.1 -15.2 -15.7 -18 -18.1 -13.5 -9.9 -4.8 -1.7 -0.1 2.2 10.2 7.6 10.8 3.8 11 10.8 20.1 14.9 13 10.9 9.6 4 -1.1 -7.7 -8.9 -8 -7.1 -5.3 -2.5 -2.4 -2.9 -4.8 -7.2 1.7 2.2 13.4 12.3 13.7 4.4 -2.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'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.9184157.05450
20.8072546.20060
30.6491714.98643e-06
40.5123273.93530.000111
50.3628632.78720.003571
60.2125921.63290.053903
70.0558370.42890.334782
8-0.097922-0.75210.227476
9-0.24951-1.91650.030073
10-0.386274-2.9670.002169
11-0.50757-3.89870.000125
12-0.592977-4.55471.3e-05
13-0.628616-4.82855e-06
14-0.622069-4.77826e-06
15-0.57851-4.44362e-05
16-0.527219-4.04967.6e-05
17-0.447738-3.43910.000538
18-0.358787-2.75590.003887
19-0.245076-1.88250.032354
20-0.150699-1.15750.125858
21-0.05048-0.38770.349801
220.0244770.1880.425756
230.1270230.97570.166604
240.2112951.6230.054962
250.2840952.18220.016545
260.3150482.41990.009311
270.3203882.46090.008401
280.318822.44890.00866
290.3007652.31020.012196
300.2689942.06620.021605
310.2118231.6270.054529
320.1495011.14830.127732
330.0874940.67210.252086
340.0299850.23030.409319
35-0.030852-0.2370.406749
36-0.092839-0.71310.239293
37-0.15334-1.17780.121798
38-0.194812-1.49640.069943
39-0.216284-1.66130.050978
40-0.207374-1.59290.058267
41-0.178402-1.37030.087887
42-0.142131-1.09170.139696
43-0.108536-0.83370.203911
44-0.077053-0.59190.278103
45-0.058538-0.44960.327309
46-0.041861-0.32150.374469
47-0.023534-0.18080.428585
480.0103560.07950.468435


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.9184157.05450
2-0.23149-1.77810.040269
3-0.345945-2.65730.00506
40.1443911.10910.135946
5-0.162494-1.24810.108455
6-0.217728-1.67240.04987
7-0.076574-0.58820.279328
8-0.129652-0.99590.161689
9-0.188249-1.4460.076739
10-0.091299-0.70130.242941
11-0.11817-0.90770.18387
12-0.023307-0.1790.429266
130.1370181.05250.14844
140.0012920.00990.496056
150.0171040.13140.447963
16-0.081174-0.62350.267678
170.0819660.62960.265696
18-0.001066-0.00820.496747
190.0123150.09460.46248
20-0.202494-1.55540.062601
210.002060.01580.493715
22-0.113694-0.87330.193019
230.1889011.4510.076041
24-0.01506-0.11570.454149
25-0.122298-0.93940.17568
26-0.022172-0.17030.432675
27-0.034267-0.26320.396653
280.1234310.94810.173475
29-0.063557-0.48820.313613
30-0.066321-0.50940.306179
31-0.086135-0.66160.255396
320.0056890.04370.482645
330.0085750.06590.473852
34-0.03695-0.28380.38877
350.0023980.01840.492684
36-0.070748-0.54340.294441
370.00240.01840.492677
38-0.052782-0.40540.343314
390.1137430.87370.192918
400.1196210.91880.180964
410.1514641.16340.124673
42-0.176106-1.35270.090657
43-0.122427-0.94040.175429
44-0.033745-0.25920.398191
45-0.056844-0.43660.331987
460.0050350.03870.484639
47-0.085299-0.65520.257444
480.0142790.10970.456518
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/21/t12929610081zldbaonu00cg6g/1ucl71292961125.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t12929610081zldbaonu00cg6g/1ucl71292961125.ps (open in new window)


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


 
Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
 
Parameters (R input):
par1 = 48 ; par2 = 1 ; par3 = 0 ; 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