Home » date » 2010 » Dec » 22 »

b-r0245095

*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: Wed, 22 Dec 2010 15:32:51 +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/22/t1293031854tqvml8ixswj3oug.htm/, Retrieved Wed, 22 Dec 2010 16:30:54 +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/22/t1293031854tqvml8ixswj3oug.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.86 0.88 0.93 0.98 0.97 1.03 1.06 1.06 1.08 1.09 1.04 1.00 1.01 1.02 1.04 1.06 1.06 1.06 1.06 1.06 1.02 0.98 0.99 0.99 0.94 0.96 0.98 1.01 1.01 1.02 1.04 1.03 1.05 1.08 1.17 1.11 1.11 1.11 1.11 1.21 1.31 1.37 1.37 1.26 1.23 1.17 1.06 0.95 0.92 0.92 0.90 0.93 0.93 0.97 0.96 0.99 0.98 0.96 1.00 0.99 1.03
 
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.4109233.1830.001155
20.217781.68690.048406
30.0836180.64770.259825
4-0.073801-0.57170.284843
5-0.145825-1.12960.131579
6-0.229493-1.77760.040265
7-0.09798-0.75890.225427
8-0.158757-1.22970.111799
9-0.121032-0.93750.176127
10-0.055701-0.43150.33384
110.0571180.44240.329882
12-0.015028-0.11640.45386
13-0.10718-0.83020.204855
14-0.009788-0.07580.469908
15-0.111997-0.86750.194556
16-0.158491-1.22770.112184
17-0.119972-0.92930.178229
18-0.137549-1.06540.145471
19-0.007607-0.05890.476603
20-0.084072-0.65120.258695
210.0117170.09080.463992
220.0520370.40310.344162
230.0098460.07630.46973
240.1082750.83870.202484
250.1334421.03360.152727
260.1945911.50730.068491
270.0914220.70810.240797
280.0371910.28810.38714
29-0.075639-0.58590.280072
30-0.102005-0.79010.216282
310.0062210.04820.480863
320.0234070.18130.428369
330.0643980.49880.309864
340.0527880.40890.342037
350.094710.73360.233019
360.1464281.13420.130605
370.0919530.71230.23953
380.0076450.05920.476489
390.0076780.05950.476386
40-0.109867-0.8510.19907
41-0.15337-1.1880.119758
42-0.134216-1.03960.151341
43-0.091363-0.70770.240937
44-0.113274-0.87740.191881
45-0.083773-0.64890.259438
460.0044630.03460.48627
47-0.009849-0.07630.469723
480.0032930.02550.489867
49-0.006593-0.05110.479721
500.0192450.14910.440998
51-0.006068-0.0470.481333
520.0170080.13170.447815
530.0221530.17160.432166
54-0.012972-0.10050.460147
550.0251340.19470.423147
560.0025520.01980.492146
570.016350.12660.449821
580.0140340.10870.4569
590.0058420.04530.482029
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.4109233.1830.001155
20.0588620.45590.325038
3-0.029934-0.23190.408714
4-0.132113-1.02330.155128
5-0.091608-0.70960.240353
6-0.139916-1.08380.141398
70.0887380.68740.247252
8-0.129732-1.00490.159491
9-0.03616-0.28010.390185
10-0.014929-0.11560.454162
110.1012540.78430.217972
12-0.131493-1.01850.156256
13-0.13388-1.0370.151942
140.0320050.24790.402524
15-0.116765-0.90450.184685
16-0.118686-0.91930.180799
17-0.024768-0.19190.424252
18-0.139376-1.07960.142319
190.0791710.61330.271012
20-0.144115-1.11630.13437
21-0.025394-0.19670.422363
22-0.046172-0.35760.360933
23-0.060696-0.47010.319977
240.0645930.50030.309334
250.0280.21690.414517
260.05580.43220.333564
27-0.023287-0.18040.428732
28-0.092794-0.71880.237534
29-0.126038-0.97630.166421
30-0.04159-0.32220.374229
310.1203530.93230.177471
320.0578170.44780.327939
33-0.043569-0.33750.368464
340.0314720.24380.404116
350.0367660.28480.388393
360.0905360.70130.242916
370.0382310.29610.384073
38-0.118055-0.91440.182071
390.1206710.93470.17684
40-0.073404-0.56860.285879
41-0.008898-0.06890.472641
420.0042010.03250.487073
430.0038080.02950.488284
44-0.026819-0.20770.418068
45-0.047319-0.36650.357629
460.0215980.16730.433849
47-0.032994-0.25560.399578
480.0077970.06040.47602
490.034510.26730.395073
50-0.089632-0.69430.245091
510.0031150.02410.490415
520.066180.51260.305047
53-0.069598-0.53910.295905
540.0036230.02810.488853
550.0660830.51190.305308
56-0.047916-0.37120.355916
57-0.033836-0.26210.397075
58-0.108968-0.84410.200993
590.0084240.06530.474095
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/22/t1293031854tqvml8ixswj3oug/14js01293031966.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/22/t1293031854tqvml8ixswj3oug/14js01293031966.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/22/t1293031854tqvml8ixswj3oug/24js01293031966.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/22/t1293031854tqvml8ixswj3oug/24js01293031966.ps (open in new window)


 
Parameters (Session):
par1 = 60 ; par2 = 1.0 ; par3 = 1 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ;
 
Parameters (R input):
par1 = 60 ; par2 = 1.0 ; par3 = 1 ; par4 = 0 ; par5 = 12 ; par6 = White Noise ;
 
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 (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='lags',ylab='ACF')
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