Home » date » 2009 » Dec » 05 »

*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, 05 Dec 2009 11:52:26 -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/05/t12600391956q0pmw338z4da0k.htm/, Retrieved Sat, 05 Dec 2009 19:53:17 +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/05/t12600391956q0pmw338z4da0k.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 «
8 8.2 8.3 8.1 7.4 7.3 7.7 8 8 7.7 6.9 6.6 6.9 7.5 7.9 7.7 6.5 6.1 6.4 6.8 7.1 7.3 7.2 7 7 7 7.3 7.5 7.2 7.7 8 7.9 8 8 7.9 7.9 8 8.1 8.1 8.2 8 8.3 8.5 8.6 8.7 8.7 8.5 8.4 8.5 8.7 8.7 8.6 7.9 8.1 8.2 8.5 8.6 8.5 8.3 8.2 8.7 9.3 9.3 8.8 7.4 7.2 7.5 8.3 8.8 8.9 8.6 8.4 8.4 8.4 8.4 8.3 7.6 7.6 7.9 8 8.2 8.3 8.2 8.1 8 7.8 7.6 7.5 6.8 6.9 7.1 7.3 7.4 7.6 7.6 7.5 7.5 6.8 6.4 6.2 6 6.3 6.3 6.1 6.1 6.3 6.6 6.8 7 7.1 7.3 6.8 6.3 6.4 6.7 6.8 7.2 7.5 7.7 7.8 8.1
 
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.3831014.19672.6e-05
2-0.186304-2.04090.021729
3-0.466187-5.10681e-06
4-0.371928-4.07434.2e-05
50.0252720.27680.391189
60.3452753.78230.000122
70.2042572.23750.013549
8-0.110512-1.21060.114214
9-0.256813-2.81330.002866
10-0.205669-2.2530.013038
110.0838590.91860.180066
120.4870045.33490
130.1678241.83840.034237
14-0.020707-0.22680.410468
15-0.136515-1.49540.068712
16-0.159591-1.74820.041491
17-0.033409-0.3660.357515
180.0786990.86210.195174
19-0.025954-0.28430.388331
20-0.128367-1.40620.081125
21-0.116489-1.27610.102197
22-0.087554-0.95910.169716
230.0653420.71580.237757
240.2902443.17950.000939
250.0073920.0810.467799
26-0.063123-0.69150.245299
27-0.067566-0.74010.230329
28-0.067572-0.74020.230309
290.0007660.00840.496661
300.0282650.30960.37869
31-0.041514-0.45480.325051
32-0.126877-1.38990.083571
33-0.060105-0.65840.255766
34-0.016316-0.17870.429225
350.0757290.82960.204216
360.2100962.30150.011545
37-0.061621-0.6750.250481
38-0.103201-1.13050.130258
39-0.0594-0.65070.258245
400.0274540.30070.382065
410.1232541.35020.08975
420.1136211.24470.107841
43-0.080119-0.87770.190941
44-0.29318-3.21160.000847
45-0.225666-2.4720.007418
46-0.050479-0.5530.290656
470.2360792.58610.005451
480.4261384.66814e-06


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.3831014.19672.6e-05
2-0.390362-4.27621.9e-05
3-0.300608-3.2930.000651
4-0.161206-1.76590.039976
50.0862990.94540.173187
60.1203611.31850.094926
7-0.161887-1.77340.039351
8-0.137564-1.50690.067227
9-0.008401-0.0920.463413
10-0.052247-0.57230.284083
110.0720970.78980.215607
120.3759094.11793.5e-05
13-0.339315-3.7170.000154
140.3432933.76060.000132
150.123711.35520.088953
160.0025060.02750.489073
17-0.008925-0.09780.461141
18-0.093688-1.02630.153407
19-0.063284-0.69320.244748
20-0.065259-0.71490.238039
21-0.138621-1.51850.065757
22-0.103275-1.13130.130088
23-0.020384-0.22330.411844
240.001260.01380.494507
25-0.154045-1.68750.047055
26-0.009808-0.10740.457308
270.0249930.27380.392362
28-0.044689-0.48950.312676
29-0.031634-0.34650.364773
30-0.064036-0.70150.242181
310.0988721.08310.14047
32-0.124501-1.36380.087585
330.0910010.99690.160417
340.0542810.59460.276609
35-0.021092-0.2310.408836
360.085810.940.174553
37-0.100887-1.10520.135649
38-0.024058-0.26350.396291
390.0085710.09390.462677
400.0587570.64370.260514
410.0279950.30670.379815
420.0336650.36880.356469
43-0.164887-1.80630.036693
44-0.160287-1.75590.040832
45-0.119994-1.31450.095598
46-0.067986-0.74470.22894
470.0700920.76780.222053
480.0233240.25550.399385
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/05/t12600391956q0pmw338z4da0k/126z31260039145.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/05/t12600391956q0pmw338z4da0k/126z31260039145.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/05/t12600391956q0pmw338z4da0k/2k3z61260039145.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/05/t12600391956q0pmw338z4da0k/2k3z61260039145.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