Home » date » 2009 » Dec » 19 »

Paper ACF

*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 09:35:13 -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/t1261240553vy6fijcu9xxrr4o.htm/, Retrieved Sat, 19 Dec 2009 17:35:55 +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/t1261240553vy6fijcu9xxrr4o.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 «
13.4 13.5 14.8 14.3 14.3 14 13.2 12.2 14.3 15.7 14.2 14.6 14.5 14.3 15.3 14.4 13.7 14.2 13.5 11.9 14.6 15.6 14.1 14.9 14.2 14.6 17.2 15.4 14.3 17.5 14.5 14.4 16.6 16.7 16.6 16.9 15.7 16.4 18.4 16.9 16.5 18.3 15.1 15.7 18.1 16.8 18.9 19 18.1 17.8 21.5 17.1 18.7 19 16.4 16.9 18.6 19.3 19.4 17.6 18.6 18.1 20.4 18.1 19.6 19.9 19.2 17.8 19.2 22 21.1 19.5
 
Output produced by software:


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


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.375641-3.16520.001142
2-0.301875-2.54360.006574
30.343922.89790.002496
4-0.191342-1.61230.05567
5-0.150497-1.26810.104451
60.3943363.32270.000706
7-0.26263-2.2130.015058
8-0.074493-0.62770.26611
90.3642763.06940.001518
10-0.426428-3.59310.000299
11-0.113187-0.95370.171728
120.6495215.4730
13-0.321674-2.71050.004209
14-0.10374-0.87410.192497
150.1966351.65690.050979
16-0.245604-2.06950.02107
170.0297610.25080.401356
180.2533212.13450.018127
19-0.236542-1.99310.025045
200.0237340.20.42103
210.2413782.03390.02285
22-0.419568-3.53530.000361
230.1266651.06730.144726
240.3079232.59460.005748
25-0.198513-1.67270.049394
26-0.011705-0.09860.460857
270.0873430.7360.232088
28-0.200791-1.69190.047526
290.1022280.86140.195961
300.0798220.67260.251694
31-0.1407-1.18560.119875
320.1216491.0250.154413
330.0295760.24920.401959
34-0.257224-2.16740.01678
350.1150540.96950.167804
360.1731071.45860.074539
37-0.063857-0.53810.296107
38-0.039746-0.33490.369341
390.0187930.15840.437315
40-0.067562-0.56930.285478
410.040860.34430.365822
420.0209830.17680.430082
43-0.074923-0.63130.264932
440.1220711.02860.153583
45-0.038113-0.32110.374521
46-0.089449-0.75370.226756
47-0.013576-0.11440.454625
480.1479411.24660.108325
49-0.000791-0.00670.497351
50-0.075495-0.63610.263369
51-0.016706-0.14080.444227
52-0.002283-0.01920.492351
530.0117050.09860.460855
540.0089050.0750.470201
55-0.006995-0.05890.476581
560.0346040.29160.385729
57-0.015542-0.1310.448089
58-0.020899-0.17610.430359
59-0.040721-0.34310.366259
600.077250.65090.258599


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.375641-3.16520.001142
2-0.515757-4.34582.3e-05
3-0.034423-0.290.386312
4-0.260381-2.1940.015754
5-0.318312-2.68210.004546
60.065340.55060.291831
7-0.192167-1.61920.054916
8-0.106928-0.9010.18532
90.1462481.23230.110949
10-0.31691-2.67030.004694
11-0.49292-4.15344.5e-05
120.1408691.1870.119596
130.0818490.68970.246325
140.1874141.57920.05937
15-0.064171-0.54070.295199
16-0.080672-0.67980.249436
17-0.004866-0.0410.483704
18-0.131469-1.10780.135849
190.0505320.42580.335775
20-0.045695-0.3850.350681
21-0.05976-0.50350.308068
22-0.17856-1.50460.068435
230.0546910.46080.323164
24-0.044563-0.37550.354206
250.0727740.61320.27085
26-0.059922-0.50490.307594
270.0065850.05550.477952
280.07580.63870.262535
290.0478140.40290.344119
30-0.077575-0.65370.257721
31-0.063225-0.53270.297937
320.0081850.0690.472604
33-0.087793-0.73980.230944
340.0116710.09830.46097
35-0.241147-2.03190.022951
36-0.062077-0.52310.301276
37-0.006844-0.05770.477086
38-0.078752-0.66360.254554
390.0092440.07790.469066
400.0091490.07710.469383
41-0.021405-0.18040.428691
420.0449920.37910.35287
43-0.067338-0.56740.286115
44-0.016179-0.13630.445975
45-0.032528-0.27410.392406
460.0532140.44840.327619
470.0570140.48040.316206
480.0140560.11840.453028
49-0.005419-0.04570.481855
50-0.04387-0.36970.356371
51-0.071253-0.60040.27508
52-0.108681-0.91580.181445
53-0.032051-0.27010.393945
54-0.045575-0.3840.351054
55-0.00217-0.01830.492732
560.0167070.14080.444224
57-0.037921-0.31950.375132
58-0.015361-0.12940.448689
590.1055740.88960.188347
60-0.07655-0.6450.260496
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261240553vy6fijcu9xxrr4o/1xey91261240511.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261240553vy6fijcu9xxrr4o/1xey91261240511.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/19/t1261240553vy6fijcu9xxrr4o/277pr1261240511.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/19/t1261240553vy6fijcu9xxrr4o/277pr1261240511.ps (open in new window)


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