Home » date » 2008 » Dec » 22 »

pacf-acf olie

*The author of this computation has been verified*
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 03:01:15 -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/t1229940123mi6yh66tk48r3q1.htm/, Retrieved Mon, 22 Dec 2008 11:02:03 +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/t1229940123mi6yh66tk48r3q1.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 «
20.72 21.45 22.09 21.53 23.35 23.57 26.42 25.21 26.44 29.34 29.40 33.05 28.38 26.01 29.31 30.36 35.75 36.15 34.21 37.91 38.70 42.12 42.16 39.80 37.36 38.35 42.60 41.25 42.16 46.94 47.43 47.06 50.18 50.13 43.23 40.04 40.37 42.21 37.00 39.74 42.68 46.29 46.97 48.73 52.37 50.05 54.04 57.78 64.72 63.41 64.36 66.03 72.14 76.60 86.97 93.48 95.59 81.89 70.55 50.38 36.25
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.3418982.64830.005161
20.146121.13180.131102
30.0494720.38320.35146
4-0.093239-0.72220.236481
5-0.026311-0.20380.419598
6-0.165244-1.280.10274
7-0.028655-0.2220.412549
8-0.073102-0.56620.28667
9-0.130185-1.00840.158653
100.0910290.70510.241735
110.0485380.3760.354131
12-0.06581-0.50980.306044
13-0.095791-0.7420.230493
14-0.065768-0.50940.306157
150.0817380.63310.264523
16-0.117485-0.910.183223
17-0.106033-0.82130.207354
18-0.106216-0.82270.206955
19-0.155908-1.20770.115959
20-0.06463-0.50060.309234
210.0643570.49850.309974
220.1373951.06430.145739
230.0703190.54470.293995
240.0652950.50580.307434
250.1847041.43070.07885
260.138481.07270.14386
27-0.011953-0.09260.46327
28-0.044249-0.34280.366491
29-0.073774-0.57140.284915
30-0.068834-0.53320.297937
31-0.059907-0.4640.322151
320.0091780.07110.471779
330.0370990.28740.387411
34-0.057238-0.44340.329548
350.0922890.71490.238732
360.0648660.50240.308596
370.0717230.55560.290287
380.0009220.00710.497163
39-0.031642-0.24510.40361
40-0.026112-0.20230.420197
41-0.078479-0.60790.272775
42-0.001164-0.0090.496419
43-0.11867-0.91920.180833
44-0.084244-0.65260.258269
450.0017030.01320.49476
460.0415980.32220.374203
470.1410271.09240.139514
480.0335480.25990.39793
49-0.086625-0.6710.252399
50-0.031203-0.24170.404918
51-0.091241-0.70680.241228
52-0.014437-0.11180.455667
53-0.044274-0.34290.366418
54-0.073371-0.56830.285966
55-0.041022-0.31780.375887
56-0.037057-0.2870.387535
570.0021250.01650.493461
58-0.029174-0.2260.410992
59-0.016375-0.12680.449745
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.3418982.64830.005161
20.0330950.25640.399278
3-0.011504-0.08910.464646
4-0.125927-0.97540.166633
50.0472360.36590.357868
6-0.172668-1.33750.093057
70.0975270.75540.226471
8-0.098345-0.76180.224589
9-0.077368-0.59930.275619
100.1578211.22250.113154
110.0038310.02970.488212
12-0.172784-1.33840.092912
13-0.047936-0.37130.355857
140.0233430.18080.428562
150.1082340.83840.202573
16-0.197134-1.5270.066008
17-0.062546-0.48450.314906
18-0.087711-0.67940.249746
19-0.023512-0.18210.42805
20-0.048142-0.37290.355266
210.1265950.98060.165364
220.0217640.16860.433345
230.0132180.10240.459396
240.0170540.13210.447675
250.0977110.75690.226045
260.0257570.19950.421269
27-0.056704-0.43920.331038
28-0.041799-0.32380.373617
29-0.015342-0.11880.452899
30-0.021623-0.16750.433773
310.0003630.00280.498884
32-0.015623-0.1210.45204
330.0388860.30120.382149
34-0.048629-0.37670.35387
350.1468041.13710.13
36-0.118674-0.91920.180824
370.0975630.75570.226387
38-0.030718-0.23790.406369
390.0630450.48830.313543
40-0.111516-0.86380.19557
410.0691590.53570.297072
420.0326120.25260.400716
43-0.161536-1.25130.10785
440.0308940.23930.405844
450.0844120.65390.257853
46-0.006492-0.05030.480031
470.0370710.28720.387492
48-0.083667-0.64810.259702
49-0.109268-0.84640.20035
50-0.005615-0.04350.482725
510.0267090.20690.4184
52-0.049953-0.38690.350086
530.0337060.26110.39746
54-0.049553-0.38380.351228
55-0.000683-0.00530.497898
56-0.030907-0.23940.405803
57-0.093639-0.72530.235536
58-0.010303-0.07980.46833
590.023420.18140.428329
60NANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t1229940123mi6yh66tk48r3q1/1f6k71229940069.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/22/t1229940123mi6yh66tk48r3q1/1f6k71229940069.ps (open in new window)


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


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