Home » date » 2009 » Dec » 30 »

*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: Wed, 30 Dec 2009 08:05:16 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Dec/30/t12621855450loam0ni4ic3knj.htm/, Retrieved Wed, 30 Dec 2009 16:05:48 +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/2009/Dec/30/t12621855450loam0ni4ic3knj.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 «
28029 29383 36438 32034 22679 24319 18004 17537 20366 22782 19169 13807 29743 25591 29096 26482 22405 27044 17970 18730 19684 19785 18479 10698 31956 29506 34506 27165 26736 23691 18157 17328 18205 20995 17382 9367 31124 26551 30651 25859 25100 25778 20418 18688 20424 24776 19814 12738 31566 30111 30019 31934 25826 26835 20205 17789 20520 22518 15572 11509 25447 24090 27786 26195 20516 22759 19028 16971 20036 22485
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.5149353.92160.000118
20.4419613.36590.000679
30.2055661.56550.061448
40.1196970.91160.18288
50.0880370.67050.252609
60.1145850.87270.193225
70.0527170.40150.34477
80.0836160.63680.263381
9-0.079382-0.60460.273917
10-0.222497-1.69450.047768
11-0.320485-2.44070.008866
12-0.41993-3.19810.001121
13-0.356066-2.71170.004396
14-0.258037-1.96520.027096
15-0.153227-1.16690.124005
16-0.088466-0.67370.251577
17-0.059927-0.45640.324906
18-0.074033-0.56380.287526
19-0.064275-0.48950.313167
20-0.037552-0.2860.387953
210.074090.56430.287379
220.018250.1390.444971
230.213841.62860.054414
240.146621.11660.134379
250.2100111.59940.057583
260.1363841.03870.151634
270.074020.56370.287558
28-0.022329-0.170.432782
290.0050270.03830.484797
30-0.108796-0.82860.205372
31-0.10475-0.79780.214134
32-0.127494-0.9710.167799
33-0.154438-1.17620.122167
34-0.098744-0.7520.227543
35-0.159005-1.21090.115413
36-0.196891-1.49950.069587
37-0.177866-1.35460.090401
38-0.172147-1.3110.097506
39-0.091108-0.69390.24527
40-0.034894-0.26570.395688
41-0.028849-0.21970.413435
420.0213680.16270.435646
430.0387910.29540.384362
440.0359370.27370.392648
450.0499950.38080.352389
460.0626520.47710.317526
470.0813580.61960.268973
480.053390.40660.342897
490.0951390.72460.235819
500.1221590.93030.178027
510.0604890.46070.323378
520.0153510.11690.453667
53-0.008541-0.0650.47418
54-0.007088-0.0540.478567
55-0.008495-0.06470.47432
56-0.002975-0.02270.491002
570.0023020.01750.493037
58NANANA
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.5149353.92160.000118
20.2406011.83240.036017
3-0.131666-1.00270.160076
4-0.041881-0.3190.375452
50.0699060.53240.298244
60.0938460.71470.238827
7-0.073524-0.55990.288836
80.031570.24040.405422
9-0.173318-1.320.096019
10-0.250736-1.90960.030571
11-0.129332-0.9850.164366
12-0.170891-1.30150.099122
13-0.024093-0.18350.427528
140.0575240.43810.331474
150.0772190.58810.27938
160.025180.19180.424299
170.0398350.30340.381346
180.036410.27730.391271
19-0.003743-0.02850.48868
200.0158890.1210.452053
210.0768390.58520.280345
22-0.23678-1.80330.038271
230.1223520.93180.17765
24-0.06392-0.48680.314118
250.0095220.07250.471221
26-0.001228-0.00940.496285
27-0.044634-0.33990.367572
28-0.087447-0.6660.254033
290.0030190.0230.490868
30-0.091076-0.69360.245347
31-0.145968-1.11170.135436
32-0.009906-0.07540.470061
33-0.005292-0.04030.483996
340.0441210.3360.369037
35-0.012592-0.09590.461967
36-0.05353-0.40770.342509
370.0093810.07140.471644
380.006790.05170.479469
390.0557270.42440.336421
40-0.049117-0.37410.354861
41-0.106476-0.81090.21037
42-0.049019-0.37330.355135
43-0.010854-0.08270.467201
44-0.100564-0.76590.223429
450.0280580.21370.415773
46-0.041304-0.31460.377112
470.0243650.18560.426721
48-0.127827-0.97350.167173
490.0643740.49030.312901
500.0625990.47670.31767
51-0.038492-0.29310.385229
52-0.097216-0.74040.231031
530.0192570.14670.441955
540.0331540.25250.400775
55-0.062951-0.47940.31672
560.0755420.57530.283653
570.0033310.02540.489924
58NANANA
59NANANA
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/30/t12621855450loam0ni4ic3knj/1r0og1262185510.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/30/t12621855450loam0ni4ic3knj/1r0og1262185510.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/30/t12621855450loam0ni4ic3knj/2poad1262185510.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/30/t12621855450loam0ni4ic3knj/2poad1262185510.ps (open in new window)


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