Home » date » 2009 » Jun » 06 »

triple exponential smoothing prijzen energiegrondstoffen - Charlotte De Saeger

*Unverified author*
R Software Module: rwasp_exponentialsmoothing.wasp (opens new window with default values)
Title produced by software: Exponential Smoothing
Date of computation: Sat, 06 Jun 2009 05:52:43 -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/06/t1244289301r1efsssxunbp3rq.htm/, Retrieved Sat, 06 Jun 2009 13:55:01 +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/06/t1244289301r1efsssxunbp3rq.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 «
106,8 114,3 105,7 90,1 91,6 97,7 100,8 104,6 95,9 102,7 104 107,9 113,8 113,8 123,1 125,1 137,6 134 140,3 152,1 150,6 167,3 153,2 142 154,4 158,5 180,9 181,3 172,4 192 199,3 215,4 214,3 201,5 190,5 196 215,7 209,4 214,1 237,8 239 237,8 251,5 248,8 215,4 201,2 203,1 214,2 188,9 203 213,3 228,5 228,2 240,9 258,8 248,5 269,2 289,6 323,4 317,2 322,8 340,9 368,2 388,5 441,2 474,3 483,9 417,9 365,9 263 199,4 157,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.925208409968674
beta0
gamma1


Interpolation Forecasts of Exponential Smoothing
tObservedFittedResiduals
13113.894.743544296042419.0564557039576
14113.8108.9480779012344.85192209876554
15123.1118.4639996283984.6360003716015
16125.1119.9072006735075.19279932649277
17137.6132.2768594611825.32314053881791
18134130.2104182120233.78958178797703
19140.3134.2566144533626.04338554663798
20152.1144.7362472766707.36375272332981
21150.6137.99539190678912.6046080932107
22167.3156.94571201512410.3542879848757
23153.2163.396038159528-10.1960381595276
24142154.849623944533-12.8496239445329
25154.4148.5063195515795.89368044842075
26158.5147.86658548152410.6334145184755
27180.9164.63182404251716.2681759574834
28181.3175.5679557312455.73204426875478
29172.4191.802646718712-19.402646718712
30192164.86347377427227.1365262257281
31199.3190.9493836045878.35061639541266
32215.4205.7023451149289.69765488507204
33214.3195.99425840279718.3057415972030
34201.5222.934924962338-21.434924962338
35190.5197.381223101414-6.88122310141443
36196191.7735545385664.22644546143371
37215.7205.23589713954710.4641028604525
38209.4206.8611212238472.5388787761529
39214.1218.775207632589-4.67520763258923
40237.8208.62205787878129.1779421212193
41239247.186330674228-8.1863306742282
42237.8231.5855677294476.21443227055343
43251.5236.77852796697914.7214720330210
44248.8259.315992533638-10.5159925336380
45215.4228.561073660509-13.1610736605085
46201.2223.326442855265-22.1264428552645
47203.1198.1730134341334.92698656586674
48214.2204.4165054079719.78349459202849
49188.9224.341293039953-35.4412930399533
50203183.86814712019919.1318528798014
51213.3210.2503236878743.04967631212565
52228.5209.54322771954318.9567722804574
53228.2235.442320602473-7.2423206024728
54240.9222.07953510933918.8204648906605
55258.8239.5122067262519.2877932737498
56248.5264.519262667103-16.0192626671034
57269.2228.34263923470540.8573607652953
58289.6273.68690036597215.9130996340282
59323.4284.5871491285638.8128508714401
60317.2323.680321250667-6.48032125066726
61322.8328.121135389173-5.32113538917292
62340.9316.82194744997924.0780525500209
63368.2351.58635451825716.6136454817434
64388.5362.74513378286525.7548662171350
65441.2397.37546685715943.824533142841
66474.3428.68179506500145.6182049349993
67483.9470.7996791726913.1003208273100
68417.9491.223973199139-73.3239731991388
69365.9393.507586970987-27.6075869709869
70263375.641652170156-112.641652170156
71199.4269.142256092473-69.7422560924728
72157.2204.481052461895-47.2810524618951


Extrapolation Forecasts of Exponential Smoothing
tForecast95% Lower Bound95% Upper Bound
73166.06560235588112.580258339886219.550946371874
74163.85575527461689.8080827077046237.903427841527
75169.56444709822581.0666452948311258.062248901619
76167.88475800109264.2499565571834271.519559445001
77173.00543477659160.0763456583152285.934523894867
78169.31469542589346.5561396524902292.073251199296
79168.40614403672835.8288892855833300.983398787873
80168.74067261886734.9129216350159302.568423602718
81157.99983405878915.9586367148078300.041031402771
82157.1717280600687.1164318170824307.227024303054
83156.742167049015-1.67086003569091315.155194133721
84157.2NANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/06/t1244289301r1efsssxunbp3rq/1znvt1244289158.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/06/t1244289301r1efsssxunbp3rq/1znvt1244289158.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/06/t1244289301r1efsssxunbp3rq/2jvmn1244289158.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/06/t1244289301r1efsssxunbp3rq/2jvmn1244289158.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/06/t1244289301r1efsssxunbp3rq/3ekfc1244289158.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/06/t1244289301r1efsssxunbp3rq/3ekfc1244289158.ps (open in new window)


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