Home » date » 2010 » Dec » 28 »

Exponential Smoothing: Werkloosheid Belgie 2000 - 2010

*The author of this computation has been verified*
R Software Module: /rwasp_exponentialsmoothing.wasp (opens new window with default values)
Title produced by software: Exponential Smoothing
Date of computation: Tue, 28 Dec 2010 09:47:16 +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/28/t129352971909e74hoq751cuj9.htm/, Retrieved Tue, 28 Dec 2010 10:48:43 +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/28/t129352971909e74hoq751cuj9.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:
Data Paper Statistiek
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
464 460 467 460 448 443 436 431 484 510 513 503 471 471 476 475 470 461 455 456 517 525 523 519 509 512 519 517 510 509 501 507 569 580 578 565 547 555 562 561 555 544 537 543 594 611 613 611 594 595 591 589 584 573 567 569 621 629 628 612 595 597 593 590 580 574 573 573 620 626 620 588 566 557 561 549 532 526 511 499 555 565 542 527 510 514 517 508 493 490 469 478 528 534 518 506 502 516 528 533 536 537 524 536 587 597 581 564 558 575 580 575 563 552 537 545 601 604 586 564 549
 
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'George Udny Yule' @ 72.249.76.132


Estimated Parameters of Exponential Smoothing
ParameterValue
alpha0.536611617913518
beta0.166578889966966
gamma1


Interpolation Forecasts of Exponential Smoothing
tObservedFittedResiduals
13471463.0715811965817.92841880341877
14471467.7515528842053.24844711579470
15476474.6272367948171.37276320518305
16475475.035782381664-0.0357823816636937
17470471.64362085405-1.64362085404969
18461463.200087599295-2.20008759929476
19455455.052952691543-0.052952691543112
20456451.5949286431164.40507135688415
21517508.8395600156628.16043998433759
22525541.662145934044-16.6621459340436
23523536.133578501047-13.1335785010471
24519518.1994948302210.800505169779285
25509489.61309519428419.3869048057157
26512498.59908509824213.4009149017578
27519511.2869475455597.71305245444125
28517516.2452256872110.754774312789436
29510514.403062155734-4.40306215573378
30509505.845088770723.15491122927972
31501503.669307708342-2.66930770834210
32507502.7420844205534.25791557944746
33569563.5037612085285.49623879147248
34580585.011876546371-5.01187654637124
35578590.029141065672-12.0291410656716
36565581.902392373837-16.9023923738370
37547553.604492859586-6.604492859586
38555544.72139417986010.2786058201395
39562551.6710379807210.3289620192795
40561553.615427757317.38457224268984
41555552.3402042333032.65979576669702
42544551.105250362051-7.10525036205081
43537539.838465791353-2.83846579135343
44543541.1289381652331.87106183476715
45594600.06874267317-6.06874267317039
46611608.3529601087552.64703989124450
47613612.7643299012270.235670098773085
48611608.5931029135762.40689708642446
49594596.787031036753-2.78703103675298
50595599.475406005942-4.47540600594198
51591598.911923547078-7.91192354707778
52589588.4538402750720.54615972492843
53584579.4585595365324.54144046346835
54573573.015426832889-0.0154268328886928
55567566.4711663592320.528833640767857
56569570.992771866034-1.99277186603410
57621623.076464890373-2.07646489037290
58629636.795119478016-7.79511947801586
59628632.805641128437-4.80564112843717
60612624.804612392861-12.8046123928613
61595598.938635959318-3.93863595931759
62597596.6333072541310.366692745869045
63593593.915169523852-0.915169523852
64590588.5958908797091.40410912029097
65580579.4539405644580.546059435542247
66574565.9396789629678.06032103703274
67573561.88747724808211.1125227519179
68573569.7723018210453.22769817895528
69620623.937596823766-3.93759682376572
70626633.160244599522-7.16024459952166
71620630.106143626558-10.1061436265580
72588614.289777716373-26.2897777163729
73566582.826085556346-16.8260855563458
74557571.978445650377-14.9784456503767
75561555.438459166515.56154083349043
76549550.254857467324-1.25485746732409
77532534.636256526055-2.63625652605481
78526517.9596793327878.0403206672131
79511510.3726428041430.627357195856575
80499503.101562688043-4.10156268804326
81555543.48272056712811.5172794328715
82565554.35592389348910.6440761065107
83542555.932855417494-13.9328554174937
84527526.6637832705710.336216729428997
85510512.353382708619-2.35338270861905
86514509.9019351899934.09806481000726
87517514.5956282985042.40437170149607
88508505.7560109646642.24398903533626
89493492.884360690520.115639309479718
90490484.3874247913585.61257520864183
91469473.601079162435-4.60107916243538
92478462.40420094075215.5957990592484
93528523.4246611522044.57533884779582
94534532.3794580802911.62054191970924
95518519.130346449903-1.13034644990262
96506505.8925190879180.107480912082281
97502492.7417482997469.2582517002544
98516503.0774084618112.9225915381903
99528516.07705962675911.9229403732409
100533517.47719697697915.5228030230213
101536517.13812848883718.8618715111627
102537529.3168146249777.68318537502341
103524523.1627415530290.837258446970736
104536532.9833080907583.01669190924167
105587589.76266759015-2.76266759015039
106597600.370403048525-3.37040304852474
107581589.682047832455-8.68204783245471
108564578.804137022419-14.8041370224188
109558566.397709905406-8.39770990540592
110575571.8844846235543.11551537644561
111580581.209177648417-1.20917764841727
112575578.107606064073-3.10760606407325
113563568.530194661399-5.53019466139949
114552559.471044825142-7.47104482514192
115537537.68940729755-0.689407297549792
116545543.2409000858931.75909991410708
117601592.0951478979258.90485210207453
118604605.152945466706-1.15294546670555
119586589.862116780835-3.86211678083487
120564575.833544283051-11.8335442830514
121549565.35518379774-16.3551837977404


Extrapolation Forecasts of Exponential Smoothing
tForecast95% Lower Bound95% Upper Bound
122568.561024560532552.643901893686584.478147227378
123570.58543727255551.806768810062589.364105735038
124563.736654902548541.77531873324585.697991071856
125551.465644931159526.041459224428576.88983063789
126541.730451673823512.593637842211570.867265505435
127525.023975938094491.947653227259558.10029864893
128530.065227641141492.840161304098567.290293978185
129579.114742983349537.545644208624620.683841758075
130579.76540093894533.668274292965625.862527584915
131560.972891379286510.173091837153611.772690921419
132542.803169970987487.133947307406598.472392634567
133535.117591698618474.418975784733595.816207612502
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/28/t129352971909e74hoq751cuj9/1ar2m1293529633.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/28/t129352971909e74hoq751cuj9/1ar2m1293529633.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/28/t129352971909e74hoq751cuj9/230jp1293529633.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/28/t129352971909e74hoq751cuj9/230jp1293529633.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/28/t129352971909e74hoq751cuj9/330jp1293529633.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/28/t129352971909e74hoq751cuj9/330jp1293529633.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=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