Home » date » 2008 » Dec » 19 »

AC Chocopasta

*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, 19 Dec 2008 06:28:10 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/Dec/19/t1229693415yqhpdflmo131xzh.htm/, Retrieved Fri, 19 Dec 2008 14:30:17 +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/2008/Dec/19/t1229693415yqhpdflmo131xzh.htm/},
    year = {2008},
}
@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 = {2008},
    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 «
101.73 101.63 101.43 101.34 101.01 100.89 100.93 100.77 100.3 99.86 99.71 99.93 99.88 99.92 99.87 99.63 100.05 99.88 100.11 100.05 100.07 100.2 100.21 99.76 99.41 99.24 99.65 99.7 99.79 99.84 101 101.62 101.98 101.46 102.28 102.14 102.02 102.21 101.61 102.38 102.19 102.04 101.76 101.9 102.01 102.37 103.04 103.42 103.76 104.41 104.75 104.28 103.89 104.09 103.8 105.03 105.86 106.04 106.03 106.13 107.21 107.66 108.08 108.76 108.26 108.71 108.65 108.61 108.86 109.54 108.22 108.77 109.9 110.13 109.6 110.42 110.6 109.73 110.72 111.08 111.14 111.01 110.56 111.57
 
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'George Udny Yule' @ 72.249.76.132


Autocorrelation Function
Time lag kACF(k)T-STATP-value
1-0.046118-0.42020.337729
2-0.084984-0.77420.220494
30.1145461.04360.149859
40.0668940.60940.271952
5-0.011796-0.10750.45734
60.0265670.2420.404676
70.091990.83810.202199
8-0.106453-0.96980.167474
9-0.021225-0.19340.423572
100.0515490.46960.319925
110.0228690.20830.417736
120.1048660.95540.171081
130.0442390.4030.343979
140.0017810.01620.493545
150.0307040.27970.390191
160.2388082.17560.016213
17-0.028883-0.26310.396548
180.089730.81750.207997
190.0450050.410.341426
20-0.055618-0.50670.306854
21-0.113601-1.0350.151849
22-0.15618-1.42290.079262
230.1448911.320.095229
24-0.07507-0.68390.247966
25-0.016496-0.15030.440453
260.0769820.70130.242525
27-0.098516-0.89750.186017
280.0796130.72530.235151
290.1018860.92820.177992
300.06460.58850.278885
31-0.074518-0.67890.249549
320.008160.07430.470459
330.0149660.13640.445937
340.0099170.09030.464115
350.0072040.06560.473916
36-0.109485-0.99750.16072
370.013150.11980.452466
38-0.081176-0.73950.23083
390.0325590.29660.383747
40-0.152833-1.39240.083765
410.0477980.43550.332178
420.005010.04560.48185
43-0.09011-0.82090.207015
440.0772940.70420.241646
45-0.045788-0.41710.338824
46-0.045627-0.41570.339357
47-0.056702-0.51660.303412
48-0.078826-0.71810.237345
490.056750.5170.30326
50-0.052471-0.4780.316942
51-0.081974-0.74680.228642
52-0.07729-0.70410.241656
530.0140850.12830.449103
54-0.074885-0.68220.248495
55-0.041052-0.3740.354678
56-0.03838-0.34970.36374
570.0119830.10920.456665
58-0.032227-0.29360.384898
59-0.044175-0.40250.344193
60-0.020849-0.18990.424909


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
1-0.046118-0.42020.337729
2-0.087296-0.79530.214352
30.1073030.97760.165562
40.0710530.64730.259604
50.0131430.11970.452489
60.025810.23510.407339
70.0812870.74060.230525
8-0.102194-0.9310.177269
9-0.024545-0.22360.411804
100.0118390.10790.457183
110.0343880.31330.377424
120.1350861.23070.110958
130.0579080.52760.299602
140.01350.1230.451205
150.0272390.24820.402312
160.2195211.99990.024389
17-0.023468-0.21380.415614
180.1243111.13250.130338
19-0.011381-0.10370.458836
20-0.046817-0.42650.335417
21-0.144162-1.31340.096337
22-0.246293-2.24380.013753
230.0704620.64190.261342
24-0.04514-0.41120.340976
250.0486190.44290.32948
260.0905410.82490.205905
27-0.094313-0.85920.196344
280.059580.54280.294361
290.0637380.58070.281513
300.0194620.17730.429848
31-0.059804-0.54480.293661
32-0.059163-0.5390.295665
33-0.004349-0.03960.484246
340.02810.2560.39929
35-0.011906-0.10850.456943
36-0.103466-0.94260.174305
370.1087250.99050.162396
380.0050640.04610.481658
390.0543450.49510.310916
40-0.141541-1.28950.100403
41-0.036306-0.33080.370828
42-0.0869-0.79170.215398
43-0.065208-0.59410.277039
44-0.014374-0.1310.448065
45-0.047335-0.43120.333704
46-0.074007-0.67420.251018
47-0.016802-0.15310.439355
48-0.104558-0.95260.171788
490.0604990.55120.291497
500.0755240.68810.246667
51-0.035752-0.32570.372729
52-0.022639-0.20620.41855
53-0.05535-0.50430.307706
54-0.053189-0.48460.314627
55-0.026354-0.24010.405423
56-0.003988-0.03630.485551
570.0123380.11240.455388
580.0369920.3370.368478
590.0391230.35640.361214
60-0.060773-0.55370.290647
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229693415yqhpdflmo131xzh/14yda1229693288.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229693415yqhpdflmo131xzh/14yda1229693288.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229693415yqhpdflmo131xzh/2iliy1229693288.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/19/t1229693415yqhpdflmo131xzh/2iliy1229693288.ps (open in new window)


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