Home » date » 2009 » May » 07 »

Autocorrelation Function - Prijsevolutie slagroom - Van Hal Elien

*Unverified author*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Thu, 07 May 2009 12:15:58 -0600
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/May/07/t1241720221cxpownsdxd23w78.htm/, Retrieved Thu, 07 May 2009 20:17:03 +0200
 
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/2009/May/07/t1241720221cxpownsdxd23w78.htm/},
    year = {2009},
}
@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 = {2009},
    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 «
4,2 4,19 4,19 4,19 4,19 4,18 4,2 4,19 4,17 4,21 4,22 4,23 4,21 4,23 4,23 4,22 4,25 4,28 4,3 4,32 4,33 4,32 4,34 4,33 4,31 4,31 4,3 4,3 4,29 4,33 4,32 4,32 4,35 4,37 4,39 4,4 4,41 4,44 4,47 4,47 4,47 4,48 4,47 4,48 4,46 4,44 4,43 4,41 4,41 4,38 4,35 4,37 4,4 4,39 4,36 4,34 4,33 4,33 4,34 4,34 4,35 4,37 4,39 4,4 4,38 4,37 4,36 4,33 4,33 4,33 4,32 4,33 4,34
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'George Udny Yule' @ 72.249.76.132


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.9617138.21690
20.9105297.77960
30.8570017.32220
40.7952596.79470
50.7296076.23380
60.6594615.63440
70.5967315.09851e-06
80.5328284.55251e-05
90.4695144.01157.2e-05
100.4138093.53560.000355
110.3584953.0630.001534
120.3065072.61880.005362
130.2557032.18470.01606
140.2136931.82580.035985
150.1726621.47520.072227
160.1331991.13810.12941
170.0999850.85430.197875
180.0796630.68060.249125
190.0630450.53870.29588
200.0432860.36980.356288
210.0168740.14420.442881
22-0.012655-0.10810.457097
23-0.038079-0.32530.372926
24-0.07602-0.64950.259023
25-0.122175-1.04390.149997
26-0.169894-1.45160.075452
27-0.220157-1.8810.031978
28-0.267686-2.28710.012545
29-0.316-2.69990.004307
30-0.353772-3.02260.001728
31-0.390757-3.33860.000664
32-0.423248-3.61620.000273
33-0.445188-3.80370.000147
34-0.457162-3.9060.000104
35-0.463276-3.95828.7e-05
36-0.463324-3.95868.7e-05
37-0.454374-3.88220.000113
38-0.43233-3.69380.000212
39-0.396802-3.39030.000565
40-0.361464-3.08840.001423
41-0.324166-2.76970.003555
42-0.284321-2.42920.008796
43-0.253857-2.1690.016672
44-0.226135-1.93210.028614
45-0.202504-1.73020.043911
46-0.183366-1.56670.060758
47-0.16794-1.43490.077796
48-0.155443-1.32810.09414


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.9617138.21690
2-0.191243-1.6340.053284
3-0.030558-0.26110.39738
4-0.136914-1.16980.122944
5-0.05447-0.46540.321518
6-0.089827-0.76750.222635
70.0900910.76970.221969
8-0.087776-0.750.227846
9-0.008063-0.06890.472634
100.0375630.32090.374588
11-0.060372-0.51580.303769
12-0.005147-0.0440.482523
13-0.039519-0.33770.368296
140.0725660.620.268594
15-0.079346-0.67790.249979
160.0133880.11440.454623
170.0019690.01680.493313
180.1415851.20970.115149
19-0.050573-0.43210.333473
20-0.061234-0.52320.301216
21-0.162998-1.39270.083975
22-0.057322-0.48980.312887
230.0516170.4410.330252
24-0.205525-1.7560.04164
25-0.082834-0.70770.240683
26-0.071586-0.61160.271341
27-0.024542-0.20970.417247
28-0.022903-0.19570.422702
29-0.030717-0.26240.396858
300.0585160.50.309302
31-0.077455-0.66180.255099
320.0318640.27220.393101
330.0049130.0420.483315
340.0945950.80820.210795
35-0.02061-0.17610.430354
360.0750150.64090.261789
37-0.040624-0.34710.36476
380.1077050.92020.180242
390.1512441.29220.100176
40-0.084578-0.72260.236107
41-0.009416-0.08040.46805
42-0.065939-0.56340.28745
43-0.120416-1.02880.153477
44-0.017279-0.14760.441521
450.0358590.30640.380095
46-0.090205-0.77070.221682
470.0442070.37770.353374
48-0.00234-0.020.492051
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/07/t1241720221cxpownsdxd23w78/1gi0k1241720152.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/07/t1241720221cxpownsdxd23w78/1gi0k1241720152.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/07/t1241720221cxpownsdxd23w78/23vla1241720152.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/07/t1241720221cxpownsdxd23w78/23vla1241720152.ps (open in new window)


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