Home » date » 2008 » May » 25 »

Inschrijvingen nieuwe personenwagens - Elisa Somers

R Software Module: rwasp_exponentialsmoothing.wasp (opens new window with default values)
Title produced by software: Exponential Smoothing
Date of computation: Sun, 25 May 2008 10:13:28 -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/May/25/t1211732087zr801ng3ubj7wjq.htm/, Retrieved Sun, 25 May 2008 18:14:51 +0200
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
41086 39690 43129 37863 35953 29133 24693 22205 21725 27192 21790 13253 37702 30364 32609 30212 29965 28352 25814 22414 20506 28806 22228 13971 36845 35338 35022 34777 26887 23970 22780 17351 21382 24561 17409 11514 31514 27071 29462 26105 22397 23843 21705 18089 20764 25316 17704 15548 28029 29383 36438 32034 22679 24319 18004 17537 20366 22782 19169 13807 29743 25591 29096 26482 22405 27044 17970 18730 19684 19785 18479 10698
 
Text written by user:
Single additief
 
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
alpha0.567279660412336
beta0
gamma0


Interpolation Forecasts of Exponential Smoothing
tObservedFittedResiduals
23969041086-1396
34312940294.07759406442834.92240593562
43786341902.2714137989-4039.27141379887
53595339610.8748978658-3657.87489786579
62913337535.8368679737-8402.83686797367
72469332769.0784230093-8076.07842300931
82220528187.6833977412-5982.6833977412
92172524793.8287915160-3068.82879151605
102719223052.94463680124139.05536319878
112179025400.9465576645-3610.94655766448
121325323352.5300206655-10099.5300206655
133770217623.272060218220078.7279397818
143036429013.52602740931350.47397259071
153260929779.62244397622829.37755602376
163021231384.6707831357-1172.67078313569
172996530719.438499503-754.438499503005
182835230291.4608837029-1939.46088370295
192581429191.2441722129-3377.24417221293
202241427275.4022450704-4861.40224507044
212050624517.6276303591-4011.62763035911
222880622241.91287050836564.08712949175
232222825965.5859882433-3737.58598824331
241397123845.3294780707-9874.32947807074
253684518243.823204951318601.1767950487
263533828795.89246051636542.10753948367
273502232507.09700389562514.90299610439
283477733933.7503214957843.249678504326
292688734412.1087127604-7525.10871276042
302397030143.2675976198-6173.26759761978
312278026641.2984512076-3861.29845120756
321735124450.8623770559-7099.86237705586
332138220423.2548588253958.74514117471
342456120967.13147693293593.86852306714
351740923005.8599922650-5596.85999226497
361151419830.8751564775-8316.87515647751
373151415112.881042019216401.1189579808
382707124416.90223488492654.09776511515
392946225922.51791378053539.48208621949
402610527930.3941096867-1825.39410968665
412239726894.8851590249-4497.88515902493
422384324343.3263934396-500.32639343958
432170524059.5014068738-2354.50140687385
441808922723.8406483421-4634.84064834208
452076420094.5898192853669.410180714702
462531620474.33259927774841.6674007223
471770423220.9120381889-5516.91203818892
481554820091.2800506404-4543.28005064038
492802917513.969686355010515.0303136450
502938323478.93251190495904.06748809506
513643826828.1899116039609.81008839698
523203432279.6397151759-245.639715175901
532267932140.2933009671-9461.29330096713
542431926773.094050133-2454.09405013299
551800425380.9364107536-7376.93641075361
561753721196.1504287779-3659.15042877791
572036619120.38881614311245.61118385688
582278219826.99870552732955.00129447274
591916921503.3108363738-2334.31083637377
601380720179.1037778188-6372.10377781882
612974316564.338910625613178.6610893744
622559124040.32529809521550.67470190483
632909624919.99151640174176.00848359826
642648227288.9561908564-806.956190856396
652240526831.1863569397-4426.18635693975
662704424320.30086345332723.69913654675
671797025865.3999846989-7895.39998469887
681873021386.5001625593-2656.50016255933
691968419879.5216524574-195.521652457359
701978519768.606195848116.3938041519104
711847919777.9060675003-1298.90606750025
721069819041.0630746212-8343.06307462119


Extrapolation Forecasts of Exponential Smoothing
tForecast95% Lower Bound95% Upper Bound
7314308.21308685141802.3111108718826814.1150628309
7414308.2130868514-69.801329454465328686.2275031572
7514308.2130868514-1724.7845392380530341.2107129408
7614308.2130868514-3224.2347513964231840.6609250992
7714308.2130868514-4605.1800916232533221.606265326
7814308.2130868514-5891.9392850061534508.3654587089
7914308.2130868514-7101.5013009902335717.927474693
8014308.2130868514-8246.289445717236862.7156194200
8114308.2130868514-9335.7142268233437952.1404005261
8214308.2130868514-10377.106703198438993.5328769012
8314308.2130868514-11376.310024542339992.7361982450
8414308.2130868514-12338.070740024140954.4969137269
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/25/t1211732087zr801ng3ubj7wjq/1nhic1211732003.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/25/t1211732087zr801ng3ubj7wjq/1nhic1211732003.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/25/t1211732087zr801ng3ubj7wjq/2v7bg1211732003.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/25/t1211732087zr801ng3ubj7wjq/2v7bg1211732003.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/25/t1211732087zr801ng3ubj7wjq/3iabe1211732003.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/25/t1211732087zr801ng3ubj7wjq/3iabe1211732003.ps (open in new window)


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