Home » date » 2009 » Jun » 02 »

Exponential Smoothing Prijs kleurentelevisie - Tjitse Voortman

*Unverified author*
R Software Module: rwasp_exponentialsmoothing.wasp (opens new window with default values)
Title produced by software: Exponential Smoothing
Date of computation: Tue, 02 Jun 2009 11:46:39 -0600
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Jun/02/t1243964910yjzeacjoq5mez1s.htm/, Retrieved Tue, 02 Jun 2009 19:48:30 +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/2009/Jun/02/t1243964910yjzeacjoq5mez1s.htm/},
    year = {2009},
}
@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 = {2009},
    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 «
666.27 664.45 660.76 660.40 660.69 660.69 662.23 661.41 659.02 655.43 652.59 652.59 648.20 645.84 644.67 642.71 640.14 640.14 639.64 630.28 614.57 614.70 615.08 615.08 614.43 604.55 598.98 594.05 593.05 593.05 593.34 584.72 580.70 577.08 569.92 569.92 568.86 559.38 548.22 545.61 545.33 530.30 527.76 521.41 1601.93 1577.49 1551.43 1551.43 1516.88 1485.95 1438.22 1385.06 1329.49 1329.49 1276.16 1242.34 1181.59 1160.21 1135.18 1135.18 1084.96 1077.35 1061.13 1029.98 1013.08 1013.08 996.04 975.02 951.89 944.40 932.47 932.47 920.44 900.18 886.90
 
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.987057390298826
beta0
gamma0


Interpolation Forecasts of Exponential Smoothing
tObservedFittedResiduals
2664.45666.27-1.81999999999994
3660.76664.473555549656-3.71355554965623
4660.4660.808063100083-0.408063100082813
5660.69660.4052814014380.284718598562222
6660.69660.6863149983040.00368500169588515
7662.23660.6899523064611.54004769353867
8661.41662.210067763781-0.800067763781385
9659.02661.420354964801-2.40035496480107
10655.43659.051066857454-3.62106685745368
11652.59655.476866055038-2.88686605503779
12652.59652.62736358061-0.0373635806099628
13648.2652.590483582241-4.3904835822409
14645.84648.256824315404-2.41682431540437
15644.67645.87128001383-1.20128001383068
16642.71644.685547698361-1.97554769836074
17640.14642.735568742806-2.59556874280599
18640.14640.173593433191-0.0335934331907310
19639.64640.140434786694-0.500434786694314
20630.28639.646476932125-9.36647693212512
21614.57630.401226655208-15.8312266552075
22614.7614.774897387689-0.0748973876891341
23615.08614.7009693676570.379030632343529
24615.08615.0750943544610.00490564553922468
25614.43615.079936508144-0.649936508144492
26604.55614.438411874555-9.88841187455546
27598.98604.677981855457-5.69798185545676
28594.05599.05374675524-5.0037467552396
29593.05594.114761541297-1.06476154129655
30593.05593.063780793054-0.0137807930537974
31593.34593.0501783594260.289821640574246
32584.72593.336248951623-8.6162489516231
33580.7584.831516747269-4.13151674726896
34577.08580.753472608734-3.67347260873373
35569.92577.127544322223-7.20754432222293
36569.92570.013284433066-0.0932844330664011
37568.86569.921207344008-1.06120734400827
38559.38568.873734792465-9.49373479246549
39548.22559.502873704025-11.2828737040253
40545.61548.366029830659-2.75602983065880
41545.33545.645670218423-0.315670218422952
42530.3545.334085596431-15.0340855964314
43527.76530.494580302089-2.7345803020886
44521.41527.795392605546-6.38539260554649
451601.93521.4926436442821080.43735635572
461577.491587.94632099012-10.4563209901194
471551.431577.62533208149-26.1953320814853
481551.431551.76903595912-0.339035959123294
491516.881551.43438801009-34.5543880100936
501485.951517.32722395748-31.3772239574776
511438.221486.35610316319-48.136103163188
521385.061438.84300679578-53.7830067957766
531329.491385.75609246551-56.2660924655133
541329.491330.21823007419-0.728230074191288
551276.161329.49942519762-53.3394251976229
561242.341276.85035136202-34.5103513620179
571181.591242.78665400833-61.196654008329
581160.211182.38204440785-22.1720444078476
591135.181160.49696411705-25.3169641170477
601135.181135.50766758539-0.327667585385598
611084.961135.18424087367-50.2242408736695
621077.351085.61003274717-8.26003274716572
631061.131077.45690637997-16.3269063799653
641029.981061.34131277690-31.3613127769036
651013.081030.38589723099-17.3058972309879
661013.081013.30398347339-0.223983473389353
67996.041013.08289893068-17.0428989306756
68975.02996.260579589036-21.2405795890363
69951.89975.294908531448-23.4049085314476
70944.4952.192920596214-7.79292059621423
71932.47944.50086072971-12.0308607297090
72932.47932.625710734794-0.155710734793843
73920.44932.472015303267-12.0320153032667
74900.18920.595725677989-20.4157256779888
75886.9900.444232769216-13.5442327692165


Extrapolation Forecasts of Exponential Smoothing
tForecast95% Lower Bound95% Upper Bound
76887.075297718434636.3553135845831137.79528185228
77887.075297718434534.7907641100121239.35983132686
78887.075297718434456.554363505791317.59623193108
79887.075297718434390.4948339756961383.65576146117
80887.075297718434332.2455588375971441.90503659927
81887.075297718434279.5558154611141494.59477997575
82887.075297718434231.0845938987631543.06600153810
83887.075297718434185.9564164483231588.19417898854
84887.075297718434143.5623066758591630.58828876101
85887.075297718434103.4583951284621670.69220030841
86887.07529771843465.309313876121708.84128156075
87887.07529771843428.85433877140911745.29625666546
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/02/t1243964910yjzeacjoq5mez1s/1vce91243964794.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/02/t1243964910yjzeacjoq5mez1s/1vce91243964794.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/02/t1243964910yjzeacjoq5mez1s/2i0wd1243964794.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/02/t1243964910yjzeacjoq5mez1s/2i0wd1243964794.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/02/t1243964910yjzeacjoq5mez1s/37o5q1243964794.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/02/t1243964910yjzeacjoq5mez1s/37o5q1243964794.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