Home » date » 2009 » Dec » 05 »

prijsindex van de grondstoffen

*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, 05 Dec 2009 02:22:06 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Dec/05/t1260005050giqt74wdzck181d.htm/, Retrieved Sat, 05 Dec 2009 10:24:14 +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/2009/Dec/05/t1260005050giqt74wdzck181d.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 «
226.9 235.9 216.2 226.2 198.3 176.7 166.2 157.6 163.4 159.7 191.0 239.4 321.9 362.7 413.6 407.1 383.2 347.7 333.8 312.3 295.4 283.3 287.6 265.7 250.2 234.7 244.0 231.2 223.8 223.5 210.5 201.6 190.7 207.5 198.8 196.6 204.2 227.4 229.7 217.9 221.4 216.3 197.0 193.8 196.8 180.5 174.8 181.6 190.0 190.6 179.0 174.1 161.1 168.6 169.4 152.2 148.3 137.7 145.0 153.4
 
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'Gwilym Jenkins' @ 72.249.127.135


Estimated Parameters of Exponential Smoothing
ParameterValue
alpha1
beta0.640813350950387
gamma0.0132538546896654


Interpolation Forecasts of Exponential Smoothing
tObservedFittedResiduals
13321.9232.26631315176189.6336868482385
14362.7424.105164663350-61.4051646633504
15413.6439.765982393856-26.1659823938562
16407.1417.695074950639-10.5950749506388
17383.2388.403694396960-5.20369439696043
18347.7353.597581998779-5.89758199877889
19333.8282.43472847143151.3652715285689
20312.3337.787962975724-25.4879629757245
21295.4322.583749900528-27.1837499005278
22283.3270.54987613368412.7501238663161
23287.6328.688040900699-41.0880409006987
24265.7321.482017935623-55.7820179356235
25250.2269.356770640194-19.1567706401941
26234.7180.52890423853454.1710957614658
27244198.18571032622245.8142896737777
28231.2203.86563399887727.3343660011232
29223.8201.69155441596622.1084455840337
30223.5203.80254054699919.6974594530012
31210.5190.83812670113619.6618732988645
32201.6214.107213908746-12.5072139087458
33190.7211.253968577793-20.553968577793
34207.5175.65190921089731.8480907891033
35198.8257.992220671398-59.192220671398
36196.6219.776947524338-23.1769475243378
37204.2212.190526676053-7.99052667605304
38227.4172.21542133887855.1845786611218
39229.7236.024807127731-6.32480712773136
40217.9202.08622136200715.8137786379931
41221.4193.58806164207827.811938357922
42216.3208.5561815947027.74381840529841
43197184.50630216557312.4936978344268
44193.8197.156854180762-3.35685418076247
45196.8204.777036474587-7.97703647458681
46180.5189.600765525653-9.10076552565283
47174.8207.557007956886-32.7570079568859
48181.6187.635103774232-6.03510377423228
49190202.309840874521-12.3098408745212
50190.6163.94905324952826.6509467504724
51179183.325126363219-4.32512636321928
52174.1143.30745562888130.7925443711193
53161.1152.6494556619848.45054433801633
54168.6142.82767326611225.7723267338880
55169.4146.33326382601723.0667361739826
56152.2178.062411980083-25.8624119800834
57148.3155.979266925498-7.6792669254975
58137.7137.943961846718-0.243961846718207
59145157.519386599767-12.5193865997667
60153.4165.429132664147-12.0291326641474


Extrapolation Forecasts of Exponential Smoothing
tForecast95% Lower Bound95% Upper Bound
61178.093251040712117.860407019853238.326095061572
62172.33259867487150.1411476166094294.524049733132
63167.810049445170-36.214610360908371.834709251248
64139.588179235370-128.767673374502407.944031845242
65109.355192181661-211.389234931566430.099619294888
6681.2918193655818-279.551594597375442.135233328538
6751.5973899941917-301.716044738163404.910824726546
6834.9426157839616-352.811245948082422.696477516005
6922.5144941487851-428.189482833777473.218471131347
7010.0355827945042-475.121983083101495.19314867211
71-0.541713241566507-635.840853210128634.757426726995
72-14.6453323552816-878.233768694767848.943103984204
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/05/t1260005050giqt74wdzck181d/1theb1260004924.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/05/t1260005050giqt74wdzck181d/1theb1260004924.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/05/t1260005050giqt74wdzck181d/2wvya1260004924.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/05/t1260005050giqt74wdzck181d/2wvya1260004924.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/05/t1260005050giqt74wdzck181d/3ud6b1260004924.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/05/t1260005050giqt74wdzck181d/3ud6b1260004924.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