Home » date » 2009 » Aug » 18 »

dennis volkaerts - opg6 - autocor

*Unverified author*
R Software Module: rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Tue, 18 Aug 2009 11:23:21 -0600
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Aug/18/t1250616259d8ktogaoo7twgvi.htm/, Retrieved Tue, 18 Aug 2009 19:24:21 +0200
 
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/Aug/18/t1250616259d8ktogaoo7twgvi.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 «
17.23 17.36 17.39 17.29 17.28 17.4 17.51 17.54 17.64 17.65 17.5 17.37 17.56 17.49 17.61 17.79 17.83 17.56 17.95 18.09 18.38 18.38 18.44 18.84 19.01 19.06 19.06 18.97 18.98 19.41 19.55 19.64 19.71 19.48 19.48 19.41 19.25 19.14 19.21 19.3 19.53 19.14 19.16 19.24 19.38 19.27 19.27 19.07 19.15 19.24 19.36 19.57 19.59 19.36 19.46 19.65 19.46 19.51 19.64 19.64 19.69 19.28 19.67 19.65 19.6 19.53 19.64 19.67 19.81 19.73 19.87 19.97 20.12 19.94 20.31 20.13 20.22 20.38 20.44 20.34 20.14 19.97 19.82 19.98 20.12
 
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'Gwilym Jenkins' @ 72.249.127.135


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.9531918.7880
20.9138498.42530
30.8774578.08980
40.8380077.7260
50.7922647.30430
60.7454646.87280
70.6943056.40120
80.6466165.96150
90.5988215.52090
100.5526865.09551e-06
110.5005084.61457e-06
120.4467814.11914.4e-05
130.3937973.63060.000241
140.3476073.20480.000952
150.3018632.7830.003317
160.2626872.42190.008784
170.2221112.04780.021835
180.1763491.62590.053841
190.1451741.33840.092161
200.1171321.07990.14162
210.0877240.80880.210452
220.0620910.57250.284263
230.0356490.32870.371608
240.0259390.23910.405784
250.0122220.11270.455276
268.2e-058e-040.499701
27-0.015293-0.1410.444105
28-0.026687-0.2460.40312
29-0.04411-0.40670.342633
30-0.049773-0.45890.323743
31-0.049328-0.45480.325214
32-0.044876-0.41370.340053
33-0.043214-0.39840.345662
34-0.045704-0.42140.337276
35-0.048804-0.450.326945
36-0.05045-0.46510.321515
37-0.055336-0.51020.305628
38-0.061977-0.57140.284618
39-0.067879-0.62580.266556
40-0.075693-0.69790.243585
41-0.080316-0.74050.230527
42-0.087981-0.81110.209775
43-0.09543-0.87980.190719
44-0.102056-0.94090.174708
45-0.114608-1.05660.146837
46-0.128004-1.18010.120618
47-0.140511-1.29540.099337
48-0.158555-1.46180.073741


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.9531918.7880
20.0577050.5320.298052
30.0180630.16650.434067
4-0.047469-0.43760.331378
5-0.09431-0.86950.193513
6-0.050865-0.46890.320153
7-0.082397-0.75970.224778
80.0023710.02190.491306
9-0.021965-0.20250.42
10-0.002437-0.02250.491063
11-0.088122-0.81240.209403
12-0.064817-0.59760.275853
13-0.039291-0.36220.359035
140.0345520.31860.375422
15-0.005694-0.05250.479127
160.0520920.48030.316137
17-0.02937-0.27080.393608
18-0.10173-0.93790.175476
190.1033490.95280.17169
200.0087670.08080.467885
21-0.015562-0.14350.443127
220.0143150.1320.447658
23-0.043681-0.40270.344084
240.151181.39380.083504
25-0.06206-0.57220.28436
26-0.004079-0.03760.485046
27-0.067552-0.62280.267542
280.0060120.05540.477965
29-0.090679-0.8360.202745
300.0800850.73830.23117
310.0819450.75550.226021
320.0653360.60240.274266
33-0.021579-0.1990.421388
34-0.09698-0.89410.186894
35-0.040176-0.37040.356003
36-0.05572-0.51370.304394
370.0081240.07490.470237
38-0.023515-0.21680.414443
390.0338520.31210.377863
40-0.046195-0.42590.335631
41-0.020944-0.19310.423673
42-0.02606-0.24030.405354
43-0.007954-0.07330.470858
440.0161690.14910.440926
45-0.064651-0.59610.276361
46-0.008748-0.08060.467956
47-0.0261-0.24060.405211
48-0.086067-0.79350.214849
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/18/t1250616259d8ktogaoo7twgvi/1925a1250616199.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/18/t1250616259d8ktogaoo7twgvi/1925a1250616199.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/18/t1250616259d8ktogaoo7twgvi/2jtm81250616199.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Aug/18/t1250616259d8ktogaoo7twgvi/2jtm81250616199.ps (open in new window)


 
Parameters (Session):
par1 = 48 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ;
 
Parameters (R input):
par1 = 48 ; par2 = 1 ; par3 = 0 ; par4 = 0 ; par5 = 12 ;
 
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 (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='lags',ylab='ACF')
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