Home » date » 2010 » Dec » 07 »

ES-Model - Uitvoer

*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, 07 Dec 2010 08:23:30 +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/07/t1291710106m0ykuor1tp9b3k5.htm/, Retrieved Tue, 07 Dec 2010 09:21:46 +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/07/t1291710106m0ykuor1tp9b3k5.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 «
16198,9 16554,2 19554,2 15903,8 18003,8 18329,6 16260,7 14851,9 18174,1 18406,6 18466,5 16016,5 17428,5 17167,2 19630 17183,6 18344,7 19301,4 18147,5 16192,9 18374,4 20515,2 18957,2 16471,5 18746,8 19009,5 19211,2 20547,7 19325,8 20605,5 20056,9 16141,4 20359,8 19711,6 15638,6 14384,5 13855,6 14308,3 15290,6 14423,8 13779,7 15686,3 14733,8 12522,5 16189,4 16059,1 16007,1 15806,8 15160 15692,1 18908,9 16969,9 16997,5 19858,9 17681,2
 
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.622309773779561
beta0
gamma0.742362409692478


Interpolation Forecasts of Exponential Smoothing
tObservedFittedResiduals
1317428.516963.6914457071464.808554292926
1417167.216857.1546853132310.045314686755
151963019448.6780816240181.321918375961
1617183.617018.9123169632164.687683036809
1718344.718174.1949050714170.505094928558
1819301.419197.5977254580103.802274541973
1918147.517067.41156211271080.08843788728
2016192.916253.9861535563-61.086153556269
2118374.419509.4716431556-1135.0716431556
2220515.218979.12213234651536.07786765349
2318957.219927.4092360071-970.209236007075
2416471.516818.9427124953-347.44271249534
2518746.818025.9418125222720.858187477828
2619009.518035.3542559273974.145744072674
2719211.221004.0619847831-1792.86198478308
2820547.717341.07832470093206.62167529907
2919325.820391.0172709386-1065.21727093861
3020605.520626.7156467150-21.2156467150235
3120056.918692.46367823811364.4363217619
3216141.417736.0247513087-1594.62475130867
3320359.819736.0468811166623.753118883385
3419711.621049.1761940425-1337.57619404248
3515638.619506.4399253606-3867.83992536057
3614384.514769.3626656972-384.862665697196
3713855.616252.6084026105-2397.00840261047
3814308.314392.7595253442-84.4595253442058
3915290.615926.8648472283-636.264847228269
4014423.814385.413249494638.3867505053895
4113779.714265.9775041320-486.277504131951
4215686.315154.6760902448531.623909755175
4314733.813952.9748736252780.825126374813
4412522.511803.6784965886718.821503411446
4516189.415865.3763428862324.023657113756
4616059.116442.0576336315-382.957633631491
4716007.114783.94682261021223.15317738981
4815806.814191.61203416861615.18796583136
491516016355.3373157533-1195.33731575325
5015692.115891.6995537380-199.599553737955
5118908.917199.43526443591709.46473556411
5216969.917306.9149694926-337.014969492571
5316997.516806.7561130939190.743886906082
5419858.918402.17400696541456.72599303462
5517681.217846.0446498263-164.844649826282


Extrapolation Forecasts of Exponential Smoothing
tForecast95% Lower Bound95% Upper Bound
5615090.863964834212692.114042469017489.6138871993
5718594.537548973415769.232239392221419.8428585546
5818771.350197015315575.931758899721966.7686351308
5917801.883874361514274.980431261621328.7873174613
6016558.288809259312728.485054593720388.0925639249
6116928.843248838912818.399756762721039.2867409151
6217488.263548649013115.153144845721861.3739524523
6319455.481235610414834.610808282524076.3516629383
6417925.346154513013069.340346397222781.3519626288
6517782.889632934712702.619826048922863.1594398205
6619614.565636049114319.521706764324909.6095653339
6717697.240571271012195.800840131823198.6803024102
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/07/t1291710106m0ykuor1tp9b3k5/1qny21291710206.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/07/t1291710106m0ykuor1tp9b3k5/1qny21291710206.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/07/t1291710106m0ykuor1tp9b3k5/21wx51291710206.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/07/t1291710106m0ykuor1tp9b3k5/21wx51291710206.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/07/t1291710106m0ykuor1tp9b3k5/31wx51291710206.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/07/t1291710106m0ykuor1tp9b3k5/31wx51291710206.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