Home » date » 2009 » Nov » 27 »

*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: Fri, 27 Nov 2009 05:12:11 -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/27/t1259324272cl1ujscrd28amek.htm/, Retrieved Fri, 27 Nov 2009 13:17:54 +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/27/t1259324272cl1ujscrd28amek.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 «
1.4 1.2 1 1.7 2.4 2 2.1 2 1.8 2.7 2.3 1.9 2 2.3 2.8 2.4 2.3 2.7 2.7 2.9 3 2.2 2.3 2.8 2.8 2.8 2.2 2.6 2.8 2.5 2.4 2.3 1.9 1.7 2 2.1 1.7 1.8 1.8 1.8 1.3 1.3 1.3 1.2 1.4 2.2 2.9 3.1 3.5 3.6 4.4 4.1 5.1 5.8 5.9 5.4 5.5 4.8 3.2 2.7 2.1 1.9 0.6 0.7 -0.2 -1 -1.7 -0.7 -1
 
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.8938486.74840
20.7739055.84290
30.6136934.63331.1e-05
40.4516663.416e-04
50.2867622.1650.017294
60.1428911.07880.14261
7-0.018755-0.14160.443949
8-0.151526-1.1440.128704
9-0.281087-2.12220.019091
10-0.376882-2.84540.003076
11-0.453031-3.42030.000581
12-0.49843-3.76310.000199
13-0.47836-3.61150.000322
14-0.434122-3.27750.000893
15-0.374305-2.82590.003244
16-0.319281-2.41050.009589
17-0.259749-1.96110.027382
18-0.212319-1.6030.057234
19-0.15389-1.16180.125071
20-0.108178-0.81670.208743
21-0.050585-0.38190.351975
22-0.004279-0.03230.48717
230.0345480.26080.39758
240.0700580.52890.299454
250.0955770.72160.236749
260.0999360.75450.226828
270.1000520.75540.226568
280.1052520.79460.215061
290.1040090.78520.21778
300.1082640.81740.208558
310.1139960.86070.196518
320.1144450.8640.195593
330.1101770.83180.204491
340.1007060.76030.225101
350.0934760.70570.241615
360.0879250.66380.254741
370.0603060.45530.325311
380.0434270.32790.372106
390.0331250.25010.40171
400.018410.1390.444972
410.0072170.05450.47837
42-0.008826-0.06660.473552
43-0.036033-0.2720.393287
44-0.050606-0.38210.351916
45-0.065964-0.4980.310194
46-0.073153-0.55230.291453
47-0.085268-0.64380.261156
48-0.106296-0.80250.212793
49-0.093618-0.70680.241285
50-0.089503-0.67570.250971
51-0.092271-0.69660.244432
52-0.087291-0.6590.256265
53-0.084657-0.63910.262645
54-0.068517-0.51730.303477
55-0.033741-0.25470.399922
56-0.013151-0.09930.46063
57NANANA
58NANANA
59NANANA
60NANANA


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.8938486.74840
2-0.124654-0.94110.175309
3-0.267132-2.01680.024218
4-0.094695-0.71490.238784
5-0.095175-0.71860.237676
6-0.01513-0.11420.454728
7-0.231548-1.74810.042912
8-0.035028-0.26450.396191
9-0.116274-0.87780.191855
10-0.02774-0.20940.417428
11-0.064557-0.48740.313924
12-0.06216-0.46930.320324
130.2276941.71910.045516
14-0.030481-0.23010.40941
15-0.059592-0.44990.32724
16-0.143241-1.08140.142027
17-0.010834-0.08180.467548
18-0.062357-0.47080.319795
19-0.04541-0.34280.36649
20-0.054822-0.41390.340252
210.0234240.17680.430129
220.0211630.15980.43681
23-0.080174-0.60530.273692
240.0513330.38760.349893
250.0194250.14670.441962
26-0.053995-0.40770.342527
27-0.062085-0.46870.320525
280.0335540.25330.400463
29-0.014209-0.10730.457472
30-0.010144-0.07660.469612
310.0395210.29840.38325
32-0.025852-0.19520.422974
330.0414290.31280.377793
34-0.041895-0.31630.376465
350.034220.25840.398531
360.0321620.24280.404509
37-0.131365-0.99180.162746
380.0194150.14660.441991
390.0552050.41680.339198
400.0156550.11820.453165
41-0.024453-0.18460.427093
42-0.02366-0.17860.429433
43-0.023066-0.17410.431184
440.052240.39440.347376
45-0.024121-0.18210.428072
46-0.026717-0.20170.420431
47-0.026789-0.20230.42022
48-0.077754-0.5870.27975
490.1472821.1120.135413
50-0.082425-0.62230.268115
51-0.04977-0.37580.354247
520.0222060.16770.433725
53-0.011854-0.08950.464502
540.0870130.65690.256934
55-0.00258-0.01950.492262
56-0.042651-0.3220.374313
57NANANA
58NANANA
59NANANA
60NANANA
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/27/t1259324272cl1ujscrd28amek/1symv1259323930.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/27/t1259324272cl1ujscrd28amek/1symv1259323930.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/27/t1259324272cl1ujscrd28amek/20g4i1259323930.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/27/t1259324272cl1ujscrd28amek/20g4i1259323930.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