Home » date » 2011 » Jan » 15 »

Faillissementen detailhandel Denemarken

*Unverified author*
R Software Module: /rwasp_exponentialsmoothing.wasp (opens new window with default values)
Title produced by software: Exponential Smoothing
Date of computation: Sat, 15 Jan 2011 11:38:00 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2011/Jan/15/t1295091457b62m4pirh0gvilr.htm/, Retrieved Sat, 15 Jan 2011 12:37:40 +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/2011/Jan/15/t1295091457b62m4pirh0gvilr.htm/},
    year = {2011},
}
@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 = {2011},
    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:
KDGP2W102 - PAUWELS
 
Dataseries X:
» Textbox « » Textfile « » CSV «
12 13 23 24 21 20 18 13 12 25 21 17 10 15 23 12 10 21 9 13 17 14 20 12 13 14 23 14 21 21 21 7 15 28 28 18 22 30 1 26 29 24 26 19 19 41 36 54 49 33 50 43 51 46 45 23 56 41 48 43
 
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' @ www.wessa.org


Estimated Parameters of Exponential Smoothing
ParameterValue
alpha0.292518976579315
beta0.00735790797960356
gammaFALSE


Interpolation Forecasts of Exponential Smoothing
tObservedFittedResiduals
323149
42417.65204173862156.34795826137854
52120.54197382849610.458026171503942
62021.7099748337406-1.70997483374061
71822.2401139774867-4.24011397748669
81322.0210132934853-9.02101329348529
91220.3839926575377-8.38399265753772
102518.91526754634386.08473245365623
112121.6920154353636-0.692015435363558
121722.4849465233526-5.48494652335261
131021.8640489122671-11.8640489122671
141519.3516074776318-4.35160747763176
152319.02733163770233.97266836229768
161221.1466149314395-9.14661493143955
171019.4085723898511-9.4085723898511
182117.57365198953623.42634801046384
19919.500563992972-10.500563992972
201317.3309892953794-4.33098929537942
211716.95681056597560.0431894340244128
221417.8622550796877-3.86225507968769
232017.61697012252282.38302987747725
241219.2036785907176-7.20367859071762
251317.970588231973-4.97058823197304
261417.3800208447811-3.38002084478114
272317.24744968933985.75255031066017
281419.798710275274-5.79871027527405
292118.95852721159072.04147278840928
302120.41614039234620.583859607653775
312121.4486307144321-0.448630714432056
32722.1781324238542-15.1781324238542
331518.5663070526812-3.56630705268125
342818.34348509380279.6565149061973
352822.00937346645935.99062653354065
361824.6158137155926-6.6158137155926
372223.5203915655439-1.52039156554388
383023.91220470716746.08779529283257
39126.542659812741-25.542659812741
402619.86563038754216.13436961245795
412922.46793636458756.53206363541253
422425.200634531798-1.20063453179804
432625.66878758596470.331212414035292
441926.58574781866-7.58574781865996
451925.170519931222-6.17051993122204
464124.155992075998816.8440079240012
473629.90990418047696.09009581952312
485432.5312008039321.46879919607
494939.69726789165969.30273210834043
503343.3245520140049-10.3245520140049
515041.18826125243718.8117387475629
524344.6686644294642-1.66866442946421
535145.07975928231525.92024071768476
544647.7234952003259-1.72349520032594
554548.1275837838765-3.1275837838765
562348.1142182266906-25.1142182266906
575641.615290836015814.3847091639842
584146.7015098698039-5.70150986980394
594845.89985715078762.10014284921237
604347.3848560964186-4.38485609641863


Extrapolation Forecasts of Exponential Smoothing
tForecast95% Lower Bound95% Upper Bound
6146.963432140066430.058068277123863.8687960030091
6247.824661801486230.200617860569665.4487057424028
6348.68589146290630.361417100059567.0103658257524
6449.547121124325730.538378853116968.5558633955345
6550.408350785745530.729749746235370.0869518252557
6651.269580447165330.934040696361771.6051201979688
6752.13081010858531.14997492856673.111645288604
6852.992039770004831.376448396622874.6076311433868
6953.853269431424531.612499176525576.0940396863236
7054.714499092844331.857283469618677.57171471607
7155.575728754264132.110056553530179.041400954998
7256.436958415683832.370157490899980.5037593404677
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2011/Jan/15/t1295091457b62m4pirh0gvilr/1ac5w1295091479.png (open in new window)
http://www.freestatistics.org/blog/date/2011/Jan/15/t1295091457b62m4pirh0gvilr/1ac5w1295091479.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/Jan/15/t1295091457b62m4pirh0gvilr/2xka81295091479.png (open in new window)
http://www.freestatistics.org/blog/date/2011/Jan/15/t1295091457b62m4pirh0gvilr/2xka81295091479.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/Jan/15/t1295091457b62m4pirh0gvilr/3aj4s1295091479.png (open in new window)
http://www.freestatistics.org/blog/date/2011/Jan/15/t1295091457b62m4pirh0gvilr/3aj4s1295091479.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=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