Home » date » 2010 » Nov » 16 »

*Unverified author*
R Software Module: /rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Tue, 16 Nov 2010 14:41:05 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Nov/16/t1289918433qotuct5584mn9l7.htm/, Retrieved Tue, 16 Nov 2010 15:40:35 +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/2010/Nov/16/t1289918433qotuct5584mn9l7.htm/},
    year = {2010},
}
@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 = {2010},
    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:
KDGP2W12
 
Dataseries X:
» Textbox « » Textfile « » CSV «
98,6 100,1 98,8 98,3 102,8 103,6 105,2 100,1 98,2 98,4 97,4 98,4 100,3 101,1 104,1 107,3 110,1 112,6 114,3 115,3 109,9 108,2 103,2 101,8 105,6 108,2 109,8 114,6 117,2 116,5 116,1 112,1 106,8 106,9 104,5 103 105,9 107,7 107,1 112,5 114,5 114,6 113,1 112,8 111,9 112 112,4 110 112,3 109,6 111,9 110,8 110,4 110,8 114 108,4 110,5 105,1 102,3 104,3 103,4 102,4 104,5 107,3 110,1 111,8 111,8 105,7 106 106,4 107,1 111,5 109,6 109,9 109,3 111,4 112,9 115,5 118,4 116,2 113,3 113,8 114,1 117,1 115,5 115,2 114,2 115,3 118,8 118 118,1 111,8 112 114,3 115 118,5 117,6 119,1 120,6 123,6 122,7 123,8 123,1 124,5 120,7 118,7 119 122,3 118,6 118,1 118,2 120,8 119,7 119,7 117,1 114,5 116,5 116,4 114,9 115,5
 
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


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.91291210.00050
20.8156888.93540
30.7018357.68820
40.5994236.56630
50.5387575.90180
60.5029345.50940
70.4790315.24750
80.4755685.20960
90.4914645.38370
100.5057735.54050
110.4987425.46340
120.4751895.20540
130.4053444.44031e-05
140.3215283.52220.000303
150.2416052.64660.00461
160.1637411.79370.037691
170.127651.39830.082296
180.1104121.20950.114423
190.1147311.25680.105632
200.1399091.53260.064
210.1674191.8340.034567
220.2008072.19970.014871
230.217952.38750.009262
240.2028412.2220.014079
250.1550811.69880.045972
260.1003791.09960.136854
270.0480160.5260.299933
280.0150740.16510.434561
290.0097530.10680.457548
30-0.007194-0.07880.46866
31-0.006885-0.07540.470002
320.0041150.04510.482058
330.0141940.15550.438348
340.02910.31880.375228
350.0326320.35750.360686
360.0024770.02710.489198
37-0.040186-0.44020.330287
38-0.078576-0.86080.195543
39-0.12693-1.39040.083483
40-0.15738-1.7240.043641
41-0.167016-1.82960.034899
42-0.163419-1.79020.037974
43-0.15314-1.67760.048018
44-0.117187-1.28370.100857
45-0.076221-0.8350.202701
46-0.039063-0.42790.334741
470.0066490.07280.471029
480.0208680.22860.409784


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.91291210.00050
2-0.106372-1.16530.123114
3-0.151284-1.65720.050042
40.0129710.14210.443624
50.1970732.15880.016427
60.0780240.85470.197207
7-0.017931-0.19640.422307
80.099461.08950.139051
90.1701121.86350.032419
100.0219670.24060.405125
11-0.129614-1.41980.079122
12-0.028957-0.31720.37582
13-0.183401-2.00910.023388
14-0.085823-0.94010.174515
15-0.015622-0.17110.432204
16-0.07276-0.7970.213501
170.1146951.25640.105702
18-0.001922-0.02110.491617
190.0302690.33160.370394
200.0788660.86390.194673
210.0325660.35670.360957
220.0982771.07660.141916
230.0082920.09080.463888
24-0.105748-1.15840.124498
25-0.084978-0.93090.176891
260.0472770.51790.302745
27-0.014276-0.15640.437998
280.0182490.19990.420944
290.0060950.06680.473441
30-0.195291-2.13930.017218
310.0253940.27820.390677
320.0107710.1180.453137
33-0.011479-0.12570.450072
340.0017990.01970.492155
350.0021620.02370.490573
36-0.073435-0.80440.211368
37-0.005805-0.06360.474701
380.0693140.75930.224583
39-0.105802-1.1590.124379
40-0.003758-0.04120.483614
410.0175540.19230.423919
420.0888440.97320.166197
43-0.068238-0.74750.228109
440.1005671.10170.136408
450.1429551.5660.059992
46-0.042662-0.46730.320552
470.1545871.69340.046486
48-0.030107-0.32980.371062
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Nov/16/t1289918433qotuct5584mn9l7/1afkn1289918463.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/16/t1289918433qotuct5584mn9l7/1afkn1289918463.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/16/t1289918433qotuct5584mn9l7/2afkn1289918463.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/16/t1289918433qotuct5584mn9l7/2afkn1289918463.ps (open in new window)


 
Parameters (Session):
par1 = 48 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
Parameters (R input):
par1 = 48 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
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 (par6 == 'White Noise') par6 <- 'white' else par6 <- 'ma'
par7 <- as.numeric(par7)
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='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep=''))
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