Home » date » 2009 » Jun » 02 »

opdracht6bis2-MerelBoels-MAR204A

*Unverified author*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Tue, 02 Jun 2009 08:27:09 -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/Jun/02/t1243952875rxsz6zxjgrkabdv.htm/, Retrieved Tue, 02 Jun 2009 16:27:55 +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/Jun/02/t1243952875rxsz6zxjgrkabdv.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 «
672.1 674.4 676.6 678.7 680.8 682.9 684 684.1 684.1 684.2 685.9 689.2 692.4 695.7 697.2 696.8 696.4 695.9 696.2 697.2 705.2 706.2 707.4 708.7 710 711.3 711.5 710.7 710 709.2 707.9 706.1 704.4 702.7 701.5 700.8 700 699.3 698.8 698.4 696.8 695.1 694.3 693.4 692.4 691 689.7 688.3 686 683.6 682.6 681.9 681 679.9 678.5 677.5 678 679 679.8 681.3 684.2 687 688.4 689.5 691.1 693.3 695.9 698 699.6 701.6 703.5 705.5 708.1 709.6 710.3
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.9433558.16970
20.8733217.56320
30.7953086.88760
40.714676.18920
50.632285.47570
60.5490134.75465e-06
70.4623654.00427.3e-05
80.3686063.19220.001032
90.2685542.32570.011369
100.1639051.41950.079954
110.0608860.52730.299776
12-0.034199-0.29620.383957
13-0.120929-1.04730.149168
14-0.196962-1.70570.046098
15-0.263904-2.28550.012556
16-0.326205-2.8250.003027
17-0.385266-3.33650.000661
18-0.442009-3.82790.000133
19-0.493684-4.27542.8e-05
20-0.538906-4.66717e-06
21-0.559833-4.84833e-06
22-0.574467-4.9752e-06
23-0.582295-5.04282e-06
24-0.581859-5.0392e-06
25-0.571952-4.95332e-06
26-0.552206-4.78224e-06
27-0.527554-4.56889e-06
28-0.499718-4.32772.3e-05
29-0.465584-4.03216.6e-05
30-0.424879-3.67960.000219
31-0.380648-3.29650.000749
32-0.334655-2.89820.002459
33-0.287078-2.48620.007569
34-0.238156-2.06250.021312
35-0.188438-1.63190.053445
36-0.136873-1.18540.119809
37-0.08301-0.71890.237222
38-0.027805-0.24080.405185
390.0285790.24750.4026
400.0852420.73820.231344
410.1376821.19240.11844
420.1843571.59660.057283
430.2274321.96960.026287
440.2664272.30730.011899
450.2996522.59510.005685
460.3252862.81710.003096
470.342792.96860.002007
480.3513793.0430.001614


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.9433558.16970
2-0.150776-1.30580.097813
3-0.097836-0.84730.199767
4-0.054071-0.46830.320475
5-0.056402-0.48850.313326
6-0.05469-0.47360.31857
7-0.083363-0.72190.236288
8-0.120942-1.04740.149141
9-0.115791-1.00280.159596
10-0.110809-0.95960.170162
11-0.066447-0.57540.283355
12-0.022032-0.19080.424598
13-0.031371-0.27170.393306
14-0.009958-0.08620.465753
15-0.02231-0.19320.423658
16-0.061008-0.52830.299409
17-0.070521-0.61070.271612
18-0.086444-0.74860.228211
19-0.072935-0.63160.264773
20-0.074557-0.64570.260229
210.0954330.82650.205578
22-0.087406-0.7570.225724
23-0.062105-0.53780.296138
24-0.025473-0.22060.412999
25-0.003609-0.03130.487574
260.0094820.08210.467386
27-0.043643-0.3780.353265
28-0.067771-0.58690.279513
29-0.030738-0.26620.395407
30-0.025868-0.2240.411673
31-0.041709-0.36120.35948
32-0.041239-0.35710.360996
33-0.040503-0.35080.363372
34-0.024048-0.20830.417794
35-0.019949-0.17280.431653
36-0.010731-0.09290.463103
370.0014970.0130.494844
38-0.004383-0.0380.484912
390.0104330.09030.464126
400.010530.09120.46379
41-0.000616-0.00530.497878
42-0.043784-0.37920.352812
43-0.009374-0.08120.467756
44-0.003388-0.02930.488335
45-0.015233-0.13190.447701
46-0.029999-0.25980.397867
47-0.048973-0.42410.336346
48-0.055973-0.48470.314635
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/02/t1243952875rxsz6zxjgrkabdv/1y6u01243952824.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/02/t1243952875rxsz6zxjgrkabdv/1y6u01243952824.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/02/t1243952875rxsz6zxjgrkabdv/278wd1243952824.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/02/t1243952875rxsz6zxjgrkabdv/278wd1243952824.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