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: Sat, 11 Dec 2010 23:31:44 +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/t1292110184xl54unnw1c0opv0.htm/, Retrieved Sun, 12 Dec 2010 00:29:46 +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/t1292110184xl54unnw1c0opv0.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 time1 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.9077457.08970
20.788336.15710
30.7147725.58250
40.6760775.28031e-06
50.6524545.09582e-06
60.6021824.70328e-06
70.530394.14255.4e-05
80.4268623.33390.00073
90.3209412.50660.007435
100.2496861.95010.027881
110.2234391.74510.043
120.1846061.44180.077234
130.0577660.45120.326734
14-0.078275-0.61130.27162
15-0.168315-1.31460.096786
16-0.22553-1.76140.041587
17-0.258535-2.01920.023932
18-0.302557-2.3630.010665
19-0.351555-2.74570.003961
20-0.411775-3.21610.00104
21-0.477623-3.73040.000211
22-0.500667-3.91030.000117
23-0.475228-3.71160.000224
24-0.448397-3.50210.000435
25-0.483642-3.77740.000181
26-0.521075-4.06976.9e-05
27-0.518535-4.04997.4e-05
28-0.485399-3.79110.000173
29-0.437828-3.41950.000562
30-0.39668-3.09820.001471
31-0.35085-2.74020.004021
32-0.320247-2.50120.007539
33-0.294305-2.29860.012484
34-0.241844-1.88890.031834
35-0.164112-1.28180.10239
36-0.097532-0.76180.224572
37-0.077974-0.6090.272393
38-0.070339-0.54940.29238
39-0.044738-0.34940.363991
40-0.019632-0.15330.439321
410.0107680.08410.466626
420.0379550.29640.38395
430.0685580.53550.297142
440.0859660.67140.252246
450.0880550.68770.247113
460.1037420.81030.210472
470.1229010.95990.17045
480.1430821.11750.13408


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.9077457.08970
2-0.202674-1.58290.059304
30.2258221.76370.041393
40.0759710.59340.277569
50.08070.63030.26543
6-0.139113-1.08650.140765
7-0.050442-0.3940.347491
8-0.263742-2.05990.021841
9-0.078701-0.61470.270528
100.0040680.03180.487379
110.1484861.15970.125343
12-0.149612-1.16850.123574
13-0.428606-3.34757e-04
140.0088850.06940.472453
150.0228850.17870.429369
16-0.06416-0.50110.30905
170.0175120.13680.445831
18-0.067225-0.5250.300727
190.0415710.32470.373268
20-0.001661-0.0130.494847
21-0.069646-0.5440.294229
220.0437050.34140.367006
230.0430480.33620.368932
240.0172550.13480.446619
25-0.160306-1.2520.107669
260.0585920.45760.324425
27-0.005283-0.04130.483612
280.0372770.29110.385966
29-0.070215-0.54840.292709
300.0273280.21340.415847
310.0618180.48280.315479
32-0.016181-0.12640.449925
330.0734610.57380.284123
34-0.036877-0.2880.387154
35-0.046999-0.36710.357417
36-0.039111-0.30550.380525
37-0.014823-0.11580.454107
38-0.070516-0.55070.291908
39-0.084205-0.65770.256614
40-0.171701-1.3410.092442
410.016910.13210.44768
42-0.030863-0.2410.405164
430.0256460.20030.420956
44-0.005906-0.04610.481679
450.0318910.24910.40207
46-0.005241-0.04090.48374
47-0.059721-0.46640.321282
480.0877640.68550.247825
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/12/t1292110184xl54unnw1c0opv0/1xtmf1292110302.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/12/t1292110184xl54unnw1c0opv0/1xtmf1292110302.ps (open in new window)


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


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