Home » date » 2010 » Dec » 07 »

*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: Tue, 07 Dec 2010 17:58:45 +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/07/t1291744665eahwanpq4h52beg.htm/, Retrieved Tue, 07 Dec 2010 18:57: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/2010/Dec/07/t1291744665eahwanpq4h52beg.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 «
655362 873127 1107897 1555964 1671159 1493308 2957796 2638691 1305669 1280496 921900 867888 652586 913831 1108544 1555827 1699283 1509458 3268975 2425016 1312703 1365498 934453 775019 651142 843192 1146766 1652601 1465906 1652734 2922334 2702805 1458956 1410363 1019279 936574 708917 885295 1099663 1576220 1487870 1488635 2882530 2677026 1404398 1344370 936865 872705 628151 953712 1160384 1400618 1661511 1495347 2918786 2775677 1407026 1370199 964526 850851 683118 847224 1073256 1514326 1503734 1507712 2865698 2788128 1391596 1366378 946295 859626
 
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.317498-2.19970.016339
20.237091.64260.0535
30.0738330.51150.305662
4-0.0085-0.05890.476642
50.0875610.60660.273473
6-0.094228-0.65280.258489
7-0.167911-1.16330.125224
8-0.021706-0.15040.440547
9-0.105651-0.7320.233873
10-0.199022-1.37890.087165
110.0744020.51550.304295
12-0.439446-3.04460.001888
130.11640.80640.211982
14-0.10566-0.7320.233854
150.0012040.00830.49669
160.0049190.03410.486477
170.0340480.23590.40726
180.2036361.41080.082372
190.0233930.16210.435966
20-0.004005-0.02770.48899
210.2168361.50230.069788
22-0.089567-0.62050.268921
230.1834171.27080.10497
24-0.067755-0.46940.320447
25-0.012621-0.08740.465342
260.045160.31290.377865
27-0.057715-0.39990.345517
280.0107330.07440.470516
29-0.015257-0.10570.458128
30-0.15548-1.07720.143388
310.0564010.39080.348852
320.054610.37840.353419
33-0.185412-1.28460.102554
340.14471.00250.160562
35-0.123601-0.85630.198035
360.0807060.55910.289331
370.0134140.09290.46317
38-0.025656-0.17770.429834
390.0259390.17970.429069
400.0145260.10060.460129
41-0.011891-0.08240.467343
420.0105090.07280.47113
43-0.008081-0.0560.477792
440.0024660.01710.493221
450.0029640.02050.491849
46-0.002432-0.01680.493314
470.0002240.00160.499384
48NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.317498-2.19970.016339
20.1515641.05010.149473
30.2115111.46540.074667
40.0374950.25980.398075
50.034830.24130.405171
6-0.097613-0.67630.251053
7-0.300549-2.08230.021336
8-0.180209-1.24850.108947
9-0.047568-0.32960.371584
10-0.180872-1.25310.108116
110.0528320.3660.357975
12-0.367502-2.54610.007078
13-0.229612-1.59080.05911
14-0.090358-0.6260.267135
150.0309860.21470.415465
16-0.035251-0.24420.404048
17-0.017644-0.12220.451608
180.1525731.05710.147889
19-0.086426-0.59880.27607
20-0.308332-2.13620.018896
210.0266080.18430.427259
22-0.208952-1.44770.077106
230.0575790.39890.34586
24-0.164161-1.13730.130521
25-0.1566-1.0850.14168
26-0.145022-1.00470.16003
27-0.080718-0.55920.289302
280.0289240.20040.42101
290.0549550.38070.352539
30-0.008544-0.05920.476521
31-0.050272-0.34830.364571
32-0.079047-0.54770.293234
33-0.069694-0.48290.315697
34-0.113372-0.78550.218021
350.009820.0680.473021
36-0.130569-0.90460.185095
37-0.07486-0.51860.303195
38-0.033763-0.23390.408022
39-0.094531-0.65490.25782
400.0021220.01470.494165
410.036360.25190.401094
42-0.068021-0.47130.319795
43-0.010315-0.07150.471664
440.021420.14840.441324
45-0.045552-0.31560.376841
46-0.095524-0.66180.255628
47-0.000613-0.00420.498316
48NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/07/t1291744665eahwanpq4h52beg/1ar5w1291744721.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/07/t1291744665eahwanpq4h52beg/1ar5w1291744721.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/07/t1291744665eahwanpq4h52beg/2ar5w1291744721.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/07/t1291744665eahwanpq4h52beg/2ar5w1291744721.ps (open in new window)


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