Home » date » 2007 » Dec » 21 » attachments

paper (vrm/ACF 2) - update 21/12

R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Fri, 21 Dec 2007 07:13:45 -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/21/t1198245378goxyn5pf3ikyl4z.htm/, Retrieved Fri, 21 Dec 2007 14:56:30 +0100
 
User-defined keywords:
Lise Swinnen
 
Dataseries X:
» Textbox « » Textfile « » CSV «
37702 30364 32609 30212 29965 28352 25814 22414 20506 28806 22228 13971 36845 35338 35022 34777 26887 23970 22780 17351 21382 24561 17409 11514 31514 27071 29462 26105 22397 23843 21705 18089 20764 25316 17704 15548 28029 29383 36438 32034 22679 24319 18004 17537 20366 22782 19169 13807 29743 25591 29096 26482 22405 27044 17970 18730 19684 19785 18479 10698
 
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 time1 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
016.92820
10.2948732.04290.023285
20.3447262.38830.010453
30.1682911.1660.124697
40.1039510.72020.237448
50.1099590.76180.224948
60.0487270.33760.368571
7-0.068715-0.47610.681908
8-0.059056-0.40920.657877
9-0.008183-0.05670.522487
10-0.242711-1.68150.950424
11-0.235773-1.63350.945545
12-0.388854-2.69410.995152
13-0.308024-2.13410.981013
14-0.169655-1.17540.877184
15-0.064416-0.44630.671302
16-0.263596-1.82620.962982
170.0150550.10430.458681
18-0.055609-0.38530.649129
19-0.055044-0.38140.647689
200.0231820.16060.436537
21-0.063331-0.43880.668602
22-0.000407-0.00280.50112
230.1173220.81280.210165
24-0.00306-0.02120.508413
250.066430.46020.32371
260.0667550.46250.322909
27-0.049011-0.33960.632164
28-0.006818-0.04720.51874
29-0.048079-0.33310.629747
30-0.061169-0.42380.663193
310.0307650.21310.416057
320.0605030.41920.338477
330.0651930.45170.326769
340.0319680.22150.412829
350.0161520.11190.455682
36-0.024355-0.16870.566644
37-0.003941-0.02730.510835
380.0413650.28660.387832
39-0.003635-0.02520.509993
400.1372380.95080.173231
410.0568210.39370.347784
420.0425490.29480.384713
430.0123730.08570.466022
44-0.069332-0.48030.683418
45-0.035769-0.24780.597334
46-0.05545-0.38420.648726
47-0.010209-0.07070.528046


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
00.2948732.04290.023285
10.2823241.9560.028149
20.0143870.09970.460508
3-0.037491-0.25970.601915
40.051230.35490.362099
5-0.00491-0.0340.513497
6-0.143587-0.99480.837588
7-0.044586-0.30890.620634
80.0885840.61370.271147
9-0.261518-1.81190.961866
10-0.198632-1.37620.91242
11-0.207463-1.43730.921447
12-0.072051-0.49920.690034
130.0816560.56570.287106
140.1578691.09370.139763
15-0.247878-1.71740.953819
160.1266840.87770.192241
170.0685880.47520.318404
18-0.140415-0.97280.83224
19-0.033836-0.23440.592172
200.000139e-040.499642
21-0.120663-0.8360.796346
22-0.038864-0.26930.605558
23-0.18851-1.3060.901118
240.0448370.31060.378709
250.0081050.05620.477727
26-0.104214-0.7220.763106
27-0.136044-0.94250.824683
28-0.044097-0.30550.619352
290.0354060.24530.403635
300.0855160.59250.278157
31-0.097645-0.67650.749015
320.1494481.03540.152833
33-0.091942-0.6370.736422
34-0.144327-0.99990.83882
35-0.047023-0.32580.626999
36-0.06653-0.46090.676537
370.0393460.27260.393167
38-0.015117-0.10470.541488
39-0.110735-0.76720.776639
400.0403070.27930.390623
41-0.020725-0.14360.556785
42-0.059245-0.41050.658353
43-0.059349-0.41120.658614
440.0197640.13690.445829
45-0.07195-0.49850.68979
46-0.000846-0.00590.502328
47NANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/21/t1198245378goxyn5pf3ikyl4z/1d3i21198246422.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/21/t1198245378goxyn5pf3ikyl4z/1d3i21198246422.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/21/t1198245378goxyn5pf3ikyl4z/2wybu1198246422.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/21/t1198245378goxyn5pf3ikyl4z/2wybu1198246422.ps (open in new window)


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