Home » date » 2007 » Dec » 18 » attachments

autocorrelatie lpg

R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Tue, 18 Dec 2007 03:05:00 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2007/Dec/18/t119797128742egmivcffkp0e9.htm/, Retrieved Tue, 18 Dec 2007 10:48:07 +0100
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
575 591 603 653 593 674 687 525 621 654 469 561 514 569 654 598 555 598 624 592 580 616 548 543 492 513 546 638 582 655 539 560 577 513 514 471 542 522 638 543 531 600 554 528 551 511 494 384 482 463 565 521 549 610 558 489 359 551 459 490
 
Text written by user:
 
Output produced by software:


Summary of compuational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001


Autocorrelation Function
Time lag kACF(k)T-STATP-value
017.7460
10.3759572.91220.002517
20.3134362.42790.009102
30.242961.8820.032347
40.0450750.34910.3641
50.0009280.00720.497146
6-0.020031-0.15520.561392
70.0279170.21620.414765
80.1121630.86880.194207
90.2895972.24320.014294
100.2002511.55110.063064
110.2485411.92520.029475
120.349732.7090.004391
130.2233791.73030.04436
140.1438011.11390.134886
150.0858260.66480.254362
160.0036080.02790.488898
17-0.095735-0.74160.769376
18-0.137519-1.06520.854477
19-0.095808-0.74210.769547
20-0.096466-0.74720.771076
210.0788340.61060.271871
220.0467750.36230.359194
230.2201011.70490.046694
240.1595131.23560.110715
250.0671450.52010.302452
26-0.027151-0.21030.582932
27-0.116793-0.90470.815371
28-0.181861-1.40870.917956
29-0.22953-1.77790.959759
30-0.138764-1.07490.856629
31-0.150603-1.16660.875999
32-0.031933-0.24740.59726
33-0.026891-0.20830.582149
34-0.071184-0.55140.708293
350.0036460.02820.488782
360.0149960.11620.453958
37-0.055857-0.43270.666597
38-0.140277-1.08660.859216
39-0.087992-0.68160.750937
40-0.141918-1.09930.861985
41-0.231813-1.79560.961204
42-0.240647-1.8640.966395
43-0.193605-1.49970.930527
44-0.130343-1.00960.841636
45-0.096802-0.74980.771856
46-0.049944-0.38690.649886
47-0.102419-0.79330.784644
48-0.017545-0.13590.553824
49-0.032923-0.2550.600211
50-0.1681-1.30210.90107
51-0.10255-0.79430.784938
52-0.092112-0.71350.760848
53-0.16473-1.2760.896562
54-0.093754-0.72620.764735
55-0.081652-0.63250.735259
56-0.060083-0.46540.678336
57-0.026581-0.20590.581215
58-0.017052-0.13210.55232
59-0.005211-0.04040.516033


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
00.3759572.91220.002517
10.200421.55250.062907
20.0890470.68980.246503
3-0.136408-1.05660.852538
4-0.0611-0.47330.681134
5-0.004254-0.03290.513088
60.0951460.7370.231999
70.1357161.05120.14868
80.2658142.0590.021922
9-0.017223-0.13340.552842
100.0397120.30760.379723
110.1904411.47520.0727
120.0603610.46760.320899
13-0.033519-0.25960.601985
14-0.034923-0.27050.606154
15-0.048037-0.37210.644432
16-0.140481-1.08820.859562
17-0.16027-1.24140.890364
18-0.016646-0.12890.551082
19-0.092276-0.71480.761238
200.0485150.37580.354197
21-0.056279-0.43590.667776
220.189831.47040.073337
23-0.052035-0.40310.655832
24-0.076511-0.59260.722178
25-0.096848-0.75020.771962
26-0.012389-0.0960.538067
27-0.067258-0.5210.697851
28-0.006327-0.0490.519464
290.0714160.55320.291096
30-0.025956-0.20110.579333
31-0.010578-0.08190.532515
32-0.046188-0.35780.639115
33-0.093687-0.72570.764577
34-0.029992-0.23230.591458
350.0558130.43230.333529
360.0122760.09510.462281
37-0.116479-0.90220.814733
380.0477080.36950.356513
390.0419770.32510.373099
40-0.062554-0.48450.685116
41-0.155622-1.20540.883618
420.0715310.55410.290791
43-0.034197-0.26490.604
44-0.050885-0.39420.652567
45-0.026222-0.20310.580134
46-0.087184-0.67530.748968
47-0.015981-0.12380.549051
480.0725870.56230.288018
490.020490.15870.437212
500.0436410.3380.368255
510.0486460.37680.353822
52-0.06694-0.51850.696997
530.0649420.5030.308388
54-0.014487-0.11220.544486
550.0390120.30220.381776
560.0417750.32360.373688
57-0.005803-0.04490.517851
580.0376750.29180.385713
59NANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/18/t119797128742egmivcffkp0e9/10mb41197972295.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/18/t119797128742egmivcffkp0e9/10mb41197972295.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/18/t119797128742egmivcffkp0e9/2n21h1197972296.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/18/t119797128742egmivcffkp0e9/2n21h1197972296.ps (open in new window)


 
Parameters (Session):
par1 = 60 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ;
 
Parameters (R input):
par1 = 60 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ;
 
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 (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='lags',ylab='ACF')
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 1:par1) {
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(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-1,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(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:

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