Home » date » 2009 » Dec » 20 »

ACF (d=D=0)

*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: Sun, 20 Dec 2009 05:18:59 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Dec/20/t126131160826c0rjff2vrbo7n.htm/, Retrieved Sun, 20 Dec 2009 13:20:11 +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/2009/Dec/20/t126131160826c0rjff2vrbo7n.htm/},
    year = {2009},
}
@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 = {2009},
    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 «
921365 987921 1132614 1332224 1418133 1411549 1695920 1636173 1539653 1395314 1127575 1036076 989236 1008380 1207763 1368839 1469798 1498721 1761769 1653214 1599104 1421179 1163995 1037735 1015407 1039210 1258049 1469445 1552346 1549144 1785895 1662335 1629440 1467430 1202209 1076982 1039367 1063449 1335135 1491602 1591972 1641248 1898849 1798580 1762444 1622044 1368955 1262973 1195650 1269530 1479279 1607819 1712466 1721766 1949843 1821326 1757802 1590367 1260647 1149235
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.8026136.2170
20.4711653.64960.000276
30.078590.60880.272493
4-0.290623-2.25120.014026
5-0.535233-4.14595.4e-05
6-0.614509-4.766e-06
7-0.51252-3.979.7e-05
8-0.251061-1.94470.028251
90.1047660.81150.21014
100.4449773.44680.000521
110.6653095.15352e-06
120.745265.77280
130.5720524.43112e-05
140.2943892.28030.013078
15-0.023663-0.18330.427594
16-0.319515-2.4750.008084
17-0.508492-3.93880.000108
18-0.557567-4.31893e-05
19-0.465414-3.60510.000318
20-0.254927-1.97470.026457
210.0317230.24570.403367
220.2962652.29490.012627
230.4587463.55340.000374
240.509913.94970.000104
250.3719822.88140.002743
260.1607331.2450.108981
27-0.069772-0.54050.295443
28-0.275695-2.13550.018405
29-0.400444-3.10180.001465
30-0.432586-3.35080.000699
31-0.360289-2.79080.00352
32-0.206805-1.60190.057215
33-0.001397-0.01080.495702
340.181871.40880.082034
350.2847872.2060.015614
360.3052922.36480.010646
370.1987881.53980.064433
380.0476040.36870.35681
39-0.098457-0.76260.224333
40-0.223093-1.72810.04456
41-0.290964-2.25380.013937
42-0.298836-2.31480.012032
43-0.23865-1.84860.034724
44-0.14201-1.10.137862
45-0.017717-0.13720.445654
460.086630.6710.252387
470.1307121.01250.157685
480.127710.98920.163259
490.0581980.45080.32688
50-0.023332-0.18070.428595
51-0.084592-0.65520.257406
52-0.128579-0.9960.161633
53-0.13592-1.05280.148319
54-0.124928-0.96770.168542
55-0.087565-0.67830.250102
56-0.040606-0.31450.377103
570.0124730.09660.461676
580.043290.33530.369277
590.0299290.23180.40873
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.8026136.2170
2-0.486271-3.76660.00019
3-0.342966-2.65660.005049
4-0.248823-1.92740.029336
5-0.058897-0.45620.324943
6-0.0115-0.08910.464657
70.091420.70810.240801
80.1920441.48760.071051
90.2537351.96540.027
100.1799151.39360.084288
110.0729810.56530.286986
120.2056691.59310.058196
13-0.315823-2.44640.00869
140.1401471.08560.141005
150.0444970.34470.365772
16-0.003473-0.02690.489313
17-0.037954-0.2940.384889
18-0.066425-0.51450.304389
19-0.125317-0.97070.167797
20-0.119614-0.92650.178943
210.0032350.02510.490046
22-0.062257-0.48220.315694
23-0.009249-0.07160.471562
24-0.008426-0.06530.47409
25-0.139931-1.08390.141372
260.0400020.30990.378872
270.0494340.38290.351567
280.0803430.62230.26804
290.0454250.35190.363088
30-0.033364-0.25840.398476
31-0.004646-0.0360.485705
32-0.037339-0.28920.386703
33-0.008876-0.06880.472709
34-0.026453-0.20490.419172
35-0.009814-0.0760.469828
36-0.079488-0.61570.270207
37-0.097873-0.75810.225673
38-0.070804-0.54840.292709
390.0090330.070.472225
400.0016720.01290.494856
41-0.000693-0.00540.497866
42-0.010247-0.07940.468501
43-0.011507-0.08910.464636
44-0.085465-0.6620.255249
45-0.022487-0.17420.431153
460.0041720.03230.487163
47-0.015826-0.12260.451421
48-0.011646-0.09020.464212
49-0.013623-0.10550.458155
50-0.01685-0.13050.448297
510.0082290.06370.474694
520.020890.16180.435998
530.0586070.4540.325744
54-0.001939-0.0150.494032
55-0.00685-0.05310.478931
560.0126060.09760.461269
57-0.009768-0.07570.469971
58-0.026475-0.20510.419103
59-0.043088-0.33380.369862
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/20/t126131160826c0rjff2vrbo7n/1bbf01261311537.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/20/t126131160826c0rjff2vrbo7n/1bbf01261311537.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/20/t126131160826c0rjff2vrbo7n/2skj81261311537.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/20/t126131160826c0rjff2vrbo7n/2skj81261311537.ps (open in new window)


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