Home » date » 2010 » Dec » 29 »

Paper: ACF (min18 gediff.)

*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 10:17:18 +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/t12936178639j4941prqzmxok2.htm/, Retrieved Wed, 29 Dec 2010 11:17:46 +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/t12936178639j4941prqzmxok2.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 «
3065 2997 2901 2815 2709 2711 3509 3369 3596 3448 3160 2934 2534 2266 2088 1932 1784 1851 2700 2580 2829 2298 2045 1824 1872 1801 1735 1639 1521 1758 2603 2540 3103 2801 2590 2324 2424 2288 2163 2082 1937 2155 2874 2836 3439 3278 3129 2959 3060 2898 2783 2632 2465 2689 3321 3359 4108 3407 3241 3013 3067 2965 2823 2718 2567 2658 3436 3375 3931 3371 3038
 
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'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.0907120.69080.246211
20.0952730.72560.235507
30.0374670.28530.388199
4-0.124142-0.94540.17418
50.0862690.6570.256889
60.0445860.33960.367707
70.0983590.74910.228418
80.234911.7890.039417
9-0.054672-0.41640.339337
10-0.051821-0.39470.347271
11-0.099107-0.75480.226719
12-0.22812-1.73730.04382
130.0268950.20480.419212
140.0100010.07620.469775
150.0239950.18270.427818
160.0312230.23780.406443
17-0.004921-0.03750.485117
18-0.112092-0.85370.198401
19-0.008949-0.06820.472949
200.0045080.03430.486366
210.0565720.43080.334091
220.0406480.30960.378999
230.0202190.1540.439079
24-0.117475-0.89470.187333
25-0.182098-1.38680.085403
26-0.056596-0.4310.334024
27-0.012419-0.09460.462488
28-0.042716-0.32530.373056
29-0.002899-0.02210.491231
300.0029060.02210.49121
31-0.026696-0.20330.419802
32-0.09112-0.6940.245241
33-0.192176-1.46360.074355
34-0.06249-0.47590.317962
35-0.126905-0.96650.168909
360.1199350.91340.182408
370.0351290.26750.395003
38-0.019659-0.14970.440752
39-0.015972-0.12160.451804
40-0.046037-0.35060.363577
41-0.036432-0.27750.391208
420.015490.1180.453251
43-0.05387-0.41030.341563
440.0853430.650.259144
45-0.01782-0.13570.446258
46-0.019539-0.14880.441112
470.0692210.52720.300042
48-0.063858-0.48630.314283
490.0663010.50490.30776
50-0.018033-0.13730.445621
51-0.003131-0.02380.49053
520.0283480.21590.414914
53-0.017911-0.13640.445987
540.0309680.23580.407192
550.0352690.26860.394594
56-0.010652-0.08110.467813
570.029780.22680.410691
58NANANA
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.0907120.69080.246211
20.0877670.66840.253261
30.0219710.16730.433849
4-0.139633-1.06340.146
50.1062870.80950.210781
60.0539490.41090.341342
70.0834060.63520.263897
80.1952111.48670.071257
9-0.092872-0.70730.241108
10-0.090257-0.68740.247294
11-0.079593-0.60620.273385
12-0.178245-1.35750.089945
130.0211570.16110.436277
140.0293670.22370.411906
15-0.008393-0.06390.474627
16-0.032117-0.24460.403815
170.0877030.66790.253415
18-0.080422-0.61250.271308
190.0667810.50860.306486
200.0952340.72530.235598
210.0070850.0540.478577
22-0.036867-0.28080.389944
23-0.000818-0.00620.497524
24-0.191237-1.45640.075335
25-0.193341-1.47240.073154
260.0380160.28950.386606
270.0004820.00370.498542
28-0.097137-0.73980.23121
290.0173540.13220.447656
300.0269020.20490.419192
310.0385930.29390.384936
320.044480.33870.368012
33-0.124901-0.95120.17272
34-0.087012-0.66270.255086
35-0.134158-1.02170.155579
360.0798060.60780.272851
37-0.067149-0.51140.30551
38-0.014406-0.10970.456508
39-0.028816-0.21950.413532
400.0122220.09310.463081
410.057940.44130.330333
420.0581460.44280.329768
43-0.087969-0.670.252774
440.0205950.15680.437955
45-0.056072-0.4270.33547
46-0.067593-0.51480.304334
470.0392890.29920.382923
48-0.016773-0.12770.449398
49-0.017875-0.13610.446094
50-0.04976-0.3790.353051
510.0316780.24130.405104
52-0.006702-0.0510.479735
53-0.012632-0.09620.461845
540.0901260.68640.247604
550.009730.07410.470591
56-0.014524-0.11060.456153
57-0.086336-0.65750.256725
58NANANA
59NANANA
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/29/t12936178639j4941prqzmxok2/1kqvy1293617832.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/29/t12936178639j4941prqzmxok2/1kqvy1293617832.ps (open in new window)


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


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


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