Home » date » 2009 » Dec » 17 »

*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, 17 Dec 2009 03:41:38 -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/17/t1261046564k2d11pqh7di54vt.htm/, Retrieved Thu, 17 Dec 2009 11:42:46 +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/17/t1261046564k2d11pqh7di54vt.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:
shwpaper11
 
Dataseries X:
» Textbox « » Textfile « » CSV «
14497 14398.3 16629.6 16670.7 16614.8 16869.2 15663.9 16359.9 18447.7 16889 16505 18320.9 15052.1 15699.8 18135.3 16768.7 18883 19021 18101.9 17776.1 21489.9 17065.3 18690 18953.1 16398.9 16895.6 18553 19270 19422.1 17579.4 18637.3 18076.7 20438.6 18075.2 19563 19899.2 19227.5 17789.6 19220.8 21968.9 21131.5 19484.6 22168.7 20866.8 22176.2 23533.8 21479.6 24347.7 22751.6 20328.3 23650.4 23335.7 19614.9 18042.3 17282.5 16847.2 18159.5 16540.9 15952.7 18357.8 16394.3
 
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
10.6672765.21161e-06
20.5780234.51451.5e-05
30.6171334.825e-06
40.4591663.58620.000334
50.4148563.24010.000968
60.3923773.06460.001622
70.2001721.56340.061567
80.1741411.36010.089404
90.1499521.17120.123044
100.0200190.15640.438137
110.071020.55470.29057
120.1601691.2510.107863
13-0.037044-0.28930.386658
14-0.064428-0.50320.308318
15-0.048137-0.3760.354126
16-0.052822-0.41260.340689
17-0.050631-0.39540.346948
18-0.054879-0.42860.334854
19-0.041639-0.32520.373066
20-0.073304-0.57250.284537
21-0.075316-0.58820.279271
22-0.056777-0.44340.329508
23-0.05017-0.39180.348271
24-0.000941-0.00730.497081
25-0.039193-0.30610.380283
26-0.157925-1.23340.111073
27-0.107834-0.84220.201481
28-0.064581-0.50440.307901
29-0.104055-0.81270.209777
30-0.111076-0.86750.194526
31-0.08438-0.6590.256178
32-0.202302-1.580.059636
33-0.187008-1.46060.074632
34-0.190879-1.49080.070582
35-0.264733-2.06760.021462
36-0.205441-1.60450.05688


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.6672765.21161e-06
20.2393291.86920.033198
30.3136782.44990.008587
4-0.134386-1.04960.149023
50.0336670.26290.396739
6-0.011911-0.0930.463093
7-0.245874-1.92030.029747
8-0.003007-0.02350.490669
9-0.017907-0.13990.444616
10-0.064825-0.50630.307235
110.1480381.15620.126051
120.2722862.12660.018753
13-0.272349-2.12710.018731
14-0.175683-1.37210.087525
15-0.094347-0.73690.232013
160.2070941.61750.05547
17-0.057715-0.45080.326877
180.0195750.15290.439496
190.2419291.88950.031788
20-0.174898-1.3660.088478
21-0.102765-0.80260.212655
220.0354550.27690.391392
23-0.029413-0.22970.409538
24-0.064191-0.50130.308967
250.0817850.63880.262686
26-0.131712-1.02870.15384
27-0.007058-0.05510.478109
28-0.00841-0.06570.473921
290.1593011.24420.109097
30-0.160679-1.25490.107143
31-0.037192-0.29050.386218
32-0.107609-0.84050.201968
33-0.078968-0.61680.269845
34-0.128637-1.00470.159509
35-0.060457-0.47220.319239
360.1294651.01120.157968
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/17/t1261046564k2d11pqh7di54vt/1t9v51261046496.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/17/t1261046564k2d11pqh7di54vt/1t9v51261046496.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/17/t1261046564k2d11pqh7di54vt/2oq781261046496.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/17/t1261046564k2d11pqh7di54vt/2oq781261046496.ps (open in new window)


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