Home » date » 2010 » May » 31 »

Indicator van het consumentenvertrouwen

*Unverified author*
R Software Module: /rwasp_exponentialsmoothing.wasp (opens new window with default values)
Title produced by software: Exponential Smoothing
Date of computation: Mon, 31 May 2010 13:30:53 +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/May/31/t127531292384vs8nsemsvusdk.htm/, Retrieved Mon, 31 May 2010 15:35:23 +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/May/31/t127531292384vs8nsemsvusdk.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:
KDGP2W62
 
Dataseries X:
» Textbox « » Textfile « » CSV «
-15 -15 -10 -12 -11 -11 -17 -18 -19 -22 -24 -24 -20 -25 -22 -17 -9 -11 -13 -11 -9 -7 -3 -3 -6 -4 -8 -1 -2 -2 -1 1 2 2 -1 1 -1 -8 1 2 -2 -2 -2 -2 -6 -4 -5 -2 -1 -5 -9 -8 -14 -10 -11 -11 -11 -5 -2 -3 -6 -6 -7 -6 -2 -2 -4 0 -6 -4 -3 -1 -3
 
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.793304674764876
betaFALSE
gammaFALSE


Interpolation Forecasts of Exponential Smoothing
tObservedFittedResiduals
2-15-150
3-10-155
4-12-11.0334766261756-0.966523373824378
5-11-11.80022413690000.80022413690002
6-11-11.16540258823750.165402588237546
7-17-11.0341879417705-5.96581205822951
8-18-15.7668945363326-2.23310546366737
9-19-17.5384275399029-1.46157246009706
10-22-18.6978998050055-3.30210019499446
11-24-21.3174713262367-2.68252867376335
12-24-23.4455338633239-0.554466136676062
13-20-23.88539444154793.88539444154788
14-25-20.8030928677625-4.19690713223752
15-22-24.13251891532062.13251891532055
16-17-22.44078169077225.44078169077224
17-9-18.12458414110759.12458414110748
18-11-10.8860088866815-0.113991113318532
19-13-10.9764385697587-2.02356143024129
20-11-12.58173931204301.58173931204302
21-9-11.32693812153992.32693812153991
22-7-9.48096723183372.4809672318337
23-3-7.512804328881554.51280432888155
24-3-3.932775558480650.93277555848065
25-6-3.19280034743153-2.80719965256847
26-4-5.419764954812431.41976495481243
27-8-4.29345877909239-3.70654122090761
28-1-7.23387525684716.23387525684711
29-2-2.288512873689210.288512873689207
30-2-2.059634262261710.059634262261711
31-1-2.012326123233341.01232612323334
321-1.209243077285732.20924307728573
3320.5433597836169791.45664021638302
3421.698919276724150.301080723275850
35-11.93776802198047-2.93776802198047
361-0.3927770832313981.39277708323140
37-10.712119487801458-1.71211948780146
38-8-0.646112905627483-7.35388709437252
391-6.479985915286297.47998591528629
402-0.5460781215142492.54607812151425
41-21.47373755459958-3.47373755459958
42-2-1.28199468637057-0.718005313629425
43-2-1.85159165817882-0.148408341821181
44-2-1.96932468951967-0.0306753104803346
45-6-1.99365955672358-4.00634044327642
46-4-5.171908159074351.17190815907435
47-5-4.24222793808557-0.757772061914432
48-2-4.843372057208512.84337205720851
49-1-2.587711712129181.58771171212918
50-5-1.32817258871816-3.67182741128184
51-9-4.24105043901785-4.75894956098215
52-8-8.016347372715240.0163473727152432
53-14-8.00337892552012-5.99662107447988
54-10-12.76052645669862.76052645669858
55-11-10.5705879137875-0.429412086212521
56-11-10.9112425291804-0.0887574708195906
57-11-10.9816542457019-0.0183457542981031
58-5-10.99620801834875.99620801834867
59-2-6.239388166530044.23938816653004
60-3-2.87626171587886-0.123738284121136
61-6-2.97442387511955-3.02557612488045
62-6-5.37462755884421-0.625372441155792
63-7-5.87073843988222-1.12926156011778
64-6-6.766586914555930.766586914555932
65-2-6.158449931625134.15844993162513
66-2-2.859532161091240.859532161091237
67-4-2.17766127958680-1.82233872041320
680-3.623331105495633.62333110549563
69-6-0.748925601284963-5.25107439871504
70-4-4.914627469323760.91462746932376
71-3-4.189049222240851.18904922224085
72-1-3.245770915711642.24577091571164
73-3-1.46419034982660-1.53580965017340


Extrapolation Forecasts of Exponential Smoothing
tForecast95% Lower Bound95% Upper Bound
74-2.68255532485817-8.97920151644913.61409086673277
75-2.68255532485817-10.71992835900415.35481770928781
76-2.68255532485817-12.14569314050676.78058249079036
77-2.68255532485817-13.38314359587858.01803294616215
78-2.68255532485817-14.49162816627289.12651751655651
79-2.68255532485817-15.504638361626310.13952771191
80-2.68255532485817-16.443275706790211.0781650570738
81-2.68255532485817-17.321853035392611.9567423856763
82-2.68255532485817-18.150607868265112.7854972185488
83-2.68255532485817-18.937162718257113.5720520685408
84-2.68255532485817-19.687374451843314.3222638021270
85-2.68255532485817-20.405858785822215.0407481361059
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/May/31/t127531292384vs8nsemsvusdk/15tuc1275312648.png (open in new window)
http://www.freestatistics.org/blog/date/2010/May/31/t127531292384vs8nsemsvusdk/15tuc1275312648.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/May/31/t127531292384vs8nsemsvusdk/2gltx1275312648.png (open in new window)
http://www.freestatistics.org/blog/date/2010/May/31/t127531292384vs8nsemsvusdk/2gltx1275312648.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/May/31/t127531292384vs8nsemsvusdk/3gltx1275312648.png (open in new window)
http://www.freestatistics.org/blog/date/2010/May/31/t127531292384vs8nsemsvusdk/3gltx1275312648.ps (open in new window)


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