Home » date » 2008 » Dec » 13 »

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, 13 Dec 2008 08:48:44 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/Dec/13/t1229183390wp2v008gfbzy43z.htm/, Retrieved Sat, 13 Dec 2008 16:49:50 +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/2008/Dec/13/t1229183390wp2v008gfbzy43z.htm/},
    year = {2008},
}
@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 = {2008},
    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 «
11703.7 16283.6 16726.5 14968.9 14861 14583.3 15305.8 17903.9 16379.4 15420.3 17870.5 15912.8 13866.5 17823.2 17872 17420.4 16704.4 15991.2 16583.6 19123.5 17838.7 17209.4 18586.5 16258.1 15141.6 19202.1 17746.5 19090.1 18040.3 17515.5 17751.8 21072.4 17170 19439.5 19795.4 17574.9 16165.4 19464.6 19932.1 19961.2 17343.4 18924.2 18574.1 21350.6 18594.6 19823.1 20844.4 19640.2 17735.4 19813.6 22160 20664.3 17877.4 21211.2 21423.1 21688.7 23243.2 21490.2 22925.8 23184.8 18562.2
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.5767894.50491.5e-05
20.4529233.53740.000389
30.5430694.24153.8e-05
40.5045183.94040.000106
50.4247123.31710.000768
60.4494273.51010.000424
70.293712.29390.012626
80.3790822.96070.002184
90.3140342.45270.008527
100.1655441.29290.100454
110.2439361.90520.030735
120.4451993.47710.00047
130.1931111.50820.068327
140.1030160.80460.212094
150.13471.0520.148466
160.1645691.28530.101768
170.1130040.88260.190462
180.1209520.94470.174278
190.0372410.29090.386072
200.0939050.73340.233056
210.0221750.17320.431537
22-0.05922-0.46250.322675
230.0197110.1540.439078
240.1045370.81650.208708
25-0.027015-0.2110.416798
26-0.081402-0.63580.263651
27-0.100924-0.78820.216803
28-0.037683-0.29430.384759
29-0.104297-0.81460.209239
30-0.120141-0.93830.175888
31-0.135984-1.06210.146195
32-0.107212-0.83730.202832
33-0.195284-1.52520.066187
34-0.213614-1.66840.050184
35-0.179015-1.39820.083565
36-0.094823-0.74060.230892
37-0.176958-1.38210.085993
38-0.254158-1.9850.025821
39-0.216203-1.68860.048201
40-0.157572-1.23070.111584
41-0.253784-1.98210.025988
42-0.252458-1.97180.026588
43-0.243022-1.89810.031211
44-0.223792-1.74790.042759
45-0.257499-2.01110.024368
46-0.274009-2.14010.018178
47-0.275154-2.1490.017805
48-0.194855-1.52190.066605


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.5767894.50491.5e-05
20.1801811.40730.082213
30.3484432.72140.00423
40.1301981.01690.156614
50.0442820.34590.365321
60.1072640.83780.202719
7-0.217128-1.69580.047509
80.1995371.55840.062152
9-0.149358-1.16650.123972
10-0.128289-1.0020.160158
110.1282951.0020.160147
120.3508362.74010.004022
13-0.220308-1.72070.045191
14-0.185603-1.44960.076145
15-0.081376-0.63560.263719
160.0729580.56980.285447
17-0.058324-0.45550.325176
180.0624220.48750.313814
190.04660.3640.358574
20-0.062191-0.48570.314451
21-0.097847-0.76420.223844
220.0093720.07320.470943
230.0930410.72670.235102
24-0.111621-0.87180.193372
250.024960.19490.423041
26-0.003117-0.02430.490328
27-0.088835-0.69380.245213
28-0.006435-0.05030.480039
29-0.113439-0.8860.189551
300.0269360.21040.417039
31-0.04103-0.32050.374859
320.0258360.20180.420378
33-0.037094-0.28970.386509
34-0.027124-0.21180.416467
35-0.036216-0.28290.389121
360.0586770.45830.32419
37-0.035956-0.28080.389898
38-0.102425-0.80.213418
390.0806750.63010.265494
40-0.03861-0.30160.382008
41-0.113696-0.8880.189016
42-0.053418-0.41720.338997
430.0137290.10720.457481
44-0.025068-0.19580.422713
450.0346910.27090.393673
460.0305070.23830.406236
47-0.059521-0.46490.321838
48-0.12209-0.95350.172037
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/13/t1229183390wp2v008gfbzy43z/1lzk01229183319.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/13/t1229183390wp2v008gfbzy43z/1lzk01229183319.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/13/t1229183390wp2v008gfbzy43z/2hbly1229183319.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/13/t1229183390wp2v008gfbzy43z/2hbly1229183319.ps (open in new window)


 
Parameters (Session):
par1 = 48 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ;
 
Parameters (R input):
par1 = 48 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ;
 
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 (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='lags',ylab='ACF')
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