Home » date » 2011 » Jan » 06 »

ACF met D=0 en d=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: Thu, 06 Jan 2011 12:44:52 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2011/Jan/06/t1294317754b5j3p9ad2bxkizo.htm/, Retrieved Thu, 06 Jan 2011 13:42:36 +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/2011/Jan/06/t1294317754b5j3p9ad2bxkizo.htm/},
    year = {2011},
}
@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 = {2011},
    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 «
16 17 23 24 27 31 40 47 43 60 64 65 65 55 57 57 57 65 69 70 71 71 73 68 65 57 41 21 21 17 9 11 6 -2 0 5 3 7 4 8 9 14 12 12 7 15 14 19 39 12 11 17 16 25 24 28 25 31 24 24
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'George Udny Yule' @ 72.249.76.132


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.0062430.0480.480958
20.1133960.8710.193639
30.2420781.85940.033977
4-0.081713-0.62760.266328
50.124920.95950.170604
60.0616790.47380.318707
70.0732570.56270.287887
8-0.076232-0.58550.280206
9-0.00733-0.05630.477645
10-0.089168-0.68490.24804
110.0222270.17070.432512
12-0.012772-0.09810.461092
130.0272120.2090.417577
140.0010710.00820.496731
15-0.14631-1.12380.132819
16-0.006604-0.05070.479857
17-0.017179-0.1320.447735
18-0.201586-1.54840.063435
19-0.030564-0.23480.407601
20-0.095305-0.73210.233518
21-0.317958-2.44230.008805
22-0.002947-0.02260.49101
23-0.022004-0.1690.433181
24-0.110413-0.84810.199906
25-0.051647-0.39670.346507
26-0.028872-0.22180.41263
27-0.118564-0.91070.183077
28-0.024045-0.18470.427051
290.00360.02770.489017
300.0066580.05110.479694
310.0592330.4550.325397
32-0.048497-0.37250.355424
330.0350780.26940.394265
340.0195230.150.440656
35-0.053843-0.41360.340341
360.1450721.11430.13483
370.0026090.020.492041
380.0340350.26140.397335
390.0924740.71030.240157
40-0.181372-1.39310.084402
410.0828280.63620.263548
420.0134130.1030.459145
43-0.026143-0.20080.420768
440.0210080.16140.43618
450.0107440.08250.467253
460.0724840.55680.289899
47-0.034934-0.26830.394688
480.0332170.25510.399748


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.0062430.0480.480958
20.1133620.87070.193711
30.2438871.87330.032989
4-0.09757-0.74950.228281
50.0744860.57210.284701
60.0256420.1970.422268
70.1024660.78710.2172
8-0.15613-1.19930.117611
9-0.026161-0.20090.420717
10-0.120774-0.92770.178675
110.1064730.81780.208371
12-0.040588-0.31180.378161
130.0974290.74840.228605
14-0.056519-0.43410.33289
15-0.090233-0.69310.245486
16-0.060126-0.46180.322949
170.0608770.46760.320895
18-0.228509-1.75520.042207
19-0.021396-0.16430.435011
20-0.097253-0.7470.22901
21-0.188582-1.44850.076382
22-0.009983-0.07670.469568
230.1198350.92050.180538
24-0.023221-0.17840.429523
25-0.09443-0.72530.235558
26-0.008047-0.06180.475463
27-0.0642-0.49310.311875
28-0.012565-0.09650.461719
29-0.053993-0.41470.339923
300.0315380.24230.404713
310.040370.31010.378792
320.0027430.02110.491629
33-0.02168-0.16650.434157
340.061280.47070.319796
35-0.126078-0.96840.168392
360.0559350.42960.334509
37-0.039834-0.3060.380353
380.0777170.5970.276411
39-0.10481-0.80510.212008
40-0.198065-1.52140.066755
410.0215950.16590.434412
42-0.038487-0.29560.384277
43-0.015046-0.11560.454193
44-0.03174-0.24380.404115
450.0034330.02640.489525
460.0607360.46650.321279
47-0.032614-0.25050.401532
48-0.074959-0.57580.283479
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2011/Jan/06/t1294317754b5j3p9ad2bxkizo/104xh1294317887.png (open in new window)
http://www.freestatistics.org/blog/date/2011/Jan/06/t1294317754b5j3p9ad2bxkizo/104xh1294317887.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/Jan/06/t1294317754b5j3p9ad2bxkizo/2hpt11294317887.png (open in new window)
http://www.freestatistics.org/blog/date/2011/Jan/06/t1294317754b5j3p9ad2bxkizo/2hpt11294317887.ps (open in new window)


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