Home » date » 2009 » Jun » 06 »

Exponential smoothing-omzetcijfers carefour droge voeding-Angelique Vigar

*Unverified author*
R Software Module: rwasp_exponentialsmoothing.wasp (opens new window with default values)
Title produced by software: Exponential Smoothing
Date of computation: Sat, 06 Jun 2009 05:17:34 -0600
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Jun/06/t1244287196ohmemb4qw55up74.htm/, Retrieved Sat, 06 Jun 2009 13:20:00 +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/2009/Jun/06/t1244287196ohmemb4qw55up74.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:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
831581 808744 899237 929532 883165 908232 955613 937590 849396 978630 868513 1156102 1505713 1415151 1545021 1681193 1457973 1638575 1688972 1563924 1596359 1722061 1549332 2264959 1420268 1415099 1597279 1605693 1575400 1654752 1553966 1570959 1642414 1664774 1551560 2304365 1644081 1425600 1569344 1456489 1610786 1601519 1496600 1486452 1637939 1605759 1504221 1993384 1507620 1477037 1679184 1504731 1570141 1734191 1657498 1652164 1610941 1813765 1711573 2165466 1492778 1385488 1470589 1514657 1641395 1606185 1581162 1517847 1630080 1604623 1548973 2125558
 
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'Gwilym Jenkins' @ 72.249.127.135


Estimated Parameters of Exponential Smoothing
ParameterValue
alpha0.570561730922535
beta0.0317962765371711
gamma1


Interpolation Forecasts of Exponential Smoothing
tObservedFittedResiduals
1315057131167726.14903846337986.850961538
1414151511277413.81662595137737.183374055
1515450211495210.6458979549810.3541020476
1616811931665166.3960219216026.6039780800
1714579731459501.18165776-1528.18165776460
1816385751632388.071209786186.92879022006
1916889721665078.607511323893.3924886987
2015639241675604.82540275-111680.825402748
2115963591537761.6651936258597.3348063775
2217220611709511.5143411412549.4856588582
2315493321618822.22579524-69490.2257952369
2422649591878657.7939676386301.206032401
2514202682606118.88249658-1185850.88249658
2614150991748078.10687168-332979.106871677
2715972791638713.39982424-41434.3998242447
2816056931719615.32194655-113922.321946545
2915754001407424.99918752167975.000812479
3016547521658569.63649736-3817.63649735716
3115539661671206.83851959-117240.838519592
3215709591518477.1421745152481.8578254941
3316424141525891.71588907116522.284110931
3416647741690436.30587636-25662.3058763589
3515515601521540.3015290030019.6984710027
3623043652014518.45271201289846.547287987
3716440811990685.82219720-346604.822197204
3814256001971849.78273390-546249.782733903
3915693441856239.61547470-286895.615474703
4014564891751746.75192061-295257.751920608
4116107861439646.20894040171139.791059598
4216015191601374.97468156144.025318435859
4314966001550188.91024660-53588.9102466037
4414864521490441.37032732-3989.37032732344
4516379391475891.92702859162047.072971410
4616057591588932.5088065816826.4911934154
4715042211452542.5839470151678.4160529862
4819933842054202.50385244-60818.503852441
4915076201535360.10774845-27740.1077484528
5014770371596888.51312674-119851.513126736
5116791841827844.71895860-148660.718958596
5215047311793043.43084426-288312.430844256
5315701411679731.63104864-109590.631048643
5417341911597298.35285094136892.647149056
5516574981592985.8149768764512.1850231325
5616521641615989.7151941036174.2848059025
5716109411690454.69205969-79513.6920596892
5818137651593720.51085287220044.489147129
5917115731582346.31724677129226.682753228
6021654662175449.25655232-9983.2565523237
6114927781696246.30475591-203468.304755910
6213854881611196.41682829-225708.416828286
6314705891760704.17413304-290115.174133042
6415146571573977.59322021-59320.5932202067
6516413951660979.05849022-19584.0584902212
6616061851730291.61965435-124106.619654351
6715811621535787.1486883845374.8513116229
6815178471525162.65604943-7315.65604942641
6916300801513804.12551696116275.874483040
7016046231649644.7213236-45021.7213236007
7115489731435447.48459165113525.515408353
7221255581946939.25114092178618.748859081


Extrapolation Forecasts of Exponential Smoothing
tForecast95% Lower Bound95% Upper Bound
731482806.45792731037968.422481311927644.49337329
741498539.26782313982340.8516783322014737.68396793
751747505.851742811164983.203384782330028.50010084
761829020.073735941183553.866249062474486.28122281
771971608.328387151265582.106160382677634.55061392
782012240.445326051247386.149128352777094.74152375
791968611.430680871146210.018353882791012.84300785
801915930.424428281036937.110234772794923.73862179
811968413.53930731033540.372091772903286.70652283
821973127.44312561982900.1387582622963354.74749296
831858004.13341973812802.5609127542903205.70592671
842335916.565542401236004.418360643435828.71272416
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/06/t1244287196ohmemb4qw55up74/1ti1j1244287052.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/06/t1244287196ohmemb4qw55up74/1ti1j1244287052.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/06/t1244287196ohmemb4qw55up74/2eekc1244287052.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/06/t1244287196ohmemb4qw55up74/2eekc1244287052.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/06/t1244287196ohmemb4qw55up74/38j3x1244287052.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/06/t1244287196ohmemb4qw55up74/38j3x1244287052.ps (open in new window)


 
Parameters (Session):
par1 = 12 ; par2 = Triple ; par3 = additive ;
 
Parameters (R input):
par1 = 12 ; par2 = Triple ; 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