Home » date » 2010 » Dec » 21 »

Autocorrelation ACF (D=1)

*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: Tue, 21 Dec 2010 12:22:09 +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/21/t1292934019y98tyodpxr4p5vo.htm/, Retrieved Tue, 21 Dec 2010 13:20:19 +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/21/t1292934019y98tyodpxr4p5vo.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 «
175.348 154.439 136.186 113.662 106.157 100.546 98.314 118.179 112.295 126.938 130.92 181.279 180.389 146.917 150.597 124.222 101.554 102.138 110.315 111.015 105.017 119.888 127.623 149.415 159.755 139.737 136.283 101.952 104.044 96.712 100.665 103.699 103.765 122.732 127.297 160.278 191.784 155.375 142.616 115.331 102.136 95.205 101.566 105.273 117.394 121.148 116.666 154.841 177.74 154.427 133.159 118.102 101.361 101.345 102.233 108.522 101.939 118.405 125.06 178 167.714 143.582 139.259 104.674 103.722 106.153 106.21 113.986 96.906 107.512 112.616 148.507 130.48 137.436 128.21 97.552 91.55 83.104 84.68 85.98 84.891 89.896 94.835 115.348 131.284 134.701 127.193 87.077 72.744 77.542 78.005 85.329 86.041 96.384 116.678 160.672 152.364 144.936 122.974 94.456 82.491 84.89 85.277 81.206 71.012 87.302 97.427 133.242 137.064 119.042 116.47 96.028 79.281 73.872 80.964 86.739 89.997 96.292 101.355 13 etc...
 
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'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.5847226.07660
20.3851234.00235.8e-05
30.303883.1580.00103
40.2303342.39370.009202
50.1391071.44560.075586
60.1075841.1180.133015
70.0496050.51550.303626
8-0.000588-0.00610.497568
9-0.137252-1.42640.078324
10-0.153305-1.59320.057019
11-0.161045-1.67360.048549
12-0.412335-4.28512e-05
13-0.396388-4.11943.7e-05
14-0.253967-2.63930.004768
15-0.131527-1.36690.087253
16-0.101399-1.05380.147171
17-0.14339-1.49020.069549
18-0.122376-1.27180.103094
19-0.082589-0.85830.196315
20-0.034915-0.36280.358714
210.0463070.48120.315661
220.074120.77030.221407
23-0.013487-0.14020.444397
24-0.068482-0.71170.239096
25-0.003004-0.03120.487578
260.0592910.61620.269538
270.053470.55570.289791
28-0.036776-0.38220.351537
290.0391810.40720.34234
300.060510.62880.26539
310.0516760.5370.296174
32-0.021063-0.21890.413572
33-0.032174-0.33440.369376
34-0.074701-0.77630.21963
35-0.072423-0.75260.22665
36-0.042927-0.44610.328205
370.0373410.38810.349369
38-0.076445-0.79440.214342
39-0.168788-1.75410.041125
40-0.086818-0.90220.18447
41-0.05523-0.5740.283592
42-0.079391-0.82510.205578
43-0.099091-1.02980.152707
44-0.098515-1.02380.154108
45-0.095697-0.99450.161099
46-0.096352-1.00130.159456
47-0.067282-0.69920.24296
480.0133950.13920.444773


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.5847226.07660
20.0656790.68260.248174
30.0840520.87350.192165
40.0142010.14760.441474
5-0.044301-0.46040.323081
60.0229890.23890.405814
7-0.049443-0.51380.304212
8-0.035797-0.3720.355306
9-0.189778-1.97220.02557
10-0.005283-0.05490.478158
11-0.03584-0.37250.355138
12-0.41508-4.31361.8e-05
130.0358680.37270.355033
140.125931.30870.096706
150.1507571.56670.060053
160.0180810.18790.425654
17-0.157525-1.6370.052266
180.0140940.14650.441914
190.0123540.12840.449042
200.1055811.09720.137491
21-0.034797-0.36160.359169
22-0.078081-0.81140.209449
23-0.099832-1.03750.150913
24-0.272016-2.82690.002801
250.0346180.35980.359866
260.1074321.11650.133351
270.1582761.64490.051454
28-0.07986-0.82990.204205
290.0148530.15440.438809
30-0.017195-0.17870.429256
31-0.007918-0.08230.467287
32-0.030861-0.32070.374521
330.0017290.0180.49285
34-0.022025-0.22890.409691
35-0.104049-1.08130.140984
36-0.224089-2.32880.010865
370.0180370.18740.425831
38-0.080973-0.84150.200964
390.0712740.74070.230241
400.1010281.04990.14805
41-0.028345-0.29460.384444
42-0.059779-0.62120.267874
43-0.080966-0.84140.200986
44-0.042797-0.44480.328692
45-0.030958-0.32170.374143
460.0034140.03550.485881
47-0.063007-0.65480.256998
48-0.089813-0.93340.176356
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292934019y98tyodpxr4p5vo/1c01l1292934125.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292934019y98tyodpxr4p5vo/1c01l1292934125.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t1292934019y98tyodpxr4p5vo/2c01l1292934125.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292934019y98tyodpxr4p5vo/2c01l1292934125.ps (open in new window)


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