Home » date » 2009 » Jun » 02 »

voorspellen- uitvoer België naar EU -Tessa Buck

*Unverified author*
R Software Module: rwasp_exponentialsmoothing.wasp (opens new window with default values)
Title produced by software: Exponential Smoothing
Date of computation: Tue, 02 Jun 2009 12:08:18 -0600
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Jun/02/t124396617481cr5qtq520dxk3.htm/, Retrieved Tue, 02 Jun 2009 20:09: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/2009/Jun/02/t124396617481cr5qtq520dxk3.htm/},
    year = {2009},
}
@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 = {2009},
    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:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
11025,1 10853,8 12252,6 11839,4 11669,1 11601,4 11178,4 9516,4 12102,8 12989 11610,2 10205,5 11356,2 11307,1 12648,6 11947,2 11714,1 12192,5 11268,8 9097,4 12639,8 13040,1 11687,3 11191,7 11391,9 11793,1 13933,2 12778,1 11810,3 13698,4 11956,6 10723,8 13938,9 13979,8 13807,4 12973,9 12509,8 12934,1 14908,3 13772,1 13012,6 14049,9 11816,5 11593,2 14466,2 13615,9 14733,9 13880,7 13527,5 13584 16170,2 13260,6 14741,9 15486,5 13154,5 12621,2 15031,6 15452,4 15428 13105,9 14716,8 14180 16202,2 14392,4 15140,6 15960,1 14351,3 13230,2 15202,1 17056 16077,7 13348,2 16707,5 16792,6 16831,3 17804,5 16370,2 17602,5 17065,6 14427,9 17818,5 18027,6
 
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'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Estimated Parameters of Exponential Smoothing
ParameterValue
alpha0.151057287538905
beta0.0628426978359442
gamma0.193352917851991


Interpolation Forecasts of Exponential Smoothing
tObservedFittedResiduals
1311356.211204.6067190448151.593280955216
1411307.111209.759269154097.3407308459537
1512648.612571.474990435477.1250095645864
1611947.211880.373350395666.8266496044234
1711714.111673.480431684140.6195683159076
1812192.512131.840871912360.659128087711
1911268.811362.1338650906-93.3338650905916
209097.49650.01594479876-552.615944798756
2112639.812143.7016223049496.098377695094
2213040.113110.1082113040-70.0082113040353
2311687.311720.4306396411-33.1306396411201
2411191.710289.769607038901.93039296201
2511391.911625.4345969344-233.534596934413
2611793.111568.9564158721224.143584127922
2713933.212998.0924885712935.10751142883
2812778.112419.7299668009358.370033199102
2911810.312259.4361990709-449.136199070866
3013698.412680.21495053001018.18504947003
3111956.612005.3393842018-48.7393842018282
3210723.810137.4049372083586.395062791677
3313938.913229.2659696772709.634030322824
3413979.814243.0957945779-263.295794577907
3513807.412748.14028329991059.25971670007
3612973.911543.69284174241430.20715825758
3712509.812934.1037373036-424.303737303582
3812934.112976.3311981753-42.2311981753064
3914908.314702.0251392523206.274860747741
4013772.113869.0434891948-96.9434891948458
4113012.613503.3941589387-490.794158938741
4214049.914270.2858591979-220.385859197915
4311816.513158.4419012346-1341.9419012346
4411593.211064.7514683299528.448531670116
4514466.214416.559264531549.6407354685143
4613615.915227.0817932000-1611.18179320002
4714733.913662.71380818981071.18619181025
4813880.712434.23837477631446.46162522367
4913527.513560.5390884228-33.0390884227636
501358413728.5900635703-144.590063570307
5116170.215573.5724782049596.627521795052
5213260.614690.1934763267-1429.59347632665
5314741.914024.0564018549717.843598145078
5415486.515065.3355466502421.164453349818
5513154.513781.2421626330-626.742162633022
5612621.211990.6411027533630.558897246705
5715031.615531.8147219158-500.214721915792
5815452.416024.4896110769-572.089611076859
591542814996.1070578172431.892942182811
6013105.913634.0929504598-528.192950459772
6114716.814241.1005561881475.699443811862
621418014468.4051771226-288.405177122626
6316202.216510.1751009291-307.975100929085
6414392.415078.8821856548-686.48218565476
6515140.614861.7295627150278.870437284973
6615960.115813.5244853532146.575514646833
6714351.314236.0319698116115.268030188397
6813230.212681.9366631210548.263336879014
6915202.116167.6232390865-965.523239086522
701705616585.9101180026470.089881997425
7116077.715834.0886753871243.611324612908
7213348.214201.6257030140-853.425703013965
7316707.514952.44360046461755.05639953544
7416792.615250.51966268871542.08033731127
7516831.317745.6814828752-914.38148287516
7617804.516067.99416186021736.50583813976
7716370.216414.9668672790-44.7668672789805
7817602.517416.608096819185.891903180993
7917065.615709.88887459401355.71112540598
8014427.914277.5964180937150.303581906297
8117818.517847.9542355833-29.4542355832891
8218027.618794.2166467020-766.61664670198


Extrapolation Forecasts of Exponential Smoothing
tForecast95% Lower Bound95% Upper Bound
8317755.926520326117314.645992581618197.2070480707
8415721.480495912915237.910612063916205.0503797620
8517234.208797757916680.35754568117788.0600498349
8617252.294463189516645.055400973717859.5335254054
8719299.456037776318594.522747172320004.3893283803
8818091.13212732417363.077119585418819.1871350626
8917865.78053054217090.403241739918641.1578193441
9019006.758542418718138.889315347819874.6277694896
9117325.260358115416464.313943784218186.2067724465
9215343.688750573414507.523747759216179.8537533876
9319096.211394167918038.663517131020153.7592712048
9419967.526393567818896.664527982821038.3882591529
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/02/t124396617481cr5qtq520dxk3/1xdrr1243966093.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/02/t124396617481cr5qtq520dxk3/1xdrr1243966093.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/02/t124396617481cr5qtq520dxk3/231xf1243966093.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/02/t124396617481cr5qtq520dxk3/231xf1243966093.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/02/t124396617481cr5qtq520dxk3/3sk1y1243966093.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/02/t124396617481cr5qtq520dxk3/3sk1y1243966093.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