Home » date » 2007 » Dec » 17 » attachments

Autocorrelation Function - grondstoffen (1)

R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Mon, 17 Dec 2007 12:09:54 -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/17/t1197917653eccba852vz3gnhj.htm/, Retrieved Mon, 17 Dec 2007 19:54:15 +0100
 
User-defined keywords:
Reeks met outliers weggewerkt
 
Dataseries X:
» Textbox « » Textfile « » CSV «
79,55 84,6 86,9 90,7 91 89,5 92,5 94,1 98,5 96,8 91,2 97,1 104,9 110,9 104,8 94,1 95,8 99,3 101,1 104 99 105,4 107,1 110,7 117,1 118,7 126,5 127,5 134,6 131,8 135,9 142,7 141,7 153,4 145 137,7 148,3 152,2 169,4 168,6 161,1 174,1 179 190,6 190 181,6 174,8 180,5 196,8 193,8 197 216,3 221,4 217,9 229,7 227,4 204,2 196,6 198,8 207,5 190,7 201,6 210,5 223,5 223,8 231,2 234,4
 
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 time1 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
018.18540
10.9482167.76150
20.8978247.3490
30.8553787.00160
40.8137316.66070
50.776126.35280
60.7400656.05770
70.7142015.8460
80.6791665.55920
90.6533445.34781e-06
100.6314285.16851e-06
110.5947864.86854e-06
120.5411234.42931.8e-05
130.4870933.9878.4e-05
140.441533.61410.000289
150.389543.18850.001087
160.3301422.70230.004358
170.2809222.29940.012302
180.2345481.91990.029567
190.1875291.5350.064747
200.1521631.24550.108642
210.11280.92330.179581
220.0691260.56580.286703
230.0203810.16680.434006
24-0.026281-0.21510.584837
25-0.065578-0.53680.703401
26-0.107584-0.88060.809163
27-0.141751-1.16030.874974
28-0.179715-1.4710.927018
29-0.213805-1.75010.957657
30-0.240226-1.96630.973298
31-0.266872-2.18440.983783
32-0.286301-2.34350.98896
33-0.309558-2.53380.993187
34-0.330912-2.70860.995716
35-0.34839-2.85170.997112
36-0.373321-3.05580.998389
37-0.390709-3.19810.998943
38-0.405093-3.31580.999261
39-0.413993-3.38870.99941
40-0.419681-3.43520.99949
41-0.431262-3.530.999622
42-0.435053-3.56110.999657
43-0.438426-3.58870.999686
44-0.432652-3.54140.999635
45-0.423576-3.46710.999538
46-0.417846-3.42020.999465
47-0.413614-3.38560.999404


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
00.9482167.76150
1-0.012786-0.10470.54152
20.0523970.42890.334691
3-0.013145-0.10760.542683
40.0230990.18910.425302
5-0.003598-0.02940.511702
60.0873510.7150.238546
7-0.10238-0.8380.7975
80.0895040.73260.233173
90.0119120.09750.461308
10-0.139806-1.14440.871728
11-0.196902-1.61170.944137
12-0.04362-0.3570.638909
130.0111590.09130.463747
14-0.087585-0.71690.762041
15-0.142553-1.16680.876295
160.0238110.19490.423032
17-0.019058-0.1560.561748
18-0.041279-0.33790.631745
190.0498160.40780.342375
20-0.081902-0.67040.747545
21-0.017015-0.13930.555174
22-0.04422-0.3620.640739
23-0.057266-0.46870.679612
240.0264250.21630.414708
250.000990.00810.49678
260.0368110.30130.382054
27-0.092249-0.75510.77358
28-0.008254-0.06760.526832
290.040040.32770.372063
30-0.041253-0.33770.631667
310.0304070.24890.402102
32-0.013451-0.11010.543672
33-0.018802-0.15390.560926
340.0077570.06350.474781
35-0.111291-0.9110.817208
360.0198430.16240.435731
370.0184740.15120.44013
380.0284520.23290.408279
39-0.022272-0.18230.572054
40-0.114228-0.9350.823426
410.028390.23240.408475
420.0143420.11740.453448
430.0544090.44540.328747
440.0087690.07180.471498
45-0.016309-0.13350.5529
46-0.050506-0.41340.659686
470.0005460.00450.498223
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/17/t1197917653eccba852vz3gnhj/1lgs21197918591.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/17/t1197917653eccba852vz3gnhj/1lgs21197918591.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/17/t1197917653eccba852vz3gnhj/2cix41197918591.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/17/t1197917653eccba852vz3gnhj/2cix41197918591.ps (open in new window)


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