Home » date » 2009 » Dec » 28 »

acf

*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: Mon, 28 Dec 2009 05:46:27 -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/Dec/28/t12620044232pxjewby4kh779t.htm/, Retrieved Mon, 28 Dec 2009 13:47:05 +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/Dec/28/t12620044232pxjewby4kh779t.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 «
13.4 13.5 14.8 14.3 14.3 14 13.2 12.2 14.3 15.7 14.2 14.6 14.5 14.3 15.3 14.4 13.7 14.2 13.5 11.9 14.6 15.6 14.1 14.9 14.2 14.6 17.2 15.4 14.3 17.5 14.5 14.4 16.6 16.7 16.6 16.9 15.7 16.4 18.4 16.9 16.5 18.3 15.1 15.7 18.1 16.8 18.9 19 18.1 17.8 21.5 17.1 18.7 19 16.4 16.9 18.6 19.3 19.4 17.6 18.6 18.1 20.4 18.1 19.6 19.9 19.2 17.8 19.2 22 21.1 19.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'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.559701-4.29913.3e-05
2-0.033556-0.25770.398749
30.3288552.5260.007121
4-0.218334-1.67710.049411
5-0.07042-0.54090.295305
60.2647472.03360.023251
7-0.31012-2.38210.010229
80.1257030.96550.169106
90.145981.12130.133354
10-0.238536-1.83220.035983
110.1371811.05370.148156
12-0.05153-0.39580.346835
13-0.126666-0.97290.167278
140.1786091.37190.087641
15-0.087418-0.67150.252271
16-0.138365-1.06280.146102
170.2343611.80020.038474
18-0.080632-0.61930.269036
19-0.018113-0.13910.444913
20-0.004577-0.03520.486035
210.1277160.9810.165297
22-0.223905-1.71980.045351
230.2626172.01720.024116
24-0.147441-1.13250.131
25-0.101795-0.78190.2187
260.2306271.77150.040823
27-0.149369-1.14730.127939
28-0.035376-0.27170.39339
290.149621.14930.127545
30-0.162939-1.25160.107835
310.0317880.24420.403975
320.1430961.09910.138085
33-0.258486-1.98550.025873
340.0978710.75180.227592
350.1296480.99580.161696
36-0.216099-1.65990.051122
370.1806111.38730.085284
38-0.013308-0.10220.459464
39-0.128416-0.98640.163987
400.2079051.59690.05781
41-0.1056-0.81110.210276
42-0.064813-0.49780.310225
430.1261640.96910.168229
44-0.036963-0.28390.388732
45-0.030423-0.23370.408018
460.0691680.53130.298606
47-0.047015-0.36110.359647
480.001050.00810.496796
490.0335140.25740.398874
50-0.060875-0.46760.320901
510.0144290.11080.456062
520.0208780.16040.436569
53-0.023841-0.18310.427663
540.0078890.06060.475943
55-0.003017-0.02320.490794
56-0.004625-0.03550.48589
570.0029010.02230.49115
58-0.000654-0.0050.498005
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.559701-4.29913.3e-05
2-0.505029-3.87920.000133
30.0350360.26910.394389
40.1106110.84960.199486
5-0.091332-0.70150.242863
60.0769820.59130.278286
7-0.173999-1.33650.093257
8-0.110378-0.84780.199979
90.0994380.76380.224015
100.0552580.42440.336393
110.055690.42780.33519
12-0.216208-1.66070.051037
13-0.329051-2.52750.007094
14-0.14438-1.1090.135964
150.0281430.21620.414801
16-0.072479-0.55670.289911
17-0.095619-0.73450.232787
18-0.020329-0.15620.438224
190.1508211.15850.125668
20-0.079172-0.60810.272718
210.1946781.49540.070076
22-0.091597-0.70360.242234
230.0998380.76690.223109
240.0170440.13090.448142
25-0.24715-1.89840.031269
26-0.081281-0.62430.267408
27-0.213059-1.63650.053525
28-0.082385-0.63280.26465
29-0.002949-0.02270.491003
30-0.04943-0.37970.352774
31-0.015808-0.12140.451884
32-0.048219-0.37040.356214
33-0.030737-0.23610.407089
34-0.1099-0.84420.200996
35-0.049911-0.38340.35141
36-0.055734-0.42810.335068
37-0.002977-0.02290.490918
38-0.044727-0.34360.366202
39-0.068785-0.52830.299621
40-0.115655-0.88840.188976
41-0.018181-0.13970.444706
42-0.038139-0.2930.385293
430.0080760.0620.475372
440.0001058e-040.499679
450.0098430.07560.469994
46-0.042864-0.32920.371568
47-0.050105-0.38490.350862
480.0920790.70730.241091
49-0.057151-0.4390.331139
50-0.050747-0.38980.349046
51-0.006758-0.05190.47939
520.010340.07940.468483
530.0755020.57990.28208
54-0.018105-0.13910.444934
55-0.049351-0.37910.352997
56-0.025248-0.19390.423447
570.0550970.42320.336842
58-0.097262-0.74710.22899
59NANANA
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/28/t12620044232pxjewby4kh779t/10kir1262004383.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/28/t12620044232pxjewby4kh779t/10kir1262004383.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/28/t12620044232pxjewby4kh779t/2rqwm1262004383.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/28/t12620044232pxjewby4kh779t/2rqwm1262004383.ps (open in new window)


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