Home » date » 2011 » Jan » 16 »

oef 10.2 eigen waarden

*Unverified author*
R Software Module: /rwasp_exponentialsmoothing.wasp (opens new window with default values)
Title produced by software: Exponential Smoothing
Date of computation: Sun, 16 Jan 2011 13:19:16 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2011/Jan/16/t1295183822c0a9jvw2amd5wle.htm/, Retrieved Sun, 16 Jan 2011 14:17:05 +0100
 
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/2011/Jan/16/t1295183822c0a9jvw2amd5wle.htm/},
    year = {2011},
}
@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 = {2011},
    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:
KDGP2W102
 
Dataseries X:
» Textbox « » Textfile « » CSV «
89,3 88,1 93,6 79,7 83,8 62,3 62,3 77,6 80,3 97 94 75,1 74 77,6 75,1 85 75,4 63,2 64,7 77 82,6 97,6 99 75,3 71,6 76,8 83,9 79,7 77,5 73,1 65,6 85,2 98,3 98 100,6 84,1 76,7 82,4 95,5 79,9 82,4 83,6 73,1 91,1 118,6 102,9 111,8 93,9 91,6 92 91,1 97,5 94,7 96,7 78,7 103,5 113,8 106,1 120,3 114,2 106,3 98,8 113,1 97,7 116,3 107,2 94,5 123,5 126,6 126,5 141,4 124,3 124,9 108,9 126,7 107,7 121,8 118,3 122,8 149,5 147 139,3 162,1 142,2 141,4 124,7 114 126,6 121,9 125,1 122,1 135,9 148,4 137,5 145,3 139,9 128,2 115,4 124,7 111,5 121,1 122,5 127,4 143,7 157,8 148,8 162,9 153,9
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time1 seconds
R Server'Gwilym Jenkins' @ www.wessa.org


Estimated Parameters of Exponential Smoothing
ParameterValue
alpha0.731350595836053
beta0.015292862227736
gammaFALSE


Interpolation Forecasts of Exponential Smoothing
tObservedFittedResiduals
393.686.96.7
479.790.6749847662469-10.9749847662469
583.881.40060979085942.39939020914062
662.381.9344277678502-19.6344277678502
762.366.1341996829024-3.83419968290244
877.661.846594430963215.7534055690368
980.372.0605890318888.23941096811195
109776.871372434078420.1286275659216
119490.6024689849423.39753101505802
1275.192.1352675993852-17.0352675993852
137478.5339967777313-4.53399677773135
1477.674.02482758758823.5751724124118
1575.175.4862904316792-0.386290431679242
168574.046214620698810.9537853793012
1775.481.0222220089975-5.62222200899748
1863.275.8124750906152-12.6124750906152
1964.765.349338895827-0.649338895826986
207763.62818699071113.371813009289
2182.672.310969178183810.2890308218162
2297.678.854233864051118.7457661359489
239991.79199793049027.20800206950977
2475.396.3722288671173-21.0722288671173
2571.680.0340148962004-8.43401489620045
2676.872.84443647673953.95556352326049
2783.974.76022439483679.1397756051633
2879.780.5697122155095-0.869712215509466
2977.579.049027907034-1.54902790703399
3073.177.014200647072-3.91420064707197
3165.673.2058247368685-7.60582473686847
3285.266.612510428889418.5874895711106
3398.379.383582881364418.9164171186356
349892.60678629780455.39321370219554
35100.696.00010693412424.59989306587578
3684.198.8646792963343-14.7646792963343
3776.787.4018253960065-10.7018253960065
3882.478.79064815068453.60935184931554
3995.580.686327504126414.8136724958736
4079.990.9419761273838-11.0419761273838
4182.482.16458236172710.235417638272921
4283.681.637550261431.96244973856993
4373.182.3955330257254-9.29553302572538
4491.174.816018019773216.2839819802268
45118.686.126223837585132.4737761624149
46102.9109.640046404788-6.74004640478756
47111.8104.3994328015447.40056719845596
4893.9109.583336611196-15.6833366111963
4991.697.7094042169086-6.1094042169086
509292.7690426949368-0.769042694936829
5191.191.725756439159-0.625756439159062
5297.590.78026393412926.71973606587082
5394.795.2820582604291-0.582058260429122
5496.794.43717095755572.26282904244434
5578.795.6982021632108-16.9982021632108
56103.582.68255128165920.817448718341
57113.897.556230791637416.2437692083626
58106.1109.266624592303-3.16662459230274
59120.3106.74579838632713.5542016136732
60114.2116.605354596551-2.40535459655094
61106.3114.765977309598-8.46597730959843
6298.8108.399472742024-9.59947274202383
63113.1101.09662085019312.0033791498073
6497.7109.727278681949-12.0272786819493
65116.3100.64858216640315.6514178335972
66107.2111.987769244218-4.78776924421778
6794.5108.325196137739-13.8251961377391
68123.597.898468357218125.6015316427819
69126.6116.59284032531910.0071596746815
70126.5123.9941835788622.50581642113758
71141.4125.93744113754815.4625588624521
72124.3137.529560122966-13.229560122966
73124.9127.989715519552-3.08971551955231
74108.9125.831095558628-16.9310955586278
75126.7113.36020917045213.3397908295477
76107.7123.177151720956-15.4771517209558
77121.8111.74570283178510.054297168215
78118.3119.099146022922-0.799146022921832
79122.8118.5059790654854.29402093451512
80149.5121.68572903331927.8142709666807
81147142.3781150297014.62188497029899
82139.3146.160428921942-6.86042892194237
83162.1141.46841562509320.6315843749067
84142.2157.113455431684-14.9134554316841
85141.4146.595810491043-5.1958104910434
86124.7143.1270587169-18.4270587168995
87114129.775529264618-15.7755292646176
88126.6118.186756935058.41324306495022
89121.9124.38255510635-2.48255510635032
90125.1122.581938794642.51806120536048
91122.1124.46668931634-2.3666893163398
92135.9122.75250452959113.1474954704087
93148.4132.53167545608615.8683245439136
94137.5144.478204732342-6.9782047323422
95145.3139.6378638702555.66213612974516
96139.9144.105371673136-4.2053716731362
97128.2141.309237021397-13.1092370213969
98115.4131.854635615895-16.4546356158954
99124.7119.769339006024.93066099398028
100111.5123.379338515196-11.8793385151957
101121.1114.5624710721136.53752892788745
102122.5119.2879092325153.21209076748457
103127.4121.617211661895.78278833811028
104143.7125.89127256302217.8087274369781
105157.8139.15969190258918.6403080974108
106148.8153.244769733887-4.44476973388669
107162.9150.39684986059612.5031501394042
108153.9160.083642066154-6.18364206615405


Extrapolation Forecasts of Exponential Smoothing
tForecast95% Lower Bound95% Upper Bound
109156.034677060112132.773109212627179.296244907597
110156.508122363589127.535017526592185.481227200585
111156.981567667065123.116596609688190.846538724442
112157.455012970542119.200310048516195.709715892567
113157.928458274018115.627934977412200.228981570625
114158.401903577495112.307353295223204.496453859767
115158.875348880971109.179498412428208.571199349515
116159.348794184448106.203901580995212.493686787901
117159.822239487924103.351458474094216.293020501755
118160.295684791401100.600446926937219.990922655865
119160.76913009487897.9341722254992223.604087964256
120161.24257539835495.3394950224593227.145655774249
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2011/Jan/16/t1295183822c0a9jvw2amd5wle/16jyh1295183954.png (open in new window)
http://www.freestatistics.org/blog/date/2011/Jan/16/t1295183822c0a9jvw2amd5wle/16jyh1295183954.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/Jan/16/t1295183822c0a9jvw2amd5wle/2eemj1295183954.png (open in new window)
http://www.freestatistics.org/blog/date/2011/Jan/16/t1295183822c0a9jvw2amd5wle/2eemj1295183954.ps (open in new window)


http://www.freestatistics.org/blog/date/2011/Jan/16/t1295183822c0a9jvw2amd5wle/347c01295183954.png (open in new window)
http://www.freestatistics.org/blog/date/2011/Jan/16/t1295183822c0a9jvw2amd5wle/347c01295183954.ps (open in new window)


 
Parameters (Session):
 
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=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