Home » date » 2010 » Jun » 06 »

Exponential smoothing witte wijn verkoop Australiƫ

*Unverified author*
R Software Module: /rwasp_exponentialsmoothing.wasp (opens new window with default values)
Title produced by software: Exponential Smoothing
Date of computation: Sun, 06 Jun 2010 13:58:50 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Jun/06/t127583277059wbuwfdm273cta.htm/, Retrieved Sun, 06 Jun 2010 15:59:34 +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/2010/Jun/06/t127583277059wbuwfdm273cta.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 «
1954 2302 3054 2414 2226 2725 2589 3470 2400 3180 4009 3924 2072 2434 2956 2828 2687 2629 3150 4119 3030 3055 3821 4001 2529 2472 3134 2789 2758 2993 3282 3437 2804 3076 3782 3889 2271 2452 3084 2522 2769 3438 2839 3746 2632 2851 3871 3618 2389 2344 2678 2492 2858 2246 2800 3869 3007 3023 3907 4209 2353 2570 2903 2910 3782 2759 2931 3641 2794 3070 3576 4106 2452 2206 2488 2416 2534 2521 3093 3903 2907 3025 3812 4209
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'George Udny Yule' @ 72.249.76.132


Estimated Parameters of Exponential Smoothing
ParameterValue
alpha0.369649244277171
beta0.00993226516517318
gamma0.570305179539606


Interpolation Forecasts of Exponential Smoothing
tObservedFittedResiduals
1320722006.6844025824865.3155974175247
1424342364.8080898869969.1919101130079
1529562875.6573721808980.3426278191091
1628282782.8889043289645.1110956710413
1726872692.76062571217-5.76062571216744
1826292657.54308286388-28.5430828638755
1931502813.98415850912336.015841490876
2041193954.81928031406164.180719685939
2130302797.84170833199232.158291668007
2230553833.43262096272-778.432620962715
2338214448.03815236594-627.038152365939
2440014136.17590677012-135.175906770116
2525292184.31225076755344.687749232453
2624722686.94799112296-214.947991122958
2731343132.945759402541.05424059746383
2827892986.57353373055-197.573533730553
2927582781.72444066096-23.7244406609598
3029932728.01963951761264.980360482394
3132823137.64321765883144.356782341169
3234374182.95408726275-745.954087262747
3328042757.9016980364946.0983019635109
3430763298.86754297183-222.867542971832
3537824142.85719190746-360.857191907457
3638894102.49717875758-213.497178757575
3722712291.3499594395-20.3499594394980
3824522442.284475376889.71552462311502
3930843026.0353192735657.9646807264371
4025222831.01685839742-309.016858397422
4127692647.93666754506121.063332454938
4234382744.35961559261693.640384407395
4328393273.33897787271-434.338977872713
4437463736.292016839369.70798316063838
4526322849.36695828950-217.366958289504
4628513188.29601732302-337.296017323021
4738713912.52244562161-41.5224456216129
4836184039.31927743104-421.319277431045
4923892245.53854743103143.461452568965
5023442467.71088386613-123.710883866128
5126783010.28585660102-332.285856601022
5224922552.69802575038-60.6980257503751
5328582610.56924010095247.430759899048
5422462933.04347847209-687.04347847209
5528002559.03307821820240.966921781798
5638693345.70983198529523.290168014706
5730072615.62594789321391.374052106793
5830233139.50463909946-116.504639099456
5939074099.96328287365-192.963282873648
6042094026.27903115901182.720968840985
6123532517.87690113672-164.876901136724
6225702531.3813606497738.6186393502262
6329033088.85754423609-185.857544236093
6429102760.56295689399149.437043106009
6537823026.60819327319755.391806726809
6627593154.27350131302-395.273501313020
6729313269.86980707291-338.869807072906
6836414051.65694382411-410.656943824106
6927942874.95772752598-80.957727525978
7030703035.0694812855134.9305187144878
7135764018.10535899468-442.105358994679
7241063979.73902662874126.260973371255
7324522376.6562476963875.3437523036196
7422062550.92778697610-344.927786976104
7524882857.33546422964-369.335464229642
7624162588.9893835527-172.989383552701
7725342878.32776861777-344.327768617773
7825212306.5684216494214.431578350598
7930932612.56512273000480.434877270003
8039033594.92481758455308.075182415454
8129072811.0375216359595.9624783640547
8230253079.33402369482-54.3340236948206
8338123848.93253200061-36.9325320006142
8442094175.3496011793333.6503988206687


Extrapolation Forecasts of Exponential Smoothing
tForecast95% Lower Bound95% Upper Bound
852471.074810345462034.359489044202907.79013164672
862458.750446045261969.060479739082948.44041235143
872905.901909724032332.080999696883479.72281975118
882835.857044276512226.480884421403445.23320413161
893166.128630700042473.221364808563859.03589659151
902871.164137400442184.090319205123558.23795559576
913235.361157117072451.275958839664019.44635539448
924042.713599854933074.533457241375010.89374246849
933010.762219902532212.788593664893808.73584614017
943196.653477156772327.884920308644065.4220340049
954032.755119713342947.963723075365117.54651635131
964417.442553527663296.431425531095538.45368152422
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Jun/06/t127583277059wbuwfdm273cta/19vf61275832727.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jun/06/t127583277059wbuwfdm273cta/19vf61275832727.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Jun/06/t127583277059wbuwfdm273cta/29vf61275832727.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jun/06/t127583277059wbuwfdm273cta/29vf61275832727.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Jun/06/t127583277059wbuwfdm273cta/3k4er1275832727.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jun/06/t127583277059wbuwfdm273cta/3k4er1275832727.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=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