Home » date » 2010 » Dec » 12 »

*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: Sun, 12 Dec 2010 00:19:41 +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/12/t1292113095lzwjjlv5bgc43c8.htm/, Retrieved Sun, 12 Dec 2010 01:18:15 +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/12/t1292113095lzwjjlv5bgc43c8.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 «
100918 105017 108666 116083 117359 102191 102617 106640 108783 112534 113149 117125 107597 108745 111311 115669 114585 101628 97493 99180 100247 97657 95378 89406 82880 82662 83469 86371 86822 73899 71415 76335 76844 78192 80651 81485 78872 81632 84822 92175 92844 77443 77550 80367 83117 86622 90999 90276 91982 96279 106810 109483 110159 98305 99450 101536 99925 102850 101993 108928 107605
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.1398711.08340.141475
2-0.234265-1.81460.037292
3-0.232365-1.79990.038453
4-0.071846-0.55650.289963
50.1898381.47050.073328
60.1404941.08830.140416
70.184691.43060.078866
8-0.072548-0.5620.28812
9-0.211099-1.63520.053626
10-0.249645-1.93370.028933
110.1360031.05350.148174
120.5780364.47741.7e-05
130.0639110.4950.311187
14-0.28323-2.19390.016064
15-0.175129-1.35650.090004
16-0.114464-0.88660.189407
170.1219180.94440.174384
180.0614950.47630.317782
190.0636540.49310.311884
20-0.073938-0.57270.284487
21-0.241249-1.86870.033274
22-0.230041-1.78190.039914
230.0307150.23790.406379
240.4047613.13530.001329
25-0.004281-0.03320.486827
26-0.233219-1.80650.037927
27-0.172294-1.33460.093528
28-0.077118-0.59740.276259
290.0777790.60250.274565
300.0125210.0970.461529
310.0592270.45880.324028
32-0.062482-0.4840.31508
33-0.15851-1.22780.112156
34-0.137279-1.06340.14594
350.0687850.53280.298069
360.2837182.19770.015922
370.0176430.13670.445877
38-0.156906-1.21540.11449
39-0.034053-0.26380.396428
40-0.051601-0.39970.345398
410.0682340.52850.299537
42-0.010684-0.08280.46716
430.0403080.31220.377976
44-0.007498-0.05810.476938
45-0.100029-0.77480.220744
46-0.005058-0.03920.484438
470.0118630.09190.463547
480.1833191.420.080394


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.1398711.08340.141475
2-0.258894-2.00540.024719
3-0.169345-1.31170.097302
4-0.080019-0.61980.26886
50.1301281.0080.158759
60.0342440.26530.395861
70.236611.83280.0359
8-0.041474-0.32130.374565
9-0.069541-0.53870.296057
10-0.240442-1.86250.033718
110.1444831.11920.133766
120.4383933.39580.00061
13-0.080773-0.62570.266955
14-0.16359-1.26720.104997
150.1041850.8070.211422
16-0.157023-1.21630.114317
17-0.009283-0.07190.471459
18-0.135359-1.04850.14931
19-0.077132-0.59750.276223
20-0.054253-0.42020.337904
21-0.053337-0.41310.340485
22-0.108946-0.84390.201041
23-0.098877-0.76590.223369
240.0498410.38610.350406
25-0.050288-0.38950.349131
26-0.027751-0.2150.415264
27-0.042565-0.32970.371384
280.0130320.10090.459966
29-0.034031-0.26360.396496
30-0.076143-0.58980.27877
310.0230.17820.4296
32-0.071796-0.55610.290097
330.026880.20820.417885
340.0575960.44610.328553
350.0050920.03940.484334
36-0.032326-0.25040.40157
370.0308150.23870.406079
380.006640.05140.479576
390.0964330.7470.229
40-0.103145-0.7990.213734
41-0.002878-0.02230.491145
42-0.09182-0.71120.239847
43-0.035013-0.27120.393581
44-0.061968-0.480.316485
45-0.020619-0.15970.436821
460.0274580.21270.416145
47-0.073404-0.56860.28588
48-0.056156-0.4350.332569
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/12/t1292113095lzwjjlv5bgc43c8/1lss41292113178.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/12/t1292113095lzwjjlv5bgc43c8/1lss41292113178.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/12/t1292113095lzwjjlv5bgc43c8/2lss41292113178.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/12/t1292113095lzwjjlv5bgc43c8/2lss41292113178.ps (open in new window)


 
Parameters (Session):
 
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