Home » date » 2010 » Jun » 06 »

Inschrijvingen nieuwe personenwagens

*Unverified author*
R Software Module: /rwasp_exponentialsmoothing.wasp (opens new window with default values)
Title produced by software: Exponential Smoothing
Date of computation: Sun, 06 Jun 2010 16:07:22 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Jun/06/t1275840530xtfndnnelchek0j.htm/, Retrieved Sun, 06 Jun 2010 18:08:50 +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/2010/Jun/06/t1275840530xtfndnnelchek0j.htm/},
    year = {2010},
}
@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 = {2010},
    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:
KDGP2W61
 
Dataseries X:
» Textbox « » Textfile « » CSV «
5.074 4.643 5.451 5.397 5.635 5.708 5.578 5.574 5.352 5.302 4.923 4.982 5.101 4.763 5.505 5.385 5.794 5.695 5.798 5.705 5.422 5.311 4.968 5.053 5.236 4.782 5.531 5.566 5.961 5.868 5.872 5.908 5.594 5.526 5.111 5.177 5.835 5.348 6.038 6.039 6.408 6.214 6.138 6.529 6.058 6.026 5.678 5.733 6.488 5.936 6.84 6.694 7.193 6.991 7.209 7.104 6.83 6.848 6.396 6.414 7.151 6.882 7.698 7.626 7.936 8.054 8.128 8.062 7.708 7.574 7.039 7.146 7.07 6.607 7.699 7.663 7.988 7.723 8.087 8.028 7.362
 
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'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Estimated Parameters of Exponential Smoothing
ParameterValue
alpha0.559630632692926
beta0.0234545572772744
gamma0.256002529557058


Interpolation Forecasts of Exponential Smoothing
tObservedFittedResiduals
135.1015.073015563475940.0279844365240587
144.7634.74491793654520.0180820634547976
155.5055.494878224314580.0101217756854188
165.3855.384962728943873.72710561293843e-05
175.7945.79975376250684-0.00575376250684023
185.6955.70034313780302-0.00534313780302309
195.7985.661115008425490.136884991574514
205.7055.73661660126565-0.0316166012656511
215.4225.49249451976837-0.0704945197683662
225.3115.40815241789843-0.09715241789843
234.9684.97144204584224-0.00344204584224439
245.0535.02943328355950.023566716440504
255.2365.164480193325480.0715198066745204
264.7824.85242116638604-0.0704211663860352
275.5315.55986841956288-0.0288684195628779
285.5665.424877313953090.141122686046906
295.9615.927665539863060.0333344601369365
305.8685.84869856677570.0193014332242951
315.8725.839823620812960.0321763791870442
325.9085.837339940395590.0706600596044149
335.5945.64068079502438-0.0466807950243826
345.5265.56654521918851-0.0405452191885098
355.1115.1601603579849-0.0491603579848992
365.1775.19919322455277-0.0221932245527690
375.8355.318502873740550.516497126259449
385.3485.21745634802680.130543651973195
396.0386.12779419212348-0.0897941921234828
406.0395.976874363853320.0621256361466758
416.4086.4682974133028-0.0602974133028047
426.2146.3342657063743-0.120265706374304
436.1386.2527012340951-0.114701234095095
446.5296.174796856065070.35420314393493
456.0586.10934525352416-0.0513452535241612
466.0266.03568235453588-0.00968235453587596
475.6785.61778374912620.0602162508737987
485.7335.73597020508194-0.00297020508193935
496.4885.952194689453570.535805310546427
505.9365.780556118668450.155443881331553
516.846.774415996784650.0655840032153456
526.6946.72742122244282-0.033421222442823
537.1937.21184406668911-0.0188440666891099
546.9917.09108209706072-0.100082097060715
557.2097.029794827945050.179205172054952
567.1047.18774743122067-0.083747431220667
576.836.80407769835850.0259223016415033
586.8486.782025836945720.0659741630542792
596.3966.3701083882310.0258916117689951
606.4146.48027661401617-0.0662766140161706
617.1516.760997354218470.390002645781527
626.8826.41534405158420.466655948415798
637.6987.70325146888048-0.00525146888047789
647.6267.601586114198850.0244138858011462
657.9368.1982358398763-0.262235839876304
668.0547.924767833493040.129232166506958
678.1288.036107151617350.0918928483826491
688.0628.12739902701665-0.0653990270166513
697.7087.73081600475976-0.0228160047597576
707.5747.6891884823673-0.115188482367305
717.0397.12332248022609-0.0843224802260876
727.1467.17434038702171-0.0283403870217143
737.077.57214065910529-0.50214065910529
746.6076.70755739519404-0.100557395194036
757.6997.601136601422250.097863398577747
767.6637.54993388216220.113066117837794
777.9888.1521536287938-0.164153628793799
787.7237.96754458481684-0.244544584816841
798.0877.851222216265150.235777783734851
808.0287.993122411740130.0348775882598753
817.3627.65033431707146-0.288334317071460


Extrapolation Forecasts of Exponential Smoothing
tForecast95% Lower Bound95% Upper Bound
827.437958660591257.21793606113727.6579812600453
836.940585797837556.659876952900967.22129464277413
847.033293104799886.691699281769057.37488692783072
857.375217872936696.969268688726217.78116705714716
866.822082783081866.395827065793297.24833850037044
877.817325201197037.292060276576018.34259012581805
887.706336586144937.148018637706828.26465453458304
898.212984346901987.581952049618068.8440166441859
908.104255932073397.444383432416728.76412843173005
918.179901931736537.478156802195028.88164706127805
928.162775867678287.427215101635028.89833663372153
937.75176068555115-1.2305905892820616.7341119603844
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Jun/06/t1275840530xtfndnnelchek0j/13oes1275840438.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jun/06/t1275840530xtfndnnelchek0j/13oes1275840438.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Jun/06/t1275840530xtfndnnelchek0j/2efdd1275840438.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jun/06/t1275840530xtfndnnelchek0j/2efdd1275840438.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Jun/06/t1275840530xtfndnnelchek0j/3efdd1275840438.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Jun/06/t1275840530xtfndnnelchek0j/3efdd1275840438.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=F, beta=F)
if (par2 == 'Double') fit <- HoltWinters(x, gamma=F)
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