Home » date » 2009 » Nov » 26 »

*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 04:02: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/t1259233404wnoiygemw0qgdid.htm/, Retrieved Thu, 26 Nov 2009 12:03:26 +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/t1259233404wnoiygemw0qgdid.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 «
785.8 819.3 849.4 880.4 900.1 937.2 948.9 952.6 947.3 974.2 1000.8 1032.8 1050.7 1057.3 1075.4 1118.4 1179.8 1227 1257.8 1251.5 1236.3 1170.6 1213.1 1265.5 1300.8 1348.4 1371.9 1403.3 1451.8 1474.2 1438.2 1513.6 1562.2 1546.2 1527.5 1418.7 1448.5 1492.1 1395.4 1403.7 1316.6 1274.5 1264.4 1323.9 1332.1 1250.2 1096.7 1080.8 1039.2 792 746.6 688.8 715.8 672.9 629.5 681.2 755.4 760.6 765.9 836.8 904.9
 
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.1824511.26410.106156
20.1032070.7150.239024
30.0974440.67510.251422
4-0.01643-0.11380.454922
50.2495721.72910.045111
60.1126720.78060.219432
7-0.146039-1.01180.158357
80.0956420.66260.255369
9-0.080604-0.55840.28957
10-0.048993-0.33940.367882
110.0358250.24820.402518
12-0.273742-1.89650.031958
13-0.077179-0.53470.297658
140.0455530.31560.376838
15-0.048115-0.33330.370162
16-0.037904-0.26260.39699
17-0.189707-1.31430.097491
18-0.237971-1.64870.052869
19-0.01486-0.10290.459216
20-0.116356-0.80610.212069
21-0.065111-0.45110.326975
22-0.150085-1.03980.151817
23-0.146793-1.0170.157123
24-0.092271-0.63930.262842
250.0121480.08420.466637
26-0.005236-0.03630.485605
270.0925780.64140.262157
280.0894850.620.269106
29-0.018277-0.12660.449882
30-0.026187-0.18140.428398
31-0.04827-0.33440.369758
320.0120750.08370.466838
330.0057880.04010.48409
340.0436020.30210.381947
350.0406920.28190.389607
360.0371320.25730.399039
37-0.02394-0.16590.434482
38-0.013435-0.09310.463112
39-0.030745-0.2130.416111
400.0323980.22450.411675
410.0409720.28390.388868
420.050250.34810.364629
430.0287860.19940.421382
440.0182440.12640.449971
45-0.003545-0.02460.490254
46-0.007377-0.05110.479725
47-0.007346-0.05090.479809
48NANANA
49NANANA
50NANANA
51NANANA
52NANANA
53NANANA
54NANANA
55NANANA
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.1824511.26410.106156
20.0723260.50110.309299
30.0694420.48110.316312
4-0.053662-0.37180.355846
50.2597051.79930.03913
60.0276850.19180.424352
7-0.222673-1.54270.064733
80.1272060.88130.19127
9-0.081253-0.56290.288048
10-0.085419-0.59180.27838
110.0089560.06210.47539
12-0.199607-1.38290.086545
13-0.018983-0.13150.447958
140.1092330.75680.226438
150.030440.21090.41693
16-0.135454-0.93850.176356
17-0.076655-0.53110.298906
18-0.110735-0.76720.223362
19-0.059325-0.4110.341445
20-0.056605-0.39220.348335
21-0.001286-0.00890.496464
22-0.156554-1.08460.14175
230.0127740.08850.464923
24-0.102787-0.71210.239917
250.0367940.25490.399937
260.0722520.50060.309479
270.1250840.86660.195234
280.0675680.46810.320908
29-0.151629-1.05050.149371
30-0.131619-0.91190.183194
31-0.090022-0.62370.267891
320.002450.0170.493265
33-0.091248-0.63220.265132
340.0181310.12560.450281
350.0422990.29310.385371
36-0.027864-0.1930.423868
37-0.025153-0.17430.431196
38-0.009573-0.06630.473698
39-0.062657-0.43410.333081
40-0.021866-0.15150.440113
41-0.04448-0.30820.379646
42-0.094767-0.65660.257297
43-0.002715-0.01880.492536
440.0703590.48750.314075
450.0227950.15790.437587
46-0.053577-0.37120.356064
47-0.001999-0.01390.494503
48NANANA
49NANANA
50NANANA
51NANANA
52NANANA
53NANANA
54NANANA
55NANANA
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/26/t1259233404wnoiygemw0qgdid/1zucf1259233346.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/26/t1259233404wnoiygemw0qgdid/1zucf1259233346.ps (open in new window)


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


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