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:02:29 -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/t1229684631ywlnq0ppya2fb0j.htm/, Retrieved Fri, 19 Dec 2008 12:03:56 +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/t1229684631ywlnq0ppya2fb0j.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
10.330012.55620.006565
20.1483361.1490.127557
30.3763872.91550.002494
40.0026910.02080.491721
50.1007920.78070.219016
60.3918113.0350.001777
70.0328670.25460.399955
80.0036550.02830.488754
90.2490561.92920.029221
10-0.069642-0.53940.295788
110.1667451.29160.100724
120.5710454.42332.1e-05
130.0690750.5350.297297
140.0249630.19340.423663
150.0820120.63530.263837
16-0.214242-1.65950.051116
17-0.035581-0.27560.391896
180.1459741.13070.131338
19-0.123225-0.95450.171832
20-0.08051-0.62360.267619
210.0512390.39690.346427
22-0.17691-1.37030.087843
230.0862370.6680.253352
240.2730912.11540.01928
25-0.024153-0.18710.426112
26-0.008214-0.06360.474741
27-0.029534-0.22880.409912
28-0.228982-1.77370.040595
29-0.049685-0.38490.350852
300.0456640.35370.362397
31-0.112276-0.86970.193969
32-0.050716-0.39280.347914
33-0.024609-0.19060.424734
34-0.14437-1.11830.133951
350.0591110.45790.324349
360.1239550.96020.170416
37-0.046579-0.36080.359758
38-0.071508-0.55390.290853
39-0.107917-0.83590.203259
40-0.22466-1.74020.043475
41-0.153081-1.18580.120197
42-0.10929-0.84660.200302
43-0.140185-1.08590.140941
44-0.113349-0.8780.191723
45-0.133488-1.0340.152644
46-0.154891-1.19980.117471
47-0.056998-0.44150.330219
48-0.025104-0.19450.423239
49-0.073924-0.57260.284522
50-0.117464-0.90990.183264
51-0.151414-1.17280.122747
52-0.17198-1.33210.093925
53-0.181309-1.40440.082676
54-0.134033-1.03820.151667
55-0.093597-0.7250.235635
56-0.081195-0.62890.26589
57-0.073878-0.57230.284643
58-0.037213-0.28820.387075
59-0.009009-0.06980.472299
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.330012.55620.006565
20.0442480.34270.366494
30.354192.74350.004002
4-0.279005-2.16120.017342
50.2221421.72070.045229
60.2274641.76190.041588
7-0.13689-1.06030.146619
8-0.069742-0.54020.295523
90.1420751.10050.137754
10-0.119076-0.92240.180018
110.3152582.4420.008786
120.3612092.79790.003452
13-0.255995-1.98290.025979
14-0.161273-1.24920.108219
15-0.285841-2.21410.015316
160.0560140.43390.332965
17-0.029908-0.23170.408793
18-0.037997-0.29430.384764
190.0347790.26940.394273
20-0.049317-0.3820.351903
210.0509490.39470.347249
220.0709020.54920.292451
230.045230.35040.36365
24-0.086044-0.66650.253825
250.022020.17060.43257
26-0.045873-0.35530.361795
270.0854040.66150.255402
28-0.06004-0.46510.321783
290.0013190.01020.495942
30-0.061318-0.4750.318267
310.0436750.33830.368157
32-0.011454-0.08870.464798
33-0.011167-0.08650.465679
34-0.007306-0.05660.477529
35-0.046808-0.36260.359098
36-0.012315-0.09540.462162
37-0.041336-0.32020.374969
38-0.112052-0.8680.19444
390.0198740.15390.439086
40-0.042176-0.32670.372519
41-0.12806-0.99190.162603
42-0.085785-0.66450.254462
430.0682160.52840.299586
440.0118810.0920.463489
45-0.032438-0.25130.401236
46-0.038991-0.3020.381839
47-0.024204-0.18750.425957
48-0.048696-0.37720.353679
490.0518680.40180.344643
500.0323260.25040.401569
51-0.042056-0.32580.372867
52-0.014419-0.11170.45572
53-0.044633-0.34570.36538
540.0559810.43360.333057
55-0.037074-0.28720.387483
560.0350440.27140.393489
57-0.010322-0.080.46827
580.0255330.19780.421945
590.0485710.37620.354036
60NANANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229684631ywlnq0ppya2fb0j/1hyl81229684548.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229684631ywlnq0ppya2fb0j/1hyl81229684548.ps (open in new window)


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


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