Home » date » 2010 » Dec » 29 »

ACF Arma

*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: Wed, 29 Dec 2010 15:14:42 +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/29/t1293635579vkiuvszshyxmx3c.htm/, Retrieved Wed, 29 Dec 2010 16:13:02 +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/29/t1293635579vkiuvszshyxmx3c.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 «
5745 4549 5074 3602 2732 2589 2148 2330 2752 3241 4517 6550 6778 6240 5570 3558 3299 2447 2380 2378 2947 3651 4816 6436 7090 4682 4198 3860 3056 2563 2568 2472 2821 4015 4686 5418 5649 4572 4695 3766 2900 2528 2549 2478 2828 4139 5390 5621 5291 5272 4677 3520 2842 2723 2581 2429 2606 3787 4630 5505 5577 4911 4701 3557 2921 2734 2636 2433 2640 3794 4745 5698 5909 5119 5200 3876 3104 2251 2386 2794 2967 3392 4741 5909 5901 4962 4751 3909 3130 2860 2568 2540 2894 4216 4530 5144 6206 5645 4601 3645 3140 2264 2557 2431 2747 4587 4512 5313 6011 5328 5014 3630 3102 2739 2877 2659 2957 3785 4785 5757 5458 5427 5018 3498 3204 2763 2589 2591 2805 3278 4615 5524 6167 5380 5377 3603 2774 2470 2407 2512 2451 3134 4210 4859 5022 4584 4267 3022 2777 2428 2389 2496 2820 3854 4748 5666 5293 4905 4920 3854 2659 2491 2455 2472 3030 3987 4453 5417
 
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'George Udny Yule' @ 72.249.76.132


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.274483.42830.000389
20.0519250.64850.258793
30.1868832.33420.010431
40.1089661.3610.087741
50.0314640.3930.347435
60.0447930.55950.288322
70.0097660.1220.451537
80.0072930.09110.46377
90.0694110.86690.193654
100.0132890.1660.434193
11-0.040112-0.5010.308537
12-0.371644-4.64184e-06
13-0.163663-2.04420.02131
14-0.053723-0.6710.251606
15-0.14692-1.8350.034203
16-0.038233-0.47750.316826
170.0388840.48570.313944
18-0.017748-0.22170.412431
19-0.022887-0.28590.387684
200.0545250.6810.248435
21-0.025775-0.32190.373968
22-0.047824-0.59730.275578
23-0.069395-0.86670.193709
24-0.061284-0.76540.222585
250.0482750.6030.273707
260.0541420.67620.249948
27-0.057644-0.720.23631
28-0.143039-1.78660.037976
29-0.047187-0.58940.278236
30-0.002666-0.03330.486742
31-0.084819-1.05940.145529
32-0.125596-1.56870.059373
33-0.056909-0.71080.239136
340.0217940.27220.392909
35-0.000888-0.01110.495583
36-0.029283-0.36570.357525
37-0.014295-0.17850.429265
38-0.035869-0.4480.327388
390.0533080.66580.253255
400.0932711.16490.122909
410.0608770.76040.224095
420.0707060.88310.189265
430.126371.57840.058255
440.0508490.63510.263146
450.1121711.4010.081598
460.0935291.16820.122258
47-0.082988-1.03650.150781
48-0.054452-0.68010.248721


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.274483.42830.000389
2-0.025322-0.31630.376111
30.1939462.42240.008282
40.0071610.08940.464424
50.0037220.04650.481492
60.0082040.10250.459259
7-0.027927-0.34880.363853
80.0087340.10910.456636
90.0624640.78020.218236
10-0.023353-0.29170.38546
11-0.037122-0.46370.321771
12-0.422322-5.27480
130.0479290.59860.275145
14-0.046617-0.58220.28062
150.0142550.17810.429457
160.0978141.22170.111833
170.0499060.62330.266991
180.0030480.03810.484842
19-0.032788-0.40950.341359
200.0556110.69460.244174
210.0273620.34180.366497
22-0.04078-0.50930.305618
23-0.069957-0.87380.191795
24-0.232674-2.90610.002096
250.0788060.98430.163249
260.0142190.17760.429635
27-0.11142-1.39160.083007
28-0.107752-1.34580.090157
290.0271890.33960.367312
300.0489170.6110.271054
31-0.058295-0.72810.233822
320.0040970.05120.479629
330.0192930.2410.404947
340.0226240.28260.388941
35-0.034789-0.43450.332256
36-0.142612-1.78120.038411
370.0823681.02880.152589
38-0.024072-0.30070.382037
390.0268470.33530.368917
40-0.028922-0.36120.359206
410.0813941.01660.155456
420.0732080.91440.180966
43-0.007899-0.09870.460767
44-0.042674-0.5330.297396
450.143431.79140.037581
460.0028620.03570.485764
47-0.21095-2.63480.004634
48-0.154269-1.92680.02791
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/29/t1293635579vkiuvszshyxmx3c/1txxg1293635680.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/29/t1293635579vkiuvszshyxmx3c/1txxg1293635680.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/29/t1293635579vkiuvszshyxmx3c/2ram71293635680.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/29/t1293635579vkiuvszshyxmx3c/2ram71293635680.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/29/t1293635579vkiuvszshyxmx3c/3fgw31293635680.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/29/t1293635579vkiuvszshyxmx3c/3fgw31293635680.ps (open in new window)


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