Home » date » 2009 » Jun » 02 »

cijferreeks - Verkoop aantal eenmanswoningen - Anne-Sophie De Smedt

*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 07:52:13 -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/t12439510152utb6f71b5flsxk.htm/, Retrieved Tue, 02 Jun 2009 15:56:59 +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/t12439510152utb6f71b5flsxk.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 «
53 59 73 72 62 58 55 56 52 52 43 37 43 55 68 68 64 65 57 59 54 57 43 42 52 51 58 60 61 58 62 61 49 51 47 40 45 50 58 52 50 50 46 46 38 37 34 29 30 40 46 46 47 47 43 46 37 41 39 36 48 55 56 53 52 53 52 56 51 48 42 42 44 50 60 66 58 59 55 57 57 56 53 51 45 58 74 65 65 55 52 59 54 57 45 40 47 47 60 58 63 64 64 63 55 54 44
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time2 seconds
R Server'George Udny Yule' @ 72.249.76.132


Estimated Parameters of Exponential Smoothing
ParameterValue
alpha0.571865347172465
beta0
gamma0.440257094572627


Interpolation Forecasts of Exponential Smoothing
tObservedFittedResiduals
134342.88114316239320.118856837606820
145554.83941047189220.160589528107792
156867.8215432609330.178456739066945
166867.73056035543870.269439644561288
176463.7749407541150.225059245885021
186564.79394154069460.20605845930541
195755.4687431025271.53125689747303
205958.02637972927450.973620270725512
215455.0567899595376-1.05678995953762
225754.92607893856882.0739210614312
234347.2940463958363-4.29404639583629
244238.56206059903723.43793940096275
255246.27413278855785.72586721144224
265161.4467211984748-10.4467211984748
275868.3662683347066-10.3662683347066
286062.2622718698977-2.26227186989774
296156.85048895332324.14951104667676
305860.1101662861139-2.11016628611392
316249.710184930052712.2898150699473
326158.31515961352052.68484038647953
334955.9414466891155-6.94144668911549
345153.0356099907569-2.03560999075687
354741.8531852009195.146814799081
364039.97749750120940.0225024987906295
374546.1676496343313-1.16764963433133
385054.3497144748269-4.34971447482686
395864.7710929832406-6.7710929832406
405262.250569488423-10.2505694884230
415053.4791085722009-3.4791085722009
425051.1963603847112-1.19636038471117
434644.03319562761241.96680437238761
444644.92436308389811.07563691610189
453839.8159501692132-1.81595016921322
463740.7659051327993-3.76590513279933
473429.94779486350934.05220513649071
482926.48025969664262.5197403033574
493033.8741646295526-3.87416462955262
504039.90868209998070.0913179000193196
514652.4133291447466-6.41332914474664
524649.4415542369943-3.44155423699426
534745.84028124369581.15971875630424
544746.64059130669590.359408693304104
554340.96333974237832.03666025762174
564641.72647981236364.2735201876364
573737.9017922463409-0.901792246340868
584139.00697676598131.99302323401865
593932.95582834188626.04417165811379
603630.33857654968665.66142345031345
614838.32391842380339.67608157619665
625552.85480324384162.14519675615836
635665.3079359462154-9.3079359462154
645361.2409835416346-8.2409835416346
655255.76237405281-3.76237405281
665353.5970599044756-0.597059904475628
675247.68898109747164.31101890252843
685650.17437226695105.82562773304895
695146.26179010835924.73820989164075
704851.1379382053022-3.13793820530225
714242.916168941332-0.916168941332018
724236.24639560700775.75360439299234
734445.0411727414269-1.04117274142691
745052.0237398541579-2.02373985415791
756059.93400899860850.0659910013915308
766661.42878971373064.57121028626941
775864.1211999459995-6.12119994599954
785961.2035829154875-2.20358291548752
795555.3019096977404-0.301909697740356
805755.43481443776151.56518556223854
815748.88086639037358.11913360962652
825654.20587781713061.79412218286937
835349.22336275339163.7766372466084
845146.49442368821404.50557631178595
854553.2947539003563-8.29475390035628
865855.94404590009082.05595409990919
877466.58124258841737.41875741158266
886573.130001331359-8.13000133135901
896566.543623656313-1.54362365631302
905566.9821928435083-11.9821928435083
915255.8469165529275-3.84691655292746
925954.30448222980704.69551777019305
935450.77601189717213.22398810282793
945752.10946214690384.89053785309622
954549.2713628183717-4.27136281837166
964042.0774486294968-2.07744862949677
974742.70044948193754.29955051806253
984754.5029856456102-7.5029856456102
996060.6845870783719-0.684587078371891
1005859.6685489748219-1.66854897482192
1016358.01871383318274.98128616681734
1026460.2210940511153.77890594888495
1036459.63245667578254.36754332421751
1046364.3977449246665-1.39774492466651
1055557.1073811817044-2.10738118170443
1065455.7061329110397-1.70613291103971
1074447.3687057535314-3.36870575353143


Extrapolation Forecasts of Exponential Smoothing
tForecast95% Lower Bound95% Upper Bound
10841.104519250375931.848692549382950.360345951369
10944.117537206933133.455122229932654.7799521839336
11051.23665742473839.332714449206263.1406004002699
11162.994151646663849.966464837883776.0218384554439
11262.184138863222648.122226162220376.246051564225
11362.741911953263247.716794515001477.7670293915251
11461.8690314003845.938842473172977.799220327587
11559.23032052028242.443787689484076.01685335108
11660.411266837707442.810004107368878.0125295680461
11753.786466126990135.406552772315272.166379481665
11853.665987140448134.539095596124872.7928786847714
11945.990861050662526.145087057914065.836635043411
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/02/t12439510152utb6f71b5flsxk/176d31243950731.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/02/t12439510152utb6f71b5flsxk/176d31243950731.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/02/t12439510152utb6f71b5flsxk/2s2h61243950731.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2009/Jun/02/t12439510152utb6f71b5flsxk/2s2h61243950731.ps (open in new window)


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