Home » date » 2009 » Dec » 21 »

Autocorrelation function D=d=Lambda=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: Mon, 21 Dec 2009 07:21:44 -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/21/t1261405362r2wtzoyfs5y21i6.htm/, Retrieved Mon, 21 Dec 2009 15:22:44 +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/21/t1261405362r2wtzoyfs5y21i6.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 «
114.1 110.3 103.9 101.6 94.6 95.9 104.7 102.8 98.1 113.9 80.9 95.7 113.2 105.9 108.8 102.3 99 100.7 115.5 100.7 109.9 114.6 85.4 100.5 114.8 116.5 112.9 102 106 105.3 118.8 106.1 109.3 117.2 92.5 104.2 112.5 122.4 113.3 100 110.7 112.8 109.8 117.3 109.1 115.9 96 99.8 116.8 115.7 99.4 94.3 91 93.2 103.1 94.1 91.8 102.7 82.6 89.1 104.5
 
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.63046-4.3683.3e-05
20.0417430.28920.386835
30.3575672.47730.008406
4-0.338586-2.34580.011583
50.0923080.63950.262759
60.1594411.10460.137411
7-0.28961-2.00650.025229
80.2499621.73180.044867
9-0.14779-1.02390.155503
10-0.036374-0.2520.401055
110.1992461.38040.086927
12-0.227815-1.57830.060527
130.093890.65050.259239
140.0333080.23080.40924
15-0.01944-0.13470.446712
16-0.068554-0.4750.318486
170.1040330.72080.237276
18-0.037173-0.25750.398931
19-0.073469-0.5090.306538
200.1166640.80830.211462
210.0209640.14520.442564
22-0.27128-1.87950.033128
230.3867152.67920.005039
24-0.270757-1.87590.033381
250.0384450.26640.395552
260.1507031.04410.150835
27-0.179395-1.24290.109973
280.0452950.31380.377511
290.0994730.68920.247018
30-0.149936-1.03880.152054
310.1257890.87150.193912
32-0.063934-0.44290.329897
33-0.055718-0.3860.350591
340.1523281.05540.148272
35-0.178022-1.23340.111721
360.0701780.48620.314516
370.0197250.13670.445936
38-0.056343-0.39040.349001
390.0061650.04270.483055
400.0521110.3610.359827
41-0.055467-0.38430.351231
420.0287550.19920.421465
430.0104310.07230.471345
44-0.010072-0.06980.472329
450.0108880.07540.470091
46-0.007384-0.05120.479706
470.0014540.01010.496003
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.63046-4.3683.3e-05
2-0.590414-4.09058.2e-05
30.0692770.480.316715
40.1811061.25470.107824
50.0502080.34790.364737
60.0768980.53280.298328
7-0.15577-1.07920.142945
8-0.004259-0.02950.48829
9-0.144808-1.00330.160384
10-0.176135-1.22030.114156
110.0695250.48170.31611
120.0807890.55970.289136
130.0327280.22670.410791
14-0.173932-1.2050.117048
150.1282790.88870.189287
16-0.008887-0.06160.47558
17-0.050866-0.35240.363036
180.0072530.05020.480067
19-0.08568-0.59360.277781
200.040980.28390.388846
210.2236381.54940.063926
22-0.251141-1.740.044137
23-0.033175-0.22980.409596
24-0.012122-0.0840.46671
250.1151180.79760.214526
26-0.008511-0.0590.476612
270.0531260.36810.357222
28-0.055546-0.38480.351031
29-0.125452-0.86920.194544
300.0431190.29870.383215
310.0043090.02990.488153
320.0116730.08090.467939
33-0.020642-0.1430.44344
34-0.071315-0.49410.31175
35-0.115739-0.80190.213292
36-0.1221-0.84590.200894
37-0.090407-0.62640.267024
38-0.078034-0.54060.295628
390.0437410.3030.381582
400.0150490.10430.458698
41-0.027953-0.19370.423627
420.0763820.52920.299556
430.0641470.44440.329366
44-0.177849-1.23220.111942
450.0074360.05150.479564
46-0.05062-0.35070.363673
470.058360.40430.343882
48NANANA
49NANANA
50NANANA
51NANANA
52NANANA
53NANANA
54NANANA
55NANANA
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/21/t1261405362r2wtzoyfs5y21i6/1u5ka1261405300.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/21/t1261405362r2wtzoyfs5y21i6/1u5ka1261405300.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/21/t1261405362r2wtzoyfs5y21i6/2n1c31261405300.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/21/t1261405362r2wtzoyfs5y21i6/2n1c31261405300.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 = 1 ; par4 = 1 ; 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