Home » date » 2008 » Dec » 22 »

Autocorrelation energiegrondstoffen

*Unverified author*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Mon, 22 Dec 2008 00:48:52 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/Dec/22/t1229932714yr56986rrnkp7y2.htm/, Retrieved Mon, 22 Dec 2008 08:58:34 +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/2008/Dec/22/t1229932714yr56986rrnkp7y2.htm/},
    year = {2008},
}
@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 = {2008},
    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 «
104 107,9 113,8 113,8 123,1 125,1 137,6 134 140,3 152,1 150,6 167,3 153,2 142 154,4 158,5 180,9 181,3 172,4 192 199,3 215,4 214,3 201,5 190,5 196 215,7 209,4 214,1 237,8 239 237,8 251,5 248,8 215,4 201,2 203,1 214,2 188,9 203 213,3 228,5 228,2 240,9 258,8 248,5 269,2 289,6 323,4 317,2 322,8 340,9 368,2 388,5 441,2 474,3 483,9 417,9 365,9 263 199,4
 
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'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.433073-3.32650.000759
20.0060660.04660.481499
30.0265230.20370.419634
4-0.026039-0.20.421082
50.1344011.03240.15306
6-0.220816-1.69610.047567
70.1640541.26010.106293
80.0062730.04820.480865
9-0.270418-2.07710.021076
100.2136861.64140.053023
110.0814440.62560.267002
12-0.022296-0.17130.432303
13-0.117005-0.89870.186225
14-0.05418-0.41620.339399
150.2299811.76650.041241
16-0.16813-1.29140.100795
170.0334030.25660.3992
180.030660.23550.407315
19-0.097142-0.74620.229265
20-0.05431-0.41720.339038
210.0884570.67940.249756
22-0.006294-0.04830.480803
230.0257130.19750.422055
24-0.132971-1.02140.155624
250.1347131.03480.152504
260.0134720.10350.458967
27-0.02472-0.18990.425029
280.0408460.31370.377411
29-0.046751-0.35910.360401
30-0.011588-0.0890.464689
31-0.031265-0.24020.405523
320.0284720.21870.413821
330.0527370.40510.343441
34-0.15728-1.20810.115916
350.15491.18980.119444
36-0.103478-0.79480.214949


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.433073-3.32650.000759
2-0.223382-1.71580.04572
3-0.086803-0.66670.253767
4-0.061912-0.47560.318074
50.1329591.02130.155647
6-0.12634-0.97040.167895
70.0356080.27350.392707
80.0796360.61170.271545
9-0.280082-2.15140.017777
10-0.051072-0.39230.348128
110.2111351.62180.055093
120.1244790.95610.171451
13-0.047964-0.36840.356939
14-0.137397-1.05540.14778
150.0482950.3710.355998
16-0.001873-0.01440.494285
170.0146460.11250.455406
18-0.029755-0.22860.410003
19-0.083651-0.64250.261507
20-0.150191-1.15360.126651
210.0242170.1860.426534
22-0.119252-0.9160.1817
23-0.005344-0.0410.483698
240.0326110.25050.401541
250.0638370.49030.312854
260.010690.08210.467419
270.0426620.32770.372151
280.0338240.25980.397958
290.0085210.06540.474019
30-0.01572-0.12070.452151
31-0.032925-0.25290.400611
32-0.052014-0.39950.345475
330.0058970.04530.482012
34-0.109967-0.84470.200853
350.106040.81450.209314
36-0.087442-0.67170.252213
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t1229932714yr56986rrnkp7y2/1aqnw1229932128.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t1229932714yr56986rrnkp7y2/1aqnw1229932128.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t1229932714yr56986rrnkp7y2/2drro1229932128.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t1229932714yr56986rrnkp7y2/2drro1229932128.ps (open in new window)


 
Parameters (Session):
par1 = 36 ; par2 = -0.2 ; par3 = 2 ; par4 = 0 ; par5 = 12 ;
 
Parameters (R input):
par1 = 36 ; par2 = -0.2 ; par3 = 2 ; 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 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