Home » date » 2007 » Nov » 27 » attachments

Autocorrelatie d=0; D=1

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:25:05 -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/t1196158634vpm2x5pyd9dc031.htm/, Retrieved Tue, 27 Nov 2007 11:17:16 +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 time2 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
016.92820
10.3223342.23320.015117
20.2609941.80820.03842
30.2009561.39230.08513
40.025460.17640.430364
50.0583750.40440.343845
6-0.062043-0.42980.665385
7-0.039967-0.27690.608476
8-0.009698-0.06720.526646
9-0.190406-1.31920.903314
10-0.124184-0.86040.803069
11-0.119167-0.82560.793445
12-0.310634-2.15210.981778
13-0.159154-1.10270.862162
14-0.221072-1.53160.933911
15-0.228875-1.58570.940312
16-0.324337-2.24710.985365
17-0.161959-1.12210.866296
18-0.058305-0.40390.655978
19-0.093001-0.64430.738786
20-0.035095-0.24310.595535
210.0893150.61880.269489
220.0151110.10470.458527
230.0881240.61050.272192
24-0.002054-0.01420.505649
250.1492261.03390.153189
260.124890.86530.1956
27-0.006862-0.04750.51886
280.2084221.4440.077618
290.1337490.92660.179374
300.1131690.78410.218429
310.1399080.96930.168625
320.1027940.71220.239901
33-0.002702-0.01870.507429
34-0.060789-0.42120.662241
35-0.142221-0.98530.8353
36-0.116598-0.80780.788409
37-0.087041-0.6030.725338
38-0.037245-0.2580.60126
390.0872480.60450.274188
40-0.017328-0.12010.54753
41-0.045752-0.3170.623682
420.039010.27030.394057
430.018440.12780.449438
44-0.016294-0.11290.544706
45-0.013519-0.09370.537116
460.0058650.04060.483879
470.0029120.02020.491993


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
00.3223342.23320.015117
10.175311.21460.115234
20.0864290.59880.276061
3-0.107337-0.74370.769644
40.0268460.1860.426616
5-0.096634-0.66950.746809
60.0020240.0140.494435
70.0240740.16680.434119
8-0.185276-1.28360.897283
9-0.04527-0.31360.622422
10-0.011382-0.07890.531262
11-0.246142-1.70530.9527
12-0.003123-0.02160.508587
13-0.080749-0.55940.710771
14-0.125015-0.86610.804636
15-0.285555-1.97840.97318
160.0830180.57520.283934
170.0051550.03570.485829
18-0.089833-0.62240.731682
19-0.045691-0.31660.623523
200.0530340.36740.357457
21-0.128856-0.89270.811775
220.0393910.27290.393047
23-0.177272-1.22820.887316
240.0803840.55690.290087
25-0.055917-0.38740.649916
26-0.140478-0.97330.832349
270.0116880.0810.467899
280.071780.49730.310621
29-0.045882-0.31790.624023
30-0.060562-0.41960.66167
31-0.001482-0.01030.504075
32-0.118451-0.82070.792049
33-0.136604-0.94640.825662
34-0.108075-0.74880.771174
35-0.204191-1.41470.918191
360.1110330.76930.222754
37-0.000707-0.00490.501945
380.0435750.30190.382018
39-0.109812-0.76080.77475
400.0202240.14010.444577
410.006060.0420.483343
42-0.02262-0.15670.561937
43-0.012466-0.08640.534233
44-0.009563-0.06630.526276
45-0.074782-0.51810.696618
46-0.019127-0.13250.552435
47NANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Nov/27/t1196158634vpm2x5pyd9dc031/1ywa01196159102.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2007/Nov/27/t1196158634vpm2x5pyd9dc031/1ywa01196159102.ps (open in new window)


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


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