Home » date » 2009 » Dec » 13 »

D=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: Sun, 13 Dec 2009 08:09:11 -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/13/t12607169834h22mtsq1rg8znv.htm/, Retrieved Sun, 13 Dec 2009 16:09:45 +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/13/t12607169834h22mtsq1rg8znv.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 «
627 696 825 677 656 785 412 352 839 729 696 641 695 638 762 635 721 854 418 367 824 687 601 676 740 691 683 594 729 731 386 331 707 715 657 653 642 643 718 654 632 731 392 344 792 852 649 629 685 617 715 715 629 916 531 357 917 828 708 858 775 785 1006 789 734 906 532 387 991 841
 
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.350712-2.64780.00523
2-0.221817-1.67470.049737
30.2813172.12390.019015
4-0.323783-2.44450.00881
50.0459430.34690.364987
60.1997781.50830.068501
7-0.274462-2.07210.021393
80.2235871.6880.048433
90.0524250.39580.346866
10-0.158966-1.20020.117519
110.2219461.67570.049641
12-0.166046-1.25360.107549
13-0.227083-1.71440.045941
140.2679532.0230.023886
150.0182780.1380.445364
16-0.167855-1.26730.105104
170.1491041.12570.132503
180.023770.17950.429107
19-0.149324-1.12740.132155
200.1509891.13990.12954
21-0.040564-0.30620.380265
22-0.095519-0.72120.236882
230.167261.26280.105903
24-0.196251-1.48170.071969
250.083660.63160.265079
260.0394140.29760.383558
27-0.158683-1.1980.117932
280.1503491.13510.13054
290.0914820.69070.246286
30-0.165854-1.25220.10781
310.0929960.70210.242736
32-0.117392-0.88630.189592
33-0.05055-0.38160.352071
340.1265560.95550.171685
35-0.046795-0.35330.362586
360.0080170.06050.475972
370.0673830.50870.306451
38-0.032853-0.2480.4025
390.037560.28360.388882
40-0.090643-0.68430.248267
41-0.03307-0.24970.401869
420.0189410.1430.443396
430.0516660.39010.348968
440.0061860.04670.481456
450.0330090.24920.402046
46-0.045753-0.34540.365523
470.0102930.07770.469165
48-0.026775-0.20210.42026
49-0.055719-0.42070.337788
500.0483570.36510.358198
510.0084270.06360.474747
520.0418760.31620.376519
53-0.01533-0.11570.454133
54-0.011311-0.08540.466123
55-0.011598-0.08760.465265
560.0161830.12220.451595
57NANANA
58NANANA
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.350712-2.64780.00523
2-0.393176-2.96840.002186
30.0472660.35690.361261
4-0.347502-2.62360.005572
5-0.166432-1.25650.107024
6-0.064266-0.48520.314699
7-0.241482-1.82310.036763
80.0189490.14310.443372
9-0.006307-0.04760.481095
100.063810.48180.315911
110.193061.45760.075223
120.0424980.32080.374749
13-0.175121-1.32210.095702
14-0.058391-0.44080.330496
150.1307610.98720.163853
16-0.11578-0.87410.19286
17-0.114922-0.86760.194615
180.0829350.62610.26686
19-0.094119-0.71060.240119
200.017840.13470.446667
210.0875170.66070.255721
220.0587470.44350.329529
230.1426511.0770.14301
24-0.086169-0.65060.258971
250.0361960.27330.392815
26-0.213871-1.61470.055951
27-0.066033-0.49850.310013
28-0.074031-0.55890.289201
29-0.02281-0.17220.43194
300.050420.38070.352436
310.0187650.14170.44392
32-0.146253-1.10420.137077
33-0.086941-0.65640.257106
34-0.017332-0.13090.448177
35-0.012511-0.09450.462538
36-0.097009-0.73240.233463
37-0.04608-0.34790.364599
38-0.010638-0.08030.468134
390.0166360.12560.450246
40-0.088542-0.66850.253263
410.008030.06060.475935
420.0025160.0190.492454
430.0307780.23240.408542
44-0.031037-0.23430.407787
450.0087340.06590.473828
46-0.068481-0.5170.303572
470.0730610.55160.291691
48-0.09333-0.70460.241957
49-0.144935-1.09420.139227
50-0.038272-0.28890.386834
51-0.015374-0.11610.454003
520.0269350.20340.419791
53-0.053354-0.40280.344297
540.0443550.33490.369475
550.0298820.22560.411159
56-0.018671-0.1410.444197
57NANANA
58NANANA
59NANANA
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/13/t12607169834h22mtsq1rg8znv/1g2sq1260716947.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/13/t12607169834h22mtsq1rg8znv/1g2sq1260716947.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/13/t12607169834h22mtsq1rg8znv/26ghe1260716947.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/13/t12607169834h22mtsq1rg8znv/26ghe1260716947.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