Home » date » 2009 » Nov » 26 »

*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, 26 Nov 2009 11:52:35 -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/Nov/26/t1259261701higyly2qq2ucmx8.htm/, Retrieved Thu, 26 Nov 2009 19:55:03 +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/Nov/26/t1259261701higyly2qq2ucmx8.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 «
12.610 10.862 52.929 56.902 81.776 87.876 82.103 72.846 60.632 33.521 15.342 7.758 8.668 13.082 38.157 58.263 81.153 88.476 72.329 75.845 61.108 37.665 12.755 2.793 12.935 19.533 33.404 52.074 70.735 69.702 61.656 82.993 53.990 32.283 15.686 2.713 12.842 19.244 48.488 54.464 84.192 84.458 85.793 75.163 68.212 49.233 24.302 5.402 15.058 33.559 70.358 85.934 94.452 129.305 113.882 107.256 94.274 57.842 26.611 14.521
 
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.5703663.95160.000127
20.5610083.88680.000156
30.4586373.17750.001299
40.4523533.1340.00147
50.2715091.88110.033018
60.2606891.80610.038587
70.1685851.1680.12429
80.1364770.94550.17456
90.2116541.46640.074533
100.1352820.93730.176658
110.2184061.51320.068398
120.0785930.54450.294306
130.1240440.85940.197196
140.1386570.96060.170772
150.1341430.92940.178675
16-0.006753-0.04680.481438
17-0.026896-0.18630.426482
18-0.073382-0.50840.30675
19-0.100282-0.69480.245272
20-0.144205-0.99910.161383
21-0.195782-1.35640.090656
22-0.236324-1.63730.054054
23-0.262243-1.81690.037742
24-0.326846-2.26450.01405
25-0.226503-1.56930.061578
26-0.29932-2.07370.021746
27-0.292364-2.02560.024195
28-0.22857-1.58360.059929
29-0.105499-0.73090.23419
30-0.148196-1.02670.154846
31-0.13069-0.90540.184876
32-0.135062-0.93570.177046
33-0.161632-1.11980.134182
34-0.09153-0.63410.2645
35-0.150833-1.0450.150628
36-0.148841-1.03120.153807
37-0.191601-1.32750.095319
38-0.135054-0.93570.17706
39-0.184024-1.2750.10423
40-0.105455-0.73060.234284
41-0.140898-0.97620.166937
42-0.090878-0.62960.265965
43-0.048659-0.33710.368749
44-0.019105-0.13240.447625
45-0.011178-0.07740.469295
460.0023980.01660.493408
47-0.004192-0.0290.488476
48NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.5703663.95160.000127
20.3493362.42030.009672
30.0864160.59870.276091
40.1168740.80970.211047
5-0.171467-1.1880.120347
6-0.014063-0.09740.461396
7-0.043696-0.30270.3817
8-0.020685-0.14330.443323
90.2451041.69810.047979
10-0.045934-0.31820.375841
110.1552981.07590.143666
12-0.210522-1.45850.075602
13-0.061573-0.42660.335791
140.1621161.12320.133475
15-0.054669-0.37880.353268
16-0.089663-0.62120.268703
17-0.141745-0.9820.165502
18-0.104044-0.72080.237252
190.0411960.28540.388277
20-0.100627-0.69720.244531
210.0161050.11160.45581
22-0.114061-0.79020.216639
23-0.107114-0.74210.230819
24-0.186523-1.29230.101225
250.1361250.94310.175176
26-0.021421-0.14840.44132
270.0167950.11640.453926
280.0932880.64630.260577
290.1022260.70820.24111
300.0076190.05280.479061
31-0.067621-0.46850.320778
32-0.058898-0.40810.342524
33-0.042663-0.29560.384413
340.0944650.65450.257965
350.0432650.29980.382831
36-0.082852-0.5740.284318
37-0.006268-0.04340.48277
38-0.036347-0.25180.401128
39-0.110721-0.76710.22339
40-0.004263-0.02950.48828
410.0357550.24770.402706
420.0395090.27370.392735
43-0.042516-0.29460.3848
44-0.080964-0.56090.288725
45-0.030744-0.2130.416114
460.0400060.27720.391421
47-0.021539-0.14920.441001
48NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/26/t1259261701higyly2qq2ucmx8/17z2v1259261553.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/26/t1259261701higyly2qq2ucmx8/17z2v1259261553.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/26/t1259261701higyly2qq2ucmx8/2g5y91259261553.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/26/t1259261701higyly2qq2ucmx8/2g5y91259261553.ps (open in new window)


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