Home » date » 2007 » Nov » 27 » attachments

Autocorrelation d=0; D=0

R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Tue, 27 Nov 2007 03:15:48 -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/Nov/27/t1196158057leswkie9fb3dhj3.htm/, Retrieved Tue, 27 Nov 2007 11:07:39 +0100
 
User-defined keywords:
Yannick Leroy, NIck Vandewalle, Jeroen Goetschalckx, Nick Van Hove, Jef Jacobs, Michiel Van den Broeck
 
Dataseries X:
» Textbox « » Textfile « » CSV «
3.926 3.517 4.142 4.353 5.029 4.755 3.862 4.406 4.567 4.863 4.121 3.626 3.804 3.491 4.151 4.254 4.717 4.866 4.001 3.758 4.78 5.016 4.296 4.467 3.891 3.872 3.867 3.973 4.64 4.538 3.836 3.77 4.374 4.497 3.945 3.862 3.608 3.301 3.882 3.605 4.305 4.216 3.971 3.988 4.317 4.484 4.247 3.52 3.687 3.405 3.99 4.047 4.549 4.559 3.926 4.206 4.517 4.387 3.219 3.129
 
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
017.7460
10.4195863.25010.000947
2-0.085145-0.65950.74396
3-0.193771-1.50090.930693
4-0.082252-0.63710.736764
50.0361330.27990.390266
6-0.073646-0.57050.714752
7-0.064461-0.49930.690308
8-0.104665-0.81070.789638
9-0.140177-1.08580.859046
10-0.010922-0.08460.53357
110.2833092.19450.016041
120.5206584.0337.9e-05
130.2055411.59210.058307
14-0.146059-1.13140.868799
15-0.178368-1.38160.913896
16-0.083547-0.64710.739998
17-0.003097-0.0240.509529
18-0.0237-0.18360.57252
19-0.056616-0.43850.668717
20-0.0907-0.70260.757477
21-0.096567-0.7480.77131
22-0.057687-0.44680.671702
230.1618081.25340.107469
240.3225892.49880.007609
250.1179920.9140.182198
26-0.146513-1.13490.869532
27-0.162111-1.25570.892955
28-0.029676-0.22990.590514
29-0.021421-0.16590.565612
30-0.116871-0.90530.815532
31-0.115071-0.89130.811845
32-0.11875-0.91980.819327
33-0.102617-0.79490.785088
34-0.039559-0.30640.619827
350.0818290.63380.264295
360.2085281.61530.055751
370.0342050.2650.395977
38-0.111158-0.8610.803674
39-0.074445-0.57660.716832
40-0.009502-0.07360.529215
41-0.035469-0.27470.60777
42-0.142541-1.10410.863025
43-0.110764-0.8580.80284
44-0.101065-0.78280.781601
45-0.045841-0.35510.638115
460.0631930.48950.31314
470.1214010.94040.175399


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
00.4195863.25010.000947
1-0.317007-2.45550.991509
2-0.018497-0.14330.556723
30.0071930.05570.477875
40.0231710.17950.429081
5-0.177697-1.37640.913098
60.0821530.63640.263484
7-0.169871-1.31580.903379
8-0.078541-0.60840.727383
90.0756680.58610.279995
100.3061152.37120.01048
110.3083252.38830.010046
12-0.130595-1.01160.842101
13-0.032024-0.24810.59753
140.0105930.08210.467438
15-0.087941-0.68120.750812
16-0.031559-0.24450.596143
170.0858330.66490.254344
18-0.028687-0.22220.587548
19-0.025293-0.19590.577331
200.0078410.06070.475886
21-0.142057-1.10040.862217
220.0472630.36610.357789
230.0606430.46970.320123
24-0.040288-0.31210.621966
25-0.035708-0.27660.608477
260.0519430.40230.344429
27-0.002264-0.01750.506967
28-0.127992-0.99140.83727
29-0.112167-0.86880.805803
300.024670.19110.424549
31-0.104078-0.80620.788341
32-0.040213-0.31150.621744
330.0605670.46910.320332
34-0.074628-0.57810.71731
35-0.010696-0.08290.532878
36-0.072283-0.55990.711183
370.0399790.30970.37894
38-0.02099-0.16260.564307
39-0.007556-0.05850.523238
40-0.023662-0.18330.572405
41-0.039744-0.30790.620371
42-0.004578-0.03550.514085
43-0.073655-0.57050.714775
440.0657240.50910.306277
450.063480.49170.312357
460.0228570.17710.430032
470.0390250.30230.38174
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Nov/27/t1196158057leswkie9fb3dhj3/1vi821196158545.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Nov/27/t1196158057leswkie9fb3dhj3/1vi821196158545.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Nov/27/t1196158057leswkie9fb3dhj3/2gv671196158545.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Nov/27/t1196158057leswkie9fb3dhj3/2gv671196158545.ps (open in new window)


 
Parameters:
par1 = 48 ; par2 = 1 ; 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