Home » date » 2009 » Dec » 07 »

*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: Mon, 07 Dec 2009 12:23:24 -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/07/t12602138517snuxspx429phkf.htm/, Retrieved Mon, 07 Dec 2009 20:24:14 +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/07/t12602138517snuxspx429phkf.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 «
17 18 23.8 25.5 25.6 23.7 22 21.3 20.7 20.4 20.3 20.4 19.8 19.5 23.1 23.5 23.5 22.9 21.9 21.5 20.5 20.2 19.4 19.2 18.8 18.8 22.6 23.3 23 21.4 19.9 18.8 18.6 18.4 18.6 19.9 19.2 18.4 21.1 20.5 19.1 18.1 17 17.1 17.4 16.8 15.3 14.3 13.4 15.3 22.1 23.7 22.2 19.5 16.6 17.3 19.8 21.2 21.5 20.6 19.1 19.6 23.5 24
 
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.7421895.93750
20.3298892.63910.005214
30.0703280.56260.287829
4-0.002153-0.01720.493155
50.0769710.61580.270116
60.1457411.16590.123985
70.1177220.94180.174925
80.0443710.3550.36189
90.0475130.38010.352563
100.1476841.18150.120893
110.3094892.47590.007973
120.4015963.21280.00103
130.2269031.81520.037087
140.0003010.00240.499042
15-0.111802-0.89440.187226
16-0.166003-1.3280.094444
17-0.16946-1.35570.089983
18-0.176356-1.41080.081566
19-0.200337-1.60270.056963
20-0.194666-1.55730.062162
21-0.116084-0.92870.178275
220.0160540.12840.449104
230.1527861.22230.113041
240.2026181.62090.054974
250.0364870.29190.385654
26-0.16395-1.31160.09717
27-0.255324-2.04260.022608
28-0.279961-2.23970.014296
29-0.245499-1.9640.026939
30-0.199213-1.59370.057964
31-0.175231-1.40180.082897
32-0.156504-1.2520.107558
33-0.105649-0.84520.200576
34-0.03478-0.27820.390862
350.0375370.30030.382461
360.0558890.44710.328151
37-0.069966-0.55970.288808
38-0.201191-1.60950.056212
39-0.223618-1.78890.039178
40-0.203076-1.62460.05458
41-0.163075-1.30460.09835
42-0.14782-1.18260.120678
43-0.163535-1.30830.097728
44-0.15755-1.26040.10605
45-0.087394-0.69920.243494
460.0394560.31560.376648
470.1578871.26310.105569
480.1850221.48020.071866
490.0534350.42750.335233
50-0.095677-0.76540.223418
51-0.116427-0.93140.17757
52-0.063359-0.50690.306992
530.0199030.15920.436998
540.0707260.56580.286751
550.0561350.44910.327446
560.0210070.16810.433533
570.0134480.10760.457331
580.0457430.36590.357806
590.0865330.69230.245638
600.0855440.68430.248113


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.7421895.93750
2-0.491935-3.93550.000104
30.2060481.64840.052088
4-0.007766-0.06210.475328
50.2003371.60270.056963
6-0.130091-1.04070.150959
70.0096340.07710.469402
8-0.008552-0.06840.472835
90.2128991.70320.046692
100.0655990.52480.300772
110.2575132.06010.02173
12-0.060976-0.48780.313676
13-0.359024-2.87220.002761
140.286442.29150.012617
15-0.207483-1.65990.050918
16-0.161882-1.29510.099977
17-0.115223-0.92180.180051
18-0.068354-0.54680.293197
19-0.012441-0.09950.460514
20-0.005597-0.04480.482214
210.0163470.13080.448181
220.104440.83550.203267
230.1036620.82930.20501
24-0.079507-0.63610.263503
25-0.10612-0.8490.199535
260.0281320.22510.411327
27-0.120218-0.96170.169899
280.0329670.26370.396416
29-0.089645-0.71720.237942
300.033330.26660.395302
31-0.031844-0.25480.399866
32-0.031671-0.25340.400397
330.0028840.02310.490833
34-0.085832-0.68670.247389
350.0235370.18830.425621
36-0.124707-0.99770.161101
37-0.003181-0.02540.489889
38-0.030791-0.24630.403109
390.0780560.62440.267276
40-0.036965-0.29570.384201
410.0142170.11370.4549
42-0.100802-0.80640.211495
43-0.021772-0.17420.431139
44-0.008088-0.06470.474307
45-0.014957-0.11970.452564
460.1253161.00250.159932
47-0.020795-0.16640.434198
480.0253880.20310.41985
49-0.020741-0.16590.434369
500.0134390.10750.457359
510.0679490.54360.294305
52-0.021071-0.16860.433333
530.0476160.38090.352258
54-0.031839-0.25470.39988
55-0.004243-0.03390.486515
56-0.091118-0.72890.234348
57-0.044738-0.35790.360797
58-0.097673-0.78140.218729
59-0.070381-0.5630.287684
60-0.014195-0.11360.45497
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/07/t12602138517snuxspx429phkf/14an41260213802.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/07/t12602138517snuxspx429phkf/14an41260213802.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/07/t12602138517snuxspx429phkf/2z3pq1260213802.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/07/t12602138517snuxspx429phkf/2z3pq1260213802.ps (open in new window)


 
Parameters (Session):
par1 = 60 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ; par7 = 0.95 ;
 
Parameters (R input):
par1 = 60 ; 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