Home » date » 2008 » Jun » 01 »

exponential smoothing-us dollar per euro- raf deceulaer

R Software Module: rwasp_exponentialsmoothing.wasp (opens new window with default values)
Title produced by software: Exponential Smoothing
Date of computation: Sun, 01 Jun 2008 12:28:49 -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/Jun/01/t1212345024ji2cxsrwm4x8moq.htm/, Retrieved Sun, 01 Jun 2008 18:30:28 +0000
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
1,0137 0,9834 0,9643 0,947 0,906 0,9492 0,9397 0,9041 0,8721 0,8552 0,8564 0,8973 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 time5 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Estimated Parameters of Exponential Smoothing
ParameterValue
alpha1
beta0
gamma0


Interpolation Forecasts of Exponential Smoothing
tObservedFittedResiduals
30.96430.9834-0.0191
40.9470.9643-0.0173000000000001
50.9060.947-0.0409999999999999
60.94920.9060.0432
70.93970.9492-0.00950000000000006
80.90410.9397-0.0356
90.87210.9041-0.032
100.85520.8721-0.0169000000000000
110.85640.85520.00120000000000009
120.89730.85640.0408999999999999
130.93830.89730.041
140.92170.9383-0.0166000000000001
150.90950.9217-0.0122
160.8920.9095-0.0175000000000000
170.87420.892-0.0178000000000000
180.85320.8742-0.021
190.86070.85320.00750000000000006
200.90050.86070.0397999999999999
210.91110.90050.0106000000000001
220.90590.9111-0.00519999999999998
230.88830.9059-0.0176000000000001
240.89240.88830.00409999999999999
250.88330.8924-0.0091
260.870.8833-0.0133000000000000
270.87580.870.00580000000000003
280.88580.87580.01
290.9170.88580.0312
300.95540.9170.0384
310.99220.95540.0367999999999999
320.97780.9922-0.0144000000000000
330.98080.97780.003
340.98110.98080.000299999999999967
351.00140.98110.0203000000000001
361.01831.00140.0168999999999999
371.06221.01830.043900
381.07731.06220.0150999999999999
391.08071.07730.00340000000000007
401.08481.08070.00409999999999999
411.15821.08480.0733999999999999
421.16631.15820.0081
431.13721.1663-0.0290999999999999
441.11391.1372-0.0233000000000001
451.12221.11390.0083000000000002
461.16921.12220.0469999999999999
471.17021.16920.00099999999999989
481.22861.17020.0584
491.26131.22860.0327000000000002
501.26461.26130.00329999999999986
511.22621.2646-0.0384
521.19851.2262-0.0277000000000001
531.20071.19850.00220000000000020
541.21381.20070.0130999999999999
551.22661.21380.0127999999999999
561.21761.2266-0.0089999999999999
571.22181.21760.00419999999999998
581.2491.22180.0272000000000001
591.29911.2490.0500999999999998
601.34081.29910.0417000000000001
611.31191.3408-0.0288999999999999
621.30141.3119-0.0105000000000002
631.32011.30140.0187000000000002
641.29381.3201-0.0263
651.26941.2938-0.0244
661.21651.2694-0.0529000000000002
671.20371.2165-0.0127999999999999
681.22921.20370.0255000000000001
691.22561.2292-0.00360000000000005
701.20151.2256-0.0241
711.17861.2015-0.0228999999999999
721.18561.17860.0069999999999999
731.21031.18560.0246999999999999
741.19381.2103-0.0165000000000000
751.2021.19380.00819999999999999
761.22711.2020.0251000000000001
771.2771.22710.0498999999999998
781.2651.277-0.012
791.26841.2650.00340000000000007
801.28111.26840.0126999999999999
811.27271.2811-0.00839999999999996
821.26111.2727-0.0115999999999998
831.28811.26110.0269999999999999
841.32131.28810.0331999999999999
851.29991.3213-0.0213999999999999
861.30741.29990.00749999999999984
871.32421.30740.0168000000000001
881.35161.32420.0273999999999999
891.35111.3516-0.000499999999999945
901.34191.3511-0.00919999999999987
911.37161.34190.0296999999999998
921.36221.3716-0.00939999999999985
931.38961.36220.0273999999999999
941.42271.38960.0331000000000001
951.46841.42270.0456999999999999
961.4571.4684-0.0113999999999999


Extrapolation Forecasts of Exponential Smoothing
tForecast95% Lower Bound95% Upper Bound
971.4571.407022334924181.50697766507582
981.4571.386320908234031.52767909176597
991.4571.370436144845011.54356385515499
1001.4571.357044669848351.55695533015165
1011.4571.345246543533741.56875345646626
1021.4571.334580222028521.57941977797148
1031.4571.324771527101691.58922847289831
1041.4571.315641816468061.59835818353194
1051.4571.307067004772531.60693299522747
1061.4571.298956746223351.61504325377665
1071.4571.291242837045441.62275716295456
1081.4571.283872289690031.63012771030997
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Jun/01/t1212345024ji2cxsrwm4x8moq/1dz6n1212344923.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Jun/01/t1212345024ji2cxsrwm4x8moq/1dz6n1212344923.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Jun/01/t1212345024ji2cxsrwm4x8moq/2m33k1212344923.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Jun/01/t1212345024ji2cxsrwm4x8moq/2m33k1212344923.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Jun/01/t1212345024ji2cxsrwm4x8moq/39kcy1212344923.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Jun/01/t1212345024ji2cxsrwm4x8moq/39kcy1212344923.ps (open in new window)


 
Parameters (Session):
par1 = additive ; par2 = 12 ;
 
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