Home » date » 2007 » Dec » 21 » attachments

paper (vrm/ACF) - 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:09:00 -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/t1198245097hm5r7x3h1bwrtiz.htm/, Retrieved Fri, 21 Dec 2007 14:51:50 +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 time2 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
017.7460
10.3053882.36550.010627
20.0789520.61160.271569
30.0877510.67970.249649
4-0.013297-0.1030.540846
5-0.081506-0.63130.734894
6-0.229905-1.78080.959999
7-0.151415-1.17290.877255
8-0.082348-0.63790.737005
9-0.040095-0.31060.6214
10-0.052277-0.40490.656518
110.1526741.18260.120815
120.6817035.28051e-06
130.2069131.60270.057122
140.022490.17420.431146
150.0334610.25920.39819
16-0.068936-0.5340.702335
17-0.110006-0.85210.801228
18-0.229364-1.77660.959652
19-0.170469-1.32040.90415
20-0.101115-0.78320.781714
21-0.105697-0.81870.791908
22-0.099732-0.77250.77858
230.0772170.59810.276005
240.4575223.5440.000385
250.1422371.10180.137482
260.0040720.03150.48747
27-0.013188-0.10220.540512
28-0.062289-0.48250.684392
29-0.092915-0.71970.762753
30-0.183469-1.42110.919774
31-0.095593-0.74050.769045
32-0.043684-0.33840.631869
33-0.046015-0.35640.638616
34-0.037161-0.28780.612772
350.0548770.42510.336152
360.3668372.84150.003063
370.115230.89260.187827
380.022720.1760.430448
390.0173910.13470.446645
40-0.03076-0.23830.593757
41-0.085579-0.66290.74503
42-0.164564-1.27470.896336
43-0.121061-0.93770.823929
44-0.109803-0.85050.800794
45-0.112725-0.87320.806973
46-0.084878-0.65750.743302
47-0.061333-0.47510.681775


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
00.3053882.36550.010627
1-0.015781-0.12220.548442
20.07510.58170.281467
3-0.067086-0.51960.697389
4-0.067679-0.52420.698977
5-0.211427-1.63770.946641
6-0.018504-0.14330.556746
7-0.020665-0.16010.563319
80.0275860.21370.415762
9-0.054655-0.42340.663224
100.1942261.50450.068854
110.6531695.05942e-06
12-0.257294-1.9930.974592
13-0.142263-1.1020.862561
14-0.134792-1.04410.849685
15-0.096075-0.74420.770167
16-0.043141-0.33420.630291
170.0620450.48060.316275
180.056350.43650.332025
190.0147110.11390.454829
20-0.046985-0.36390.641412
21-0.003848-0.02980.51184
22-0.035108-0.27190.606702
23-0.070247-0.54410.705817
24-0.021872-0.16940.566981
250.0075590.05860.476751
26-0.068631-0.53160.701522
270.0767450.59450.277219
280.0147290.11410.454773
290.0174390.13510.446499
300.0818430.6340.26426
310.0135870.10520.458268
320.0595660.46140.323091
330.0111740.08660.465656
34-0.106743-0.82680.794194
350.0538670.41730.338991
36-0.076372-0.59160.721822
370.0562720.43590.332243
380.1085130.84050.201972
390.0278410.21570.414995
40-0.065281-0.50570.692529
41-0.044841-0.34730.635222
42-0.195764-1.51640.932663
43-0.16134-1.24970.891875
44-0.106717-0.82660.794138
450.012170.09430.462604
46-0.023693-0.18350.572496
47-0.138456-1.07250.8561
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/21/t1198245097hm5r7x3h1bwrtiz/12uv01198246138.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Dec/21/t1198245097hm5r7x3h1bwrtiz/12uv01198246138.ps (open in new window)


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


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