Home » date » 2010 » Jan » 14 »

Gemiddelde consumptieprijs van rode tafelwijn

*Unverified author*
R Software Module: /rwasp_exponentialsmoothing.wasp (opens new window with default values)
Title produced by software: Exponential Smoothing
Date of computation: Thu, 14 Jan 2010 12:07:55 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Jan/14/t1263496111w7ezi9tz20sm2zc.htm/, Retrieved Thu, 14 Jan 2010 20:08:36 +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/Jan/14/t1263496111w7ezi9tz20sm2zc.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:
KDGP2W62
 
Dataseries X:
» Textbox « » Textfile « » CSV «
2,12 2,13 2,14 2,15 2,15 2,16 2,17 2,17 2,18 2,17 2,17 2,18 2,17 2,18 2,18 2,18 2,17 2,17 2,18 2,17 2,18 2,17 2,17 2,17 2,17 2,17 2,17 2,17 2,17 2,17 2,18 2,18 2,18 2,18 2,18 2,18 2,18 2,18 2,18 2,18 2,18 2,18 2,18 2,19 2,19 2,19 2,2 2,2 2,21 2,21 2,21 2,2 2,21 2,2 2,21 2,21 2,22 2,22 2,23 2,24 2,24 2,25 2,25 2,32 2,36 2,37 2,37 2,37 2,38 2,38 2,41 2,42 2,43 2,44 2,44 2,44 2,43 2,43 2,43 2,42 2,42 2,42 2,42 2,42
 
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
alpha0.88008275007892
beta0.141425389189999
gamma1


Interpolation Forecasts of Exponential Smoothing
tObservedFittedResiduals
132.172.157297008547010.0127029914529908
142.182.18086489286783-0.000864892867825873
152.182.18280093311450-0.00280093311449692
162.182.18268447666828-0.00268447666828431
172.172.17233638533652-0.00233638533651703
182.172.17242050920447-0.00242050920447445
192.182.18671265923205-0.006712659232051
202.172.17722519724388-0.00722519724387816
212.182.176804034330870.00319596566913338
222.172.166785479674920.00321452032507885
232.172.168016686617820.00198331338218116
242.172.17924451807540-0.00924451807539528
252.172.161380274606920.00861972539308375
262.172.17757724228165-0.00757724228164536
272.172.1703879541396-0.000387954139601021
282.172.169723677118030.000276322881972657
292.172.159706188679260.0102938113207376
302.172.17015098561080-0.000150985610804621
312.182.18546342276160-0.00546342276159795
322.182.176707039001380.00329296099862342
332.182.18779466538795-0.00779466538794837
342.182.167739973035080.0122600269649209
352.182.177544491912880.00245550808712158
362.182.18866041584772-0.0086604158477157
372.182.174344095250910.00565590474908717
382.182.18651309827509-0.00651309827509117
392.182.18177765296916-0.00177765296915622
402.182.18045220232528-0.000452202325275319
412.182.171386362503530.00861363749647337
422.182.179282372939830.000717627060168091
432.182.19501273787818-0.0150127378781764
442.192.178004172192090.0119958278079140
452.192.19560661940866-0.00560661940866325
462.192.180340005103160.009659994896841
472.22.186814446927660.0131855530723439
482.22.20751013085986-0.00751013085985663
492.212.197535524983970.0124644750160252
502.212.21669739064261-0.00669739064260844
512.212.21480470700586-0.00480470700586277
522.22.21303446989610-0.0130344698961022
532.212.194476606099980.0155233939000228
542.22.20886119824393-0.00886119824392839
552.212.21443711580331-0.00443711580331074
562.212.21145312509673-0.00145312509673046
572.222.214912965308420.00508703469158345
582.222.212023800267440.00797619973256358
592.232.218364981281050.01163501871895
602.242.235947151320760.0040528486792426
612.242.24071627656621-0.00071627656620743
622.252.246511648350170.00348835164982564
632.252.25560950174062-0.00560950174061547
642.322.253843194038290.066156805961711
652.362.319960517415670.04003948258433
662.372.367604314532410.00239568546759283
672.372.39962599631797-0.0296259963179746
682.372.38770462924133-0.0177046292413348
692.382.38849640942027-0.00849640942026886
702.382.38315880313578-0.00315880313577521
712.412.387912738820310.0220872611796916
722.422.42285918656155-0.00285918656154527
732.432.429187607139030.00081239286096757
742.442.44523716810679-0.00523716810679264
752.442.45288344771435-0.0128834477143540
762.442.45973471980118-0.0197347198011837
772.432.44285113274165-0.0128511327416478
782.432.428572242670780.00142775732921807
792.432.44492121302189-0.0149212130218905
802.422.43822019328998-0.0182201932899790
812.422.43044763228951-0.0104476322895062
822.422.414575171937470.00542482806253375
832.422.42152153506199-0.00152153506199193
842.422.42137096865162-0.00137096865162478


Extrapolation Forecasts of Exponential Smoothing
tForecast95% Lower Bound95% Upper Bound
852.418306852024482.39275607803782.44385762601116
862.421672300185052.385455772177082.45788882819302
872.422418956734122.376117790187552.46872012328069
882.430798851451662.374500069834722.48709763306861
892.425576922471152.359175652473782.49197819246852
902.419387918320892.342688811721942.49608702491984
912.427409653649562.340170596505612.51464871079351
922.430191948983172.332145753419542.5282381445468
932.438401542862452.329267723792222.54753536193269
942.433942433659982.31343400040822.55445086691176
952.434921491923002.302749029145362.56709395470063
962.435957418737692.291831605113112.58008323236226
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Jan/14/t1263496111w7ezi9tz20sm2zc/19l0p1263496073.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jan/14/t1263496111w7ezi9tz20sm2zc/19l0p1263496073.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Jan/14/t1263496111w7ezi9tz20sm2zc/2dom31263496073.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jan/14/t1263496111w7ezi9tz20sm2zc/2dom31263496073.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Jan/14/t1263496111w7ezi9tz20sm2zc/3emgo1263496073.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jan/14/t1263496111w7ezi9tz20sm2zc/3emgo1263496073.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