Home » date » 2009 » May » 28 »

Non seasonal - Fortis - Caroline Thys

*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, 28 May 2009 08:09:12 -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/May/28/t12435198016ekfadb81ph7y6o.htm/, Retrieved Thu, 28 May 2009 16:10:04 +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/May/28/t12435198016ekfadb81ph7y6o.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 «
18,09 18,13 18 17,72 17,62 17,13 17,39 17,09 17,14 17,38 16,8 16,51 16,01 15,05 13,56 15,22 14,91 15,13 15,25 14,61 14,87 15,1 15,22 15,46 14,96 14 14,2 13,9 13,63 13,32 13,8 14,5 14,12 13,88 14,11 14,26 14,71 14,52 14,32 14,69 15,25 15,04 14,82 14,5 14,72 14,6 14,58 14 14,75 14,41 15,19 14,96 14,83 14,25 14,32 14,93 14,65 15,65 15,65 15,61 15,95 15,83 15,77 16,7 16,69 16,4 16,77 16,78 16,84 16,68 16,67 16,3 16,37 16,6 16,72 16,82 17,5 17,2 17,29 17,2 17,2 17,32 17,16 17,41 17,31 17,3 17,34 17,19 17,05 17,07 17,07 16,81 16,81 16,96 17,05 17 16,77 16,66 16,2 16,26 15,84 15,85 15,71 15,84 15,73 15,77 15,3 15,41 15,4 15,61 15 14,12 14,01 13,46 13,85 13,92 13,59 13,67 13,05 12,87 12,28 11,88 12,49 11,9 10,8 10,99 10,15 10,07 10,05 10,31 9,94 9,65 9,74 9,85 9,96 9,63 9,43 8,77 9,53 9,5 9,78 9,9 9,93 10,35 9,79 9,63 9,02 9,25 9,11 8,95 9,3 9,13 9,75 9,65 9,27 9,5 etc...
 
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'George Udny Yule' @ 72.249.76.132
R Framework
error message
Warning: there are blank lines in the 'Data' field.
Please, use NA for missing data - blank lines are simply
 deleted and are NOT treated as missing values.


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.098134-1.61850.053361
20.0168010.27710.390961
3-0.054143-0.89290.186339
40.0551320.90930.18201
50.1065861.75790.039948
60.0271830.44830.327144
70.0454520.74960.227069
80.0616481.01670.155095
90.1112321.83450.033837
10-0.015872-0.26180.396848
11-0.092181-1.52030.0648
120.070121.15640.124256
130.0783891.29280.098585
140.0500650.82570.204852
150.0648931.07020.142731
16-0.016022-0.26420.3959
17-0.002824-0.04660.481446
180.0430880.71060.238962
190.0349870.5770.282199
20-0.034314-0.56590.285954
210.0150960.2490.401785
22-0.014193-0.23410.407553
23-0.055004-0.90710.182567
240.0142930.23570.406913
250.0061680.10170.459525
26-0.051256-0.84530.199334
270.008310.13710.445546
280.0097580.16090.436131
290.0123330.20340.419485
30-0.040865-0.6740.250453
31-0.054444-0.89790.185014
32-0.027212-0.44880.326972
330.0633381.04460.14857
34-0.053963-0.890.187131
350.0404980.66790.252377
36-0.078808-1.29970.097397
370.0598290.98670.162328
38-0.111677-1.84180.033295
39-0.016019-0.26420.395916
40-0.012774-0.21070.416652
41-0.065821-1.08560.139319
420.0579130.95510.17018
43-0.097612-1.60990.054294
44-0.030987-0.51110.304864
45-0.065991-1.08830.138703
460.0150260.24780.402232
47-0.034207-0.56420.286555
48-0.076729-1.26540.103398


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.098134-1.61850.053361
20.0072410.11940.452518
3-0.052302-0.86260.194564
40.045270.74660.227972
50.1188781.96060.025474
60.0468580.77280.220156
70.057630.95050.171363
80.0828531.36650.086463
90.1221542.01460.022465
10-0.001594-0.02630.489524
11-0.106458-1.75570.040129
120.0407440.6720.251086
130.0612391.010.1567
140.0209310.34520.365107
150.0779191.28510.099929
160.0098050.16170.435828
17-0.02855-0.47090.319059
180.0238450.39330.34722
190.0346250.5710.284221
20-0.045253-0.74630.228056
21-0.027278-0.44990.326579
22-0.049428-0.81520.207839
23-0.087454-1.44230.07518
24-0.013111-0.21620.414485
250.0128440.21180.416201
26-0.056279-0.92820.177068
27-0.017551-0.28950.386226
280.0153920.25380.399903
290.0320010.52780.299042
30-0.026884-0.44340.328922
31-0.053992-0.89050.187005
32-0.026051-0.42960.3339
330.0454240.74910.227208
34-0.057325-0.94540.172641
350.0750041.2370.108578
36-0.034303-0.56570.286021
370.04170.68770.246105
38-0.080191-1.32250.093548
39-0.012244-0.20190.420058
400.0020330.03350.486638
41-0.076522-1.2620.104009
420.0270880.44680.327704
43-0.069526-1.14670.126265
44-0.037417-0.61710.268845
45-0.049031-0.80860.209714
460.0194640.3210.374225
47-0.023607-0.38930.348669
48-0.071947-1.18660.118215
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/28/t12435198016ekfadb81ph7y6o/1s9ld1243519751.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/28/t12435198016ekfadb81ph7y6o/1s9ld1243519751.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/28/t12435198016ekfadb81ph7y6o/28t2g1243519751.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/May/28/t12435198016ekfadb81ph7y6o/28t2g1243519751.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