Home » date » 2010 » Jan » 26 »

consumptieprijs rode wijn

*Unverified author*
R Software Module: /rwasp_exponentialsmoothing.wasp (opens new window with default values)
Title produced by software: Exponential Smoothing
Date of computation: Tue, 26 Jan 2010 05:42:30 -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/26/t1264509794yorethu7fhcwsw0.htm/, Retrieved Tue, 26 Jan 2010 13:43:19 +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/26/t1264509794yorethu7fhcwsw0.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 time1 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Estimated Parameters of Exponential Smoothing
ParameterValue
alpha1
beta0.191978877192319
gammaFALSE


Interpolation Forecasts of Exponential Smoothing
tObservedFittedResiduals
32.142.144.44089209850063e-16
42.152.150
52.152.16-0.00999999999999979
62.162.158080211228080.00191978877192334
72.172.168448770120960.00155122987904299
82.172.17874657349140-0.00874657349140273
92.182.177067416133240.0029325838667571
102.172.18763041029126-0.0176304102912557
112.172.1742457439191-0.00424574391910015
122.182.173430650768670.00656934923133479
132.172.18469182705798-0.0146918270579817
142.182.171871306595490.00812869340451394
152.182.18343184402833-0.00343184402832541
162.182.18277300246507-0.00277300246506851
172.172.18224064456537-0.0122406445653733
182.172.169890699365600.000109300634397513
192.182.169911682778670.0100883172213297
202.172.18184842659158-0.0118484265915817
212.182.169573778958030.0104262210419663
222.172.18157539316703-0.0115753931670297
232.172.169353162183760.000646837816236534
242.172.169477341381450.000522658618550054
252.172.169577680796190.000422319203805976
262.172.169658757162760.000341242837242461
272.172.16972426857950.000275731420498637
282.172.169777203188020.000222796811984782
292.172.169819975469820.000180024530177736
302.172.169854536376990.000145463623007380
312.182.169882462320010.0101175376799900
322.182.18182481584377-0.00182481584376548
332.182.18147448974700-0.00147448974699671
342.182.18119141886094-0.00119141886093654
352.182.18096269160575-0.000962691605748134
362.182.18077787515219-0.000777875152194074
372.182.18062853955388-0.000628539553880092
382.182.18050787323606-0.000507873236055278
392.182.18041037230244-0.000410372302441342
402.182.18033158948859-0.000331589488587802
412.182.18026793131088-0.000267931310879987
422.182.18021649415865-0.000216494158652658
432.182.18017493185316-0.000174931853155869
442.192.18014134863240.009858651367598
452.192.19203400145258-0.00203400145258392
462.192.19164351613751-0.00164351613750924
472.22.191327995754780.00867200424521775
482.22.20299283739279-0.00299283739278655
492.212.20241827583050.00758172416949954
502.212.21387380672374-0.00387380672374249
512.212.21313011765846-0.00313011765845861
522.22.21252920118491-0.0125292011849076
532.212.200123859209310.00987614079068733
542.22.21201986962930-0.0120198696293019
552.212.199712308553870.0102876914461292
562.212.2116873280066-0.00168732800659965
572.222.211363396670440.00863660332956284
582.222.22302144208040-0.00302144208040245
592.232.222441389022310.00755861097769461
602.242.233892482670940.00610751732906367
612.242.24506499699020-0.0050649969902028
622.252.244092624555040.00590737544495878
632.252.25522671586012-0.0052267158601178
642.322.254223296817890.0657767031821108
652.362.336851034440200.0231489655597970
662.372.38129514685654-0.0112951468565363
672.372.38912671724530-0.0191267172452965
682.372.38545479154417-0.0154547915441694
692.382.38248779801628-0.00248779801627874
702.382.39201019334643-0.0120101933464318
712.412.389704489912920.0202955100870787
722.422.42360079915148-0.00360079915148415
732.432.43290952177339-0.00290952177338699
742.442.44235095505017-0.00235095505016591
752.442.45189962133931-0.0118996213393054
762.442.44961514539557-0.00961514539557173
772.432.44776924057849-0.0177692405784886
782.432.43435792172367-0.00435792172367044
792.432.43352129280427-0.00352129280426805
802.422.43284527896544-0.0128452789654396
812.422.42037925673243-0.000379256732432331
822.422.42030644745077-0.000306447450772129
832.422.42024761601325-0.000247616013254515
842.422.42020007896906-0.000200078969055273


Extrapolation Forecasts of Exponential Smoothing
tForecast95% Lower Bound95% Upper Bound
852.420161668033232.398874280249572.44144905581688
862.420323336066452.387202365801232.45344430633167
872.420485004099682.37615735942252.46481264877686
882.420646672132902.365055487424782.47623785684103
892.420808340166132.353676227285312.48794045304695
902.420970008199362.341929733180552.50001028321816
912.421131676232582.329776785791392.51248656667377
922.421293344265812.317201192391072.52538549614055
932.421455012299032.304198251287662.53871177331041
942.421616680332262.29076930941842.55246405124612
952.421778348365492.276918974477792.56663772225318
962.421940016398712.262653601749722.58122643104770
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Jan/26/t1264509794yorethu7fhcwsw0/1rfbc1264509749.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jan/26/t1264509794yorethu7fhcwsw0/1rfbc1264509749.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Jan/26/t1264509794yorethu7fhcwsw0/2nj8y1264509749.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jan/26/t1264509794yorethu7fhcwsw0/2nj8y1264509749.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Jan/26/t1264509794yorethu7fhcwsw0/3vvz21264509749.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jan/26/t1264509794yorethu7fhcwsw0/3vvz21264509749.ps (open in new window)


 
Parameters (Session):
par1 = 12 ; par2 = Double ; par3 = additive ;
 
Parameters (R input):
par1 = 12 ; par2 = Double ; 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=F, beta=F)
if (par2 == 'Double') fit <- HoltWinters(x, gamma=F)
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