Home » date » 2009 » Dec » 08 »

Autocorrelation Gemiddelde consumptieprijs cola-limonade

*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, 08 Dec 2009 13:41:48 -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/08/t1260305012lvjnc0qtybpjhcb.htm/, Retrieved Tue, 08 Dec 2009 21:43:34 +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/08/t1260305012lvjnc0qtybpjhcb.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:
KDGP2W21
 
Dataseries X:
» Textbox « » Textfile « » CSV «
1.14 1.15 1.15 1.14 1.14 1.14 1.15 1.14 1.14 1.15 1.15 1.14 1.15 1.17 1.17 1.17 1.17 1.17 1.17 1.17 1.17 1.17 1.17 1.17 1.17 1.18 1.19 1.19 1.19 1.19 1.18 1.19 1.19 1.2 1.21 1.21 1.2 1.21 1.21 1.21 1.21 1.21 1.21 1.2 1.21 1.22 1.22 1.23 1.22 1.23 1.23 1.23 1.23 1.23 1.22 1.22 1.23 1.24 1.24 1.25 1.25 1.25 1.26 1.26 1.26 1.26 1.27 1.27 1.29 1.31 1.32 1.32 1.33 1.33 1.32 1.32 1.31 1.3 1.31 1.29 1.3 1.3 1.32 1.31 1.35 1.35 1.36 1.37 1.37 1.37 1.32 1.32 1.31 1.31 1.34 1.31 1.26 1.27 1.24 1.25 1.27 1.25 1.26 1.27 1.26 1.26 1.28 1.27 1.28 1.27 1.26 1.27 1.27 1.28 1.27 1.26 1.3 1.31 1.28 1.29 1.31 1.29 1.29 1.32 1.3 1.29 1.31 1.29 1.33 1.35 1.32 1.33
 
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.95646810.9890
20.92521410.62990
30.89577610.29170
40.8532199.80270
50.8268199.49940
60.7983829.17270
70.7649238.78830
80.7336078.42850
90.7018128.06320
100.6736147.73920
110.6534077.50710
120.6280887.21620
130.6035936.93480
140.5821726.68860
150.5563316.39180
160.5328726.12220
170.5136845.90180
180.4886045.61360
190.4654295.34740
200.4407395.06371e-06
210.4135164.75093e-06
220.3954964.54396e-06
230.3702224.25352e-05
240.3406163.91347.3e-05
250.3174853.64760.00019
260.2919273.3540.00052
270.2705063.10790.001154
280.2590242.9760.001737
290.2455492.82110.002762
300.2268562.60640.005101
310.2191662.5180.006498
320.207252.38110.009344
330.1958132.24970.013061
340.1968482.26160.012678
350.1920542.20650.014538
360.1818482.08930.019301
370.1642541.88710.030669
380.142781.64040.05165
390.127091.46020.073312
400.1135441.30450.097163
410.098591.13270.129695
420.0848050.97430.165837
430.0602740.69250.24492
440.0353990.40670.342444
450.0065810.07560.469924
46-0.019119-0.21970.413237
47-0.038538-0.44280.329329
48-0.062289-0.71560.237737


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.95646810.9890
20.1219091.40060.081835
30.0252450.290.386121
4-0.163121-1.87410.031562
50.1321961.51880.0656
6-0.001315-0.01510.493986
7-0.051611-0.5930.27711
8-0.052835-0.6070.272436
90.0039440.04530.481963
100.0404020.46420.321641
110.0803770.92350.178725
12-0.057981-0.66610.253239
13-0.023712-0.27240.39286
140.0156060.17930.428991
15-0.016912-0.19430.423118
16-0.016578-0.19050.42462
170.0223430.25670.398903
18-0.054484-0.6260.266206
19-0.010455-0.12010.452285
20-0.035642-0.40950.341422
21-0.019999-0.22980.409313
220.0656240.7540.226108
23-0.07423-0.85280.197646
24-0.088091-1.01210.156674
250.0142290.16350.435195
260.0256480.29470.384353
270.0311820.35830.360363
280.0651820.74890.227631
290.0083540.0960.461841
30-0.08114-0.93220.17646
310.1017351.16880.122286
320.0035830.04120.483613
33-0.021652-0.24880.401968
340.0855320.98270.163779
350.0087730.10080.459934
36-0.092433-1.0620.145092
37-0.142388-1.63590.05212
38-0.029017-0.33340.36969
390.0409030.46990.319585
400.0338230.38860.349101
41-0.032546-0.37390.354532
42-0.038985-0.44790.327477
43-0.107419-1.23420.109669
44-0.020208-0.23220.408383
45-0.129142-1.48370.070133
460.010290.11820.453034
470.0437610.50280.307978
48-0.043272-0.49720.309952
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/08/t1260305012lvjnc0qtybpjhcb/181v51260304907.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/08/t1260305012lvjnc0qtybpjhcb/181v51260304907.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/08/t1260305012lvjnc0qtybpjhcb/2mew81260304907.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/08/t1260305012lvjnc0qtybpjhcb/2mew81260304907.ps (open in new window)


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