Home » date » 2010 » Jun » 03 »

Triple exponential smoothing gemiddelde prijs pilsbieren

*Unverified author*
R Software Module: /rwasp_exponentialsmoothing.wasp (opens new window with default values)
Title produced by software: Exponential Smoothing
Date of computation: Thu, 03 Jun 2010 12:04:55 +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/Jun/03/t1275566780mj1r5qmzqchoddb.htm/, Retrieved Thu, 03 Jun 2010 14:06:24 +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/2010/Jun/03/t1275566780mj1r5qmzqchoddb.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:
KDGP2W62
 
Dataseries X:
» Textbox « » Textfile « » CSV «
0,47 0,47 0,47 0,47 0,47 0,47 0,47 0,47 0,47 0,47 0,47 0,46 0,46 0,46 0,45 0,45 0,46 0,46 0,46 0,46 0,46 0,44 0,44 0,43 0,44 0,44 0,44 0,44 0,44 0,44 0,44 0,44 0,44 0,44 0,44 0,43 0,43 0,42 0,42 0,42 0,42 0,42 0,42 0,42 0,42 0,42 0,42 0,42 0,42 0,42 0,42 0,41 0,41 0,41 0,41 0,41 0,41 0,41 0,41 0,41 0,41 0,41 0,41 0,41 0,41 0,41 0,41 0,41 0,41 0,41 0,41 0,41
 
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


Estimated Parameters of Exponential Smoothing
ParameterValue
alpha0.731166173353888
beta0
gamma1


Interpolation Forecasts of Exponential Smoothing
tObservedFittedResiduals
130.460.466830516713388-0.00683051671338769
140.460.461427505600215-0.00142750560021521
150.450.449972241469992.77585300099692e-05
160.450.450404624744055-0.000404624744055115
170.460.461375566736432-0.00137556673643241
180.460.461642562585364-0.00164256258536388
190.460.4541468750940090.00585312490599121
200.460.4579908247943750.00200917520562460
210.460.4594351189137580.000564881086241864
220.440.460236399386104-0.0202363993861041
230.440.445377537437643-0.00537753743764258
240.430.431592291510087-0.00159229151008661
250.440.4282538417944430.0117461582055569
260.440.4377700755170250.00222992448297515
270.440.4297743882757880.0102256117242123
280.440.4375037725917210.00249622740827943
290.440.450043144789146-0.0100431447891458
300.440.443807166053091-0.00380716605309078
310.440.4368546144696460.00314538553035443
320.440.4376934890968540.00230651090314604
330.440.4389289984797390.00107100152026091
340.440.4345101319146430.00548986808535729
350.440.442425766086351-0.00242576608635148
360.430.431803936589844-0.00180393658984418
370.430.431837409477797-0.00183740947779731
380.420.428869689010611-0.00886968901061114
390.420.415112972282290.00488702771771032
400.420.4168874958303280.00311250416967246
410.420.426056944620637-0.00605694462063683
420.420.424236971520616-0.00423697152061631
430.420.4188797223171820.00112027768281830
440.420.4180300096710730.00196999032892742
450.420.4186647337426060.00133526625739361
460.420.4157420950061350.00425790499386514
470.420.420480813730523-0.000480813730522611
480.420.4117830379481390.00821696205186068
490.420.4190595054603760.000940494539623749
500.420.4162509578515640.0037490421484358
510.420.415413339090620.00458666090938031
520.410.416489742659472-0.00648974265947211
530.410.416045043366751-0.00604504336675132
540.410.414628009118193-0.00462800911819339
550.410.410415342127111-0.000415342127110863
560.410.4086738116636320.00132618833636827
570.410.4086594194658730.00134058053412711
580.410.4065639807533930.00343601924660725
590.410.4093858957913720.000614104208627952
600.410.4039112804136890.00608871958631058
610.410.4076596645728260.00234033542717355
620.410.4066612356821440.00333876431785562
630.410.4057942075558570.00420579244414276
640.410.4037017376234760.00629826237652359
650.410.412685999968824-0.00268599996882368
660.410.414103841193898-0.00410384119389845
670.410.411411052462003-0.00141105246200296
680.410.4094090966564360.000590903343563487
690.410.4088599880647250.00114001193527502
700.410.4071764963436240.00282350365637624
710.410.408790257229720.00120974277028024
720.410.4052076257377020.00479237426229845


Extrapolation Forecasts of Exponential Smoothing
tForecast95% Lower Bound95% Upper Bound
730.4069993132016950.3969881261708020.417010500232588
740.4045615778591240.3921724816276390.416950674090608
750.4015024369181960.3871459251733210.415858948663071
760.3969486802992990.3809156648395110.412981695759087
770.3988073819228210.3810892685206660.416525495324976
780.4016841292967610.3823690957234460.420999162870076
790.4026685086845830.3819247876008680.423412229768297
800.4022215173964030.380189041679570.424253993113235
810.4013792804699370.3781430676243790.424615493315496
820.3993280525347510.3750062060721740.423649898997329
830.3984331124943450.3730141269883990.42385209800029
840.394981904427651-7.66118020577148.4511440146267
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Jun/03/t1275566780mj1r5qmzqchoddb/16jm21275566693.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jun/03/t1275566780mj1r5qmzqchoddb/16jm21275566693.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Jun/03/t1275566780mj1r5qmzqchoddb/2zb3n1275566693.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jun/03/t1275566780mj1r5qmzqchoddb/2zb3n1275566693.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Jun/03/t1275566780mj1r5qmzqchoddb/3zb3n1275566693.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jun/03/t1275566780mj1r5qmzqchoddb/3zb3n1275566693.ps (open in new window)


 
Parameters (Session):
par1 = 12 ; par2 = Triple ; par3 = multiplicative ;
 
Parameters (R input):
par1 = 12 ; par2 = Triple ; par3 = multiplicative ;
 
R code (references can be found in the software module):
par1 <- as.numeric(par1)
if (par2 == 'Single') K <- 1
if (par2 == 'Double') K <- 2
if (par2 == 'Triple') K <- par1
nx <- length(x)
nxmK <- nx - K
x <- ts(x, frequency = par1)
if (par2 == 'Single') fit <- HoltWinters(x, gamma=F, beta=F)
if (par2 == 'Double') fit <- HoltWinters(x, gamma=F)
if (par2 == 'Triple') fit <- HoltWinters(x, seasonal=par3)
fit
myresid <- x - fit$fitted[,'xhat']
bitmap(file='test1.png')
op <- par(mfrow=c(2,1))
plot(fit,ylab='Observed (black) / Fitted (red)',main='Interpolation Fit of Exponential Smoothing')
plot(myresid,ylab='Residuals',main='Interpolation Prediction Errors')
par(op)
dev.off()
bitmap(file='test2.png')
p <- predict(fit, par1, prediction.interval=TRUE)
np <- length(p[,1])
plot(fit,p,ylab='Observed (black) / Fitted (red)',main='Extrapolation Fit of Exponential Smoothing')
dev.off()
bitmap(file='test3.png')
op <- par(mfrow = c(2,2))
acf(as.numeric(myresid),lag.max = nx/2,main='Residual ACF')
spectrum(myresid,main='Residals Periodogram')
cpgram(myresid,main='Residal Cumulative Periodogram')
qqnorm(myresid,main='Residual Normal QQ Plot')
qqline(myresid)
par(op)
dev.off()
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Estimated Parameters of Exponential Smoothing',2,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Parameter',header=TRUE)
a<-table.element(a,'Value',header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'alpha',header=TRUE)
a<-table.element(a,fit$alpha)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'beta',header=TRUE)
a<-table.element(a,fit$beta)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'gamma',header=TRUE)
a<-table.element(a,fit$gamma)
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,'Interpolation Forecasts of Exponential Smoothing',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'t',header=TRUE)
a<-table.element(a,'Observed',header=TRUE)
a<-table.element(a,'Fitted',header=TRUE)
a<-table.element(a,'Residuals',header=TRUE)
a<-table.row.end(a)
for (i in 1:nxmK) {
a<-table.row.start(a)
a<-table.element(a,i+K,header=TRUE)
a<-table.element(a,x[i+K])
a<-table.element(a,fit$fitted[i,'xhat'])
a<-table.element(a,myresid[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable1.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Extrapolation Forecasts of Exponential Smoothing',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'t',header=TRUE)
a<-table.element(a,'Forecast',header=TRUE)
a<-table.element(a,'95% Lower Bound',header=TRUE)
a<-table.element(a,'95% Upper Bound',header=TRUE)
a<-table.row.end(a)
for (i in 1:np) {
a<-table.row.start(a)
a<-table.element(a,nx+i,header=TRUE)
a<-table.element(a,p[i,'fit'])
a<-table.element(a,p[i,'lwr'])
a<-table.element(a,p[i,'upr'])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable2.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