Home » date » 2009 » Nov » 26 »

ACF 3

*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:47:12 -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/t1259275695200hb16yoqjgtls.htm/, Retrieved Thu, 26 Nov 2009 23:48:17 +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/t1259275695200hb16yoqjgtls.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.696595-4.77569e-06
20.2079941.42590.080248
30.0495840.33990.367713
4-0.129831-0.89010.188979
50.1108740.76010.225491
6-0.042897-0.29410.384993
7-0.047601-0.32630.372809
80.0799210.54790.293173
9-0.020553-0.14090.444275
10-0.035021-0.24010.405651
110.097370.66750.253848
12-0.161893-1.10990.136348
130.1513651.03770.152359
14-0.104907-0.71920.237788
150.0711810.4880.313911
16-0.022803-0.15630.438221
17-0.047804-0.32770.372286
180.1001120.68630.247938
19-0.103431-0.70910.240886
200.0580540.3980.346218
210.0501490.34380.366262
22-0.209157-1.43390.07911
230.3420262.34480.011656
24-0.340388-2.33360.011973
250.1979751.35720.090592
26-0.07452-0.51090.305911
270.0122720.08410.466653
280.0441390.30260.381765
29-0.071387-0.48940.313416
300.0563340.38620.350543
31-0.001883-0.01290.494877
32-0.045532-0.31220.378154
330.0332010.22760.410466
340.0333660.22870.410031
35-0.165938-1.13760.130524
360.2563141.75720.042698
37-0.172312-1.18130.121711
380.0353780.24250.404709
390.0199830.1370.44581
40-0.041148-0.28210.389555
410.0618350.42390.33678
42-0.038248-0.26220.397151
43-0.024941-0.1710.432483
440.0450460.30880.379412
45-0.013766-0.09440.462605
46-0.001914-0.01310.494792
47NANANA
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.696595-4.77569e-06
2-0.538606-3.69250.000289
3-0.280991-1.92640.030058
4-0.268156-1.83840.036165
5-0.208201-1.42740.080044
6-0.131522-0.90170.185916
7-0.223773-1.53410.065854
8-0.259092-1.77620.041083
9-0.166016-1.13810.130414
10-0.145281-0.9960.162175
110.0780420.5350.297576
120.0008590.00590.497664
130.0273380.18740.426068
14-0.063411-0.43470.332875
150.0113020.07750.469283
160.0922860.63270.265004
170.0123250.08450.466512
180.0581940.3990.345865
19-0.028229-0.19350.423691
20-0.088411-0.60610.273677
210.1431770.98160.165668
22-0.150511-1.03190.153711
230.1868121.28070.103289
240.0530470.36370.358868
250.0618320.42390.336787
26-0.141655-0.97110.168226
27-0.143496-0.98380.165136
28-0.061554-0.4220.337478
29-0.143693-0.98510.164807
30-0.086751-0.59470.277437
31-0.050106-0.34350.366374
32-0.09824-0.67350.251965
33-0.04052-0.27780.391197
340.0514890.3530.362836
35-0.107073-0.73410.233281
36-0.126279-0.86570.195519
370.0770030.52790.300024
380.0590960.40510.343606
39-0.013333-0.09140.46378
40-0.03072-0.21060.417053
41-0.063386-0.43460.332937
420.0600670.41180.341179
430.0483740.33160.370819
44-0.024002-0.16450.435003
450.0474970.32560.373076
46-0.073221-0.5020.309013
47NANANA
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/t1259275695200hb16yoqjgtls/1p4qe1259275630.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/26/t1259275695200hb16yoqjgtls/1p4qe1259275630.ps (open in new window)


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