Home » date » 2009 » Dec » 19 »

ACF met: d=1, D=0, lambda=1

*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, 19 Dec 2009 04:10:28 -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/19/t12612211753bgcdloinhlkyt4.htm/, Retrieved Sat, 19 Dec 2009 12:12:57 +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/19/t12612211753bgcdloinhlkyt4.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 «
1919 1911 1870 2263 1802 1863 1989 2197 2409 2502 2593 2598 2053 2213 2238 2359 2151 2474 3079 2312 2565 1972 2484 2202 2151 1976 2012 2114 1772 1957 2070 1990 2182 2008 1916 2397 2114 1778 1641 2186 1773 1785 2217 2153 1895 2475 1793 2308 2051 1898 2142 1874 1560 1808 1575 1525 1997 1753 1623 2251 1890
 
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
1-0.51713-4.00578.7e-05
20.0200610.15540.438517
30.1279170.99080.162871
4-0.068124-0.52770.299831
5-0.058358-0.4520.326435
60.0281560.21810.414047
7-0.086167-0.66740.253523
80.0629530.48760.313795
90.0974320.75470.226688
10-0.11204-0.86790.194465
11-0.044101-0.34160.36692
120.1646461.27530.103552
13-0.14442-1.11870.133869
140.0303660.23520.407421
150.1067150.82660.205867
16-0.180097-1.3950.084075
170.2037541.57830.05988
18-0.087433-0.67730.250424
19-0.070845-0.54880.292601
20-0.03613-0.27990.390272
210.1383961.0720.144004
22-0.117385-0.90930.183425
23-0.055885-0.43290.333325
240.0904940.7010.243017
250.0948640.73480.232658
26-0.157373-1.2190.113806
270.161291.24930.108195
28-0.098956-0.76650.223189
290.0489220.37890.353032
300.0131760.10210.459523
31-0.135362-1.04850.149304
320.1324891.02630.154446
33-0.024108-0.18670.426249
340.0099130.07680.469525
35-0.088602-0.68630.247581
360.0872840.67610.250789
37-0.018809-0.14570.442325
38-0.070529-0.54630.293439
390.116050.89890.186144
40-0.084076-0.65120.258687
410.0175640.13610.446118
420.0977550.75720.225944
43-0.11456-0.88740.18921
440.0149060.11550.454231
45-0.002697-0.02090.4917
46-0.003138-0.02430.490344
47-0.030601-0.2370.406717
480.0419010.32460.373319
49-0.024572-0.19030.424844
500.0345420.26760.394977
51-0.00082-0.00640.497476
52-0.031869-0.24690.402931
530.046030.35650.361342
54-0.009556-0.0740.47062
55-0.054992-0.4260.335827
560.0648970.50270.308512
57-0.025679-0.19890.421504
580.0015260.01180.495305
590.0004180.00320.498713
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.51713-4.00578.7e-05
2-0.337661-2.61550.005626
3-0.050567-0.39170.348337
40.005980.04630.481603
5-0.085301-0.66070.255654
6-0.111594-0.86440.195405
7-0.214556-1.66190.05087
8-0.127977-0.99130.162759
90.111750.86560.195076
100.0652650.50550.307516
11-0.147619-1.14350.128696
12-0.027509-0.21310.415993
13-0.065814-0.50980.306034
14-0.018154-0.14060.44432
150.1456471.12820.131868
16-0.064761-0.50160.308878
170.0777320.60210.274686
180.0259970.20140.420544
19-0.027539-0.21330.415903
20-0.209725-1.62450.054753
21-0.044137-0.34190.366817
220.0128670.09970.460471
23-0.153338-1.18780.119805
24-0.180806-1.40050.083254
250.098170.76040.22499
26-0.064951-0.50310.308365
270.070150.54340.29444
280.074530.57730.282946
290.004240.03280.486953
300.0107830.08350.466855
31-0.095233-0.73770.231795
320.0652750.50560.30749
330.0485560.37610.35408
340.1069220.82820.205416
35-0.041921-0.32470.373261
36-0.107388-0.83180.204404
370.0090090.06980.472299
38-0.054886-0.42510.336127
390.0239370.18540.426763
400.0218380.16920.433121
41-0.055418-0.42930.334634
42-0.104242-0.80750.211296
43-0.001143-0.00890.496482
44-0.006461-0.050.480125
45-0.046886-0.36320.358874
46-0.087219-0.67560.250947
47-0.034773-0.26940.394292
480.0248140.19220.424114
49-0.048778-0.37780.353446
500.0418880.32450.373358
51-0.035828-0.27750.391167
520.0003690.00290.498863
530.0624540.48380.315157
54-0.047197-0.36560.357979
55-0.054708-0.42380.336625
560.0376820.29190.38569
57-0.039047-0.30250.381675
580.0084530.06550.474006
59-0.028388-0.21990.413352
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/19/t12612211753bgcdloinhlkyt4/1vjnf1261221026.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t12612211753bgcdloinhlkyt4/1vjnf1261221026.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/19/t12612211753bgcdloinhlkyt4/2sz5h1261221026.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t12612211753bgcdloinhlkyt4/2sz5h1261221026.ps (open in new window)


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