Home » date » 2008 » May » 26 »

Bouwvergunningen

R Software Module: rwasp_exponentialsmoothing.wasp (opens new window with default values)
Title produced by software: Exponential Smoothing
Date of computation: Mon, 26 May 2008 15:18: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/26/t1211836738ike7q9actoi48gd.htm/, Retrieved Mon, 26 May 2008 23:19:05 +0200
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
2434 2637 1831 1851 1839 2609 2417 2394 2372 2717 2998 2538 3007 2475 2175 2465 2279 2323 2746 2601 2486 2718 2646 2551 2712 2606 2365 3533 3509 2912 3599 2719 2869 4085 2686 2545 3071 3388 2652 3190 2884 3295 3818 3226 3953 3810 2877 3515 3708 3450 3360 4098 4374 3703 4257 3487 3659 3904 2957 3320 3420 3500 2791 2919 3179 3016 3492 3034 2612 3525 2846 3212 2591
 
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
alpha0.316502668649575
beta0
gamma0.528977938320109


Interpolation Forecasts of Exponential Smoothing
tObservedFittedResiduals
1330072814.83245828937192.167541710630
1424752346.15707822244128.842921777562
1521752086.6631698812388.336830118767
1624652392.0990196645472.9009803354616
1722792245.7240787938433.2759212061646
1823232312.6123077853610.387692214641
1927462750.33626105096-4.33626105095573
2026012610.86732589147-9.8673258914664
2124862479.288267348396.71173265161497
2227182657.9938708226460.0061291773568
2326462513.02444948422132.975550515780
2425512395.66833476417155.331665235834
2527123220.69674991596-508.696749915957
2626062484.98686513470121.013134865305
2723652196.31504635075168.684953649246
2835332534.40126092563998.59873907437
2935092635.8395787133873.160421286698
3029122973.92027841379-61.9202784137888
3135993500.8409069690398.1590930309671
3227193351.80258342192-632.802583421921
3328693003.31573747574-134.315737475743
3440853194.07975342453890.920246575472
3526863297.82852383102-611.828523831017
3625452922.34636456097-377.346364560975
3730713392.53186261917-321.531862619173
3833882892.895773122495.104226877997
3926522679.9164505143-27.9164505143021
4031903300.76210031538-110.762100315378
4128842970.88063058456-86.8806305845555
4232952691.245919822603.754080178
4338183476.20039091554341.799609084459
4432263123.2672425134102.732757486599
4539533189.61068681413763.389313185874
4638104112.02243901921-302.022439019214
4728773238.81968436346-361.819684363456
4835153012.81964887572502.180351124277
4937083892.83302755833-184.833027558333
5034503699.28367624962-249.283676249624
5133602993.75921767905366.24078232095
5240983810.02542963601287.974570363994
5343743554.6912773051819.308722694897
5437033791.86137645289-88.8613764528909
5542574365.11356828438-108.113568284378
5634873690.91090344476-203.910903444762
5736593914.00915901374-255.009159013744
5839044136.25452737725-232.254527377247
5929573226.71755646372-269.717556463722
6033203342.62735554049-22.6273555404928
6134203804.61274158354-384.612741583543
6235003526.16686034411-26.1668603441094
6327913110.30266521900-319.302665219004
6429193630.76990994799-711.76990994799
6531793257.11363729289-78.1136372928936
6630162956.5620004896659.4379995103413
6734923449.0821429685842.9178570314225
6830342917.31766935173116.682330648272
6926123176.45842738926-564.458427389258
7035253245.94498526019279.055014739807
7128462620.0921158609225.907884139099
7232122948.55932692633263.440673073671
7325913335.99363177502-744.993631775016


Extrapolation Forecasts of Exponential Smoothing
tForecast95% Lower Bound95% Upper Bound
743076.459212004732564.627403771243588.29102023821
752622.724011521682040.694082653553204.75394038981
763041.995310796122407.352148818643676.63847277361
773119.78707624642461.83989757833777.7342549145
782899.511610218892146.725243159463652.29797727831
793351.993319472652628.243055823654075.74358312165
802851.624720759252094.505434467163608.74400705134
812817.153654296011928.473072328753705.83423626326
823372.213234394562582.795972897544161.63049589158
832650.132039568631775.499929573073524.76414956419
842906.153535124922015.418612139113796.88845811073
852830.84497981207NANA
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/26/t1211836738ike7q9actoi48gd/1ojqw1211836695.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/26/t1211836738ike7q9actoi48gd/1ojqw1211836695.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/26/t1211836738ike7q9actoi48gd/244c31211836695.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/26/t1211836738ike7q9actoi48gd/244c31211836695.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/26/t1211836738ike7q9actoi48gd/3ts0b1211836695.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/26/t1211836738ike7q9actoi48gd/3ts0b1211836695.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=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