Home » date » 2009 » Dec » 20 »

ACF

*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, 20 Dec 2009 12:04:50 -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/20/t1261335953p0j069fvu79famk.htm/, Retrieved Sun, 20 Dec 2009 20:05:55 +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/20/t1261335953p0j069fvu79famk.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 «
100.00 97.57 93.71 92.70 89.66 89.05 98.99 105.68 101.62 98.38 94.12 93.31 94.73 93.31 90.87 89.86 88.44 87.42 98.17 103.45 104.06 102.03 95.54 95.54 96.55 96.35 95.33 93.51 92.29 92.49 104.87 106.49 106.09 105.27 103.25 103.85 105.27 104.87 103.45 103.25 101.62 102.84 115.42 117.65 117.24 114.60 110.95 112.58 114.00 113.79 112.58 110.34 108.92 110.14 120.49 123.94 124.34 123.94 120.49 120.69 119.88 119.47 118.46 116.23 115.01 115.42 125.96 127.59 127.38 124.14 120.69 121.10 120.28 119.68 117.65 116.43 116.23 116.23 125.76 126.98 125.76 119.27 114.81 112.98 113.79 111.36 107.91 106.69 103.65 101.22 112.58 114.60 109.94 106.90 103.45 104.26 104.87 103.04 100.00 99.39 95.13 96.96 107.10 108.32 105.07 102.64 101.83 104.67
 
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.0126610.12340.451024
2-0.009578-0.09340.462909
30.0146590.14290.443346
40.071680.69860.243239
50.1064141.03720.151138
60.1006350.98090.164575
70.0188440.18370.427332
80.1031431.00530.15865
90.1319031.28560.100848
10-0.034226-0.33360.36971
110.0170750.16640.434087
12-0.189372-1.84580.03402
130.0497780.48520.314333
140.2442022.38020.009651
15-0.022111-0.21550.414914
16-0.011484-0.11190.455556
17-0.071581-0.69770.24354
180.0045870.04470.482219
190.0407260.39690.346147
200.0002380.00230.499075
210.0222520.21690.41438
220.061210.59660.276095
230.1472641.43540.077235
24-0.116901-1.13940.128699
25-0.159599-1.55560.061567
26-0.204778-1.99590.024402
270.058870.57380.283732
28-0.022356-0.21790.413988
290.1012730.98710.163053
30-0.08319-0.81080.209742
31-0.073435-0.71580.237949
320.0131980.12860.448956
33-0.090719-0.88420.189406
34-0.075463-0.73550.231918
35-0.04509-0.43950.330655
360.0231730.22590.410896
370.0640640.62440.266925
380.0541410.52770.299469
39-0.146394-1.42690.078447
40-0.085257-0.8310.204033
410.0009990.00970.496124
42-0.026195-0.25530.399516
430.0556480.54240.294411
44-0.080007-0.77980.218721
45-0.082628-0.80540.211312
46-0.025736-0.25080.401239
47-0.15546-1.51520.066516
48-0.073819-0.71950.236799
49-0.074831-0.72940.233788
500.0468380.45650.324529
51-0.016448-0.16030.436487
52-0.013546-0.1320.447619
53-0.172508-1.68140.047985
540.0028860.02810.488807
55-0.089166-0.86910.193495
56-0.021356-0.20820.417778
570.0461570.44990.326908
58-0.047188-0.45990.323307
590.0095050.09260.463193
60-0.009093-0.08860.464783


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.0126610.12340.451024
2-0.00974-0.09490.462284
30.0149080.14530.442388
40.071240.69440.244574
50.1055161.02840.153175
60.1017450.99170.161934
70.0196220.19130.424369
80.1008670.98310.16402
90.1210371.17970.120529
10-0.054195-0.52820.299285
11-0.003002-0.02930.488358
12-0.231728-2.25860.013098
130.0025120.02450.490258
140.211912.06540.020802
15-0.038584-0.37610.353851
160.0183420.17880.429246
17-0.07485-0.72950.233732
180.0031050.03030.487962
190.0264120.25740.398702
20-0.006906-0.06730.473239
210.0837340.81610.20823
222.3e-052e-040.499911
230.1386751.35160.08985
24-0.155124-1.5120.066932
25-0.193336-1.88440.031283
26-0.149801-1.46010.073784
27-0.027401-0.26710.394995
28-0.082532-0.80440.21158
290.1347311.31320.09614
30-0.017098-0.16660.434001
310.0203280.19810.421681
320.0592910.57790.282352
33-0.026915-0.26230.396817
34-0.026337-0.25670.398981
35-0.00144-0.0140.494415
36-0.038262-0.37290.355016
37-0.03598-0.35070.363299
380.0745980.72710.234479
39-0.024203-0.23590.407007
40-0.053553-0.5220.301452
410.004670.04550.481896
42-0.063653-0.62040.268237
43-0.022425-0.21860.413726
44-0.017422-0.16980.432762
45-0.075627-0.73710.231433
46-0.028689-0.27960.390185
47-0.068509-0.66770.252957
480.00870.08480.4663
49-0.050313-0.49040.312493
500.038610.37630.353758
51-0.06147-0.59910.275253
52-0.103301-1.00690.158282
53-0.050228-0.48960.312787
540.0593670.57860.282102
55-0.035011-0.34120.366835
560.0183260.17860.429309
570.0573560.5590.288725
58-0.050491-0.49210.311883
59-0.025792-0.25140.401028
60-0.010714-0.10440.458527
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/20/t1261335953p0j069fvu79famk/1gl7h1261335888.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/20/t1261335953p0j069fvu79famk/1gl7h1261335888.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/20/t1261335953p0j069fvu79famk/2bq871261335888.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/20/t1261335953p0j069fvu79famk/2bq871261335888.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