Home » date » 2008 » Dec » 19 »

auto corr nd cons

*The author of this computation has been verified*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Fri, 19 Dec 2008 04:09:15 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/Dec/19/t122968503634yv2v7e4gods9d.htm/, Retrieved Fri, 19 Dec 2008 12:10:39 +0100
 
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/2008/Dec/19/t122968503634yv2v7e4gods9d.htm/},
    year = {2008},
}
@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 = {2008},
    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 «
95.9 95.3 100.4 97.3 82.3 97.0 93.5 90.9 107.8 110.9 98.1 106.5 93.4 95.7 109.0 97.6 92.7 107.5 91.7 95.7 111.4 106.0 104.8 108.7 97.3 97.1 106.1 98.6 98.5 105.5 86.2 98.3 111.3 105.0 105.7 103.5 96.9 98.1 111.7 94.7 104.2 109.7 91.3 102.6 114.2 115.8 113.5 107.1 104.5 101.9 116.0 102.0 108.1 112.9 104.5 109.1 113.4 123.9 117.7 108.3
 
Output produced by software:


Summary of computational 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
1-0.488594-3.34960.000801
2-0.190775-1.30790.098636
30.4008282.74790.004239
4-0.228304-1.56520.062125
5-0.01262-0.08650.465712
60.1726181.18340.121299
7-0.221657-1.51960.067655
80.0378820.25970.398111
90.1906931.30730.098731
10-0.153651-1.05340.148777
11-0.030183-0.20690.418481
120.1233770.84580.200966
13-0.207858-1.4250.080382
140.2480581.70060.047814
15-0.123135-0.84420.201426
16-0.124097-0.85080.199606
170.1654261.13410.131251
180.0212010.14530.442529
19-0.173093-1.18670.120662
200.0530750.36390.358796
210.1033150.70830.241132
22-0.180899-1.24020.110532
230.1347440.92380.180165
240.0470870.32280.374135
25-0.237872-1.63080.054812
260.2747221.88340.032921
27-0.105033-0.72010.237524
28-0.088534-0.6070.273399
290.1582511.08490.141746
30-0.084079-0.57640.283541
310.0150490.10320.459133
320.1103840.75680.226487
33-0.148193-1.0160.157425
340.0079330.05440.478428
350.1619111.110.136322
36-0.204691-1.40330.083551
370.0496080.34010.367651
380.1544021.05850.147612
39-0.19352-1.32670.095508
400.0715880.49080.312933
410.103520.70970.240699
42-0.135833-0.93120.178248
430.0486740.33370.370047
440.0108810.07460.470425
45-0.026735-0.18330.42768
46-0.005871-0.04020.484033
47NANANA
48NANANA
49NANANA
50NANANA
51NANANA
52NANANA
53NANANA
54NANANA
55NANANA
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.488594-3.34960.000801
2-0.564184-3.86780.000168
3-0.039751-0.27250.393208
4-0.088455-0.60640.273579
50.0044670.03060.48785
60.0849320.58230.281587
7-0.094822-0.65010.259407
8-0.168629-1.15610.126749
90.0187550.12860.44912
100.1067320.73170.233986
110.0376630.25820.398689
120.0134990.09250.463331
13-0.273039-1.87190.033728
140.0799770.54830.293041
15-0.04567-0.31310.377795
16-0.014803-0.10150.459799
17-0.135422-0.92840.178971
180.0426580.29250.385614
19-0.111292-0.7630.224645
20-0.211011-1.44660.077321
21-0.035825-0.24560.403529
22-0.15125-1.03690.152541
23-0.050816-0.34840.364557
240.001960.01340.494669
25-0.096356-0.66060.256053
260.0289360.19840.421803
27-0.071305-0.48880.313613
28-0.061247-0.41990.338241
290.0308050.21120.416827
300.0168430.11550.454281
310.1074360.73650.23253
320.1118160.76660.223585
330.0316830.21720.414494
34-0.042238-0.28960.386709
35-0.029262-0.20060.420934
36-0.097216-0.66650.254183
37-0.059983-0.41120.34139
380.0102690.07040.472087
390.0477810.32760.372346
40-0.110834-0.75980.225573
410.0057760.03960.484292
420.0489630.33570.369305
430.1194050.81860.208573
44-0.021153-0.1450.442659
450.0483830.33170.370797
460.0078230.05360.478727
47NANANA
48NANANA
49NANANA
50NANANA
51NANANA
52NANANA
53NANANA
54NANANA
55NANANA
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t122968503634yv2v7e4gods9d/1oxej1229684953.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t122968503634yv2v7e4gods9d/1oxej1229684953.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t122968503634yv2v7e4gods9d/2dk541229684953.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t122968503634yv2v7e4gods9d/2dk541229684953.ps (open in new window)


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