Home » date » 2008 » May » 30 »

Exponential smoothing double - prijzen jeans dames - Kim Liekens

R Software Module: rwasp_exponentialsmoothing.wasp (opens new window with default values)
Title produced by software: Exponential Smoothing
Date of computation: Fri, 30 May 2008 07:34:24 -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/May/30/t12121545329ifzmz8fbwidxro.htm/, Retrieved Fri, 30 May 2008 13:35:32 +0000
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
44.13 44.13 44.14 44.14 44.14 44.14 44.15 44.17 44.19 44.26 44.27 44.29 44.29 44.29 44.29 44.32 44.33 44.34 44.34 44.34 44.37 44.47 44.51 44.51 44.51 44.52 44.7 44.84 44.9 44.91 44.94 44.94 44.95 45.28 45.34 45.34 45.34 45.36 45.44 45.62 45.75 45.77 45.77 45.77 46.09 46.25 46.28 46.29 46.29 46.29 46.3 46.34 46.34 46.35 46.42 46.52 46.59 46.66 46.67 46.72 46.72 46.72 46.76 46.89 47.02 47.02 47.04 47.18 47.22 47.8 47.88 47.91
 
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 time4 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001


Estimated Parameters of Exponential Smoothing
ParameterValue
alpha1
beta0.0784142333807304
gamma0


Interpolation Forecasts of Exponential Smoothing
tObservedFittedResiduals
344.1444.130.00999999999999801
444.1444.1407841423338-0.000784142333806415
544.1444.1407226544138-0.000722654413841894
644.1444.140665988022-0.000665988021978592
744.1544.14061376508180.00938623491820323
844.1744.15134977949720.0186502205027637
944.1944.17281222224030.0171877777596521
1044.2644.19415998865690.0658400113431128
1144.2744.26932278267210.000677217327869073
1244.2944.27937588614970.0106241138502625
1344.2944.3002089678927-0.0102089678926518
1444.2944.2994084395017-0.00940843950174042
1544.2944.2986706839309-0.00867068393090165
1644.3244.29799077889760.0220092211024294
1744.3344.32971661509760.000283384902374451
1844.3444.33973883650750.000261163492510263
1944.3444.3497593154426-0.00975931544255104
2044.3444.3489940462038-0.00899404620380295
2144.3744.34828878496570.0217112150342516
2244.4744.37999125324840.090008746751586
2344.5144.48704922012250.0229507798774975
2444.5144.5288488879321-0.0188488879320872
2544.5144.5273708668348-0.0173708668348098
2644.5244.5260087436288-0.00600874362879722
2744.744.53553757260360.164462427396430
2844.8444.72843376776780.111566232232207
2944.944.87718214833950.0228178516605411
3044.9144.9389713926848-0.0289713926848165
3144.9444.9466996231375-0.00669962313745742
3244.9444.9761742773252-0.0361742773251947
3344.9544.9733376991006-0.0233376991006367
3445.2844.98150769131680.298492308683201
3545.3445.33491373687220.00508626312777238
3645.3445.3953125722962-0.0553125722961667
3745.3445.3909752793433-0.0509752793432483
3845.3645.3869780918922-0.0269780918921825
3945.4445.40486262549840.0351373745016161
4045.6245.48761789578290.132382104217065
4145.7545.67799853699840.0720014630015555
4245.7745.813644476522-0.0436444765219974
4345.7745.8302221283542-0.0602221283542264
4445.7745.8254998563268-0.0554998563267759
4546.0945.82114787764020.268852122359831
4646.2546.16222971070780.0877702892922017
4746.2846.3291121506563-0.0491121506562493
4846.2946.3552610590129-0.0652610590128617
4946.2946.3601436631008-0.070143663100751
5046.2946.3546434015322-0.0646434015321944
5146.346.3495744387579-0.0495744387579222
5246.3446.3556870971474-0.0156870971474348
5346.3446.3944570054507-0.0544570054506579
5446.3546.390186801116-0.040186801116036
5546.4246.39703558391450.0229644160855074
5646.5246.46883632099690.0511636790031247
5746.5946.57284828166280.0171517183371606
5846.6646.64419322050740.0158067794925785
5946.6746.7154326970035-0.0454326970035339
6046.7246.7218701268976-0.00187012689759314
6146.7246.7717234823306-0.0517234823305941
6246.7246.7676676251159-0.0476676251158565
6346.7646.7639298048353-0.00392980483531602
6446.8946.80362165220180.0863783477981812
6547.0246.94039494412510.0796050558748931
6647.0247.0766371135548-0.0566371135547712
6747.0447.0721959577145-0.0321959577144781
6847.1847.08967133637230.0903286636276661
6947.2247.236754389283-0.0167543892830011
7047.847.27544060669160.524559393308387
7147.8847.8965735293805-0.016573529380544
7247.9147.9752739287798-0.0652739287797672


Extrapolation Forecasts of Exponential Smoothing
tForecast95% Lower Bound95% Upper Bound
7348.000155523694747.819243948028848.1810670993607
7448.090311047389547.824243238682748.3563788560962
7548.180466571084247.841952569210248.5189805729583
7648.27062209477947.86499857756348.676245611995
7748.360777618473747.8906598766348.8308953603175
7848.450933142168547.917608684167548.9842576001694
7948.541088665863247.945097236192949.1370800955335
8048.63124418955847.972665721176249.2898226579398
8148.721399713252748.000014303479749.4427851230258
8248.811555236947548.026939277960649.5961711959344
8348.901710760642248.05329814427549.7501233770095
8448.99186628433748.078989134562449.9047434341116
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/30/t12121545329ifzmz8fbwidxro/18tcw1212154457.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/30/t12121545329ifzmz8fbwidxro/18tcw1212154457.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/30/t12121545329ifzmz8fbwidxro/2dsog1212154457.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/30/t12121545329ifzmz8fbwidxro/2dsog1212154457.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/30/t12121545329ifzmz8fbwidxro/3j8ef1212154457.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/30/t12121545329ifzmz8fbwidxro/3j8ef1212154457.ps (open in new window)


 
Parameters (Session):
par1 = 12 ; par2 = Double ; par3 = multiplicative ;
 
Parameters (R input):
par1 = 12 ; par2 = Double ; 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