Home » date » 2009 » Dec » 20 »

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: Sun, 20 Dec 2009 06:49:50 -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/t1261317169t0o7v92zxk768im.htm/, Retrieved Sun, 20 Dec 2009 14:52:51 +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/t1261317169t0o7v92zxk768im.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 «
210 220 212 191 180 195 136 196 182 166 147 125 164 170 171 140 155 156 141 167 171 206 187 124 163 154 226 125 162 145 98 128 159 209 150 125 214 193 140 205 192 192 186 150 246 282 264 336 301 376 416 344 326 351 249 258 311 343 278
 
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.318822-2.42810.009151
2-0.170349-1.29730.099826
30.1529411.16480.124441
4-0.054022-0.41140.341139
50.0779950.5940.277413
6-0.104744-0.79770.214148
70.002160.01640.493466
80.1663151.26660.105178
9-0.165462-1.26010.106336
10-0.131707-1.00310.160001
110.0906310.69020.246404
120.0679810.51770.303309
130.0386610.29440.384738
140.016760.12760.449437
15-0.178541-1.35970.08959
160.0857390.6530.258179
170.0440960.33580.369108
18-0.116362-0.88620.189588
190.0461330.35130.363304
200.0133520.10170.459679
210.1176350.89590.187011
22-0.307712-2.34350.011278
230.0387170.29490.384576
240.1988421.51430.067686
250.0216480.16490.434812
26-0.103568-0.78880.216735
27-0.023444-0.17850.429459
280.0566070.43110.333996
290.0292990.22310.412107
30-0.14116-1.0750.143404
310.1292350.98420.164546
320.0549630.41860.338532
33-0.084932-0.64680.260148
34-0.061908-0.47150.319535
350.0195030.14850.441219
36-0.004839-0.03690.485364
370.0804430.61260.271255
38-0.058039-0.4420.330063
39-0.051349-0.39110.348592
400.0584890.44540.328831
41-0.08432-0.64220.26165
420.0042490.03240.48715
430.0302350.23030.40935
44-0.020773-0.15820.437425
450.0333340.25390.400248
46-0.021444-0.16330.43542
47-0.077591-0.59090.278436
480.0805460.61340.270998
490.0260810.19860.421623
500.0005680.00430.498283
51-0.028346-0.21590.414922
520.0418190.31850.375631
53-0.030062-0.22890.409859
54-0.002498-0.0190.492444
550.0144250.10990.456452
560.0077230.05880.476651
57-0.005132-0.03910.48448
58NANANA
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.318822-2.42810.009151
2-0.302772-2.30580.012357
3-0.017578-0.13390.446984
4-0.058975-0.44910.327502
50.0976860.7440.229954
6-0.074674-0.56870.285878
7-0.027337-0.20820.417904
80.1247330.94990.173042
9-0.053584-0.40810.342356
10-0.200246-1.5250.066344
11-0.118785-0.90460.1847
120.0192990.1470.441829
130.1189810.90610.184308
140.1772211.34970.091182
15-0.13055-0.99420.162118
16-0.094023-0.71610.238414
17-0.010607-0.08080.467948
18-0.044323-0.33760.36846
19-0.066744-0.50830.306584
20-0.065034-0.49530.311135
210.1593471.21350.114919
22-0.222241-1.69250.047955
23-0.043009-0.32750.372216
240.0181980.13860.445125
250.1391021.05940.146911
26-0.018056-0.13750.445552
27-0.017728-0.1350.446536
28-0.067474-0.51390.304649
290.0346880.26420.396291
30-0.05627-0.42850.334924
310.0647090.49280.312003
32-0.012605-0.0960.461928
33-0.032708-0.24910.402084
34-0.021811-0.16610.434325
350.0203080.15470.438812
36-0.039607-0.30160.382004
37-0.055338-0.42140.337496
38-0.058133-0.44270.329806
39-0.037238-0.28360.388864
40-0.003742-0.02850.488681
41-0.074563-0.56790.286163
42-0.075333-0.57370.284187
430.0273120.2080.417977
44-0.102378-0.77970.219373
45-0.082103-0.62530.267121
460.0513880.39140.348483
470.0469040.35720.361114
48-0.061876-0.47120.319622
49-0.022067-0.16810.433562
500.0188060.14320.443307
510.0014810.01130.49552
520.003890.02960.488235
530.0042810.03260.487051
54-0.019866-0.15130.440134
550.0121520.09250.463291
56-0.062967-0.47950.316679
57-0.039345-0.29960.38276
58NANANA
59NANANA
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/20/t1261317169t0o7v92zxk768im/1b84k1261316988.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/20/t1261317169t0o7v92zxk768im/1b84k1261316988.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/20/t1261317169t0o7v92zxk768im/23ody1261316988.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/20/t1261317169t0o7v92zxk768im/23ody1261316988.ps (open in new window)


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