Home » date » 2007 » Dec » 05 » attachments

Partial Autocorrelation Function - grondstoffen

R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Wed, 05 Dec 2007 12:46:29 -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/05/t11968834149vabbhnk4fg70r1.htm/, Retrieved Wed, 05 Dec 2007 20:36:57 +0100
 
User-defined keywords:
lambda=-0,1 D=1 d=1
 
Dataseries X:
» Textbox « » Textfile « » CSV «
75,9 77,7 86,9 90,7 91,0 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,0 99,0 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,0 137,7 148,3 152,2 169,4 168,6 161,1 174,1 179,0 190,6 190,0 181,6 174,8 180,5 196,8 193,8 197,0 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 244,0
 
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
017.34850
10.0279530.20540.419012
2-0.359559-2.64220.994623
3-0.112425-0.82620.793824
40.0896850.65910.256332
50.3214942.36250.010893
60.0269990.19840.421737
7-0.216654-1.59210.941397
8-0.216598-1.59170.941351
9-0.074644-0.54850.707203
100.3418922.51240.007506
110.1446091.06270.146333
12-0.391075-2.87380.997106
13-0.244656-1.79780.961104
140.0509810.37460.354701
150.2493151.83210.036228
160.0056470.04150.483527
17-0.130067-0.95580.828281
18-0.190704-1.40140.91659
19-0.036485-0.26810.605182
200.3274352.40610.009787
210.1109380.81520.209263
22-0.085928-0.63140.734791
23-0.201614-1.48160.927865
24-0.026757-0.19660.577568
250.2527421.85730.034365
260.0484670.35620.361555
27-0.162135-1.19140.880655
28-0.114273-0.83970.797619
29-0.07914-0.58160.718358
300.1392491.02330.155371
310.0992970.72970.23437
32-0.122313-0.89880.813628
33-0.120047-0.88220.809201
34-0.06554-0.48160.683989
350.1683951.23740.110638


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
00.0279530.20540.419012
1-0.360623-2.650.994732
2-0.102004-0.74960.771618
3-0.041377-0.30410.618872
40.2847062.09220.02057
50.0415390.30530.380674
6-0.011702-0.0860.534103
7-0.203115-1.49260.929317
8-0.219053-1.60970.943353
90.1581071.16180.125205
100.0849880.62450.267454
11-0.209507-1.53960.935245
12-0.121221-0.89080.811503
13-0.124084-0.91180.817043
140.003440.02530.489962
15-0.119686-0.87950.80849
160.1292560.94980.173214
17-0.125667-0.92350.820062
18-0.033739-0.24790.597436
190.1048460.77050.222194
20-0.063828-0.4690.679534
210.1669441.22680.112613
22-0.044985-0.33060.628875
23-0.050007-0.36750.642651
24-0.070181-0.51570.695924
25-0.08429-0.61940.730873
26-0.09459-0.69510.75501
27-0.036328-0.2670.60474
28-0.025865-0.19010.575016
29-0.110687-0.81340.790213
30-0.043342-0.31850.624332
31-0.049829-0.36620.642164
32-0.011884-0.08730.534635
330.0128150.09420.46266
340.026360.19370.423567
35-0.159211-1.170.876422
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/05/t11968834149vabbhnk4fg70r1/1z83m1196883987.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/05/t11968834149vabbhnk4fg70r1/1z83m1196883987.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/05/t11968834149vabbhnk4fg70r1/2j9dk1196883987.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/05/t11968834149vabbhnk4fg70r1/2j9dk1196883987.ps (open in new window)


 
Parameters:
par1 = 36 ; par2 = -0.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