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:55:48 +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/t1292511209rn7sq08f8kq94p1.htm/, Retrieved Thu, 16 Dec 2010 15:53:29 +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/t1292511209rn7sq08f8kq94p1.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 «
112,3 117,3 111,1 102,2 104,3 122,9 107,6 121,3 131,5 89 104,4 128,9 135,9 133,3 121,3 120,5 120,4 137,9 126,1 133,2 151,1 105 119 140,4 156,6 137,1 122,7 125,8 139,3 134,9 149,2 132,3 149 117,2 119,6 152 149,4 127,3 114,1 102,1 107,7 104,4 102,1 96 109,3 90 83,9 112 114,3 103,6 91,7 80,8 87,2 109,2 102,7 95,1 117,5 85,1 92,1 113,5
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.8322195.76580
20.8212415.68970
30.7643575.29561e-06
40.6671864.62241.4e-05
50.6050914.19225.9e-05
60.4892993.390.000703
70.3781552.61990.00587
80.3119452.16120.017849
90.1903181.31860.096787
100.1303360.9030.185519
110.0362050.25080.401506
12-0.041596-0.28820.387224
13-0.090314-0.62570.267234
14-0.161797-1.1210.13394
15-0.135224-0.93690.176761
16-0.198754-1.3770.087449
17-0.223266-1.54680.064236
18-0.219452-1.52040.067485
19-0.275388-1.90790.031195
20-0.270189-1.87190.033659
21-0.269441-1.86670.034026
22-0.323745-2.2430.014776
23-0.294608-2.04110.02338
24-0.365013-2.52890.007392
25-0.337585-2.33890.011777
26-0.342974-2.37620.010765
27-0.379845-2.63160.005696
28-0.338505-2.34520.011598
29-0.320671-2.22170.015527
30-0.297508-2.06120.022362
31-0.253231-1.75440.042869
32-0.215418-1.49250.071062
33-0.172861-1.19760.118473
34-0.144792-1.00310.16041
35-0.113883-0.7890.216994
36-0.07554-0.52340.301567
37-0.041771-0.28940.38676
38-0.010996-0.07620.469796
39-0.005728-0.03970.484254
400.0168140.11650.453874
410.0451750.3130.377826
420.0307370.2130.416132
430.0319310.22120.412929
440.0282840.1960.422736
450.0128710.08920.464657
460.0211260.14640.442124
470.0068060.04720.481294
48NANANA
49NANANA
50NANANA
51NANANA
52NANANA
53NANANA
54NANANA
55NANANA
56NANANA
57NANANA
58NANANA
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.8322195.76580
20.4185032.89950.002811
30.0735330.50950.306386
4-0.217495-1.50690.069201
5-0.102344-0.70910.24086
6-0.200034-1.38590.086095
7-0.201713-1.39750.084343
80.0520540.36060.359975
9-0.059438-0.41180.34116
100.0652810.45230.326551
11-0.044458-0.3080.379702
12-0.044591-0.30890.379353
13-0.007927-0.05490.478214
14-0.051383-0.3560.361704
150.2951492.04490.023187
16-0.091059-0.63090.265557
17-0.131881-0.91370.18272
18-0.07344-0.50880.306609
19-0.208539-1.44480.077505
20-0.07589-0.52580.300731
210.1027990.71220.23989
22-0.053046-0.36750.357425
230.0121830.08440.466541
24-0.229079-1.58710.059527
250.0545390.37790.353601
260.0252940.17520.430812
27-0.026448-0.18320.427693
280.1910521.32360.095945
290.2094021.45080.076673
30-0.054725-0.37910.353125
31-0.156047-1.08110.142522
320.0521970.36160.359607
33-0.160238-1.11020.136231
34-0.081881-0.56730.286581
350.0248630.17230.43198
36-0.125439-0.86910.194567
370.0725820.50290.30868
38-0.090636-0.62790.266508
390.0254430.17630.43041
400.0180540.12510.450489
410.0948830.65740.257043
420.1524571.05630.14807
43-0.134482-0.93170.178072
44-0.144479-1.0010.160928
450.0147460.10220.459527
46-0.072212-0.50030.309575
47-0.073612-0.510.306194
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/t1292511209rn7sq08f8kq94p1/1pf021292511344.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/16/t1292511209rn7sq08f8kq94p1/1pf021292511344.ps (open in new window)


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


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