Home » date » 2010 » Dec » 04 »

*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: Sat, 04 Dec 2010 16:06: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/Dec/04/t129147873277pfgddxermi2m5.htm/, Retrieved Sat, 04 Dec 2010 17:05:34 +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/Dec/04/t129147873277pfgddxermi2m5.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:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
0.4754 0.4531 0.469 0.4716 0.4824 0.527 0.5172 0.515 0.5245 0.53 0.4836 0.4663 0.4592 0.4553 0.4217 0.4366 0.4532 0.4743 0.4776 0.4949 0.5069 0.498 0.5213 0.5394 0.6075 0.5919 0.5758 0.5916 0.6474 0.6704 0.7553 0.7891 0.784 0.7007 0.668 0.6102 0.5238 0.4237 0.3983 0.3879 0.3733 0.394 0.3945 0.4324 0.4233 0.455 0.4344 0.4388 0.4561 0.4512 0.4756 0.4704 0.5107 0.5472 0.5537 0.5539 0.5313 0.5371 0.5459 0.5461
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'George Udny Yule' @ 72.249.76.132


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.4551033.49570.000452
20.3401322.61260.00569
30.1284460.98660.163931
40.1064910.8180.208331
5-0.169297-1.30040.099261
6-0.239675-1.8410.035327
7-0.148276-1.13890.129668
8-0.193123-1.48340.071645
9-0.214242-1.64560.05258
10-0.137769-1.05820.147134
110.0009750.00750.497025
12-0.087723-0.67380.25153
13-0.109773-0.84320.201267
14-0.151934-1.1670.123947
15-0.077936-0.59860.275853
16-0.244779-1.88020.032511
17-0.197986-1.52080.066831
18-0.179201-1.37650.086939
190.0029690.02280.490942
20-0.095635-0.73460.232751
210.0156380.12010.452399
220.1330821.02220.155425
230.2336731.79490.038898
240.1301260.99950.160813
250.1631381.25310.107559
260.1684011.29350.100438
270.044030.33820.368205
280.014050.10790.457213
29-0.02685-0.20620.418657
300.0131430.1010.459966
31-0.086513-0.66450.254473
32-0.078527-0.60320.27435
33-0.038725-0.29750.383582
34-0.001106-0.00850.496626
350.0060490.04650.48155
360.0580480.44590.328659
370.0130190.10.460341
38-0.000252-0.00190.49923
39-0.022003-0.1690.433183
40-0.012772-0.09810.461091
41-0.014999-0.11520.454334
42-0.04048-0.31090.378474
43-0.003543-0.02720.48919
44-0.019291-0.14820.441353
450.0347420.26690.395255
460.0089980.06910.472566
470.0051720.03970.484223
480.0281620.21630.414745


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.4551033.49570.000452
20.167761.28860.101285
3-0.099575-0.76480.223706
40.0407960.31340.377556
5-0.284076-2.1820.016551
6-0.147229-1.13090.13134
70.1449511.11340.135028
8-0.125498-0.9640.169498
9-0.090025-0.69150.245982
100.0532690.40920.34195
110.0269310.20690.418416
12-0.148244-1.13870.129718
13-0.084187-0.64670.260181
14-0.168568-1.29480.100218
15-0.009253-0.07110.47179
16-0.184772-1.41930.080543
17-0.088329-0.67850.250064
18-0.081686-0.62740.266395
190.0966950.74270.230296
20-0.168385-1.29340.100458
21-0.054262-0.41680.33917
220.0544320.41810.338697
230.0544050.41790.33877
24-0.112731-0.86590.195026
250.0197860.1520.43986
26-0.07341-0.56390.287488
27-0.106334-0.81680.208675
280.0665440.51110.305583
29-0.094362-0.72480.235716
30-0.099572-0.76480.223711
310.0281790.21640.414693
32-0.148696-1.14220.129001
33-0.039807-0.30580.380429
34-0.028092-0.21580.414952
350.0201120.15450.438877
360.0160030.12290.451293
37-0.111465-0.85620.197682
38-0.104-0.79880.213794
390.0863850.66350.254785
40-0.037222-0.28590.387976
41-0.032921-0.25290.400623
42-0.055885-0.42930.334648
430.0366020.28110.389791
44-0.059682-0.45840.324164
45-0.005406-0.04150.483511
46-0.051847-0.39820.345943
47-0.122811-0.94330.17468
480.0406170.3120.378076
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/04/t129147873277pfgddxermi2m5/1g4tj1291478759.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/04/t129147873277pfgddxermi2m5/1g4tj1291478759.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/04/t129147873277pfgddxermi2m5/2g4tj1291478759.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/04/t129147873277pfgddxermi2m5/2g4tj1291478759.ps (open in new window)


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