Home » date » 2010 » Dec » 18 »

exponential smoothing faillissementen

*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: Sat, 18 Dec 2010 19:54:43 +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/18/t1292701968uiklwuhpr9kwk2m.htm/, Retrieved Sat, 18 Dec 2010 20:52:48 +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/18/t1292701968uiklwuhpr9kwk2m.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:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
46 62 66 59 58 61 41 27 58 70 49 59 44 36 72 45 56 54 53 35 61 52 47 51 52 63 74 45 51 64 36 30 55 64 39 40 63 45 59 55 40 64 27 28 45 57 45 69 60 56 58 50 51 53 37 22 55 70 62 58 39 49 58 47 42 62 39 40 72 70 54 65
 
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'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Estimated Parameters of Exponential Smoothing
ParameterValue
alpha0.0440224583015312
beta0
gamma0


Interpolation Forecasts of Exponential Smoothing
tObservedFittedResiduals
2624616
36646.704359332824519.2956406671755
45947.553800869496611.4461991305034
55848.05769069343029.94230930656983
66148.495375590299612.5046244097004
74149.0458598969519-8.04585989695192
82748.6916613651384-21.6916613651384
95847.736741107200710.2632588927993
107048.188554993846721.8114450061533
114949.1487484221263-0.148748422126253
125949.14220015091589.85779984908422
134449.5761647337169-5.57616473371694
143649.3306882542444-13.3306882542444
157248.743838586441223.2561614135588
164549.7676319825233-4.7676319825233
175649.55774910237566.44225089762438
185449.84135282388434.15864717611571
195350.02442669578562.97557330421438
203550.1554187474935-15.1554187474935
216149.488239957639811.5117600423602
225249.99501593408182.00498406591819
234750.0832802615189-3.08328026151892
245149.94754668477431.05245331522573
255249.99387826695812.00612173304189
266350.082192677298712.9178073227013
277450.650866311509623.3491336884904
284551.678752575688-6.67875257568802
295151.3847374689185-0.384737468918544
306451.36780037973612.6321996202640
313651.9239008607757-15.9239008607757
323051.2228915991345-21.2228915991345
335550.28860773867374.71139226132631
346450.496014808040113.5039851919599
353951.0904934330576-12.0904934330576
364050.5582401900559-10.5582401900559
376350.093440501551612.9065594984484
384550.6616189788883-5.66161897888831
395950.4123805934718.58761940652897
405550.79042871070444.20957128929562
414050.9757443872547-10.9757443872547
426450.492565137638513.5074348623615
432751.0871956256275-24.0871956256275
442850.0268180605975-22.0268180605975
454549.0571433810094-4.05714338100941
465748.87853795569568.12146204430441
474549.2360646798885-4.23606467988845
486949.049582699155519.9504173008445
496049.9278491128810.0721508871200
505650.3712499553155.62875004468498
515850.61904136944697.3809586305531
525050.9439693129858-0.943969312985757
535150.90241346326690.0975865367330826
545350.9067094625112.09329053748896
553750.9988612579106-13.9988612579106
562250.3825969719153-28.3825969719153
575549.133125280235.86687471976997
587049.391399527941420.6086004720586
596250.298640782875511.7013592171245
605850.81376338108267.18623661891737
613951.1301191829839-12.1301191829839
624950.5961215170583-1.59612151705834
635850.52585632412957.47414367587054
644750.8548865024401-3.85488650244013
654250.6851849221293-8.68518492212932
666250.302841731053811.6971582689462
673950.8177793931949-11.8177793931949
684050.2975316926413-10.2975316926413
697249.844209033093322.1557909669067
707050.819561417071419.1804385829286
715451.66393147479342.33606852520658
726551.766770954033813.2332290459662


Extrapolation Forecasts of Exponential Smoothing
tForecast95% Lower Bound95% Upper Bound
7352.349330227904527.829983417588576.8686770382205
7452.349330227904527.806235954465176.8924245013439
7552.349330227904527.782511446765776.9161490090433
7652.349330227904527.758809828049476.9398506277596
7752.349330227904527.735131032194976.963529423614
7852.349330227904527.711474993399176.98718546241
7952.349330227904527.687841646174077.010818809635
8052.349330227904527.664230925345477.0344295304636
8152.349330227904527.640642766050577.0580176897585
8252.349330227904527.617077103735677.0815833520734
8352.349330227904527.593533874154577.1051265816545
8452.349330227904527.570013013366177.1286474424429
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/18/t1292701968uiklwuhpr9kwk2m/1d2qb1292702078.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/18/t1292701968uiklwuhpr9kwk2m/1d2qb1292702078.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/18/t1292701968uiklwuhpr9kwk2m/25upe1292702078.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/18/t1292701968uiklwuhpr9kwk2m/25upe1292702078.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/18/t1292701968uiklwuhpr9kwk2m/35upe1292702078.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/18/t1292701968uiklwuhpr9kwk2m/35upe1292702078.ps (open in new window)


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