Home » date » 2010 » Dec » 29 »

*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: Wed, 29 Dec 2010 09:18:37 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Dec/29/t1293614177nyvxkffqjcq2kwe.htm/, Retrieved Wed, 29 Dec 2010 10:16:19 +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/2010/Dec/29/t1293614177nyvxkffqjcq2kwe.htm/},
    year = {2010},
}
@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 = {2010},
    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 «
1775 2197 2920 4240 5415 6136 6719 6234 7152 3646 2165 2803 1615 2350 3350 3536 5834 6767 5993 7276 5641 3477 2247 2466 1567 2237 2598 3729 5715 5776 5852 6878 5488 3583 2054 2282 1552 2261 2446 3519 5161 5085 5711 6057 5224 3363 1899 2115 1491 2061 2419 3430 4778 4862 6176 5664 5529 3418 1941 2402 1579 2146 2462 3695 4831 5134 6250 5760 6249 2917 1741 2359 1511 2059 2635 2867 4403 5720 4502 5749 5627 2846 1762 2429 1169 2154 2249 2687 4359 5382 4459 6398 4596 3024 1887 2070 1351 2218 2461 3028 4784 4975 4607 6249 4809 3157 1910 2228 1594 2467 2222 3607 4685 4962 5770 5480 5000 3228 1993 2288 1588 2105 2191 3591 4668 4885 5822 5599 5340 3082 2010 2301
 
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.7570348.69770
20.4188464.81222e-06
30.0219980.25270.400433
4-0.412141-4.73513e-06
5-0.703433-8.08180
6-0.799131-9.18130
7-0.700894-8.05270
8-0.375755-4.31711.5e-05
90.0416990.47910.316334
100.3869444.44579e-06
110.7121228.18170
120.8702329.99820
130.6720757.72160
140.3772044.33371.4e-05
150.0014780.0170.49324
16-0.379379-4.35871.3e-05
17-0.636754-7.31570
18-0.730319-8.39070
19-0.634052-7.28470
20-0.335979-3.86018.8e-05
210.0149350.17160.432012
220.3294543.78510.000116
230.6364127.31180
240.7510068.62840
250.6027746.92530
260.3244223.72730.000143
27-0.012065-0.13860.444982
28-0.336351-3.86448.7e-05
29-0.566861-6.51270
30-0.661028-7.59460
31-0.563365-6.47260
32-0.307084-3.52810.000288
33-0.000437-0.0050.498002
340.2960243.40110.000444
350.553436.35840
360.6536147.50950
370.5404776.20960
380.2740113.14810.001016
39-0.014362-0.1650.434597
40-0.29778-3.42120.000415
41-0.508023-5.83670
42-0.589519-6.77310
43-0.492095-5.65370
44-0.280399-3.22150.000803
45-0.002967-0.03410.486431
460.2664543.06130.001335
470.4726195.430
480.5825796.69330


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.7570348.69770
2-0.361335-4.15142.9e-05
3-0.36672-4.21332.3e-05
4-0.501885-5.76620
5-0.270246-3.10490.001165
6-0.182532-2.09710.018945
7-0.122052-1.40230.08159
80.1564971.7980.03723
90.1659151.90620.029398
10-0.070244-0.8070.210545
110.3275183.76290.000126
120.4141364.75813e-06
13-0.306581-3.52230.000294
140.0207810.23880.405831
150.1619081.86020.032542
160.1635871.87950.031193
17-0.048511-0.55740.289115
180.0518580.59580.276165
190.074940.8610.195402
20-0.118003-1.35570.088747
21-0.13629-1.56590.059889
220.0779840.8960.18595
230.1228541.41150.080227
24-0.085599-0.98350.163591
25-0.053017-0.60910.271746
26-0.126372-1.45190.074451
270.0472030.54230.294256
280.0348140.40.34491
290.0104620.12020.452255
30-0.035798-0.41130.340762
310.0283140.32530.372733
32-0.110162-1.26570.103932
330.0085720.09850.46085
340.0923971.06160.145188
35-0.038259-0.43960.330486
36-0.020084-0.23070.408936
370.0293290.3370.368338
38-0.092387-1.06140.145214
390.0131110.15060.440245
400.0357820.41110.34083
410.039180.45010.326674
42-0.064192-0.73750.23106
430.0307990.35390.362006
44-0.041895-0.48130.315539
45-0.010433-0.11990.452384
460.0483720.55580.289661
47-0.05633-0.64720.259319
480.0696410.80010.21254
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/29/t1293614177nyvxkffqjcq2kwe/1oi601293614315.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/29/t1293614177nyvxkffqjcq2kwe/1oi601293614315.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/29/t1293614177nyvxkffqjcq2kwe/2oi601293614315.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/29/t1293614177nyvxkffqjcq2kwe/2oi601293614315.ps (open in new window)


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