Home » date » 2008 » May » 26 »

Gemiddelde consumptieprijs - broodje - Elisa Somers

R Software Module: rwasp_exponentialsmoothing.wasp (opens new window with default values)
Title produced by software: Exponential Smoothing
Date of computation: Mon, 26 May 2008 10:48:13 -0600
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/May/26/t1211820525j164k043yvz8tbt.htm/, Retrieved Mon, 26 May 2008 18:48:45 +0200
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
4.07 4.07 4.08 4.09 4.08 4.09 4.12 4.14 4.14 4.14 4.14 4.14 4.23 4.29 4.32 4.33 4.35 4.35 4.35 4.35 4.36 4.36 4.38 4.4 4.4 4.4 4.43 4.44 4.46 4.47 4.49 4.49 4.57 4.62 4.64 4.66 4.67 4.68 4.72 4.74 4.75 4.76 4.77 4.76 4.77 4.77 4.78 4.81 4.81 4.85 4.92 4.96 4.95 4.96 4.97 5 5 5.01 5.01 5.02 5.04 5.04 5.19 5.22 5.22 5.22 5.24 5.28 5.34 5.36 5.38 5.39 5.41 5.44 5.51 5.55 5.56 5.57 5.58 5.58 5.59 5.61 5.63 5.64 5.64
 
Text written by user:
Additief Double
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Estimated Parameters of Exponential Smoothing
ParameterValue
alpha1
beta0.0708297900210963
gamma0


Interpolation Forecasts of Exponential Smoothing
tObservedFittedResiduals
34.084.070.00999999999999979
44.094.080708297900210.00929170209978913
54.084.09136642720888-0.0113664272088769
64.094.080561345556380.00943865444361691
74.124.091229883468710.0287701165312946
84.144.12326766478150.0167323352184994
94.144.14445281257159-0.00445281257158836
104.144.14413742079214-0.00413742079213986
114.144.1438443681462-0.00384436814620326
124.144.14357207235764-0.00357207235764445
134.234.143319063222610.0866809367773884
144.294.239458655773390.0505413442266134
154.324.303038488572340.0169615114276587
164.334.3342398688652-0.004239868865203
174.354.343939559843760.00606044015623564
184.354.36436881954747-0.0143688195474656
194.354.36335107907607-0.0133510790760676
204.354.36240542494855-0.0124054249485548
214.364.36152675130433-0.00152675130432556
224.364.37141861183003-0.0114186118300257
234.384.370609833951770.00939016604822651
244.44.391274937441230.00872506255876804
254.44.41189293179019-0.0118929317901904
264.44.41105055792876-0.0110505579287556
274.434.410267849231050.0197321507689532
284.444.44166547332668-0.00166547332667477
294.464.451547508200660.00845249179933827
304.474.47214619641996-0.00214619641996450
314.494.481994181778190.00800581822180657
324.494.50256123220179-0.0125612322017918
334.574.501671522762530.0683284772374675
344.624.586511214457720.0334887855422767
354.644.638883218105740.00111678189425479
364.664.658962319532810.00103768046718677
374.674.67903581822241-0.00903581822241417
384.684.68839581311505-0.00839581311505189
394.724.697801139435060.0221988605649441
404.744.739373480067580.00062651993242202
414.754.75941785634284-0.00941785634283576
424.764.76875079155562-0.00875079155562375
434.774.77813097482722-0.00813097482722114
444.764.78755505958754-0.0275550595875416
454.774.77560334050294-0.00560334050293765
464.774.7852064570717-0.0152064570716979
474.784.78412938691034-0.00412938691034359
484.814.793836903302570.0161630966974302
494.814.82498173204774-0.0149817320477386
504.854.823920579112640.0260794208873554
514.924.865767779017970.0542322209820325
524.964.93960903584250.0203909641574969
534.954.98105332355211-0.031053323552106
544.964.96885382316545-0.00885382316545336
554.974.97822670872976-0.00822670872976072
5654.987644012677870.0123559873221337
5755.0185191846654-0.0185191846653971
585.015.01720747470419-0.00720747470418548
595.015.0266969707843-0.016696970784305
605.025.02551432784966-0.00551432784966455
615.045.035123749165960.00487625083403564
625.045.05546913298863-0.0154691329886303
635.195.054373457547240.135626542452763
645.225.213979857070450.00602014292954589
655.225.24440626253005-0.0244062625300501
665.225.24267757207985-0.0226775720798473
675.245.24107132441124-0.00107132441124236
685.285.260995442728150.0190045572718498
695.345.302341531529160.0376584684708403
705.365.36500887294346-0.0050088729434643
715.385.38465409552464-0.00465409552463747
725.395.40432444691589-0.0143244469158894
735.415.41330984934867-0.00330984934866763
745.445.43307541341430.00692458658569972
755.515.463565880428150.0464341195718507
765.555.536854799367240.0131452006327626
775.565.57778587116784-0.0177858711678409
785.575.58652610164768-0.0165261016476803
795.585.59535556133811-0.015355561338108
805.585.60426793015287-0.0242679301528739
815.595.6025490377559-0.0125490377558997
825.615.61166019204668-0.00166019204668189
835.635.63154260099262-0.0015426009926216
845.645.65143333888823-0.0114333388882271
855.645.66062351789553-0.0206235178955341


Extrapolation Forecasts of Exponential Smoothing
tForecast95% Lower Bound95% Upper Bound
865.65916275845355.60912318002525.70920233688179
875.678325516906995.605009825076335.75164120873766
885.697488275360495.604543034485275.79043351623571
895.716651033813995.605655696835895.82764637079209
905.735813792267485.607580583695895.86404700083908
915.754976550720985.609940987241635.90001211420034
925.774139309174485.612523203745985.93575541460298
935.793302067627985.615194705668285.97140942958767
945.812464826081475.617868219615066.00706143254788
955.831627584534975.620483770632586.04277139843735
965.850790342988475.622998839392266.07858184658467
975.869953101441965.625382579596556.11452362328737
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/26/t1211820525j164k043yvz8tbt/1mjhw1211820488.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/26/t1211820525j164k043yvz8tbt/1mjhw1211820488.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/26/t1211820525j164k043yvz8tbt/2u3s31211820488.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/26/t1211820525j164k043yvz8tbt/2u3s31211820488.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/26/t1211820525j164k043yvz8tbt/3evm51211820488.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/26/t1211820525j164k043yvz8tbt/3evm51211820488.ps (open in new window)


 
Parameters (Session):
par1 = 12 ; par2 = Double ; par3 = additive ;
 
Parameters (R input):
par1 = 12 ; par2 = Double ; par3 = additive ;
 
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=0, beta=0)
if (par2 == 'Double') fit <- HoltWinters(x, gamma=0)
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