Professional Documents
Culture Documents
rrf,GIce' 1'"11-ico
o? 1s 3e;:loF'''t 6
^
VLftoae).fE I t I t -?I)1
r' FL _
\n':-,^
\ (r-tr )'
+.-
r\--
) ' lT--i-t i[\-ttr
--:t
\ -.--
" na ( i-ff )'
{ n1r:L)
0-n +-.4
Ir-
[*) \
l',rou-; 6r-:n)s €L'L\ . t1 r-?-ii- K )
ViiC _). rt Y----
YJe-
,)w €E
utfi,n'frt-'-
e-
gta),,[:,) i'-")*-"" f
.\
\- o(*\6-)'ElQ)
?(e l1 )'| -=---
€itq> rI 'r 'L
)' ,/*-t)tr-rL')
. *-c
r ri*
4t i\ -
ftt*)
5,t,-u
) rr
{', t* J L f *l /
e V"l f 1'*-r't) yt-r- r. rar*_),,-, if.
Ir-i-t) ic'-./
l*)= rIl9lc"l''t,-iffii
(elrt )
.* f(ic
{Lir+ r) f
-^,
I
5fffr+ t,
_L )*ir;1 r*;-
' it"*') e(#' )r-
I r, &;'r\-- 143 -
rr I t
Bi..sg=
tA5 €
lr ' fl{-e
' I,')tt-le
ra {E{t) -It)2
./,
J-> -n)
G"*>' { q-"3
,'\'1 ,{ h tl"r'i 4 ?r;:
() :1.,,,.t
I
(r + p;2.1o+ B+ l)
0
(0.++z\ _ 0.+ I
- o.B
[o.o+o/
(o+ p)2.(o+ p +
cr := 1.928 g:- 2.433
rrl
\-- ---**'-*3
2.o.8.(B - o)
,y :(rz * *')'* * 3*3 - *3 -+ -0.145671786801 10774s36
1o+ 9;31o+ B + l).(o+ B + 2)
r
!
".*= - 6[1 1
,-a
dBs2 := -65J)91
dox:= 5.4762 dos2:= -51.5185 dpx:= -2.9545
(dax dos2 "* ) r oo* ) -
).rvx vs2l 43.ss3334888385 ,yf,so)'= + ,o11" lru
\dosz/
\cov pjlY /
lll \
( v* cou \ / a0* \ JMO) := s0l6s3
(
(dgx d9s2 ).1 l'l I -+ 50.6534745s6s58 \
Vs2/ \cov ( \dps2/ v* cov\ 1 dox \
- -l-
qf3 (dgx d9s2).1
' l.l | -+ 47.5341e8082t87
,gp;Io,p),= [cov vs2] [aosz/
t"
,iltll\
---
^,'tt(o 6 9lS fr
,4 S3,crsr0g*1-t ?
lD, -a (\-z1Ps.) rr
\ eEP'r
L, f.^ t: ) -rr4"' (z-ii*3) -itl, r3 -z-tflt'\'\1,1'
'^4t1..-'r'ho ,rd
a'-
i.'a- A
z- -l-
t7 L (/ra),
X. L* ( ,t )* "ru (&, ztr ) * srrT * xi -$ly'"E4:'r r
.z- .)tj
-rt)
v
> !tlr,,il
br"
-._ - .\o
c * ^ li :f,
_-g*
r )'
)t(e-}>=$.=,,
)iY
:!xj
f
=,,A:-lJ Ei v1
-ttz >: L'dr- =u
\ L I f,,r1
s ,1 * .1:[0"-Ll'>x, ,F
av)/."4^ Vl z-'4,t
Ltil-4
G LLQ,^,,
I i,. )A
4c^ *: ":* ?b<b
'14, 1,-
=o.5 Nd) >T bA
= *,
,*3 l"
bl,"
-P
a.t tt
I
f- =
-3
|,L
-.3
,IL -s ,IL
^--.. 7r
";L
w 9ri
\ :-.- >9-
ila'iaf JLS
u. (o'*rM
/\
56
, -(Ji P*) )t(^+f)
a.<4 c l+
(F -") C"r 1f *
€->
b rF,
t'
"F _2
V'f't {
2 s. p .t (efti uz+ ,tf o *fu
r' r) ( P+.r+ r ) t'(f, lPna-t)" n (p-,*f
+ t ( it-i f ->--+---
a19 (fr t q +)(f +a *z) .
L '*q)
*z)
il*
,1st^t:s\
a
" e-7
+
g *( f-*"('7':*.f::k{:
n.gra
;;1f ,diz) (f++3)
,u'(f+u
l
(.
'(f nq )U).'*tr/?
\*$
fl0ut' Lv r- .\ff a-.r rr1& 4 t$ C*l g,nl .fie- rl .- C 3) u3incr g,.lt t*c\
==-- 2. -7-
v6rt&).
i3(-
,s",2 *{*:::*::-"" 7-l
{
!f::1:Yrt)*'
^ t:
.e t" ' [",
t"- F7t' "
f"*Z:- -r-
-i, :-f^!
":J--- \ 3
(P'', {,3,.t){r?.rd,,){-ffi-;VrilWin),n.(71*,l1i'(l,,uo,,:::)\stl-iii
L a_>
\
I
Ip ra+ r )2
/ 17t
ll/
\.^.--'--/
bn)
i uy& &1q.t C"tr ct, & rtg.q! H ft-e't s4-tP o.@ to c."\ct -f
cd& CrJ *+ r.*.^, (&-
, ,r
f{Y1*), i:l*>.
fC*>
Lcl,l}-
J itngr&s -, l*Ntf
, ( {s-l^*) '' )
,-I ve Ji': i"J',1._'i1' J3=
fonr= A . s ^( ) e;;:i:J-ilti,' (t- tr- -z*+*'j
\+,u,.)l*,= L
$=
{ a *hn '
n-fi;fi-nz
_L.I Sho\\J bt IU'rx rrr"n
.
:> tr:n; a -:- i e
:J:Jl+
rstr- -
t€-
\ t q. -F:n )'
-
.#'
) e g-ll-* **' J ? +1.,'t
.,i7it 65L
r5t>)
tr
_*/
li:.r
z
J
i- +-6*<*'
-=iELir+,)= Iso rr-l*) * l3o"fg:y.ut*
yi-u
'- '* *';:
;7T,= +,
*::l \
,' 'r).o Ltkn).=
,-- **, 'l-^:rj-*',-;.--_1
\ t ,-pu) =€;
\
;c" 6B\-: W,:-:n ,7 Hqqztolurl f{"li;;41 [J
-> P( r[IF.,.] {.r) = f ("n,"'*r' z *> = F( t <P- * :)
, ,'LL rup(0, l) =
ZL
-a'4 4r.
/r"\;5" (Le"drr'$'-
,' '-+'n
fc\c.r z, )1.{- \i
Qr:ts S1,ott r.,' --------
Ltst -b;\/a ,j."f- )\
2 * '*"',
Ot,= \; ':v '<'^.-"r'" ^*.
rJZ
= -**-*j io" \;
'r3' \4 t
e'/"'d'* =f(1? iu
G
a,
w =\ \7= e ;'
-+/,
2_ -1t,/z -{lt*zl
o
il G-s')W
==
-*9 qF':-tlt'€'L
,i.
I',-,{.,t8 tY- - {oz/t
lq {, d -ira
,[?r,rFrr*+- 61r7r)'--HnLu -G rt "{
!l e1t1? .n t'" Gl(hr \.i li 2a 6 :rs I
o
)r tL ")
e{a" l-l
A
*(a - zzax'] 1\
- 2z N*+
" J,ile'i11;L
)
,5J
* \'*
lr.
l- \ \^ -:
L* 5n" 1, LI +i)
l:
-5i
{,\= L (h\*olA3+ ('\2rqI*r)
r{
{,3-- ,rrut*'\3* sA"t 3lt+\)
"d?{r,'. ,; ( A'+e'\+ r)
Ai
,/,..1
"u
i' -.r + 3.{t"
\,1,-
. /,
.-lrrA.-* +\G'
(-
t*A
''
-.l, (r+&r
)
(
'
:l
"P-z1*-.r{ -z)
(.\z*eN't) "
4. -d t= { r+y' +,\.}> -
- \
'jt./L
=
I .},
+t-i,,'4rr/,Lfv,,.----.'u--|..-L7*/.J-",..,:.
-
L=iiF - rt" ) \,7' o"arlil*j^n*,=:.:J tr+ r
=
i.*r-'xz
rw*'A
'"
- -r \
t,.trts,'-.(io (ex--Btr,-BAt./,.-
'\ n,-?
n
-lts (l'-tfl-+A+l)o ?91xA'L#.6(.r-a;
dr( z A= . *Ni+"'}{ *?
-E-*[ lt-tr *\ ) a2 4
-_--*Ll,,t)
,v ii +.,- i^ L-
ts. o^,
"=#i \l : b,|j* AJI -.u-i]f*
t5^^ie:
I n t r
r
\ = /o,.19.{ r-ot"',-=,'
|
f6,(gs#
l** r#*rii'-rl
*Wf,# I;i; s,rq1 _e
i. *arq"#t:-)
.. ^ i t.u
*urtrJ3 + r.iQ r\ +zal)
Wlt;-;ilrp^,{
(-:, )
+-..}\
l*,, .-,(\S).
'y* rti
't-
+ o\a'--"I *\
i'r a']
Assignment 1, MECO 6315
Meisam Hejazinia
1/19/2013
From the top first six plots are for log normal
distribution, and the bottom six plots are for gamma
distribution.
1
Figure 1: Log normal and gamma distribution, from top to buttom, left to write, we first have log normal
distributions with standard devation varying from 1 to 6 for log normal distribution, and then the same
variation for gamma distribution
2
Assignment 2, MECO 6315
Meisam Hejazinia
1/26/2013
a) Beta Distribution comparison with normal Figure 2 shows gamma distribution comparison
distribution: with normal distribution. The first parameter λ is
assumed to be one, and there were variation in terms
As could be seen in the figure 1, beta distribution of k = 7, 10, 20, 30, 40, 50, 75, 100 from top left to
is used for data that is varied in the limited range. buttom left. The red line is the normal distribution,
Stats are shown in the following: and blue line is gamma distribution. The mean and
variances set the same. Following table shows them:
p mean variance
1 0.500000 0.083333 p mean variance
2 0.500000 0.050000 7 7.000000 7.000000
3 0.500000 0.035714 10 10.000000 10.000000
4 0.500000 0.027778 20 20.000000 20.000000
5 0.500000 0.022727 30 30.000000 30.000000
6 0.500000 0.019231 40 40.000000 40.000000
7 0.500000 0.016667 50 50.000000 50.000000
8 0.500000 0.014706 75 75.000000 75.000000
9 0.500000 0.013158 100 100.000000 100.000000
10 0.500000 0.011905
Gamma distribution’s kurtosis is higher than 3,
Normal distribution is in red, and beta distribu- which is the kurtosis of the normal distribution,
tion is in blue. Beta distribution’s kurtosis is lower and this means it has lighter tail, in comparison
than 3, which is normal distributions, therefore it with normal distribution. Gamma distribution has
has heavier tail. It is symmetric per parameters that skewness more than zero, and this means it is right
we have selected, therefore both skewness of normal skewed, in contrast to normal distribution that is
and beta distribution are the same here, and they symmetric. Gamma distribution has higher degree
are both symmetric, yet beta distribution’s param- of freedom, and shape could be different, normally it
eters (higher degree of freedom) lets us to have dif- is sum of exponential time of processes. So it would
ferent shapes from U shape, to convex and concave be combination of memoryless stages and higher
curves. We selected both standard deviations and level memory posesed processes. Since at high level
means to be the same. Increasing both parameters it has memory, so it is skewed.
α
together would not touch the mean since it is α+β ,
yet will affect the variance, which has the form of Source code in MATLAB is attached.
ααβ(α + β)2 (α + β + 1). %appendix: MATLAB code
2. b) % comparison of normal vs. beta
x = −25 : 25;
1
disp(0 pmeanvariance0 ); gamma = gampdf (x, 25 ∗ p, 1);
gm,gv
f orp = 1 : 10,
= gamstat(25 ∗ p, 1);
subplot(5, 2, p)
dsp = sprintf (0 %d%f %f 0 , 25 ∗ p, gm, gv);
holdon;
disp(dsp);
x = linspace(0, 1, 2 ∗ p ∗ 100);
norm = normpdf (x, gm, gv);
beta = betapdf (x, p, p);
bm,bv plot(x, norm,0 r0 );
= betastat(p, p); plot(x, gamma,0 b0 );
dsp = sprintf (0 %d%f %f 0 , p, bm, bv); holdof f ;
disp(dsp); end
norm = normpdf (x, bm, bv);
plot(x, norm,0 r0 );
plot(x, beta,0 b0 );
holdof f ;
end
%comparison of gamma vs. normal
disp(0 pmeanvariance0 );
subplot(5, 2, 1)
holdon;
x = linspace(−7, 21, 2 ∗ 7 ∗ 100);
gamma = gampdf (x, 7, 1);
gm,gv
= gamstat(7, 1);
dsp = sprintf (0 %d%f %f 0 , 7, gm, gv);
disp(dsp);
norm = normpdf (x, gm, gv);
plot(x, norm,0 r0 );
plot(x, gamma,0 b0 );
holdof f ;
f orp = 1 : 5,
subplot(5, 2, p + 1)
holdon;
x = linspace(−10 ∗ p, 30 ∗ p, 20 ∗ p ∗ 100);
gamma = gampdf (x, 10 ∗ p, 1);
gm,gv
= gamstat(10 ∗ p, 1);
dsp = sprintf (0 %d%f %f 0 , 10 ∗ p, gm, gv);
disp(dsp);
norm = normpdf (x, gm, gv);
plot(x, norm,0 r0 );
plot(x, gamma,0 b0 );
holdof f ;
end
f orp = 3 : 4,
subplot(5, 2, p + 4)
holdon;
x = linspace(−25 ∗ p, 75 ∗ p, 50 ∗ p ∗ 100);
2
3
Figure 1: Beta Distribution comparison with Normal Distribution. From the top left to down right the
parameters are changed from 1 to 10. The red line is normal distribution, and blude line is beta distribution.
The mean and variance of both distributions are the same.
4
Figure 2: Gamma Distribution comparison with normal distribution. From top left to bottom right the
parameter k of gamma distribution varies in the range of 7,10,20,30,40,50,75,100. Red line is the normal
distribution, and blue line gamma distribution. Mean and variances are set the same.
Assignment 3, MECO 6315
Meisam Hejazinia
2/03/2013
1
Figure 1: Simulation of 100 sample means of size 12,24, 36, and 50 respectively from top left to bottom
right, showing better approximation of normal distribution histogram, as sample size increases.
Figure 2: Simulation of 1000 sample means of size 12,24, 36, and 50 respectively from top left to bottom
right, showing better approximation of normal distribution histogram, as sample size increases.
2
3
Assignment 4, MECO 6315
Meisam Hejazinia
2/09/2013
Answer to Question 1
In the sequence of random variables from sample
size of 12, 24, and 36 was selected, and 1000 times
simulation is run to calculate the mean distribution;
then the normal plot was drawn using ’normplot(z)’
function in matlab, and the result is plotted in figure
1. As could be seen the result lay on the line, showing
that the distribution is normal. The result shows
that although we have selected the sample from
uniform distribution the mean converges to normal
distribution as sample size increases. This is right
the same result as central
P limit theorem. In other
word assuming sn = n1 xi when xi was selected
from uniform variable, based on the figure will go to
normal and in other √ word p(sn < t) → N (µ, σ 2 /n),
and we can say that n(p(sn < t) − µ) → N (0, σ 2 )
Answer to Question 2
1
Figure 1: From top left to bottom right the sample size are varied from 12, 24 to 36. Samples were taken
from the uniformly distributed random numbers. Result shows that although the distribution we collect
sample from is unform the mean of samples as sample size increases will be closer to normal distribution
based on central limit theorem.
2
Figure 2: Stable distribution normal probability plot. Top one has α = 1.5 while the one in the bottom has
α = 2.0. Both are result of 100 times simulation.
3
Assignment 5, MECO 6315
Meisam Hejazinia
2/20/2013
Answer to Question 1
Answer to Question 2
1
λ µ σ2 α β
0.1000 0.1051 0.0011 8.9335 76.0446
0.2000 0.2147 0.0049 7.1159 26.0298
0.3000 0.3076 0.0146 4.1704 9.3855
0.4000 0.4098 0.0250 3.5497 5.1126
0.5000 0.5019 0.0324 3.3655 3.3398
Table 1: Estimated Mean, Variance of Burr XI dist., and corresponding beta parameters
Figure 1: Burr distribution against Beta distribution. From top left to bottom right mode of burr distribution
increases from .1 to .5. The mean variance and parameter corresponding to this is showen in the table.
2
Assignment 6, MECO 6315
Meisam Hejazinia
2/27/2013
Answer to Question 2
I used the SAS for q-q plot with the following code:
data sheets;
input betas @;
datalines;
0.565
0.595
0.537
;
run;
proc capability data=sheets noprint;
qqplot betas beta(alpha = 1.937935 beta =
2.450107);
run;
1
x̄ 0.44164
s2 0.04576692
α 1.937935114
β 2.450107441
Figure 1: QQ-plot of data with beta distribution with estimated parameters of table 1
2
Assignment 7, MECO 6315
Meisam Hejazinia
03/06/2013
Answer to Question 2
1
x̄ 34.62
s2 95.934
1̄
x 0.0912
µ = x̄ 34.62
λ = 1̄ 1 1 436.67
x − x̄
3
µ
σµ2 = nλ .95
2λ2
σλ2 = n 3813.6
2
Assignment 8, MECO 6315
Meisam Hejazinia
03/20/2013
Part 2
1
Figure 1: Bias of MLE vs. Bays estimator. Red one is MLE, and blue one is Bays estimator.
2
Figure 2: Variance of MLE vs. Bays estimator. Red one is MLE, and blue one is Bays estimator.
3
Figure 3: MSE of MLE vs. Bays estimator. Red one is MLE, and blue one is Bays estimator.
4
P πM LE V(πM LE ) BiasM LE MSEM LE πBays V(πBays ) BiasBays MSEBays
0.05 0.05 0.00 0.02 0.00 0.06 0.00 0.04 0.00
0.10 0.10 0.00 0.04 0.00 0.13 0.00 0.06 0.00
0.15 0.15 0.01 0.05 0.01 0.18 0.01 0.08 0.01
0.20 0.20 0.01 0.06 0.01 0.24 0.01 0.09 0.01
0.25 0.25 0.02 0.07 0.02 0.29 0.01 0.09 0.02
0.30 0.30 0.02 0.08 0.03 0.33 0.02 0.09 0.02
0.35 0.35 0.03 0.08 0.03 0.38 0.02 0.08 0.03
0.40 0.40 0.03 0.08 0.04 0.42 0.02 0.07 0.03
0.45 0.45 0.04 0.08 0.04 0.46 0.03 0.06 0.03
0.50 0.50 0.04 0.08 0.05 0.50 0.03 0.04 0.03
0.55 0.55 0.05 0.08 0.05 0.54 0.03 0.02 0.04
0.60 0.60 0.05 0.07 0.05 0.57 0.03 0.01 0.04
0.65 0.65 0.05 0.07 0.05 0.60 0.03 0.02 0.04
0.70 0.70 0.05 0.06 0.05 0.64 0.03 0.04 0.04
0.75 0.75 0.05 0.05 0.05 0.67 0.03 0.06 0.03
0.80 0.80 0.04 0.04 0.04 0.70 0.03 0.09 0.03
0.85 0.85 0.04 0.03 0.04 0.72 0.03 0.11 0.03
0.90 0.90 0.03 0.02 0.03 0.75 0.03 0.14 0.03
0.95 0.95 0.02 0.01 0.02 0.78 0.03 0.17 0.03
5
Assignment 9, MECO 6315
Meisam Hejazinia
04/03/2013
Part b
1
Figure 1: Confidence interval versus different z-values
2
Assignment 10, MECO 6315
Meisam Hejazinia
04/07/2013
1
Source SS df MS F P rob > F
Columns (b) 867.53 4 216.882 9.25 2.18E − 05
Rows 1990.84 10 199.084 8.49 3.21E − 07
Error(w) 938.07 40 23.452
Total 3796.44 54
2
MECO 6315
Assignment 11 gcr{ . {,ri"r'lo- e'S.
For the data on the other side of this page, perform alrygitE.ft, r6ille to
determine what variables are might be useful in pfgdlgfng the _crime rate. Make
, (j) su". you doE-li:.iilq*tsito check fo" ..urnatuIg andloientitqutl,ier\ Also make sure
, ffiyou do-JgUdrl4l&fs for the predictor variables selected fil-a figlrnelptobability
IO plot to check the normality assumption.
In determining which variables to use as predictors do at least the forward selection
-r,b!i -{r.l method, the backward elimination method and true step-wise regression. If you did
/G ;;u not wind up with the same models from the three approaches explain which model
;,:t ti,r t) you would use and why.
/\
_
i::.\ .
{: Comment as to whether the variables chosen are ttsensible" and whether th( sign df
t(]/ their coefficients seems reasonable.
I can send you the data as an EXCEL file if you will e-mail me at
rviorkou,@utdallas.edu.
&a t rer'3
* Fu.l .!r i
\
* B"r-r,k *,,.{ &.L,rri.r
* 5 i*.pu,.st
-Q1r'rc rno;bl7
;tt 6\'1'w*'Y;t
L1;r\.*..tr1rl lD:!l::tu
I '
* - -f) , ,
'wr.,r{ €rc-rX$tit-i
Datafile Name: US Crime
Number of cases: 47
Variable Names:
The Data:
04/20/2013
Figure 1: Monthly Retail Sales Figure 2: Log Transformed Monthly Retail Sales
1 General Analysis
1
Figure 5: Result of Decomposition into Seasonal and Trend Components
2
Figure 6: Holts Winter Prediction Versus Actual. Figure 7: Holts Winter Forecast
Red curve illustrates predicted time series.
2 Holt Winter
Holt Winter is used to forcast using exponential
smoothing. Result of running Holt Winter method
tells us that α = 0.6259951. This is not close to
zero, so recent observations have more effect on de-
termining the current value. Coefficient is calculated
6.588841. Sum of square is alculate SSE = 5.522659
for Holt Winter multiplicative procedure.
Figure 8: Holts Winter Residual Plot
By default, HoltWinters() just makes forecasts for
the same time iginalperiod covered by our or time se- fit.
ries. As a result we had no choice other than run the Although exponential smoothing methods such
model on all years, rather than holding two last years as Holt Winter are useful for making forecast,
to compare. Figure 6 shows how forecast, in red, is they make no assumption about the correlation
compared with time series. To be able to forecast between time series elements. To have prediction
another package called forecast is used. We excluded using exponential smoothing method, it is required
last two years, and created the model, and forecast that forecast error be uncorrelated and normally
procedure created forecast values that are shown in distributed with mean zero, and constant vari-
table 1. Figure 7 shows these forecasts. As I evalu- ance. Autoregressive Integrated Moving Average
ated whether the real value is inside the confidence (ARIMA) take into concern non-zero autocorrelation
interval, I could not reject that they are inside of it. in irregular component of time series. In the next
Ljung-Box test is used for autocorrelation between section we will run ARIMA procedure on the data.
the residuals. The result was showing that we have
autocorrelation, since we had p − value < 2.2e − 16. Finally result of accuracy analysis of Holt winter
This tells us that we need to use another method method is shown in the following:
to improve the forecast. Also I plotted corologram,
on lag 2 and 3, and 7 and 8 the confidence level is
touched. Holt winter residuals is illustrated in figure 3 ARIMA
8. In sample forecast error seems to have constant
variance over time. Figure 9 shows normal probabil- In order to run ARIMA we need to have stationary
ity plot of residuals of the model, illustrating quite time series. To achieve stationary time series, it was
3
Point Forecast Lo 80 Hi 80 Lo 95 Hi 95
Jan 1976 6.588841 6.398409 6.779273 6.297601 6.880081
Feb 1976 6.588841 6.364174 6.813508 6.245243 6.932439
Mar 1976 6.588841 6.334507 6.843175 6.19987 6.977812
Apr 1976 6.588841 6.307955 6.869727 6.159263 7.018419
May 1976 6.588841 6.283705 6.893977 6.122176 7.055506
Jun 1976 6.588841 6.261246 6.916436 6.087827 7.089855
Jul 1976 6.588841 6.24023 6.937452 6.055687 7.121995
Aug 1976 6.588841 6.220411 6.957271 6.025377 7.152305
Sep 1976 6.588841 6.201606 6.976076 5.996616 7.181066
Oct 1976 6.588841 6.183672 6.99401 5.969188 7.208494
Nov 1976 6.588841 6.166499 7.011183 5.942924 7.234758
Dec 1976 6.588841 6.149997 7.027685 5.917687 7.259995
Jan 1977 6.588841 6.134094 7.043588 5.893366 7.284316
Feb 1977 6.588841 6.118729 7.058953 5.869866 7.307816
Mar 1977 6.588841 6.10385 7.073832 5.847111 7.330571
Apr 1977 6.588841 6.089414 7.088268 5.825033 7.352649
May 1977 6.588841 6.075384 7.102298 5.803576 7.374106
Jun 1977 6.588841 6.061727 7.115955 5.78269 7.394992
Jul 1977 6.588841 6.048415 7.129267 5.762331 7.415351
Aug 1977 6.588841 6.035424 7.142258 5.742462 7.43522
Sep 1977 6.588841 6.02273 7.154952 5.723049 7.454633
Oct 1977 6.588841 6.010315 7.167367 5.704061 7.47362
Nov 1977 6.588841 5.99816 7.179521 5.685473 7.492209
Dec 1977 6.588841 5.986251 7.191431 5.66726 7.510422
4
Figure 9: Holts Winter Residual Normal Probability
Plot
Coefficients:
ma1 ma2 ma3 ma4 ma5 ma6 ma7 ma8
−0.3977 −0.2035 0.1365 −0.3439 0.1385 −0.0073
−0.1453 0.3126
5
Figure 13: Manual ARIMA Model Prediction Figure 14: Automatic ARIMA Model Prediction
6
ME RMSE MAE MPE MAPE MASE
0.005551083 0.129558696 0.106177122 0.053450937 1.648646594 0.921964505
7
Point Forecast Low 80 Low 95 High 80 High 95
Jan-76 6.565937 6.436982 6.694893 6.368717 6.763158
Feb-76 6.607679 6.446344 6.769014 6.360938 6.85442
Mar-76 6.674616 6.500495 6.848738 6.40832 6.940913
Apr-76 6.66898 6.482948 6.855012 6.384469 6.953491
May-76 6.749278 6.552054 6.946502 6.44765 7.050906
Jun-76 6.739237 6.531423 6.947051 6.421413 7.057061
Jul-76 6.717767 6.499877 6.935657 6.384533 7.051001
Aug-76 6.636195 6.408675 6.863716 6.288233 6.984158
Sep-76 6.644269 6.40751 6.881028 6.282177 7.006361
Oct-76 6.761017 6.515367 7.006668 6.385327 7.136708
Nov-76 6.624975 6.370743 6.879206 6.236161 7.013788
Dec-76 6.509787 6.247255 6.772319 6.108279 6.911296
Jan-77 6.547228 6.263095 6.831361 6.112684 6.981771
Feb-77 6.61214 6.311597 6.912683 6.152499 7.07178
Mar-77 6.666267 6.353268 6.979265 6.187576 7.144957
Apr-77 6.659518 6.33454 6.984496 6.162507 7.156528
May-77 6.7356 6.39907 7.07213 6.220921 7.250279
Jun-77 6.730885 6.383185 7.078585 6.199124 7.262646
Jul-77 6.714704 6.356183 7.073225 6.166394 7.263015
Aug-77 6.633988 6.264963 7.003013 6.069613 7.198363
Sep-77 6.64678 6.267542 7.026018 6.066785 7.226775
Oct-77 6.760761 6.371577 7.149944 6.165555 7.355966
Nov-77 6.634583 6.235701 7.033464 6.024546 7.244619
Dec-77 6.533912 6.125563 6.942261 5.909397 7.158427
8
AIC AICc BIC
275.1742 276.9463 324.5862
9
Assignment 13, MECO 6315
Meisam Hejazinia
04/30/2013
1
xi delta logit discrim xi delta logit discrim
1 0 0 0 26 0 1 1
2 0 0 0 27 0 1 1
3 0 0 0 28 1 1 1
4 0 0 0 29 1 1 1
5 0 0 0 30 1 1 1
6 1 0 0 31 1 1 1
7 0 0 0 32 0 1 1
8 0 0 0 33 0 1 1
9 0 0 0 34 1 1 1
10 0 0 0 35 1 1 1
11 0 0 0 36 0 1 1
12 0 0 0 37 0 1 1
13 0 0 0 38 1 1 1
14 1 0 0 39 1 1 1
15 0 0 0 40 1 1 1
16 0 0 0 41 1 1 1
17 1 0 0 42 1 1 1
18 1 0 0 43 1 1 1
19 1 0 0 44 1 1 1
20 0 0 0 45 1 1 1
21 1 0 0 46 1 1 1
22 0 0 0 47 1 1 1
23 1 0 0 48 1 1 1
24 0 0 0 49 1 1 1
25 0 1 1 50 1 1 1
2
κ 0.48
var(κ) 0.02
zscore 3.3968
λ 0.4167
var(λ) 0.0235
zscore 2.9892