Home » date » 2010 » Dec » 19 »

ES faillissemten

*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: Sun, 19 Dec 2010 20:22:31 +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/19/t12927901002sgovgux0fpje4o.htm/, Retrieved Sun, 19 Dec 2010 21:21:41 +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/19/t12927901002sgovgux0fpje4o.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'RServer@AstonUniversity' @ vre.aston.ac.uk


Estimated Parameters of Exponential Smoothing
ParameterValue
alpha0.00799336056445855
beta1
gamma0.270233270298647


Interpolation Forecasts of Exponential Smoothing
tObservedFittedResiduals
134447.1768162393162-3.17681623931624
143638.0837799467711-2.08377994677107
157273.3578242829707-1.35782428297071
164546.7101511988013-1.71015119880129
175658.2543253167386-2.25432531673864
185456.3594633529885-2.35946335298853
195339.278234275019913.7217657249801
203526.35189794707868.6481020529214
216158.12080006059762.87919993940236
225270.366603742715-18.3666037427151
234749.6291045027929-2.62910450279289
245159.7047187217592-8.70471872175918
255243.22723578714568.7727642128544
266334.479213567512728.5207864324873
277470.39361686125953.60638313874053
284543.93197214049781.06802785950217
295155.6154788027958-4.61547880279583
306453.917689100757910.0823108992421
313641.5904402126777-5.59044021267772
323027.33883387637192.66116612362814
335557.6547491391568-2.65474913915676
346464.258009503665-0.25800950366505
353948.1259311418164-9.12593114181636
364056.71084366957-16.71084366957
376344.980552919329918.0194470806701
384541.80021359595263.19978640404735
395970.8307886969427-11.8307886969427
405543.439344662641911.5606553373581
414053.6410588108799-13.6410588108799
426455.69699511201998.30300488798012
432739.0256436623309-12.0256436623309
442826.75475861516051.24524138483948
454555.4431091661056-10.4431091661056
465762.3731685421579-5.37316854215789
474543.52861596491661.47138403508336
486949.955298265979519.0447017340205
496047.897254941831412.1027450581686
505640.725753456493915.2742465435061
515865.9489512508591-7.94895125085908
525045.01558580513114.98441419486888
535148.51269375128442.48730624871565
545356.812949246775-3.81294924677496
553734.73112159940652.26887840059351
562226.3822645163909-4.38226451639095
575552.09751428032652.90248571967355
587060.80525657069789.19474342930218
596244.340329804143517.6596701958565
605856.16508333957421.83491666042578
613952.5286963972783-13.5286963972783
624946.21779967991592.78220032008407
635865.2310652813551-7.23106528135507
644747.8917032636376-0.891703263637588
654250.7466401113247-8.74664011132474
666257.25257853899724.74742146100277
673936.92238769702052.0776123029795
684026.840315428538613.1596845714614
697254.840156563174717.1598434368253
707065.65413885616044.34586114383961
715451.68640450541462.31359549458541
726559.2903636193935.70963638060702


Extrapolation Forecasts of Exponential Smoothing
tForecast95% Lower Bound95% Upper Bound
7351.741412430345233.079435682006270.4033891786842
7450.194346071982931.529984706287168.8587074376786
7566.762021637280948.09229599614885.4317472784138
7651.498610924871332.819352597782770.1778692519598
7752.580842882274433.886699464857971.274986299691
7863.169873097886644.454315948431281.8854302473421
7942.443862768613423.699198459062261.1885270781646
8035.657215492916916.87460160087654.4398293849578
8164.860237340912146.029703159679283.690771522145
8272.200840221775653.311312874753491.0903675687978
8357.717704468757638.757040802516476.6783681349988
8466.259196904013847.21422140183285.3041724061955
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/19/t12927901002sgovgux0fpje4o/1gvms1292790147.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t12927901002sgovgux0fpje4o/1gvms1292790147.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/19/t12927901002sgovgux0fpje4o/2943d1292790147.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t12927901002sgovgux0fpje4o/2943d1292790147.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/19/t12927901002sgovgux0fpje4o/3943d1292790147.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/19/t12927901002sgovgux0fpje4o/3943d1292790147.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=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