Home » date » 2010 » Dec » 27 »

paper ACF D

*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, 27 Dec 2010 12:12:17 +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/27/t129345185754kjd9cfcqkmgo4.htm/, Retrieved Mon, 27 Dec 2010 13:11:00 +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/27/t129345185754kjd9cfcqkmgo4.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 «
5.2 7.9 8.7 8.9 15.3 15.4 18.1 19.7 13 12.6 6.2 3.5 3.4 0 9.5 8.9 10.4 13.2 18.9 19 16.3 10.6 5.8 3.6 2.6 5 7.3 9.2 15.7 16.8 18.4 18.1 14.6 7.8 7.6 3.8 5.6 2.2 6.8 11.8 14.9 16.7 16.7 15.9 13.6 9.2 2.8 2.5 4.8 2.8 7.8 9 12.9 16.4 21.8 17.8 13.5 10 10.4 5.5 4 6.8 5.7 9.1 13.6 15 20.9 20.4 14 13.7 7.1 0.8 2.1 1.3 3.9 10.7 11.1 16.4 17.1 17.3 12.9 10.9 5.3 0.7 -0.2 6.5 8.6 8.5 13.3 16.2 17.5 21.2 14.8 10.3 7.3 5.1 4.4 6.2 7.7 9.3 15.6 16.3 16.6 17.4 15.3 9.7 3.7 4.6 5.4 3.1 7.9 10.1 15 15.6 19.7 18.1 17.7 10.7 6.2 4.2 4 5.9 7.1 10.5 15.1 16.8 15.3 18.4 16.1 11.3 7.9 5.6 3.4 4.8 6.5 8.5 15.1 15.7 18.7 19.2 12.9 14.4 6.2 3.3 4.6 7.2 7.8 9.9 13.6 17.1 17.8 18.6 14.7 10.5 8.6 4.4 2.3 2.8 8.8 10.7 13.9 19.3 19.5 20.4 15.3 7.9 8.3 4.5 3.2 5 6.6 11.1 12.8 16.3 17.4 18.9 15.8 11.7 6.4 2.9 4.7 2.4 7.2 10.7 13.4 18.5 18.3 16.8 16.6 14. etc...
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'George Udny Yule' @ 72.249.76.132


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.1539212.32420.010498
20.1002751.51410.065689
30.1591212.40270.008538
40.0205090.30970.378546
50.0790851.19420.11683
60.0086170.13010.448298
7-0.097257-1.46860.071666
8-0.014853-0.22430.411375
90.0571590.86310.194501
10-0.12401-1.87250.031208
11-0.017336-0.26180.396867
12-0.447169-6.75210
13-0.099362-1.50030.067455
14-0.011677-0.17630.430102
15-0.219248-3.31060.000541
160.0172670.26070.397269
17-0.076966-1.16220.123192
18-0.086574-1.30720.096223
19-0.010372-0.15660.437842
200.0020220.03050.487836
21-0.155963-2.3550.009686
220.0589180.88960.187298
23-0.14106-2.130.017123
24-0.071066-1.07310.142186
250.0531810.8030.211401
26-0.118845-1.79450.037027
270.1193691.80240.036399
280.0036990.05590.477754
290.0442790.66860.252214
300.1722332.60070.004956
310.1546022.33440.010221
32-0.020323-0.30690.379611
330.1367892.06550.020005
340.0089030.13440.446587
350.0216280.32660.372145
360.0951851.43730.076008
37-0.002027-0.03060.487802
380.0936391.41390.079374
390.0448740.67760.249361
40-0.004066-0.06140.475551
410.0186240.28120.3894
42-0.109907-1.65960.049189
43-0.127679-1.92790.027554
44-0.000281-0.00420.498312
45-0.132862-2.00620.02301
460.010160.15340.439104
470.0601420.90810.182384
48-0.157065-2.37160.009271
49-0.057709-0.87140.192228
500.0077220.11660.453643
51-0.119494-1.80430.03625
52-0.033266-0.50230.307969
530.0181760.27440.391995
54-0.017664-0.26670.394962
550.0733141.1070.134728
560.0127880.19310.423527
570.0655860.99030.161532
580.0137780.2080.41769
590.0301290.45490.324792
600.1217911.8390.033608


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.1539212.32420.010498
20.0784421.18450.118734
30.1368892.0670.019933
4-0.028717-0.43360.332486
50.0598840.90420.183415
6-0.032282-0.48740.313205
7-0.106962-1.61510.053837
8-0.005946-0.08980.464271
90.083351.25860.104738
10-0.124277-1.87650.030929
110.011190.1690.432984
12-0.473696-7.15260
130.094551.42770.077377
140.0097740.14760.441399
15-0.085513-1.29120.098967
160.1024071.54630.061709
17-0.082437-1.24480.107248
18-0.059367-0.89640.185485
19-0.071359-1.07750.141199
200.0176010.26580.395329
21-0.058345-0.8810.189627
22-0.007657-0.11560.454029
23-0.179108-2.70450.003679
24-0.243765-3.68080.000145
250.0352780.53270.297385
26-0.068743-1.0380.150185
270.063940.96550.167666
280.02820.42580.335325
29-0.013336-0.20140.420296
300.0923461.39440.082279
310.0713021.07660.14139
32-0.064901-0.980.164067
330.0166950.25210.4006
34-0.062947-0.95050.171436
35-0.121303-1.83160.034155
36-0.166992-2.52150.006184
370.1468992.21810.013766
38-0.068748-1.03810.150169
390.1305261.97090.024972
40-0.031834-0.48070.315601
410.007560.11420.454606
42-0.045144-0.68170.248072
430.0005780.00870.49652
44-0.043642-0.6590.255289
45-0.081553-1.23140.109715
460.0933871.41010.079936
47-0.126619-1.91190.028571
48-0.186333-2.81360.002664
49-0.0134-0.20230.419915
500.0302340.45650.324225
510.0276590.41760.3383
520.0056670.08560.465942
530.1145181.72920.042565
540.0026310.03970.484171
55-0.012849-0.1940.423166
56-0.005287-0.07980.46822
57-0.007141-0.10780.457117
58-0.002514-0.0380.484874
590.0040780.06160.475475
60-0.107334-1.62070.053231
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/27/t129345185754kjd9cfcqkmgo4/1749d1293451934.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/27/t129345185754kjd9cfcqkmgo4/1749d1293451934.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/27/t129345185754kjd9cfcqkmgo4/2ze8g1293451934.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/27/t129345185754kjd9cfcqkmgo4/2ze8g1293451934.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/27/t129345185754kjd9cfcqkmgo4/3ze8g1293451934.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/27/t129345185754kjd9cfcqkmgo4/3ze8g1293451934.ps (open in new window)


 
Parameters (Session):
par1 = 60 ; par2 = 1 ; par3 = 0 ; par4 = 1 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
Parameters (R input):
par1 = 60 ; par2 = 1 ; par3 = 0 ; par4 = 1 ; 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 (par8 != '') par8 <- as.numeric(par8)
ox <- x
if (par8 == '') {
if (par2 == 0) {
x <- log(x)
} else {
x <- (x ^ par2 - 1) / par2
}
} else {
x <- log(x,base=par8)
}
if (par3 > 0) x <- diff(x,lag=1,difference=par3)
if (par4 > 0) x <- diff(x,lag=par5,difference=par4)
bitmap(file='picts.png')
op <- par(mfrow=c(2,1))
plot(ox,type='l',main='Original Time Series',xlab='time',ylab='value')
if (par8=='') {
mytitle <- paste('Working Time Series (lambda=',par2,', d=',par3,', D=',par4,')',sep='')
mysub <- paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep='')
} else {
mytitle <- paste('Working Time Series (base=',par8,', d=',par3,', D=',par4,')',sep='')
mysub <- paste('(base=',par8,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep='')
}
plot(x,type='l', main=mytitle,xlab='time',ylab='value')
par(op)
dev.off()
bitmap(file='pic1.png')
racf <- acf(x, par1, main='Autocorrelation', xlab='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=mysub)
dev.off()
bitmap(file='pic2.png')
rpacf <- pacf(x,par1,main='Partial Autocorrelation',xlab='lags',ylab='PACF',sub=mysub)
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