Home » date » 2010 » May » 31 »

Inschrijving nieuwe personenwagens

*Unverified author*
R Software Module: /rwasp_exponentialsmoothing.wasp (opens new window with default values)
Title produced by software: Exponential Smoothing
Date of computation: Mon, 31 May 2010 13:20:15 +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/May/31/t1275312074xjfbfqpnbgfq97v.htm/, Retrieved Mon, 31 May 2010 15:21:15 +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/2010/May/31/t1275312074xjfbfqpnbgfq97v.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:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
KDGP2W61
 
Dataseries X:
» Textbox « » Textfile « » CSV «
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 time2 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk


Estimated Parameters of Exponential Smoothing
ParameterValue
alpha0.594274923316697
beta0.0241142539120687
gammaFALSE


Interpolation Forecasts of Exponential Smoothing
tObservedFittedResiduals
343129382944835
43786339840.6072043033-1977.60720430332
53595337310.3126917716-1357.31269177163
62913335129.1926884729-5996.19268847293
72469330105.3742131567-5412.3742131567
82220525350.9424083429-3145.94240834294
92172521898.3112741975-173.311274197535
102719220209.75664275526982.24335724478
112179022873.6277044578-1083.62770445777
121325320728.624936573-7475.62493657304
133770214677.889087532823024.1109124672
143036427082.32835977663281.67164022343
153260927801.35903103114807.64096896892
163021229496.130889681715.86911031901
172996528769.52410050661195.47589949338
182835228345.06736225836.93263774165825
192581427214.3885164141-1400.38851641414
202241425227.3057370168-2813.30573701676
212050622360.2456169722-1854.24561697216
222880620036.55861609478769.44138390525
232222824151.9328411376-1923.9328411376
241397121884.9320059533-7913.93200595332
253684515944.81430235420900.185697646
263533827427.71422328257910.28577671746
273502231304.40068661193717.5993133881
283477732742.75376701172034.24623298828
292688733209.8840829492-6322.88408294923
302397028619.9713536822-4649.97135368221
312278024957.5923105977-2177.59231059771
321735122733.2801549965-5382.28015499649
332138218527.37163005622854.62836994377
342456119257.35952870445303.64047129559
351740921518.7377067364-4109.73770673639
361151418127.0867084789-6613.08670847889
373151413152.98935894418361.010641056
382707123283.49419349753787.50580650251
392946224807.60739834524654.39260165482
402610526913.5894433026-808.58944330256
412239725761.4707643106-3364.47076431058
422384323042.2413731128800.758626887156
432170522809.778627581-1104.77862758102
441808921429.0708501338-3340.0708501338
452076418672.12008526362091.87991473636
462531619173.21912222256142.78087777753
471770422169.6961175769-4465.69611757692
481554818797.8256178986-3249.82561789859
492802916101.944851879811927.0551481202
502938322596.22436006986786.77563993018
513643826133.022521541710304.9774784583
523203431908.2752534173125.724746582709
532267931636.0550466638-8957.05504666383
542431925837.8075297254-1518.80752972539
551800424438.1587196976-6434.15871969757
561753720025.2352698406-2488.23526984057
572036617921.61752899792444.38247100207
582278218784.36003203243997.63996796756
591916920627.4526801144-1458.45268011441
601380719207.2259372748-5400.22593727484
612974315367.114275981214375.8857240188
622559123485.46343424012105.53656575987
632909624342.02517156964753.9748284304
642648226840.6141734947-358.614173494661
652240526295.7806192307-3890.78061923066
662704423596.11230364973447.88769635033
671797025307.0404807582-7337.0404807582
681873020503.6128602842-1773.61286028416
691968418980.9740096459703.025990354101
701978518940.2142334738844.78576652619
711847918995.804936797-516.804936797049
721069818234.8303580307-7536.83035803075


Extrapolation Forecasts of Exponential Smoothing
tForecast95% Lower Bound95% Upper Bound
7313194.0241901083447.14858639821125940.8997938184
7412632.1673052555-2289.8490200066327554.1836305177
7512070.3104204028-4832.8815609743728973.5024017799
7611508.45353555-7245.3076196792630262.2146907793
7710946.5966506972-9564.1391260342231457.3324274287
7810384.7397658445-11813.116189923732582.5957216126
799822.88288099172-14008.480366313833654.2461282973
809261.02599613895-16161.8812657434683.9332580179
818699.16911128618-18281.98288901735680.3211115893
828137.31222643342-20375.415791845536650.0402447123
837575.45534158065-22447.373255271637598.2839384329
847013.59845672789-24502.001378362538529.1982918183
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/May/31/t1275312074xjfbfqpnbgfq97v/1d0kg1275312011.png (open in new window)
http://www.freestatistics.org/blog/date/2010/May/31/t1275312074xjfbfqpnbgfq97v/1d0kg1275312011.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/May/31/t1275312074xjfbfqpnbgfq97v/2o9jj1275312011.png (open in new window)
http://www.freestatistics.org/blog/date/2010/May/31/t1275312074xjfbfqpnbgfq97v/2o9jj1275312011.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/May/31/t1275312074xjfbfqpnbgfq97v/3o9jj1275312011.png (open in new window)
http://www.freestatistics.org/blog/date/2010/May/31/t1275312074xjfbfqpnbgfq97v/3o9jj1275312011.ps (open in new window)


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