Home » date » 2008 » May » 28 »

exponential smoothing prijs eenpersoonskamers - sam roggeman

R Software Module: rwasp_exponentialsmoothing.wasp (opens new window with default values)
Title produced by software: Exponential Smoothing
Date of computation: Wed, 28 May 2008 13:30:07 -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/28/t1212003091a1lhslv8h8vn2a9.htm/, Retrieved Wed, 28 May 2008 21:31:31 +0200
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
430,00 433,87 434,55 434,55 434,55 434,55 434,71 434,71 434,71 434,71 434,73 436,34 437,55 439,58 439,65 439,76 439,76 439,76 440,06 440,13 441,18 441,14 441,14 441,19 449,06 456,46 456,79 456,87 457,25 455,93 456,00 456,22 456,22 456,58 457,61 457,61 460,43 460,43 462,18 462,37 462,59 463,19 463,48 464,30 461,41 463,35 463,35 463,35 464,27 472,28 472,36 472,56 472,56 472,56 474,15 474,59 474,97 474,99 474,99 474,99 478,34 485,70 485,75 485,85 485,84 485,85 485,84 486,00 488,79 489,71 489,71 489,71
 
Text written by user:
 
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
alpha1
beta0.211289943060778
gamma0


Interpolation Forecasts of Exponential Smoothing
tObservedFittedResiduals
3434.55437.74-3.19
4434.55437.745985081636-3.19598508163614
5434.55437.070705575714-2.52070557571415
6434.55436.538105838149-1.9881058381485
7434.71436.118039068807-1.40803906880734
8434.71435.980534574132-1.27053457413166
9434.71435.712083396307-1.00208339630660
10434.71435.500353252559-0.790353252558873
11434.73435.333359558828-0.603359558827776
12436.34435.2258757519981.11412424800204
13437.55437.0712790009210.478720999079144
14439.58438.3824279335581.19757206644164
15439.65440.665462867288-1.01546286728797
16439.76440.520905775878-0.760905775878314
17439.76440.470134037818-0.71013403781842
18439.76440.320089857402-0.560089857402204
19440.06440.201748503323-0.141748503322788
20440.13440.471798470127-0.341798470126776
21441.18440.4695798908350.710420109164602
22441.14441.66968451525-0.52968451525004
23441.14441.517767504183-0.377767504182657
24441.19441.437949029734-0.247949029733718
25449.06441.4355598933597.62444010664069
26456.46450.9165274093625.54347259063826
27456.79459.487807417397-2.69780741739663
28456.87459.247787841786-2.37778784178602
29457.25458.825385184084-1.57538518408444
30455.93458.87252213824-2.94252213824041
31456456.930796803197-0.930796803196529
32456.22456.804128799648-0.584128799647942
33456.22456.90070825883-0.68070825883018
34456.58456.756881449581-0.176881449581003
35457.61457.079508178170.530491821829571
36457.61458.221595764999-0.611595764999038
37460.43458.0923717306362.33762826936379
38460.43461.406289074567-0.976289074567319
39462.18461.2000090115910.979990988408872
40462.37463.157071251732-0.78707125173213
41462.59463.180771011769-0.590771011768879
42463.19463.27594703833-0.0859470383302323
43463.48463.857787293495-0.377787293495203
44464.3464.0679646377640.232035362236445
45461.41464.936991376239-3.52699137623853
46463.35461.3017735691772.04822643082275
47463.35463.674543215121-0.324543215121366
48463.35463.605970497678-0.255970497677595
49464.27463.5518865057980.718113494201873
50472.28464.6236166650997.6563833349008
51472.36474.251333463982-1.89133346398182
52472.56473.931713724068-1.37171372406823
53472.56473.841884409414-1.28188440941415
54472.56473.571035125539-1.01103512553851
55474.15473.3574135714310.792586428568939
56474.59475.114879112794-0.52487911279411
57474.97475.443977434938-0.473977434937979
58474.99475.723830769698-0.733830769697931
59474.99475.588779708152-0.598779708152165
60474.99475.462263577711-0.472263577710748
61478.34475.3624790332672.97752096673338
62485.7479.341599268796.35840073121005
63485.75488.045065397245-2.29506539724491
64485.85487.61014116014-1.76014116014028
65485.84487.338241034635-1.49824103463538
66485.85487.011677771736-1.16167777173587
67485.84486.776226941491-0.93622694149093
68486486.568411604331-0.568411604331232
69488.79486.6083119488172.18168805118296
70489.71489.859280692928-0.149280692927903
71489.71490.747739183819-1.03773918381904
72489.71490.528475330758-0.81847533075802


Extrapolation Forecasts of Exponential Smoothing
tForecast95% Lower Bound95% Upper Bound
73490.355539724725486.144219835997494.566859613454
74491.001079449451484.386191948613497.615966950289
75491.646619174176482.72204151673500.571196831623
76492.292158898902481.023051286338503.561266511465
77492.937698623627479.249223224916506.626174022339
78493.583238348353477.385203730852509.781272965853
79494.228778073078475.424996309759513.032559836398
80494.874317797804473.366748661039516.381886934569
81495.519857522529471.210603889119519.829111155939
82496.165397247255468.957703909563523.373090584947
83496.81093697198466.609689550074527.012184393887
84497.456476696706464.168436179268530.744517214143
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/28/t1212003091a1lhslv8h8vn2a9/1y2y81212003001.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/28/t1212003091a1lhslv8h8vn2a9/1y2y81212003001.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/28/t1212003091a1lhslv8h8vn2a9/27pyc1212003001.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/28/t1212003091a1lhslv8h8vn2a9/27pyc1212003001.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/28/t1212003091a1lhslv8h8vn2a9/3acgk1212003001.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/28/t1212003091a1lhslv8h8vn2a9/3acgk1212003001.ps (open in new window)


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