Home » date » 2010 » Dec » 19 »

PAPER - 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, 19 Dec 2010 10:56:45 +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/19/t129275628816p3zjru5slpj3d.htm/, Retrieved Sun, 19 Dec 2010 11:58: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/2010/Dec/19/t129275628816p3zjru5slpj3d.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 «
104.37 104.89 105.15 105.72 106.38 106.40 106.47 106.59 106.76 107.35 107.81 108.03 109.08 109.86 110.29 110.34 110.59 110.64 110.83 111.51 113.32 115.89 116.51 117.44 118.25 118.65 118.52 119.07 119.12 119.28 119.30 119.44 119.57 119.93 120.03 119.66 119.46 119.48 119.56 119.43 119.57 119.59 119.50 119.54 119.56 119.61 119.64 119.60 119.71 119.72 119.66 119.76 119.80 119.88 119.78 120.08 120.22
 
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'RServer@AstonUniversity' @ vre.aston.ac.uk


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.5974944.47121.9e-05
20.3529022.64090.005348
30.2541291.90170.031178
40.1521341.13850.129887
5-0.006529-0.04890.480603
60.0568770.42560.336005
70.1364991.02150.155713
80.2207571.6520.052066
90.2169621.62360.05504
100.1150.86060.196569
110.156481.1710.123281
120.0899870.67340.25173
13-0.031191-0.23340.408147
14-0.174251-1.3040.098788
15-0.179408-1.34260.092414
16-0.142602-1.06710.145246
17-0.00121-0.00910.496402
18-0.049392-0.36960.356531
19-0.038249-0.28620.387879
20-0.003886-0.02910.488453
21-0.079548-0.59530.277027
22-0.138692-1.03790.151894
23-0.142718-1.0680.145051
24-0.103287-0.77290.221406
25-0.141142-1.05620.147704
26-0.156302-1.16970.123546
27-0.152329-1.13990.129584
28-0.11051-0.8270.20588
29-0.147369-1.10280.137414
30-0.124588-0.93230.177584
31-0.131234-0.98210.165146
32-0.124086-0.92860.178548
33-0.141977-1.06250.146294
34-0.086783-0.64940.25936
35-0.072442-0.54210.294947
36-0.040101-0.30010.382609
37-0.031464-0.23550.407357
38-0.044252-0.33120.370883
39-0.022134-0.16560.43452
40-0.040587-0.30370.381231
41-0.038466-0.28790.387262
42-0.031884-0.23860.406145
43-0.017117-0.12810.449267
44-0.019538-0.14620.442141
45-0.009441-0.07060.471965
46-0.00985-0.07370.470753
47-0.006223-0.04660.481512
48-0.004172-0.03120.487602


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.5974944.47121.9e-05
2-0.006372-0.04770.481069
30.0711320.53230.29831
4-0.040561-0.30350.381305
5-0.148748-1.11310.135204
60.1849481.3840.085921
70.0936010.70040.243275
80.1607741.20310.116996
9-0.00226-0.01690.493284
10-0.168115-1.25810.106796
110.1807241.35240.090839
12-0.103251-0.77270.221487
13-0.053107-0.39740.346284
14-0.210498-1.57520.060419
15-0.091268-0.6830.248716
160.1053640.78850.216873
170.1777421.33010.094438
18-0.174766-1.30780.098138
19-0.083246-0.6230.267922
20-0.035392-0.26490.396049
21-0.003739-0.0280.488888
220.1357441.01580.157042
23-0.099732-0.74630.229296
24-0.018359-0.13740.44561
25-0.110463-0.82660.205978
26-0.028968-0.21680.414586
270.113850.8520.198928
28-0.157927-1.18180.121136
29-0.116636-0.87280.193243
300.0292530.21890.413757
31-0.011189-0.08370.466784
320.1178240.88170.19085
33-0.129343-0.96790.168624
34-0.019135-0.14320.443326
350.0191060.1430.443411
360.0618740.4630.322572
370.0554490.41490.339886
38-0.064143-0.480.316547
39-0.048681-0.36430.358504
40-0.010739-0.08040.468119
410.0216830.16230.435843
420.0281740.21080.41689
43-0.079025-0.59140.278327
44-0.075405-0.56430.287408
45-0.006714-0.05020.480055
460.0732110.54790.292983
47-0.062889-0.47060.31987
48-0.02005-0.150.440635
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/19/t129275628816p3zjru5slpj3d/1hipa1292756201.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t129275628816p3zjru5slpj3d/1hipa1292756201.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/19/t129275628816p3zjru5slpj3d/2hipa1292756201.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t129275628816p3zjru5slpj3d/2hipa1292756201.ps (open in new window)


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