Home » date » 2010 » Dec » 16 »

*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: Thu, 16 Dec 2010 13:50:41 +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/16/t12925075326itp3ni4e0jdcj3.htm/, Retrieved Thu, 16 Dec 2010 14:52:13 +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/16/t12925075326itp3ni4e0jdcj3.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 «
4143 4429 5219 4929 5761 5592 4163 4962 5208 4755 4491 5732 5731 5040 6102 4904 5369 5578 4619 4731 5011 5299 4146 4625 4736 4219 5116 4205 4121 5103 4300 4578 3809 5657 4248 3830 4736 4839 4411 4570 4104 4801 3953 3828 4440 4026 4109 4785 3224 3552 3940 3913 3681 4309 3830 4143 4087 3818 3380 3430 3458
 
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
10.4446163.47260.000477
20.4216133.29290.000826
30.5474344.27563.4e-05
40.385813.01330.00188
50.3447232.69240.004573
60.3719442.9050.002555
70.3688382.88070.002734
80.3385642.64430.005197
90.3662192.86030.002894
100.3463432.7050.004421
110.1131410.88370.190176
120.2731462.13330.018464
130.1492971.1660.124067
140.0942730.73630.232187
150.0834060.65140.258612
160.0949350.74150.230627
170.0958520.74860.228479
180.0300730.23490.407546
19-0.000751-0.00590.497671
20-0.014188-0.11080.456064
21-0.004844-0.03780.484973
220.0270330.21110.416743
23-0.09749-0.76140.22467
24-0.009818-0.07670.469564
25-0.011956-0.09340.462954
26-0.060893-0.47560.318033
27-0.104765-0.81820.208203
28-0.097247-0.75950.225233
29-0.088119-0.68820.246959
30-0.107318-0.83820.2026
31-0.188541-1.47260.073006
32-0.148225-1.15770.125755
33-0.145577-1.1370.129994
34-0.20716-1.6180.055415
35-0.193055-1.50780.068383
36-0.194583-1.51970.066871
37-0.258056-2.01550.024133
38-0.283903-2.21740.015167
39-0.219407-1.71360.045838
40-0.25981-2.02920.023405
41-0.278749-2.17710.016676
42-0.189021-1.47630.072504
43-0.254402-1.98690.025712
44-0.289112-2.2580.013766
45-0.237986-1.85870.033946
46-0.269872-2.10780.019584
47-0.233451-1.82330.036578
48-0.157468-1.22990.111735
49-0.124947-0.97590.166492
50-0.103309-0.80690.211439
51-0.084454-0.65960.255994
52-0.08767-0.68470.248056
53-0.090446-0.70640.241312
54-0.091444-0.71420.238914
55-0.119637-0.93440.176893
56-0.085383-0.66690.253687
57-0.030133-0.23530.407364
58-0.007623-0.05950.476358
590.0187790.14670.44194
600.0147720.11540.454265


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.4446163.47260.000477
20.2791042.17990.016568
30.3895613.04260.001728
40.0504050.39370.347596
50.0131830.1030.459167
60.0302760.23650.406932
70.1087950.84970.199403
80.0705490.5510.291821
90.097410.76080.224854
100.0296460.23150.408833
11-0.327248-2.55590.00655
120.0555020.43350.333097
13-0.144641-1.12970.131516
140.0481210.37580.35417
15-0.147109-1.1490.127529
160.0270580.21130.416666
170.0119830.09360.462872
18-0.017517-0.13680.445816
19-0.073673-0.57540.283567
20-0.028284-0.22090.412951
210.1136510.88760.189109
220.0629440.49160.312379
23-0.015206-0.11880.452926
24-0.011991-0.09370.462846
250.0398170.3110.378437
26-0.043285-0.33810.368236
27-0.07521-0.58740.279549
28-0.042785-0.33420.369701
29-0.011124-0.08690.465526
30-0.020382-0.15920.437023
31-0.201423-1.57320.060427
32-0.028702-0.22420.411689
33-0.014048-0.10970.456497
34-0.11689-0.91290.182433
350.0239340.18690.426167
36-0.007934-0.0620.475395
37-0.036854-0.28780.387224
38-0.194323-1.51770.067127
390.0988080.77170.22163
400.0578640.45190.326462
410.0842140.65770.256593
42-0.008555-0.06680.473472
43-0.011026-0.08610.465827
44-0.031976-0.24970.401815
45-0.06599-0.51540.30407
46-0.031399-0.24520.40355
470.0804630.62840.266032
480.2101751.64150.052918
490.0290320.22670.41069
500.0683040.53350.297823
51-0.076164-0.59490.277069
52-0.037241-0.29090.386073
53-0.007304-0.0570.477349
54-0.046012-0.35940.360282
55-0.05149-0.40220.344489
56-0.071219-0.55620.290041
57-0.083624-0.65310.258066
58-0.011362-0.08870.464791
590.0902880.70520.241693
600.0058570.04570.481831
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/16/t12925075326itp3ni4e0jdcj3/197xb1292507437.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/16/t12925075326itp3ni4e0jdcj3/197xb1292507437.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/16/t12925075326itp3ni4e0jdcj3/297xb1292507437.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/16/t12925075326itp3ni4e0jdcj3/297xb1292507437.ps (open in new window)


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