Home » date » 2009 » Jun » 04 »

Autocorrelation2 Brutoschuld/Samira Allouch

*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, 04 Jun 2009 02:03:30 -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/04/t1244102692a3amagbolwz4lrg.htm/, Retrieved Thu, 04 Jun 2009 10:04:54 +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/04/t1244102692a3amagbolwz4lrg.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 «
260288 261544 259886 257006 259670 258873 264416 263596 262586 260237 261690 259295 264170 264451 265538 261723 266189 265073 267007 266376 267406 262742 260300 263074 265940 264771 268403 264264 264118 266817 269296 269001 266707 267507 267510 267420 270845 270671 273653 271567 268372 268160 267879 271142 271323 269478 271008 269145 271684 273582 279475 276188 278422 281084 278618 280738 288897 282129 286406 284288 286139 288275 287670 286864 288798 288316 286915 288006 293338 303730 306248 305700 314849
 
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'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.187577-1.59160.057923
20.0538330.45680.324598
3-0.017327-0.1470.441763
40.0156620.13290.447323
5-0.062736-0.53230.298067
60.2225341.88830.03151
7-0.081954-0.69540.24452
80.1264381.07290.143458
9-0.23203-1.96880.026411
100.0538120.45660.324662
11-0.130455-1.10690.136002
120.2007491.70340.046402
130.0482170.40910.341827
140.1215621.03150.152882
15-0.226889-1.92520.029076
16-0.012745-0.10810.457091
170.0611560.51890.302701
180.037130.31510.376816
190.1153710.9790.16544
200.2265681.92250.02925
21-0.230615-1.95680.027122
220.0624630.530.298865
23-0.026362-0.22370.411816
240.0564830.47930.316597
25-0.000395-0.00330.498669
260.1120030.95040.172551
27-0.062494-0.53030.298774
28-0.169121-1.4350.077803
29-0.093554-0.79380.214951
300.1003060.85110.198762
31-0.073317-0.62210.267916
320.127711.08370.141066
33-0.090529-0.76820.22245
34-0.002165-0.01840.492697
35-0.118548-1.00590.158913
360.0873420.74110.230516
37-0.041372-0.35110.363287
380.0646190.54830.292588
39-0.042276-0.35870.360427
400.0650040.55160.291473
41-0.195067-1.65520.051118
420.0524640.44520.328766
430.003420.0290.488465
440.1203211.0210.155347
45-0.123113-1.04460.149841
460.1210241.02690.153947
47-0.202473-1.7180.045043
48-0.029224-0.2480.402429


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.187577-1.59160.057923
20.0193290.1640.435092
3-0.003938-0.03340.486717
40.0111320.09450.462505
5-0.05947-0.50460.307683
60.2076961.76240.041126
7-0.002977-0.02530.489959
80.1048210.88940.188365
9-0.207451-1.76030.041304
10-0.025504-0.21640.41464
11-0.117594-0.99780.160855
120.146131.240.109509
130.1402121.18970.119029
140.1239111.05140.148291
15-0.142134-1.20610.115873
16-0.141471-1.20040.116955
170.1429551.2130.114545
18-0.01525-0.12940.448701
190.1690451.43440.077895
200.1771991.50360.068531
21-0.078306-0.66450.254262
22-0.000858-0.00730.497107
230.0251180.21310.415913
240.0316760.26880.394435
25-0.110941-0.94140.174832
260.0153580.13030.448338
270.0250060.21220.416283
28-0.133139-1.12970.131171
29-0.052914-0.4490.327394
300.0059390.05040.479976
31-0.08328-0.70670.241032
320.0013180.01120.495554
33-0.045953-0.38990.348873
340.0479160.40660.342761
350.0021820.01850.492639
360.0116830.09910.460654
37-0.11502-0.9760.166173
38-0.023872-0.20260.420024
39-0.088459-0.75060.227671
400.0707180.60010.275173
41-0.006397-0.05430.478431
42-0.040924-0.34730.364708
43-0.008557-0.07260.47116
440.046710.39630.34651
45-0.005538-0.0470.481325
460.0272770.23140.408811
47-0.055434-0.47040.319754
48-0.062336-0.52890.299239
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/04/t1244102692a3amagbolwz4lrg/1lcpf1244102608.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/04/t1244102692a3amagbolwz4lrg/1lcpf1244102608.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/04/t1244102692a3amagbolwz4lrg/2bh2a1244102608.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/04/t1244102692a3amagbolwz4lrg/2bh2a1244102608.ps (open in new window)


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