Home » date » 2007 » Dec » 18 » attachments

ACF - versie 2 -Serie 4 - paper

R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Tue, 18 Dec 2007 00:50:22 -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/Dec/18/t1197963281tpq55zzan50iirj.htm/, Retrieved Tue, 18 Dec 2007 08:34:43 +0100
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
116.2 119.8 117.2 127.3 107.7 97.5 120.1 110.6 111.3 119.8 105.5 108.7 128.7 119.5 121.1 128.4 108.8 107.5 125.6 102.9 107.5 120.4 104.3 100.6 121.9 112.7 124.9 123.9 102.2 104.9 109.8 98.9 107.3 112.6 104 110.6 100.8 103.8 117 108.4 95.5 96.9 103.9 101.1 100.6 104.3 98 99.5 97.4 105.6 117.5 107.4 97.8 91.5 107.7 100.1 96.6 106.8 98 98.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'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
016.92820
10.1734161.20150.117734
20.1136460.78740.217471
30.3376382.33920.011767
4-0.037148-0.25740.601002
50.12790.88610.189987
60.258461.79070.039827
7-0.112313-0.77810.779844
80.1964521.36110.089926
90.2231511.5460.064332
10-0.150604-1.04340.849008
110.0228310.15820.437491
12-0.16127-1.11730.865289
13-0.244235-1.69210.951446
140.1089320.75470.227057
15-0.094023-0.65140.741055
16-0.134039-0.92870.821142
170.2035741.41040.082435
18-0.209045-1.44830.922984
19-0.17308-1.19910.881819
20-0.038313-0.26540.604096
21-0.224526-1.55560.936809
22-0.127111-0.88060.808552
230.0284840.19730.422197
24-0.295514-2.04740.976942
25-0.127955-0.88650.810116
26-0.079941-0.55390.708874
27-0.222635-1.54250.935236
28-0.067416-0.46710.678718
29-0.12999-0.90060.81385
30-0.131311-0.90980.81625
31-0.000516-0.00360.50142
32-0.031866-0.22080.586899
33-0.041424-0.2870.612324
34-0.005687-0.03940.515632
35-0.041636-0.28850.612882
360.0407050.2820.389573
370.1085960.75240.227749
380.0496460.3440.366191
390.0360240.24960.401988
400.1016870.70450.24226
410.0298610.20690.418489
420.0782620.54220.295089
430.0402690.2790.390726
440.0114390.07920.468582
450.0512970.35540.361924
460.0243640.16880.433333
470.0149650.10370.458927


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
00.1734161.20150.117734
10.0861640.5970.276669
20.3164832.19270.016606
3-0.162095-1.1230.866494
40.1307310.90570.184802
50.1430350.9910.163333
6-0.155552-1.07770.856723
70.1807691.25240.108245
80.0896760.62130.268674
9-0.158151-1.09570.860662
10-0.117073-0.81110.789345
11-0.251947-1.74550.956355
12-0.05884-0.40770.657331
130.1041070.72130.23712
14-0.011241-0.07790.530876
150.0126490.08760.465267
160.1736651.20320.117403
17-0.189911-1.31570.902745
18-0.087649-0.60730.726727
19-0.09821-0.68040.750245
200.0964390.66820.253619
21-0.128811-0.89240.811692
22-0.030605-0.2120.583513
23-0.22009-1.52480.933067
24-0.154984-1.07380.85585
25-0.08181-0.56680.713253
260.1152190.79830.214326
270.0624630.43280.333566
280.0167730.11620.453987
290.0279970.1940.423509
30-0.166985-1.15690.873483
310.0375480.26010.397935
320.1095590.7590.225768
33-0.077248-0.53520.702505
340.0541710.37530.354543
35-0.072001-0.49880.689913
36-0.020041-0.13880.554925
37-0.05053-0.35010.636097
380.0169160.11720.453596
390.0660310.45750.324696
400.0605260.41930.338421
41-0.004491-0.03110.512347
42-0.110121-0.76290.775385
43-0.138577-0.96010.82909
44-0.001297-0.0090.503567
45-0.073492-0.50920.693515
46-0.000109-8e-040.500301
47NANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/18/t1197963281tpq55zzan50iirj/1opt81197964220.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/18/t1197963281tpq55zzan50iirj/1opt81197964220.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/18/t1197963281tpq55zzan50iirj/2ojr11197964220.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/18/t1197963281tpq55zzan50iirj/2ojr11197964220.ps (open in new window)


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