Home » date » 2010 » Dec » 16 »

*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, 16 Dec 2010 14:18:31 +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/16/t1292509075alhxjan0mnbmk6b.htm/, Retrieved Thu, 16 Dec 2010 15:17:56 +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/16/t1292509075alhxjan0mnbmk6b.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 «
2260 2498 2695 2799 2947 2930 2318 2540 2570 2669 2450 2842 3440 2678 2981 2260 2844 2546 2456 2295 2379 2479 2057 2280 2351 2276 2548 2311 2201 2725 2408 2139 1898 2539 2069 2063 2565 2442 2194 2798 2074 2628 2289 2154 2466 2137 1846 2072 1786 1754 2226 1947 1823 2521 2072 2368 2164 2095 1834 1856 2017
 
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'RServer@AstonUniversity' @ vre.aston.ac.uk


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.541364-3.75070.000237
20.1490421.03260.153484
30.0787050.54530.294042
4-0.073534-0.50950.306383
5-0.039528-0.27390.392684
60.0165780.11490.45452
7-0.046255-0.32050.375004
80.1568531.08670.141296
9-0.087564-0.60670.273467
10-0.014466-0.10020.460293
110.2710071.87760.03326
12-0.408874-2.83280.003364
130.1741861.20680.116713
14-0.009705-0.06720.473334
15-0.090865-0.62950.265992
16-0.011981-0.0830.467097
170.093380.6470.260371
18-0.048649-0.33710.368774
190.0721980.50020.309609
20-0.181216-1.25550.107687
210.1664411.15310.127282
22-0.150442-1.04230.151249
230.0856890.59370.27776
24-0.075989-0.52650.300495
250.1247410.86420.19588
26-0.065335-0.45270.326419
270.0143180.09920.460696
280.0681670.47230.319436
29-0.08778-0.60820.272974
300.0342390.23720.406751
31-0.07606-0.5270.300324
320.1019690.70650.241659
33-0.022403-0.15520.438653
340.0268790.18620.426527
350.0112970.07830.468969
360.0413260.28630.387934
37-0.07447-0.51590.304131
380.016010.11090.456072
39-0.00448-0.0310.487684
40-0.063761-0.44180.330326
410.0352210.2440.404128
42-0.036665-0.2540.400281
430.02490.17250.431879
440.0084110.05830.476886
45-0.040456-0.28030.390231
460.0216180.14980.440786
47-0.041335-0.28640.387912
48NANANA
49NANANA
50NANANA
51NANANA
52NANANA
53NANANA
54NANANA
55NANANA
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.541364-3.75070.000237
2-0.203745-1.41160.082261
30.0967130.670.25302
40.0737950.51130.305753
5-0.086401-0.59860.276126
6-0.116276-0.80560.212228
7-0.105289-0.72950.234631
80.185751.28690.102147
90.1621591.12350.133413
10-0.045811-0.31740.376162
110.2565531.77750.040915
12-0.189036-1.30970.098269
13-0.228834-1.58540.05972
14-0.058444-0.40490.343671
150.0191210.13250.447581
16-0.083582-0.57910.282623
17-0.016954-0.11750.453494
18-0.001786-0.01240.495088
190.0107110.07420.470576
20-0.149256-1.03410.153142
210.0014030.00970.496141
22-0.121994-0.84520.201097
230.2457321.70250.047567
24-0.019414-0.13450.446784
250.0100890.06990.472283
260.0405240.28080.39005
27-0.02866-0.19860.421721
280.0224650.15560.438483
29-0.003205-0.02220.491187
300.0460650.31910.3755
31-0.084726-0.5870.279977
32-0.086641-0.60030.275576
330.1398140.96870.168786
34-0.007017-0.04860.480714
350.1331230.92230.180491
36-0.069176-0.47930.316963
37-0.029857-0.20690.418499
380.0027240.01890.492511
39-0.007985-0.05530.478057
40-0.072649-0.50330.308518
41-0.059723-0.41380.340441
42-0.100692-0.69760.244392
43-0.098461-0.68220.24921
44-0.080632-0.55860.289504
450.114630.79420.2155
46-0.086464-0.5990.275981
470.0098580.06830.472916
48NANANA
49NANANA
50NANANA
51NANANA
52NANANA
53NANANA
54NANANA
55NANANA
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/16/t1292509075alhxjan0mnbmk6b/1bsl51292509108.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/16/t1292509075alhxjan0mnbmk6b/1bsl51292509108.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/16/t1292509075alhxjan0mnbmk6b/2bsl51292509108.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/16/t1292509075alhxjan0mnbmk6b/2bsl51292509108.ps (open in new window)


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