Home » date » 2007 » Nov » 28 » attachments

PACF Steenkolen D=1 en d=1

R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Wed, 28 Nov 2007 07:44:08 -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/Nov/28/t1196260556lwy7rdv9f03d5zy.htm/, Retrieved Wed, 28 Nov 2007 15:35:58 +0100
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
95,4 101,2 101,5 101,9 101,7 100,1 97,4 96,5 99,2 102,2 105,3 111,1 114,9 124,5 142,2 159,7 165,2 198,6 207,8 219,6 239,6 235,3 218,5 213,8 205,5 198,4 198,5 190,2 180,7 193,6 192,8 195,5 197,2 196,9 178,9 172,4 156,4 143,7 153,6 168,8 185,8 199,9 205,4 197,5 199,6 200,5 193,7 179,6 169,1 169,8 195,5 194,8 204,5 203,8 204,8 204,9 240,0 248,3 258,4 254,9
 
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
016.85570
10.5630943.86040.000172
20.4140572.83860.003336
30.231231.58520.05981
40.1154770.79170.216264
50.0143040.09810.46115
60.0911350.62480.267566
7-0.064308-0.44090.669338
8-0.117172-0.80330.787075
9-0.127442-0.87370.806638
10-0.102839-0.7050.757864
11-0.23798-1.63150.945267
12-0.360485-2.47140.99143
13-0.364636-2.49980.992013
14-0.260047-1.78280.95946
15-0.193234-1.32470.90417
16-0.007852-0.05380.521351
17-0.064967-0.44540.67096
18-0.060962-0.41790.661051
190.0146920.10070.4601
200.0311320.21340.415957
210.0549750.37690.353975
220.0847890.58130.281913
230.0648060.44430.329438
240.0110550.07580.469955
250.0886070.60750.273235
260.0034730.02380.490551
27-0.08104-0.55560.709435
28-0.085021-0.58290.718618
29-0.058658-0.40210.655296
30-0.063632-0.43620.66767
31-0.059341-0.40680.657008
32-0.063304-0.4340.666858
33-0.10511-0.72060.762636
34-0.182707-1.25260.891722
35-0.076379-0.52360.698502


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
00.5630943.86040.000172
10.142010.97360.167627
2-0.072894-0.49970.690205
3-0.046524-0.3190.624412
4-0.057673-0.39540.652826
50.1694791.16190.125573
6-0.209171-1.4340.920905
7-0.100977-0.69230.753911
80.0272340.18670.426347
90.0385410.26420.396381
10-0.238683-1.63630.945775
11-0.336126-2.30440.987166
120.0388730.26650.39551
130.2210811.51570.068152
14-0.05185-0.35550.638084
150.0033410.02290.490913
16-0.143813-0.98590.835393
170.0897830.61550.270591
180.1247990.85560.198285
19-0.194572-1.33390.90567
200.0066790.04580.481837
210.0752050.51560.304283
220.0567490.3890.349499
23-0.299329-2.05210.977123
24-0.063823-0.43750.66814
250.0291460.19980.421243
26-0.051571-0.35360.637373
270.0105720.07250.471265
28-0.049346-0.33830.631678
290.026360.18070.428684
30-0.061782-0.42360.663089
31-0.110834-0.75980.774428
320.0302810.20760.418221
33-0.149805-1.0270.845164
340.0648310.44450.329376
350.036390.24950.402038
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Nov/28/t1196260556lwy7rdv9f03d5zy/1huw61196261045.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Nov/28/t1196260556lwy7rdv9f03d5zy/1huw61196261045.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Nov/28/t1196260556lwy7rdv9f03d5zy/2f00t1196261045.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Nov/28/t1196260556lwy7rdv9f03d5zy/2f00t1196261045.ps (open in new window)


 
Parameters:
par1 = 36 ; par2 = 1 ; par3 = 1 ; par4 = 1 ; 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