Home » date » 2008 » Aug » 01 »

Double Ex Sm_Gem consumptieprijs roze zalm_Dominique Van Santfoort

R Software Module: rwasp_exponentialsmoothing.wasp (opens new window with default values)
Title produced by software: Exponential Smoothing
Date of computation: Fri, 01 Aug 2008 06:08: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/2008/Aug/01/t12175925683qx747lw6fbw7qi.htm/, Retrieved Fri, 01 Aug 2008 12:09:28 +0000
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
11.73 11.74 11.65 11.38 11.53 11.75 11.82 11.83 11.63 11.55 11.4 11.4 11.63 11.46 11.35 11.7 11.52 11.64 11.9 11.73 11.7 11.54 11.97 11.64 11.98 11.79 11.66 11.96 11.83 12.36 12.53 12.55 12.53 12.24 12.34 12.05 12.22 12.23 11.92 12.13 12.1 12.15 12.23 12.08 12.02 11.93 12.16 11.87 11.93 11.79 11.43 11.63 11.93 11.89 11.83 11.59 12.04 11.81 11.9 11.72 11.91 11.94 11.91 11.84 12.01 11.89 11.8 11.7 11.5 11.76 11.61 11.27 11.64 11.39 11.54 11.62 11.59 11.44 11.31 11.56 11.4 11.51 11.5 11.24 11.8 11.87 11.86 12.11 11.92 12.61 13.34 13.31 13.47 13.3 13.18 13.24
 
Text written by user:
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Estimated Parameters of Exponential Smoothing
ParameterValue
alpha0.776239907184881
beta0.000989663457731457
gamma0


Interpolation Forecasts of Exponential Smoothing
tObservedFittedResiduals
311.6511.75-0.0999999999999996
411.3811.6822991876545-0.302299187654453
511.5311.45733344150590.0726665584940971
611.7511.52348689497780.226513105022228
711.8211.70923618850010.110763811499872
811.8311.80522135172420.0247786482758396
911.6311.8344804351887-0.204480435188660
1011.5511.6856223837861-0.135622383786060
1111.411.5901105124913-0.190110512491268
1211.411.4521567352388-0.052156735238766
1311.6311.42124811758390.208751882416083
1411.4611.5930275476738-0.133027547673789
1511.3511.4994019507464-0.149401950746443
1611.711.39295111568830.307048884311650
1711.5211.641051514419-0.121051514419003
1811.6411.55675030563020.0832496943697905
1911.911.63109980195910.268900198040877
2011.7311.8497652015338-0.119765201533802
2111.711.7666410018402-0.0666410018401926
2211.5411.7247027312841-0.184702731284119
2311.9711.59097834317900.379021656820987
2411.6411.8951304923781-0.255130492378139
2511.9811.70683244074650.273167559253523
2611.7911.9288302714429-0.138830271442945
2711.6611.8309122926058-0.170912292605840
2811.9611.70795967103490.252040328965073
2911.8311.9135133746574-0.0835133746573735
3012.3611.85853274619120.501467253808833
3112.5312.25802266177410.271977338225943
3212.5512.47958228400150.0704177159985306
3312.5312.5447373798140-0.014737379814024
3412.2412.5437803704618-0.303780370461762
3512.3412.31822328785340.0217767121466093
3612.0512.3453933340569-0.295393334056911
3712.2212.12613640706810.0938635929318536
3812.2312.20910834849550.0208916515044830
3911.9212.2354526061888-0.31545260618881
4012.1312.00047069268340.129529307316576
4112.112.1110010049378-0.0110010049378069
4212.1512.11243762950020.0375623704998027
4312.2312.15159994012900.0784000598709564
4412.0812.2225223231666-0.142522323166606
4512.0212.1218464481325-0.101846448132452
4611.9312.0526665704609-0.122666570460916
4712.1611.96723104851030.192768951489729
4811.8712.1267972550864-0.256797255086408
4911.9311.9371949553668-0.00719495536682757
5011.7911.9413383943329-0.151338394332930
5111.4311.8334756829978-0.403475682997785
5211.6311.52958398952710.100416010472875
5311.9311.61691027864040.313089721359564
5411.8911.86956290997120.0204370900288087
5511.8311.8950625900254-0.065062590025434
5611.5911.8541440242298-0.26414402422977
5712.0411.65848758468790.381512415312088
5811.8111.9643085238942-0.154308523894214
5911.911.85408532466460.0459146753354425
6011.7211.8993186354218-0.17931863542184
6111.9111.76957910644860.140420893551402
6211.9411.88814203338400.0518579666159624
6311.9111.9379987202688-0.027998720268803
6411.8411.9258459508656-0.0858459508655827
6512.0111.86872390429680.141276095703203
6611.8911.9880115846716-0.0980115846715677
6711.811.9214793241477-0.121479324147691
6811.711.8366371453177-0.136637145317682
6911.511.7399238939114-0.239923893911355
7011.7611.56285103292420.197148967075755
7111.6111.7252030220270-0.115203022027035
7211.2711.6450064312637-0.375006431263721
7311.6411.36285198018610.277148019813861
7411.3911.5871387493014-0.197138749301406
7511.5411.44311375558480.0968862444151526
7611.6211.52739712529020.0926028747097813
7711.5911.6084267115281-0.0184267115281074
7811.4411.6032565463503-0.163256546350315
7911.3111.4855382672973-0.175538267297345
8011.5611.35815157496330.201848425036664
8111.411.5238625569038-0.123862556903790
8211.5111.43664852322220.0733514767778374
8311.511.5025762425390-0.00257624253904609
8411.2411.5095638569492-0.269563856949198
8511.811.30909794698920.490902053010766
8611.8711.69931314333820.170686856661758
8711.8611.84109564981460.0189043501854336
8812.1111.86507304018080.244926959819184
8911.9212.0646863569465-0.144686356946488
9012.6111.96175511845440.648244881545555
9113.3412.47482674319880.865173256801222
9213.3113.15695146999010.153048530009924
9313.4713.28641413932380.183585860676219
9413.313.4397221370248-0.139722137024782
9513.1813.3419582277792-0.161958227779209
9613.2413.22680935856450.0131906414354717


Extrapolation Forecasts of Exponential Smoothing
tForecast95% Lower Bound95% Upper Bound
9713.247628164598012.809454742261213.6858015869348
9813.258207868347812.703309775452713.8131059612430
9913.268787572097712.617590857599013.9199842865964
10013.279367275847512.544226488594314.0145080631007
10113.289946979597412.479369057098914.1005249020958
10213.300526683347212.420827210990314.1802261557042
10313.311106387097112.367212334055114.2550004401391
10413.321686090846912.317578895291614.3257932864022
10513.332265794596812.271248726555914.3932828626376
10613.342845498346612.22771587112514.4579751255682
10713.353425202096512.186590986245114.5202594179478
10813.364004905846312.147566888267414.5804429234253
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Aug/01/t12175925683qx747lw6fbw7qi/1q3zm1217592511.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Aug/01/t12175925683qx747lw6fbw7qi/1q3zm1217592511.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Aug/01/t12175925683qx747lw6fbw7qi/2bdlz1217592511.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Aug/01/t12175925683qx747lw6fbw7qi/2bdlz1217592511.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Aug/01/t12175925683qx747lw6fbw7qi/334981217592511.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Aug/01/t12175925683qx747lw6fbw7qi/334981217592511.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=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