Home » date » 2010 » Dec » 21 »

*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: Tue, 21 Dec 2010 10:32:09 +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/21/t1292927514kvh9ofj8r4oobit.htm/, Retrieved Tue, 21 Dec 2010 11:31:56 +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/21/t1292927514kvh9ofj8r4oobit.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 «
11514 31514 27071 29462 26105 22397 23843 21705 18089 20764 25316 17704 15548 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 18730 14538 27561 25985 34670 32066 27186 29586 21359 21553 19573 24256 22380
 
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'George Udny Yule' @ 72.249.76.132


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.3459633.38970.000508
20.1541151.510.067162
3-0.050831-0.4980.309799
4-0.21735-2.12960.017882
5-0.266864-2.61470.005185
6-0.464787-4.5548e-06
7-0.278496-2.72870.003782
8-0.208378-2.04170.021963
9-0.081268-0.79630.213922
100.013310.13040.448256
110.2379922.33180.0109
120.7394087.24470
130.2485412.43520.008365
140.0968310.94870.172565
15-0.076282-0.74740.228322
16-0.227116-2.22530.014202
17-0.254225-2.49090.00723
18-0.455775-4.46571.1e-05
19-0.257857-2.52650.006578
20-0.193699-1.89790.03036
21-0.076239-0.7470.228448
220.0426550.41790.338465
230.251662.46580.007724
240.6862676.7240
250.2709992.65520.00464
260.1492771.46260.07342
27-0.00324-0.03170.487371
28-0.132881-1.3020.098022
29-0.176253-1.72690.0437
30-0.3781-3.70460.000177
31-0.198182-1.94180.027548
32-0.17498-1.71440.044837
33-0.097682-0.95710.170465
340.0292270.28640.387609
350.1629231.59630.056853
360.5501625.39050
370.2062892.02120.023021
380.1019380.99880.160204
39-0.0199-0.1950.422912
40-0.117538-1.15160.126166
41-0.17243-1.68950.047188
42-0.293993-2.88050.002448
43-0.158868-1.55660.06143
44-0.150853-1.47810.071333
45-0.074832-0.73320.232612
460.0135470.13270.447342
470.1296981.27080.10344
480.4440984.35131.7e-05


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.3459633.38970.000508
20.0391060.38320.351225
3-0.13151-1.28850.100329
4-0.19387-1.89950.030248
5-0.140447-1.37610.085996
6-0.368432-3.60990.000245
7-0.070318-0.6890.246252
8-0.152337-1.49260.069412
9-0.134516-1.3180.095322
10-0.169645-1.66220.04987
110.0956690.93740.175462
120.6412556.2830
13-0.361122-3.53830.000311
14-0.284206-2.78460.003228
150.020010.19610.422489
16-0.065997-0.64660.259707
17-0.126664-1.24110.108806
18-0.139807-1.36980.086969
19-0.052419-0.51360.304358
20-0.190973-1.87110.032185
21-0.116191-1.13840.128885
220.1837561.80040.037466
23-0.066042-0.64710.259563
24-0.032897-0.32230.373953
25-0.051922-0.50870.306056
26-0.017108-0.16760.433615
270.0229590.2250.411246
280.0670280.65670.256462
290.0009140.0090.496436
30-0.057577-0.56410.28699
310.0139850.1370.44565
320.0051880.05080.479784
33-0.084031-0.82330.206181
340.087450.85680.196835
35-0.170984-1.67530.048565
36-0.119864-1.17440.121565
370.0554190.5430.294196
38-0.025273-0.24760.402476
39-0.132224-1.29550.099122
400.0284070.27830.390679
41-0.023749-0.23270.408249
420.1029811.0090.157756
43-0.028141-0.27570.391677
440.0368750.36130.359334
450.0125910.12340.451038
46-0.087564-0.8580.196528
470.0453860.44470.328772
48-0.051837-0.50790.306345
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292927514kvh9ofj8r4oobit/1gilo1292927527.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292927514kvh9ofj8r4oobit/1gilo1292927527.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/21/t1292927514kvh9ofj8r4oobit/2992q1292927527.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/21/t1292927514kvh9ofj8r4oobit/2992q1292927527.ps (open in new window)


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