Home » date » 2009 » Jun » 05 »

Aantal bouwvergunningen in Vlaanderen-Wendy van Weelde-MAR202B

*Unverified author*
R Software Module: rwasp_exponentialsmoothing.wasp (opens new window with default values)
Title produced by software: Exponential Smoothing
Date of computation: Fri, 05 Jun 2009 03:09:23 -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/05/t1244193002yw36ruwho9tl01b.htm/, Retrieved Fri, 05 Jun 2009 11:10:02 +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/05/t1244193002yw36ruwho9tl01b.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 «
1528 1816 1420 1757 1544 1678 1655 1391 1403 1744 1266 1358 1596 1819 1416 1521 1638 1543 1623 1530 1336 1700 1615 1494 1578 1607 1767 1505 1938 1862 2571 2082 1781 1869 1785 1682 1556 2080 2027 1887 1935 1798 1590 1592 1387 1849 1470 1437 1500 2081 1552 1586 1914 1639 1633 1693 1224 1417 1577 1225 1510 1515 1393 1455 1532 1268 1365 1282 1063 1296 1639 1247 1515 1547 1299
 
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.341994826009028
beta0
gamma0.441083878543025


Interpolation Forecasts of Exponential Smoothing
tObservedFittedResiduals
1315961625.57291666667-29.5729166666674
1418191834.00079884334-15.0007988433376
1514161422.87060325291-6.87060325291395
1615211530.14589248886-9.14589248885636
1716381631.30971124516.69028875490062
1815431518.3894220504524.6105779495513
1916231652.88944570762-29.8894457076201
2015301375.70907659000154.290923409997
2113361440.51744076304-104.517440763044
2217001755.77301679438-55.7730167943778
2316151264.61560028645350.384399713548
2414941478.1535854361015.8464145639020
2515781719.94820106751-141.948201067513
2616071894.17366293501-287.173662935014
2717671392.32142721807374.678572781928
2815051629.4241908755-124.424190875499
2919381695.75964960590242.240350394098
3018621668.59736639099193.402633609013
3125711845.00555954260725.994440457398
3220821879.78924533455202.210754665452
3317811885.87057554576-104.870575545763
3418692215.15274231588-346.152742315884
3517851742.5682525001142.4317474998882
3616821753.69323316395-71.6932331639482
3715561919.75214710064-363.752147100644
3820801975.97222623882104.027773761181
3920271800.00185531290226.998144687097
4018871841.7413493518445.2586506481609
4119352072.52651897017-137.526518970166
4217981901.31149345085-103.311493450849
4315902130.82202598402-540.822025984016
4415921580.3404283021711.6595716978263
4513871432.12834434283-45.1283443428267
4618491711.81340097912137.186599020876
4714701517.30946879319-47.3094687931896
4814371464.62029991883-27.6202999188304
4915001560.98607159841-60.9860715984094
5020811856.51690922318224.483090776825
5115521757.43199740569-205.431997405693
5215861598.53537199705-12.5353719970512
5319141756.50454450728157.495455492719
5416391696.11592197115-57.115921971153
5516331814.44402403782-181.444024037822
5616931547.21760211804145.782397881960
5712241428.39296301991-204.392963019913
5814171706.52460815152-289.524608151518
5915771312.54034717415264.459652825853
6012251372.18910006863-147.189100068626
6115101417.9790301778892.0209698221165
6215151848.69076203581-333.690762035807
6313931433.93667103901-40.9366710390102
6414551387.2820397062467.7179602937615
6515321622.04641448273-90.046414482727
6612681414.71191827773-146.711918277729
6713651466.31422751109-101.314227511086
6812821321.46449716409-39.4644971640889
6910631037.6530664856025.3469335144041
7012961369.64634416173-73.6463441617313
7116391210.27721722589428.722782774113
7212471206.6280396479040.3719603521026
7315151385.99013006081129.009869939194
7415471705.79522799096-158.795227990956
7512991435.82212716730-136.822127167295


Extrapolation Forecasts of Exponential Smoothing
tForecast95% Lower Bound95% Upper Bound
761387.91059440295988.157047309231787.66414149667
771553.726958998821131.242025439811976.21189255783
781360.74153128029916.6873231539511804.79573940662
791475.694577787781011.071332109041940.31782346653
801383.44477486989899.1252717571161867.76427798266
811131.94057435205628.6951056533761635.18604305072
821426.53397101763905.048954515631948.01898751963
831438.15685454201899.0490331310781977.26467595294
841175.17351834387619.0010057393841731.34603094836
851366.45447292564793.725492999591939.18345285169
861558.60761374451969.7875180298012147.42770945922
871349.31903262688744.8360090539841953.80205619977
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/05/t1244193002yw36ruwho9tl01b/145u81244192958.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/05/t1244193002yw36ruwho9tl01b/145u81244192958.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/05/t1244193002yw36ruwho9tl01b/2vk351244192958.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/05/t1244193002yw36ruwho9tl01b/2vk351244192958.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/05/t1244193002yw36ruwho9tl01b/3g9t61244192958.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/05/t1244193002yw36ruwho9tl01b/3g9t61244192958.ps (open in new window)


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