Home » date » 2007 » Nov » 30 » attachments

PACF en ACF olie

R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Fri, 30 Nov 2007 05:16:36 -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/30/t1196424523u16st5spcgslbmi.htm/, Retrieved Fri, 30 Nov 2007 13:08:43 +0100
 
User-defined keywords:
WS11 G 29
 
Dataseries X:
» Textbox « » Textfile « » CSV «
145,3 143,6 142,8 155,9 156,2 149,8 152,7 155,5 159,3 143 141,4 142,8 146,4 152,3 164,3 168 171,3 162,7 150,2 142,5 138,2 138 145,1 138,4 131,8 130,8 126,3 123 124 120,8 122,1 106,5 104,3 108,7 113,8 112,5 106,1 98,4 96 99,3 97,5 95,3 88 94,7 99,4 98,9 96,4 95,3 99,5 101,6 103,9 106,6 108,3 102 93,8 91,6 97,7 94,8 98 103,8 97,8 91,2 89,3 87,5 90,4 94,2 102,2 101,3 96 90,8 93,2 90,9 91,1 90,2 94,3 96 99 103,3 113,1 112,8 112,1 107,4 111 110,5 110,8 112,4 111,5 116,2 122,5 121,3 113,9 110,7 120,8 141,1 147,4 148 158,1 165 187 190,3 182,4 168,8 151,2 120,1 112,5 106,2 107,1 108,5 106,5 108,3 125,6 124 127,2 136,9 135,8 124,3 115,4 113,6 114,4 118,4 117 116,5 115,4 113,6 117,4 116,9 116,4 111,1 110,2 118,9 131,8 130,6 138,3 148,4 148,7 144,3 152,5 162,9 167,2 166,5 185,6
 
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
0111.31370
10.3596074.06854.1e-05
20.0596560.67490.250467
3-0.000556-0.00630.502505
40.0031590.03570.485774
50.0280330.31720.375822
6-0.057619-0.65190.742177
7-0.14775-1.67160.951476
8-0.040554-0.45880.676428
9-0.090988-1.02940.847387
10-0.213654-2.41720.991476
11-0.159963-1.80980.963662
12-0.336518-3.80730.999892
13-0.004691-0.05310.521123
140.1024911.15950.124195
150.1022541.15690.124739
160.090111.01950.154951
170.0756270.85560.196902
180.0744710.84250.200529
190.1168111.32160.094335
200.0348510.39430.347012
210.0764820.86530.194246
220.156891.7750.039136
23-0.016803-0.19010.575235
24-0.213289-2.41310.991383
25-0.229923-2.60130.994809
26-0.004051-0.04580.518243
270.0026170.02960.488213
28-0.10182-1.1520.874258
29-0.088263-0.99860.840059
30-0.061268-0.69320.755269
31-0.012942-0.14640.55809
32-0.02741-0.31010.621509
33-0.057686-0.65260.742421
340.0268510.30380.380892
350.0606980.68670.24675


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
00.3596074.06854.1e-05
1-0.080007-0.90520.816464
20.0058320.0660.473746
30.007150.08090.467825
40.0277510.3140.377028
5-0.090255-1.02110.845437
6-0.10991-1.24350.89202
70.0634170.71750.237192
8-0.119223-1.34880.910117
9-0.176864-2.0010.976246
10-0.021306-0.24110.59505
11-0.331764-3.75350.999868
120.2593142.93380.001985
13-0.025686-0.29060.614088
140.0892831.01010.15717
150.0128370.14520.442377
160.0170910.19340.423489
170.0222760.2520.400711
18-0.017014-0.19250.576171
190.0149610.16930.432926
200.0506560.57310.28379
210.0207350.23460.40745
22-0.063836-0.72220.764263
23-0.361597-4.0910.999962
240.1363341.54240.062718
250.141411.59990.056046
26-0.04782-0.5410.705283
27-0.060453-0.68390.752377
280.0318690.36060.359511
29-0.100268-1.13440.870628
300.0299130.33840.3678
31-0.049426-0.55920.711494
320.0085670.09690.46147
330.0035120.03970.484185
34-0.079248-0.89660.81419
35-0.186178-2.10640.981437
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Nov/30/t1196424523u16st5spcgslbmi/14wqc1196424991.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Nov/30/t1196424523u16st5spcgslbmi/14wqc1196424991.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Nov/30/t1196424523u16st5spcgslbmi/24uxz1196424991.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Nov/30/t1196424523u16st5spcgslbmi/24uxz1196424991.ps (open in new window)


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