Home » date » 2010 » Dec » 13 »

*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: Mon, 13 Dec 2010 09:39:12 +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/13/t1292233095x6bu0zksd8k7m52.htm/, Retrieved Mon, 13 Dec 2010 10:38:15 +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/13/t1292233095x6bu0zksd8k7m52.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 «
76.14 75.93 74.49 74.73 75.56 84.19 79.30 74.70 77.09 74.88 77.56 74.08 68.38 71.63 64.65 69.13 58.10 50.28 46.95 41.76 43.91 41.53 54.04 72.69 99.29 114.57 132.55 131.52 122.77 109.05 101.84 93.75 90.82 89.43 91.27 82.15 76.91 70.13 73.67 68.19 65.10 65.10 60.60 57.58 53.40 61.00 58.13 57.95 61.97 71.81 72.51 68.29 68.61 68.00 60.93 59.71 62.36 56.47
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time7 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.5263873.97411e-04
20.3960862.99040.002055
30.0968360.73110.233859
4-0.070348-0.53110.298702
5-0.258998-1.95540.027723
6-0.351506-2.65380.005148
7-0.224009-1.69120.048127
8-0.197951-1.49450.070281
9-0.196746-1.48540.071474
10-0.098971-0.74720.229003
11-0.055045-0.41560.339639
12-0.105774-0.79860.213926
13-0.109247-0.82480.206463
14-0.048858-0.36890.356796
150.0062660.04730.481218
16-0.075924-0.57320.284378
17-0.072163-0.54480.294001
18-0.023457-0.17710.430029
190.0398510.30090.382305
20-0.035669-0.26930.394339
210.094030.70990.240326
220.0823780.62190.26823
230.1713391.29360.100515
240.0755960.57070.285211
250.1533491.15780.125896
260.0934430.70550.241692
270.0064320.04860.480721
28-0.021342-0.16110.43628
29-0.046685-0.35250.362896
30-0.030295-0.22870.409951
31-0.121556-0.91770.181313
32-0.070792-0.53450.297548
33-0.046458-0.35070.363535
34-0.03231-0.24390.404079
35-0.009871-0.07450.470427
360.0044050.03330.486792
370.004650.03510.486058
380.0007530.00570.497742
39-0.015715-0.11860.452987
400.0419230.31650.376386
410.0113480.08570.466014
42-0.01781-0.13450.446754
430.0120670.09110.463865
440.0190430.14380.443095
450.021130.15950.436908
46-0.007673-0.05790.477002
47-0.001084-0.00820.49675
480.0153670.1160.454023


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.5263873.97411e-04
20.1646141.24280.109513
3-0.233162-1.76030.041858
4-0.149942-1.1320.131179
5-0.176403-1.33180.094111
6-0.146531-1.10630.136625
70.1622411.22490.112826
8-0.03734-0.28190.389518
9-0.234249-1.76850.04116
100.0112910.08520.466183
11-0.021537-0.16260.435705
12-0.212417-1.60370.057152
13-0.03557-0.26850.394625
140.0378360.28570.388088
15-0.045948-0.34690.364973
16-0.185742-1.40230.083121
17-0.134914-1.01860.156354
18-0.036771-0.27760.391157
190.0906110.68410.248342
20-0.164368-1.24090.109854
210.0302820.22860.40999
22-0.07942-0.59960.275571
230.0684280.51660.303709
24-0.078397-0.59190.278135
250.0294280.22220.412484
26-0.062465-0.47160.319506
27-0.044478-0.33580.369127
280.001590.0120.495232
29-0.063065-0.47610.317901
300.0048890.03690.485343
31-0.068532-0.51740.303439
32-0.013683-0.10330.459041
33-0.034265-0.25870.398401
34-0.021693-0.16380.435243
350.054640.41250.340753
36-0.064016-0.48330.315364
37-0.089238-0.67370.251603
380.0176610.13330.447198
390.020450.15440.438922
40-0.004636-0.0350.486102
410.0094860.07160.471577
42-0.130408-0.98460.1645
430.0628880.47480.318373
44-0.021151-0.15970.436847
450.0012070.00910.496379
46-0.054861-0.41420.340145
47-0.013522-0.10210.459521
48-0.021463-0.1620.435923
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/13/t1292233095x6bu0zksd8k7m52/1t9ir1292233143.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/13/t1292233095x6bu0zksd8k7m52/1t9ir1292233143.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/13/t1292233095x6bu0zksd8k7m52/2t9ir1292233143.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/13/t1292233095x6bu0zksd8k7m52/2t9ir1292233143.ps (open in new window)


 
Parameters (Session):
par1 = 48 ; par2 = 1 ; par3 = 0 ; 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