Home » date » 2011 » May » 18 »

inschrijvingen Personenwagens

*Unverified author*
R Software Module: /rwasp_exponentialsmoothing.wasp (opens new window with default values)
Title produced by software: Exponential Smoothing
Date of computation: Wed, 18 May 2011 14:32:39 +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/May/18/t1305728919z606mmlb8vw5l6x.htm/, Retrieved Wed, 18 May 2011 16:28:42 +0200
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
KDGP2W101
 
Dataseries X:
» Textbox « » Textfile « » CSV «
112 118 132 129 121 135 41086 39690 43129 37863 35953 29133 24693 22205 21725 27192 21790 13253 37702 30364 32609 30212 29965 28352 25814 22414 20506 28806 22228 13971 36845 35338 35022 34777 26887 23970 22780 17351 21382 24561 17409 11514 31514 27071 29462 26105 22397 23843 21705 18089 20764 25316 17704 15548 28029 29383 36438 32034 22679 24319 18004 17537 20366 22782 19169 13807 29743 25591 29096 26482 22405 27044 17970 18730 19684 19785 18479 10698
 
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'Gwilym Jenkins' @ www.wessa.org


Estimated Parameters of Exponential Smoothing
ParameterValue
alpha0.434024876116231
beta0.0235454462485613
gamma1


Interpolation Forecasts of Exponential Smoothing
tObservedFittedResiduals
132469316499.68221414168193.31778585835
142220518809.20681644453395.79318355548
152172520908.6825934264816.31740657361
162719227978.7524046476-786.752404647617
172179023125.1738906074-1335.17389060741
181325314163.7331851727-910.733185172672
193770258248.0957497042-20546.0957497042
203036444327.9749576895-13963.9749576895
213260939154.9333721622-6545.93337216225
223021229932.0376240915279.962375908468
232996526948.55363995193016.44636004808
242835222167.85581746456184.14418253547
252581426061.6972848267-247.697284826732
262241421519.4052631722894.594736827818
272050620963.5963054745-457.596305474475
282880626174.14279558932631.85720441071
292222822345.4951637003-117.4951637003
301397113885.621233763685.3787662364448
313684546565.3194198647-9720.31941986469
323533839333.2064281112-3995.20642811118
333502243361.8976467778-8339.89764677778
343477736513.3933886801-1736.39338868012
352688733675.6054000075-6788.6054000075
362397025795.2146240836-1825.21462408355
372278022719.481636281460.5183637185874
381735119285.5767356151-1934.57673561512
392138216929.60170060824452.39829939185
402456125264.8105540579-703.810554057916
411740919205.1730698177-1796.17306981768
421151411487.774445140126.225554859886
433151433172.0540280012-1658.05402800116
442707132406.8249611713-5335.82496117131
452946232369.5114830342-2907.51148303417
462610531387.9854488681-5282.98544886815
472239724512.1655776422-2115.16557764221
482384321588.22721338712254.77278661292
492170521334.4070080031370.592991996942
501808917051.05245059981037.94754940016
512076419301.25170578971462.74829421032
522531623096.94003873912219.05996126091
531770417725.2942103492-21.294210349155
541554811678.49551086573869.5044891343
552802937352.037113629-9323.03711362901
562938330758.2593364618-1375.25933646177
573643834121.15160867042316.84839132958
583203433574.2292605012-1540.22926050121
592267929351.3992151774-6672.39921517738
602431926934.8187184-2615.81871839999
611800423272.0011869629-5268.0011869629
621753716978.8523824325558.147617567523
632036619068.95171432221297.04828567777
642278222896.8372777057-114.837277705727
651916915920.64861480973248.35138519032
661380713272.4498740578534.550125942218
672974327194.42322959752548.5767704025
682559130200.9438543089-4609.9438543089
692909633882.2225492444-4786.22254924438
702648228413.560639652-1931.56063965198
712240521567.4313915379837.568608462072
722704424494.73548680662549.26451319343
731797021001.2951992048-3031.29519920484
741873018902.4883985025-172.48839850253
751968421227.6183614609-1543.61836146091
761978523009.3864451343-3224.38644513427
771847916656.58738564871822.41261435128
781069812310.3773432403-1612.37734324029


Extrapolation Forecasts of Exponential Smoothing
tForecast95% Lower Bound95% Upper Bound
7923919.987952321715109.097871025132730.8780336182
8021923.77913593712413.875747961231433.6825239129
8126444.014758071415525.525239873737362.504276269
8224724.797477963113375.986027101936073.6089288244
8320520.89865909389349.6586701172531692.1386480704
8423634.057292048410870.807656358836397.3069277381
8516694.83142818325316.6452758865928073.0175804797
8617429.52781487375062.6717040791529796.3839256683
8718872.0453528685189.4741143517232554.6165913843
8820164.91218877275166.541405104835163.2829724406
8917973.97787651223440.1101895464532507.8455634779
9011018.77790049073414.4681698724418623.0876311089
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2011/May/18/t1305728919z606mmlb8vw5l6x/1aixg1305729156.png (open in new window)
http://www.freestatistics.org/blog/date/2011/May/18/t1305728919z606mmlb8vw5l6x/1aixg1305729156.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/May/18/t1305728919z606mmlb8vw5l6x/215xz1305729156.png (open in new window)
http://www.freestatistics.org/blog/date/2011/May/18/t1305728919z606mmlb8vw5l6x/215xz1305729156.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/May/18/t1305728919z606mmlb8vw5l6x/3wium1305729156.png (open in new window)
http://www.freestatistics.org/blog/date/2011/May/18/t1305728919z606mmlb8vw5l6x/3wium1305729156.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=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