Home » date » 2009 » Jun » 03 »

Robin Bosmans- Datareeks werkloosheid

*Unverified author*
R Software Module: rwasp_exponentialsmoothing.wasp (opens new window with default values)
Title produced by software: Exponential Smoothing
Date of computation: Wed, 03 Jun 2009 11:20:49 -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/03/t12440497091f94b41vyl1ft4m.htm/, Retrieved Wed, 03 Jun 2009 19:21:53 +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/03/t12440497091f94b41vyl1ft4m.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 «
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
 
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'George Udny Yule' @ 72.249.76.132


Estimated Parameters of Exponential Smoothing
ParameterValue
alpha0.562952218589531
beta0.0858271961966097
gamma1


Interpolation Forecasts of Exponential Smoothing
tObservedFittedResiduals
13476465.26919754111810.7308024588818
14475470.6103181364854.38968186351536
15470469.5149090973490.485090902650995
16461462.154835841513-1.15483584151264
17455455.688271059507-0.688271059506519
18456455.4880906720020.5119093279975
19517506.51866578333410.4813342166659
20525541.980873253753-16.9808732537530
21523536.173392747286-13.1733927472857
22519518.3192040464850.68079595351503
23509485.73864947190523.2613505280948
24512499.64135450028612.3586454997137
25519517.8392629628761.16073703712357
26517515.6349679629871.36503203701307
27510511.431449157141-1.43144915714072
28509502.2059513187386.7940486812617
29501500.867509169280.132490830719860
30507502.7554503746144.24454962538562
31569567.453719067461.54628093254007
32580588.368267814747-8.36826781474736
33578590.940298202399-12.9402982023992
34565580.166219772499-15.1662197724987
35547546.5239363737110.476063626289374
36555541.93034336879313.0696566312072
37562555.5500477804366.44995221956435
38561555.8906989589465.10930104105432
39555551.9314570449033.06854295509697
40544548.462736569939-4.46273656993912
41537536.8388765937120.161123406288198
42543540.3427850304062.65721496959407
43594606.580432142004-12.5804321420038
44611614.784867324054-3.78486732405418
45613617.154246372086-4.15424637208571
46611609.3930344927851.60696550721514
47594590.7918406666053.2081593333952
48595593.5589357124551.44106428754469
49591597.723180425056-6.72318042505606
50589588.9929080030140.00709199698576413
51584579.827643564264.17235643573997
52573572.282853760940.717146239059502
53567564.5023482647832.49765173521746
54569570.03951166734-1.03951166734009
55621629.440004697-8.44000469699927
56629644.140849730675-15.1408497306750
57628638.956021174525-10.9560211745252
58612628.337375525677-16.3373755256772
59595597.894877543472-2.89487754347158
60597594.0124226396472.98757736035293
61593593.114305172382-0.114305172381705
62590589.0212282297620.978771770238268
63580580.278248995199-0.278248995199078
64574566.7204127572227.27958724277778
65573561.70554645702911.2944535429713
66573569.3304941524713.66950584752942
67620627.152635579839-7.1526355798386
68626638.449907212287-12.4499072122871
69620635.533751599433-15.5337515994333
70588618.647754874405-30.6477548744048
71566584.401715489263-18.4017154892629
72557571.71987540367-14.7198754036706
73561556.284320463144.71567953685974
74549552.413903995036-3.41390399503587
75532537.988317669999-5.98831766999888
76526521.767138980954.23286101904966
77511513.800564988936-2.80056498893566
78499506.211878883097-7.21187888309674
79555541.81789992043613.1821000795644
80565556.523567868278.47643213173
81542560.404248347054-18.4042483470541
82527533.218076268099-6.21807626809903
83510516.741928476132-6.74192847613176
84514510.3271134913833.67288650861724
85517512.5807493861214.41925061387872
86508504.7809098283423.21909017165774
87493493.305087308172-0.305087308171608
88490484.9260023820295.07399761797126
89469474.965392741366-5.96539274136592
90478463.72057222333814.2794277766620
91528518.2126828764119.78731712358876
92534529.09241362054.90758637950012
93518520.117735768265-2.11773576826465
94506508.958853313268-2.95885331326770
95502495.760066304816.23993369518951
96516503.05177489134412.9482251086557
97528513.25406132606314.7459386739371


Extrapolation Forecasts of Exponential Smoothing
tForecast95% Lower Bound95% Upper Bound
98513.567323657776495.706964982874531.427682332679
99501.286574407515480.48396057643522.0891882386
100498.046386059857474.217344626514521.875427493201
101482.49717156837456.003689453227508.990653683512
102486.130049200579456.32092534526515.939173055897
103533.534687009506498.173975110009568.895398909003
104538.516658372643499.470365020603577.562951724683
105525.023239660407483.370200731166566.676278589647
106516.074263852053471.554149860144560.594377843962
107510.061725604094462.463442070661557.660009137526
108518.174265982155466.245980490147570.102551474164
109522.511828362385455.514249522678589.509407202092
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/03/t12440497091f94b41vyl1ft4m/1arv71244049647.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/03/t12440497091f94b41vyl1ft4m/1arv71244049647.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/03/t12440497091f94b41vyl1ft4m/2xc3m1244049647.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/03/t12440497091f94b41vyl1ft4m/2xc3m1244049647.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/03/t12440497091f94b41vyl1ft4m/3gmox1244049647.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/03/t12440497091f94b41vyl1ft4m/3gmox1244049647.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=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