Home » date » 2010 » Dec » 20 »

Goudprijs-ACF

*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, 20 Dec 2010 12:17:14 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Dec/20/t1292847332e20xuhp20givf1v.htm/, Retrieved Mon, 20 Dec 2010 13:15:36 +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/2010/Dec/20/t1292847332e20xuhp20givf1v.htm/},
    year = {2010},
}
@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 = {2010},
    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 «
9 026 9 787 9 536 9 490 9 736 9 694 9 647 9 753 10 070 10 137 9 984 9 732 9 103 9 155 9 308 9 394 9 948 10 177 10 002 9 728 10 002 10 063 10 018 9 960 10 236 10 893 10 756 10 940 10 997 10 827 10 166 10 186 10 457 10 368 10 244 10 511 10 812 10 738 10 171 9 721 9 897 9 828 9 924 10 371 10 846 10 413 10 709 10 662 10 570 10 297 10 635 10 872 10 296 10 383 10 431 10 574 10 653 10 805 10 872 10 625 10 407 10 463 10 556 10 646 10 702 11 353 11 346 11 451 11 964 12 574 13 031 13 812 14 544 14 931 14 886 16 005 17 064 15 168 16 050 15 839 15 137 14 954 15 648 15 305 15 579 16 348 15 928 16 171 15 937 15 713 15 594 15 683 16 438 17 032 17 696 17 745 19 394 20 148 20 108 18 584 18 441 18 391 19 178 18 079 18 483 19 644 19 195 19 650 20 830 23 595 22 937 21 814 21 928 21 777 21 383 21 467 22 052 22 680 24 320 24 977 25 204 25 739 26 434 27 525 30 695 32 436 30 160 30 236 31 293 31 077 32 22 etc...
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.1174491.33910.091433
2-0.161636-1.84290.033808
30.0803280.91590.180714
40.0742910.8470.199264
5-0.079816-0.910.182242
60.0064190.07320.470883
70.0841760.95980.16948
8-0.043173-0.49220.311687
90.0412520.47030.319448
10-0.062054-0.70750.240252
110.0650970.74220.229647
120.1071081.22120.112107
130.0324560.37010.355973
14-0.051004-0.58150.280942
150.1519891.73290.042739
160.1397751.59370.056718
17-0.119604-1.36370.087509
18-0.084392-0.96220.168863
19-0.040726-0.46440.321586
200.0587610.670.252028
21-0.015776-0.17990.428764
220.094011.07190.142881
230.0794270.90560.183411
24-0.027966-0.31890.375171
25-0.043464-0.49560.31052
260.0616870.70330.241551
270.1159091.32160.094317
280.0478020.5450.293336
29-0.011877-0.13540.446245
30-0.051569-0.5880.278785
310.0237190.27040.393628
32-0.032337-0.36870.356475
330.0403720.46030.323031
340.0478410.54550.293182
35-0.076884-0.87660.191157
360.0068480.07810.468942
370.0191030.21780.413961
38-0.022181-0.25290.400371
390.0011510.01310.494775
400.0651350.74270.229515
41-0.079427-0.90560.183411
42-0.038193-0.43550.331972
430.047770.54470.29346
44-0.087836-1.00150.159227
45-0.05607-0.63930.261879
460.0560610.63920.261911
470.0011680.01330.494697
48-0.019846-0.22630.410668
490.1476551.68350.047337
500.0309560.35290.36235
51-0.012041-0.13730.445508
520.0855440.97530.1656
530.012490.14240.44349
540.0501570.57190.284197
55-0.002407-0.02740.489072
56-0.018765-0.2140.415458
57-0.065915-0.75160.22684
58-0.002825-0.03220.487177
590.0183540.20930.417285
60-0.012421-0.14160.443797


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.1174491.33910.091433
2-0.177884-2.02820.022292
30.1294041.47540.071257
40.0154250.17590.430334
5-0.061216-0.6980.243222
60.0373910.42630.335287
70.0452120.51550.303542
8-0.047807-0.54510.293316
90.0877331.00030.15951
10-0.127062-1.44870.074911
110.1334751.52180.065238
120.0509650.58110.281092
130.0377140.430.333952
14-0.03497-0.39870.345375
150.1653281.8850.030829
160.061220.6980.243206
17-0.069511-0.79250.214744
18-0.077867-0.88780.188139
19-0.084788-0.96670.167738
200.0780270.88960.18765
21-0.013189-0.15040.440349
220.1077651.22870.1107
230.0379660.43290.332908
24-0.039742-0.45310.325605
25-0.012428-0.14170.443769
260.0591950.67490.250462
270.0410990.46860.32007
280.0656810.74890.227643
29-0.03435-0.39170.347978
30-0.020474-0.23340.407892
31-0.014547-0.16590.434261
32-0.02751-0.31370.377139
330.0975741.11250.133985
340.0255270.29110.385735
35-0.128139-1.4610.073213
360.0406750.46380.321796
37-0.057394-0.65440.257009
38-0.046402-0.52910.298831
390.0441580.50350.307738
400.0408690.4660.321003
41-0.069803-0.79590.213777
42-0.032646-0.37220.355165
43-0.031772-0.36230.358873
44-0.082115-0.93630.175438
450.0187390.21370.415577
460.0466460.53180.297869
470.0071950.0820.467373
48-0.003394-0.03870.484594
490.0740990.84490.199871
500.0308880.35220.362638
510.0674740.76930.221549
520.0766670.87410.191828
53-0.007455-0.0850.466196
540.0779320.88860.187941
55-0.086099-0.98170.164041
56-0.003593-0.0410.483692
57-0.00299-0.03410.486428
580.0032090.03660.485433
590.0313340.35730.360739
60-0.031533-0.35950.35989
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/20/t1292847332e20xuhp20givf1v/1j7c51292847431.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/20/t1292847332e20xuhp20givf1v/1j7c51292847431.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/20/t1292847332e20xuhp20givf1v/2czuq1292847431.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/20/t1292847332e20xuhp20givf1v/2czuq1292847431.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/20/t1292847332e20xuhp20givf1v/3czuq1292847431.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/20/t1292847332e20xuhp20givf1v/3czuq1292847431.ps (open in new window)


 
Parameters (Session):
par1 = 60 ; par2 = 1 ; par3 = 2 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
Parameters (R input):
par1 = 60 ; par2 = 1 ; par3 = 1 ; par4 = 0 ; 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 (par8 != '') par8 <- as.numeric(par8)
ox <- x
if (par8 == '') {
if (par2 == 0) {
x <- log(x)
} else {
x <- (x ^ par2 - 1) / par2
}
} else {
x <- log(x,base=par8)
}
if (par3 > 0) x <- diff(x,lag=1,difference=par3)
if (par4 > 0) x <- diff(x,lag=par5,difference=par4)
bitmap(file='picts.png')
op <- par(mfrow=c(2,1))
plot(ox,type='l',main='Original Time Series',xlab='time',ylab='value')
if (par8=='') {
mytitle <- paste('Working Time Series (lambda=',par2,', d=',par3,', D=',par4,')',sep='')
mysub <- paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep='')
} else {
mytitle <- paste('Working Time Series (base=',par8,', d=',par3,', D=',par4,')',sep='')
mysub <- paste('(base=',par8,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep='')
}
plot(x,type='l', main=mytitle,xlab='time',ylab='value')
par(op)
dev.off()
bitmap(file='pic1.png')
racf <- acf(x, par1, main='Autocorrelation', xlab='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=mysub)
dev.off()
bitmap(file='pic2.png')
rpacf <- pacf(x,par1,main='Partial Autocorrelation',xlab='lags',ylab='PACF',sub=mysub)
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