Home » date » 2010 » Dec » 21 »

biefstuk ACF

*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: Tue, 21 Dec 2010 13:22:24 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Dec/21/t129293765140sv7m9wguni51b.htm/, Retrieved Tue, 21 Dec 2010 14:20:52 +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/2010/Dec/21/t129293765140sv7m9wguni51b.htm/},
    year = {2010},
}
@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 = {2010},
    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 «
10,92 10,98 11,15 11,19 11,33 11,38 11,4 11,45 11,56 11,61 11,82 11,77 11,85 11,82 11,92 11,86 11,87 11,94 11,86 11,92 11,83 11,91 11,93 11,99 11,96 12,12 11,85 12,01 12,1 12,21 12,31 12,31 12,39 12,35 12,41 12,51 12,27 12,51 12,44 12,47 12,51 12,58 12,5 12,52 12,59 12,51 12,67 12,64 12,54 12,66 12,67 12,62 12,72 12,85 12,85 12,82
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.454872-2.98280.002346
20.3501752.29630.013299
3-0.09388-0.61560.270698
40.0582950.38230.352074
50.0066540.04360.482699
60.0500970.32850.372062
70.0164720.1080.457242
8-0.001114-0.00730.497104
9-0.082771-0.54280.295046
100.0140360.0920.463546
110.0164410.10780.457322
12-0.31636-2.07450.022026
130.0846260.55490.290909
14-0.093409-0.61250.271709
15-0.08421-0.55220.291835
160.143370.94010.176199
17-0.182388-1.1960.119125
180.0583380.38250.35197
19-0.032534-0.21330.416036
200.0139420.09140.463791
210.1318390.86450.196048
22-0.110146-0.72230.237017
230.1706331.11890.134693
24-0.118219-0.77520.221227
250.16291.06820.145693
26-0.085454-0.56040.28907
270.1329350.87170.194103
28-0.141753-0.92950.1789
290.1449540.95050.173578
30-0.107566-0.70540.242196
310.0561980.36850.357149
32-0.083-0.54430.294534
330.0057730.03790.484989
34-0.040159-0.26330.396774
35-0.001829-0.0120.495244
36-0.009705-0.06360.474775


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.454872-2.98280.002346
20.1806421.18460.12135
30.1548481.01540.157796
40.0102160.0670.473451
50.0016580.01090.495688
60.0679330.44550.329108
70.0626910.41110.341523
8-0.012132-0.07960.46848
9-0.151004-0.99020.163809
10-0.086501-0.56720.286756
110.0768580.5040.30842
12-0.372666-2.44370.009357
13-0.297839-1.95310.02867
140.0845090.55420.291168
15-0.01239-0.08120.467812
160.1282420.84090.202517
17-0.024352-0.15970.436937
18-0.062099-0.40720.342937
190.1543811.01230.158518
200.0856180.56140.288708
210.0807890.52980.299498
22-0.055421-0.36340.359035
230.0791850.51920.303125
24-0.209166-1.37160.088652
25-0.059422-0.38970.349356
26-0.052903-0.34690.365177
27-0.038241-0.25080.401597
280.0040560.02660.489453
29-0.012654-0.0830.467126
30-0.050002-0.32790.372295
310.0503790.33040.371368
32-0.018791-0.12320.451253
330.0794110.52070.302611
340.0523990.34360.366409
350.0387360.2540.40035
36-0.071326-0.46770.321174
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/21/t129293765140sv7m9wguni51b/1zzys1292937741.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t129293765140sv7m9wguni51b/1zzys1292937741.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t129293765140sv7m9wguni51b/29rxv1292937741.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t129293765140sv7m9wguni51b/29rxv1292937741.ps (open in new window)


 
Parameters (Session):
par1 = 36 ; par2 = 1 ; par3 = 1 ; par4 = 1 ; par5 = 12 ; par6 = MA ; par7 = 0.95 ;
 
Parameters (R input):
par1 = 36 ; par2 = 1 ; par3 = 1 ; par4 = 1 ; par5 = 12 ; par6 = MA ; par7 = 0.95 ;
 
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 (par6 == 'White Noise') par6 <- 'white' else par6 <- 'ma'
par7 <- as.numeric(par7)
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='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep=''))
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