Home » date » 2009 » Nov » 26 »

ACF 2

*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: Thu, 26 Nov 2009 15:26:09 -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/Nov/26/t1259274474vzb00v0904i4ik8.htm/, Retrieved Thu, 26 Nov 2009 23:27:57 +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/Nov/26/t1259274474vzb00v0904i4ik8.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 «
96.2 96.8 109.9 88 91.1 106.4 68.6 100.1 108 106 108.6 91.5 99.2 98 96.6 102.8 96.9 110 70.5 101.9 109.6 107.8 113 93.8 108 102.8 116.3 89.2 106.7 112.1 74.2 108.8 111.5 118.8 118.9 97.6 116.4 107.9 121.2 97.9 113.4 117.6 79.6 115.9 115.7 129.1 123.3 96.7 121.2 118.2 102.1 125.4 116.7 121.3 85.3 114.2 124.4 131 118.3 99.6
 
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
1-0.468068-3.24290.001078
20.102840.71250.239804
30.0597230.41380.340441
4-0.110671-0.76680.223492
50.0895410.62040.268978
6-0.032656-0.22620.410984
7-0.030946-0.21440.41557
80.1101860.76340.224482
90.0301130.20860.41781
10-0.015397-0.10670.457747
110.0595140.41230.340968
12-0.155453-1.0770.143429
130.1048620.72650.235528
14-0.078151-0.54140.295353
150.057640.39930.345706
16-0.035977-0.24930.402112
17-0.04902-0.33960.367811
180.0733230.5080.306892
19-0.09725-0.67380.251846
200.038030.26350.396656
210.001480.01030.495931
22-0.179669-1.24480.109627
230.2504751.73530.044549
24-0.32237-2.23340.015108
250.1035320.71730.238337
26-0.052096-0.36090.359868
270.0137010.09490.462384
280.0403880.27980.390411
29-0.060716-0.42070.337942
300.0452840.31370.37754
31-0.014979-0.10380.458889
32-0.06457-0.44740.328317
330.0049790.03450.486312
34-0.001295-0.0090.49644
35-0.116785-0.80910.211221
360.2541971.76110.042293
37-0.127694-0.88470.190368
388.9e-056e-040.499756
390.0074860.05190.479425
40-0.019898-0.13790.445466
410.0611230.42350.336921
42-0.039062-0.27060.393917
43-0.025031-0.17340.431524
440.0596110.4130.340724
450.0224070.15520.43864
460.006510.04510.482107
470.0007220.0050.498015
48NANANA
49NANANA
50NANANA
51NANANA
52NANANA
53NANANA
54NANANA
55NANANA
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.468068-3.24290.001078
2-0.148861-1.03130.153775
30.0593860.41140.341291
4-0.051598-0.35750.361149
50.0148070.10260.45936
60.0133240.09230.463416
7-0.035439-0.24550.403548
80.0864210.59870.276081
90.1714511.18780.120369
100.0991950.68720.247619
110.0920250.63760.263392
12-0.123119-0.8530.198949
13-0.042418-0.29390.385058
14-0.073091-0.50640.307452
150.0296290.20530.419113
16-0.039182-0.27150.393602
17-0.123668-0.85680.197907
18-0.051658-0.35790.360994
19-0.105318-0.72970.234571
20-0.025948-0.17980.429044
210.0419820.29090.386207
22-0.189112-1.31020.098181
230.1033790.71620.23866
24-0.244675-1.69520.048262
25-0.133402-0.92420.179992
26-0.162224-1.12390.133318
270.0366490.25390.400325
280.0515390.35710.361302
29-0.021244-0.14720.441803
300.0689670.47780.317475
310.0190190.13180.447859
32-0.016905-0.11710.453626
330.0321340.22260.412384
34-0.018256-0.12650.449939
35-0.100924-0.69920.243893
360.0615440.42640.335865
370.0897880.62210.268421
38-0.108818-0.75390.227293
39-0.094576-0.65520.257719
40-0.020881-0.14470.44279
410.0055960.03880.484617
420.0439090.30420.381142
43-0.078835-0.54620.293733
44-0.066298-0.45930.324038
450.0078540.05440.478415
46-0.064227-0.4450.329169
470.0521340.36120.35977
48NANANA
49NANANA
50NANANA
51NANANA
52NANANA
53NANANA
54NANANA
55NANANA
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/26/t1259274474vzb00v0904i4ik8/1w6571259274368.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/26/t1259274474vzb00v0904i4ik8/1w6571259274368.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/26/t1259274474vzb00v0904i4ik8/2kbyw1259274368.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/26/t1259274474vzb00v0904i4ik8/2kbyw1259274368.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 (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