Home » date » 2010 » Dec » 21 »

*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 16:01:31 +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/t1292947156k50tdzknyt6lduv.htm/, Retrieved Tue, 21 Dec 2010 16:59:17 +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/t1292947156k50tdzknyt6lduv.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 «
77.33 75.28 77.43 73.25 68.41 72.87 65.61 69.04 57.84 51.07 47.48 44.01 45.29 43.8 55.48 75.73 101.42 116.07 135.81 132.69 124.05 109.65 102.79 94.09 92.23 90.6 92.6 81.71 76.36 71.44 75.26 70.3 67.68 67.65 61.92 58.34 55.04 62.5 59.44 60.03 64.24 74.33 74.41 69.75 72.03 68.18 63.01 61.71 63.52
 
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'RServer@AstonUniversity' @ vre.aston.ac.uk


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.336627-2.30780.01273
20.2290071.570.061563
3-0.228347-1.56550.062091
40.1084360.74340.23047
5-0.236136-1.61890.056084
6-0.160876-1.10290.13784
70.0671260.46020.323751
80.0628880.43110.334169
9-0.053291-0.36530.358247
10-0.099721-0.68370.248776
110.2175351.49130.071277
12-0.092624-0.6350.264254
130.0073790.05060.479934
14-0.027236-0.18670.426341
150.1405060.96330.170173
16-0.077043-0.52820.299931
17-0.010665-0.07310.471012
18-0.091995-0.63070.265651
190.1812521.24260.110089
20-0.224627-1.540.065137
210.1012090.69390.245595
22-0.116311-0.79740.214617
230.1989921.36420.089498
24-0.096311-0.66030.25615
250.0911220.62470.267595
260.0909850.62380.2679
27-0.094639-0.64880.259808
280.0135210.09270.46327
29-0.124017-0.85020.199757
300.1026010.70340.242639
31-0.131839-0.90380.185344
320.0902180.61850.269615
33-0.072191-0.49490.311482
340.0601030.4120.34109
350.0209120.14340.443306
36-0.02414-0.16550.434631
370.0446150.30590.380528
38-0.058734-0.40270.344511
390.0628970.43120.334147
40-0.022332-0.15310.439487
41-0.031118-0.21330.415994
420.0250820.1720.432107
430.0031250.02140.491499
44-0.011866-0.08130.467755
45-0.001402-0.00960.496186
460.0045790.03140.487545
47NANANA
48NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.336627-2.30780.01273
20.1304740.89450.18781
3-0.13469-0.92340.180261
4-0.024049-0.16490.434876
5-0.187535-1.28570.102428
6-0.374275-2.56590.00677
7-0.046095-0.3160.376696
80.0913870.62650.267003
9-0.137687-0.94390.175014
10-0.293719-2.01360.024897
110.0360150.24690.403027
12-0.069453-0.47610.318089
13-0.130828-0.89690.187168
14-0.021713-0.14890.441151
15-0.024344-0.16690.434086
16-0.105835-0.72560.235851
170.0008970.00610.497561
18-0.182908-1.2540.10803
190.0133840.09180.463641
20-0.112399-0.77060.222409
21-0.067654-0.46380.322462
22-0.206932-1.41870.081299
23-0.013796-0.09460.462526
240.0166540.11420.454794
25-0.022362-0.15330.439407
260.0863210.59180.278415
27-0.165867-1.13710.130625
28-0.069591-0.47710.317755
290.0291110.19960.421337
30-0.035658-0.24450.403969
31-0.054387-0.37290.355466
320.018120.12420.450833
33-0.082104-0.56290.288097
34-0.171075-1.17280.123387
350.1530391.04920.14973
36-0.028283-0.19390.423545
37-0.115271-0.79030.216673
38-0.050194-0.34410.366149
39-0.027078-0.18560.426765
40-0.037442-0.25670.39927
410.0059150.04060.483912
42-0.046494-0.31870.375664
43-0.067065-0.45980.323898
44-0.015988-0.10960.456592
450.0200920.13770.445516
46-0.051119-0.35050.363781
47NANANA
48NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292947156k50tdzknyt6lduv/1e0uk1292947287.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292947156k50tdzknyt6lduv/1e0uk1292947287.ps (open in new window)


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


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