Home » date » 2008 » May » 31 »

Wisselkoersen - Referentiewisselkoersen voor de euro in nationale munteenheden - Dollar van de Verenigde Staten

R Software Module: rwasp_exponentialsmoothing.wasp (opens new window with default values)
Title produced by software: Exponential Smoothing
Date of computation: Sat, 31 May 2008 13:30:47 -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/31/t1212262327mivzrtt9secimgr.htm/, Retrieved Sat, 31 May 2008 19:32:07 +0000
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
0,9383 0,9217 0,9095 0,892 0,8742 0,8532 0,8607 0,9005 0,9111 0,9059 0,8883 0,8924 0,8833 0,87 0,8758 0,8858 0,917 0,9554 0,9922 0,9778 0,9808 0,9811 1,0014 1,0183 1,0622 1,0773 1,0807 1,0848 1,1582 1,1663 1,1372 1,1139 1,1222 1,1692 1,1702 1,2286 1,2613 1,2646 1,2262 1,1985 1,2007 1,2138 1,2266 1,2176 1,2218 1,249 1,2991 1,3408 1,3119 1,3014 1,3201 1,2938 1,2694 1,2165 1,2037 1,2292 1,2256 1,2015 1,1786 1,1856 1,2103 1,1938 1,202 1,2271 1,277 1,265 1,2684 1,2811 1,2727 1,2611 1,2881 1,3213 1,2999 1,3074 1,3242 1,3516 1,3511 1,3419 1,3716 1,3622 1,3896 1,4227 1,4684 1,457
 
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 time6 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001


Estimated Parameters of Exponential Smoothing
ParameterValue
alpha1
beta-2.88939878967387e-17
gamma0


Interpolation Forecasts of Exponential Smoothing
tObservedFittedResiduals
30.90950.9217-0.0122
40.8920.9095-0.0175000000000000
50.87420.892-0.0178000000000000
60.85320.8742-0.021
70.86070.85320.00750000000000006
80.90050.86070.0397999999999999
90.91110.90050.0106000000000001
100.90590.9111-0.00519999999999998
110.88830.9059-0.0176000000000001
120.89240.88830.00409999999999999
130.88330.8924-0.0091
140.870.8833-0.0133000000000000
150.87580.870.00580000000000003
160.88580.87580.01
170.9170.88580.0312
180.95540.9170.0384
190.99220.95540.0367999999999999
200.97780.9922-0.0144000000000000
210.98080.97780.003
220.98110.98080.000299999999999967
231.00140.98110.0203000000000001
241.01831.00140.0168999999999999
251.06221.01830.0439000000000001
261.07731.06220.0150999999999999
271.08071.07730.00340000000000007
281.08481.08070.00409999999999999
291.15821.08480.0733999999999999
301.16631.15820.0081
311.13721.1663-0.0290999999999999
321.11391.1372-0.0233000000000001
331.12221.11390.0083000000000002
341.16921.12220.0469999999999999
351.17021.16920.00099999999999989
361.22861.17020.0584
371.26131.22860.0327000000000002
381.26461.26130.00329999999999986
391.22621.2646-0.0384
401.19851.2262-0.0277000000000001
411.20071.19850.0022000000000002
421.21381.20070.0130999999999999
431.22661.21380.0127999999999999
441.21761.2266-0.0089999999999999
451.22181.21760.00419999999999998
461.2491.22180.0272000000000001
471.29911.2490.0500999999999998
481.34081.29910.0417000000000001
491.31191.3408-0.0288999999999999
501.30141.3119-0.0105000000000002
511.32011.30140.0187000000000002
521.29381.3201-0.0263
531.26941.2938-0.0244
541.21651.2694-0.0529000000000002
551.20371.2165-0.0127999999999999
561.22921.20370.0255000000000001
571.22561.2292-0.00360000000000005
581.20151.2256-0.0241
591.17861.2015-0.0228999999999999
601.18561.17860.0069999999999999
611.21031.18560.0246999999999999
621.19381.2103-0.0165000000000000
631.2021.19380.00819999999999999
641.22711.2020.0251000000000001
651.2771.22710.0498999999999998
661.2651.277-0.012
671.26841.2650.00340000000000007
681.28111.26840.0126999999999999
691.27271.2811-0.00839999999999996
701.26111.2727-0.0115999999999998
711.28811.26110.0269999999999999
721.32131.28810.0331999999999999
731.29991.3213-0.0213999999999999
741.30741.29990.00749999999999984
751.32421.30740.0168000000000001
761.35161.32420.0273999999999999
771.35111.3516-0.000499999999999945
781.34191.3511-0.00919999999999987
791.37161.34190.0296999999999998
801.36221.3716-0.00939999999999985
811.38961.36220.0273999999999999
821.42271.38960.0331000000000001
831.46841.42270.0456999999999999
841.4571.4684-0.0113999999999999


Extrapolation Forecasts of Exponential Smoothing
tForecast95% Lower Bound95% Upper Bound
851.4571.408866514265561.50513348573444
861.4571.388928971670061.52507102832994
871.4571.373630357162551.54036964283745
881.4571.360733028531111.55326697146889
891.4571.349370253903771.56462974609623
901.4571.339097520409081.57490247959092
911.4571.329650767011991.58434923298801
921.4571.320857943340111.59314205665989
931.4571.312599542796671.60140045720333
941.4571.304788553355931.60921144664407
951.4571.297359287966921.61664071203308
961.4571.290260714325101.6237392856749
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/31/t1212262327mivzrtt9secimgr/1x6jr1212262238.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/31/t1212262327mivzrtt9secimgr/1x6jr1212262238.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/31/t1212262327mivzrtt9secimgr/26ojl1212262238.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/31/t1212262327mivzrtt9secimgr/26ojl1212262238.ps (open in new window)


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