Home » date » 2009 » Nov » 26 »

WS8 ACF d=2 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: Thu, 26 Nov 2009 14:14:29 -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/Nov/26/t1259270146y1ybsunwclvc5dc.htm/, Retrieved Thu, 26 Nov 2009 22:15:48 +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/Nov/26/t1259270146y1ybsunwclvc5dc.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 «
153,4 145 137,7 148,3 152,2 169,4 168,6 161,1 174,1 179 190,6 190 181,6 174,8 180,5 196,8 193,8 197 216,3 221,4 217,9 229,7 227,4 204,2 196,6 198,8 207,5 190,7 201,6 210,5 223,5 223,8 231,2 244 234,7 250,2 265,7 287,6 283,3 295,4 312,3 333,8 347,7 383,2 407,1 413,6 362,7 321,9 239,4 191 159,7 163,4 157,6 166,2 176,7 198,3 226,2 216,2 235,9 226,9
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time0 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.308281-2.34780.011159
20.1811971.380.086448
3-0.199232-1.51730.06731
40.1340361.02080.155796
5-0.248027-1.88890.031953
6-0.128053-0.97520.166749
70.0801040.61010.272104
8-0.047506-0.36180.359409
9-0.091371-0.69590.244648
10-0.064027-0.48760.31383
110.2265521.72540.044893
12-0.043449-0.33090.370958
13-0.077056-0.58680.279794
140.0647820.49340.311809
150.1467361.11750.134192
16-0.073457-0.55940.289012
17-0.062925-0.47920.316792
18-0.019699-0.150.440635
190.1090390.83040.204855
20-0.21455-1.6340.053841
210.131050.99810.1612
22-0.080116-0.61010.272074
230.1718711.30890.09786
24-0.209297-1.5940.05819
250.185411.4120.081641
260.0433210.32990.371324
27-0.021212-0.16150.436112
28-0.043075-0.32810.372028
29-0.041011-0.31230.377953
300.0921030.70140.242918
31-0.171572-1.30670.098244
320.0764750.58240.281273
33-0.061217-0.46620.321405
340.0524950.39980.34539
35-0.000999-0.00760.496979
360.0166220.12660.449852


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.308281-2.34780.011159
20.0952090.72510.235657
3-0.133079-1.01350.157515
40.0334180.25450.400002
5-0.192005-1.46230.074533
6-0.323863-2.46650.008311
70.019620.14940.440869
8-0.061226-0.46630.321381
9-0.22919-1.74550.0431
10-0.212343-1.61720.055636
110.0510430.38870.349448
12-0.015743-0.11990.45249
13-0.225997-1.72110.045278
14-0.108751-0.82820.205471
150.0693010.52780.299833
16-0.019469-0.14830.441321
17-0.105306-0.8020.212918
18-0.220419-1.67870.049299
190.016260.12380.450938
20-0.090054-0.68580.247776
210.0028180.02150.491475
22-0.202774-1.54430.06398
23-0.029237-0.22270.412291
24-0.030228-0.23020.409369
250.0068120.05190.479402
260.0217940.1660.434376
27-0.080023-0.60940.272306
280.0303650.23130.408966
29-0.029418-0.2240.411756
30-0.016021-0.1220.451655
31-0.046732-0.35590.361604
320.0246720.18790.425807
33-0.009038-0.06880.472681
34-0.069234-0.52730.30001
350.1307280.99560.161791
360.025470.1940.423436
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/26/t1259270146y1ybsunwclvc5dc/1wl5z1259270067.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/26/t1259270146y1ybsunwclvc5dc/1wl5z1259270067.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/26/t1259270146y1ybsunwclvc5dc/2o9vp1259270067.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/26/t1259270146y1ybsunwclvc5dc/2o9vp1259270067.ps (open in new window)


 
Parameters (Session):
par1 = 1 ; par2 = 0 ; par3 = 0 ; par4 = 12 ;
 
Parameters (R input):
par1 = 36 ; par2 = 1 ; par3 = 2 ; 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