Home » date » 2009 » Dec » 29 »

Paper d=1 D=0

*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, 29 Dec 2009 14:16:53 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Dec/29/t1262121476nbly1q5634wfqph.htm/, Retrieved Tue, 29 Dec 2009 22:17:58 +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/2009/Dec/29/t1262121476nbly1q5634wfqph.htm/},
    year = {2009},
}
@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 = {2009},
    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 «
10001.60 10411.75 10673.38 10539.51 10723.78 10682.06 10283.19 10377.18 10486.64 10545.38 10554.27 10532.54 10324.31 10695.25 10827.81 10872.48 10971.19 11145.65 11234.68 11333.88 10997.97 11036.89 11257.35 11533.59 11963.12 12185.15 12377.62 12512.89 12631.48 12268.53 12754.80 13407.75 13480.21 13673.28 13239.71 13557.69 13901.28 13200.58 13406.97 12538.12 12419.57 12193.88 12656.63 12812.48 12056.67 11322.38 11530.75 11114.08 9181.73 8614.55 8595.56 8396.20 7690.50 7235.47 7992.12 8398.37 8593.01 8679.75 9374.63 9634.97
 
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'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.2449881.88180.0324
2-0.013434-0.10320.45908
30.1737771.33480.093534
40.3284812.52310.007173
50.1470711.12970.131592
6-0.223841-1.71940.045396
7-0.034807-0.26740.395063
80.1214630.9330.177317
90.0090210.06930.472497
10-0.185184-1.42240.080084
110.0237750.18260.427863
120.0350370.26910.394385
13-0.108556-0.83380.20387
14-0.032456-0.24930.401997
15-0.07918-0.60820.272696
16-0.037489-0.2880.387195
17-0.194057-1.49060.070699
18-0.12223-0.93890.175815
19-0.003917-0.03010.48805
20-0.08771-0.67370.251562
21-0.162259-1.24630.108784
22-0.095579-0.73420.232881
230.0307530.23620.407041
24-0.051467-0.39530.347013
25-0.075648-0.58110.281705
26-0.086388-0.66360.254778
270.0089110.06840.472831
280.0663260.50950.306166
290.0090870.06980.472295
30-0.029922-0.22980.409506
310.0032220.02470.49017
320.0148690.11420.45473
330.0498560.3830.351565
340.0031440.02420.490407
35-0.065822-0.50560.307515
36-0.011081-0.08510.46623


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.2449881.88180.0324
2-0.078144-0.60020.275324
30.2102991.61530.055787
40.2535591.94760.028112
50.035330.27140.393526
6-0.301629-2.31690.012001
7-0.002615-0.02010.492021
80.0050080.03850.484723
90.0113580.08720.465388
10-0.061512-0.47250.319163
110.1702781.30790.097985
12-0.135844-1.04340.150501
13-0.107155-0.82310.20689
140.1066510.81920.207984
15-0.123045-0.94510.174224
16-0.066056-0.50740.306887
17-0.109742-0.84290.201332
18-0.002118-0.01630.493537
19-0.01488-0.11430.454695
200.0064430.04950.480349
21-0.042594-0.32720.37235
22-0.045998-0.35330.362556
23-0.027007-0.20740.418188
24-0.004874-0.03740.485131
25-0.004349-0.03340.486733
26-0.064002-0.49160.31241
27-0.019921-0.1530.439453
280.0775510.59570.276834
290.0696640.53510.297297
30-0.087176-0.66960.252859
310.0058230.04470.482238
32-0.101189-0.77720.22006
330.0199120.15290.439481
34-0.009031-0.06940.472466
35-0.026534-0.20380.4196
36-0.04625-0.35530.361832
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/29/t1262121476nbly1q5634wfqph/1hi9e1262121411.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/29/t1262121476nbly1q5634wfqph/1hi9e1262121411.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/29/t1262121476nbly1q5634wfqph/20ka51262121411.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/29/t1262121476nbly1q5634wfqph/20ka51262121411.ps (open in new window)


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