Home » date » 2010 » Dec » 29 »

Autocorrelation consumptieprijs van rundsvlees in Denemarken

*Unverified author*
R Software Module: /rwasp_autocorrelation.wasp (opens new window with default values)
Title produced by software: (Partial) Autocorrelation Function
Date of computation: Wed, 29 Dec 2010 10:16:21 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Dec/29/t1293617681wq4z30q8z61qmam.htm/, Retrieved Wed, 29 Dec 2010 11:14:42 +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/2010/Dec/29/t1293617681wq4z30q8z61qmam.htm/},
    year = {2010},
}
@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 = {2010},
    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 «
98.4 96.5 97.4 99.2 100.8 101.8 102.7 100 100.8 101.7 99 101.7 100.2 101.2 99.5 100.8 100.7 99.5 99.4 101.1 97.2 98.1 97.8 95.5 96.3 93.6 96.7 95.1 97.7 96.5 98.1 97.3 97 93.7 95.6 94.6 95.1 94.5 93.6 92.1 95.9 98.1 98.2 96.2 94.1 95 93.4 95.4 93.5 94.5 94.3 95.7 98.4 99.4 99.2 99 99.4 99.3 98.6 98.7 96 98.7 100.1 100 101.5 101.5 103.8 104.1 101 104.9 104.4 105.6 103.4 101.7 103.5 101.2 105.4 105.4 108.6 110.6 110.2 106.2 108.6 107.5 106.9 108.4 109.9 108.6 106.5 105.7 105.6 104.2 105.1 102.7 108.3 104.2 105.4 104.6 106.4 111 111.7 113.8 115.9 117.3 113.6 113.6 114.6 113.2 112.8 109.6 111.1 109.7 113 111 113.3 111.8 107.2 106.4 110 108.2
 
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'RServer@AstonUniversity' @ vre.aston.ac.uk


Autocorrelation Function
Time lag kACF(k)T-STATP-value
10.93930610.28960
20.9088319.95570
30.865249.47820
40.8378229.17790
50.8035088.8020
60.7726678.46410
70.7514868.23210
80.7235397.9260
90.7006357.67510
100.6781827.42910
110.6602657.23280
120.6445177.06030
130.6185066.77540
140.5826866.3830
150.5572456.10430
160.5282375.78650
170.4864585.32890
180.454894.98311e-06
190.4305114.7163e-06
200.4204784.60615e-06
210.4052054.43881e-05
220.390314.27561.9e-05
230.3849864.21732.4e-05
240.3650343.99885.5e-05
250.3402643.72740.000148
260.2991563.27710.000686
270.2730472.99110.001687
280.2429022.66090.00443
290.2168292.37520.009561
300.1864192.04210.021666
310.1611231.7650.040052
320.1466121.60610.055445
330.1233071.35080.089657
340.0966991.05930.145799
350.0790620.86610.194087
360.0581280.63680.262748
370.0221730.24290.404252
38-0.014655-0.16050.436363
39-0.054019-0.59170.277566
40-0.092397-1.01220.156749
41-0.121212-1.32780.09338
42-0.143135-1.5680.059762
43-0.157892-1.72960.043135
44-0.17502-1.91720.028792
45-0.185326-2.03010.022277
46-0.202414-2.21730.014242
47-0.211645-2.31850.011059
48-0.220271-2.41290.008669


Partial Autocorrelation Function
Time lag kPACF(k)T-STATP-value
10.93930610.28960
20.2254442.46960.007466
3-0.069242-0.75850.224816
40.0825570.90440.183807
5-0.015569-0.17050.432434
6-0.016414-0.17980.428803
70.0930861.01970.154961
8-0.037321-0.40880.341697
90.0030030.03290.486908
100.0313480.34340.365948
110.020040.21950.413307
120.0353020.38670.349827
13-0.081599-0.89390.18659
14-0.146653-1.60650.055396
150.0507890.55640.289497
16-0.017031-0.18660.426157
17-0.170781-1.87080.031904
180.0402190.44060.330156
190.0687480.75310.226433
200.1079471.18250.119673
210.0376110.4120.340533
22-0.046441-0.50870.305934
230.0817030.8950.186285
24-0.08954-0.98090.164317
25-0.129912-1.42310.078649
26-0.140769-1.5420.062848
270.015190.16640.434062
28-0.00989-0.10830.456952
290.0436370.4780.316753
30-0.021269-0.2330.408083
31-0.035093-0.38440.350672
320.0861010.94320.173741
33-0.05905-0.64690.259479
34-0.131049-1.43560.076863
350.0161370.17680.429993
36-0.069423-0.76050.224228
37-0.127758-1.39950.082119
38-0.014677-0.16080.43627
39-0.081147-0.88890.187912
40-0.039048-0.42780.334798
410.1437351.57450.058998
420.0774610.84850.198913
43-0.002128-0.02330.490722
44-0.060414-0.66180.254682
45-0.023629-0.25880.398102
46-0.009183-0.10060.460021
47-0.004543-0.04980.480195
48-0.042576-0.46640.32089
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/29/t1293617681wq4z30q8z61qmam/1e5et1293617777.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/29/t1293617681wq4z30q8z61qmam/1e5et1293617777.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/29/t1293617681wq4z30q8z61qmam/27xde1293617777.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/29/t1293617681wq4z30q8z61qmam/27xde1293617777.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/29/t1293617681wq4z30q8z61qmam/37xde1293617777.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/29/t1293617681wq4z30q8z61qmam/37xde1293617777.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 (par8 != '') par8 <- as.numeric(par8)
ox <- x
if (par8 == '') {
if (par2 == 0) {
x <- log(x)
} else {
x <- (x ^ par2 - 1) / par2
}
} else {
x <- log(x,base=par8)
}
if (par3 > 0) x <- diff(x,lag=1,difference=par3)
if (par4 > 0) x <- diff(x,lag=par5,difference=par4)
bitmap(file='picts.png')
op <- par(mfrow=c(2,1))
plot(ox,type='l',main='Original Time Series',xlab='time',ylab='value')
if (par8=='') {
mytitle <- paste('Working Time Series (lambda=',par2,', d=',par3,', D=',par4,')',sep='')
mysub <- paste('(lambda=',par2,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep='')
} else {
mytitle <- paste('Working Time Series (base=',par8,', d=',par3,', D=',par4,')',sep='')
mysub <- paste('(base=',par8,', d=',par3,', D=',par4,', CI=', par7, ', CI type=',par6,')',sep='')
}
plot(x,type='l', main=mytitle,xlab='time',ylab='value')
par(op)
dev.off()
bitmap(file='pic1.png')
racf <- acf(x, par1, main='Autocorrelation', xlab='time lag', ylab='ACF', ci.type=par6, ci=par7, sub=mysub)
dev.off()
bitmap(file='pic2.png')
rpacf <- pacf(x,par1,main='Partial Autocorrelation',xlab='lags',ylab='PACF',sub=mysub)
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