Maximum Likelihood Estimation and Binary Dependent Variables

Size: px
Start display at page:

Download "Maximum Likelihood Estimation and Binary Dependent Variables"

Transcription

1 MLE and Bnary Deendent Varables Maxmum Lkelhood Estmaton and Bnary Deendent Varables. Startng wth a Smle Examle: Bernoull Trals Lets start wth a smle examle: Teams A and B lay one another 0 tmes; A wns 4 of the games. The games are layed under smlar crcumstances, and the outcomes of each game are ndeendent. You are nterested n estmatng the (unknown) robablty,, that A wns a game. You don t know the value of, but you do know that whatever t s, t s n some sense consstent wth the outcomes you observe. So the challenge s to use the outcomes nformaton to come u wth your best estmate of the value of that s behnd all ths. Here s the data: Game Outcome for A Prob of that outcome: lkelhood lnlkelhood Wn ln() Loss - ln(-) 3 Loss - ln(-) 4 Loss - ln(-) 5 Wn ln() 6 Wn ln() 7 Loss - ln(-) 8 Loss - ln(-) 9 Wn ln() 0 Loss - ln(-) Prob Outcomes: Sum of lnlkelhoods: 4 6 ( ) 4ln( ) + 6ln( )

2 MLE and Bnary Deendent Varables Snce the outcomes of the games are ndeendent n the robablstc sense, the robablty of seeng ths artcular sequence of wns and losses for A s: 4 6 ( )( )( ) ( )( ) ( ) = ( ). Ths s the lkelhood of observng the sequence of wns and losses, condtonal on the unknown arameter. Wth Maxmum Lkelhood Estmaton (MLE) we estmate by answerng the queston: Whch arameter value generates the greatest lkelhood of the observed outcomes or more formally: max lkelhood( ) max ( ) 4 6 *. To solve for functon s strctly ncreasng f lnlkelhood. So we can restate the roblem: *, t s usually easer to frst take the ln(.) of the lkelhood. Snce the ln(.) * maxmzes the lkelhood, t wll also maxmze the 4 6 * [ lkelhood ] = + max ln ( ) max ln ( ) max 4 ln( ) 6 ln( ). We can use the Frst Order Condton (FOC) to solve for * : 4 6 * 4 FOC: = 0 = =.40 = % wns * * 0 The Second Order Condton s satsfed snce: d 4 6 SOC: ln [ lkelhood( ) ] = < 0 for > 0. d ( ) So we have: A s %wns s an MLE of the robablty that A wll beat B. %Wns as an MLE More generally: Suose that teams A and B lay one another n tmes; A wns k of the games. (Unlke the above, you don t know the sequence of wns and losses, you just know that there were k wns n n games.). As above, the games are layed under smlar crcumstances, and the outcomes of each game are ndeendent. And you want to estmate the robablty,, that A wns a game. Snce each game has two outcomes, A wns (wth robablty ) or B wns, wth robablty -, the robablty that A wns k out of n games s gven by the Bnomal dstrbuton: n k n k P( k wns n n games) = ( ) k Ths s also the lkelhood that A wns k out of n games, and so the lkelhood functon s: n k n k Lkn (, ) == ( ). k

3 MLE and Bnary Deendent Varables As dscussed above. wth Maxmum Lkelhood Estmaton (MLE), the goal s to fnd the value of the arameter value that makes most lkely what was observed, namely k wns * n n games. And so the MLE estmate of,, wll be defned by: max Lkn (, ) *. To solve ths otmzaton roblem, frst take ln(.) s as above and then use frst and * second order condtons (FOC and SOC) to fnd the that maxmzes the lnlkelhood: n max ln [ Lkn (, ) ] = max ln + kln( ) + ( n k) ln( ). k k n k * k FOC : = 0 = = % wns * * ( ) n k n k SOC : < 0 maxmum (snce SOC s everywhere < 0) * ( ) ( * ) We have the same result as above, that the wn ercent s an MLE estmator of, the robablty of a wn.. MLE More Generally Suose that Ly (, y,, y β, β,, β ) n k s the robablty (or lkelhood) of observng the outcomes { y } gven arameters { β j }. As the betas change, the lkelhood of gettng the outcomes that actually occurred wll change. The MLE estmates of those unknown arameters wll be the set of arameter values that would have wth the greatest robablty redcted the samle outcomes that were actually observed so the estmaton roblem s: max L { } { y } { } { * β j β β j } j. Tycally, t s convenent to take the ln of the lkelhood functon to solve the otmzaton roblem snce whatever maxmzes L() wll also maxmze lnl(): { L y } { * j j } { } { } { } j max ln β β β. In ths case, the maxmand s the called the lnlkelhood (or log-lkelhood) functon. Snce the overall lkelhood functon s often the roduct of a number of ndvdual lkelhood functons (as, say, n the case of ndeendent observatons), by takng ln s, we convert a messy multlcatve functon nto a much easer to evaluate addtve functon. And so standard ractce s n fact to take ln s and maxmze lnlkelhoods. 3

4 MLE and Bnary Deendent Varables 3. SLR Models and Maxmum Lkelhood Estmaton Consder the standard Smle Lnear Regresson (SLR) model: SLR: Y = β0 + βx + U Snce U N(0, σ ), condtonal on x, we have Y x N( β + β x, σ ) 0 The condtonal densty functon for Y s defned by: f( y x, β0, β) = ex ( y β 0 βx ) σ π σ And so the Lkelhood functon s: ({ } { } ) L y x, β0, β = f( y x, β0, β) = ex ( y β0 βx) σ π σ ln L(.) = nln ( y β0 βx) σ π σ and Log Lkelhood: ( ) Snce nln σ π s ndeendent of the arameters to be estmated, β0 and β, and snce s a negatve scalar, σ max β0, β nln ( y 0 x ) mn β0, β ( y 0 x ) σ π σ β β { β β } Note that to maxmze the lnlkelhood exresson s to mnmze SSR = ( y β0 βx). So the MLE estmates of β0 and β ˆ ˆ ( β0 and β ) wll also be the arameter values that mnmze SSRs. Or ut dfferently: For the standard SLR model, the OLS estmates and the MLE estmates of the ntercet and sloe are one and the same. 4

5 MLE and Bnary Deendent Varables 4. An Examle: Predctng NFL Game Wnners In ths examle, we ll buld some models that redct NFL game wnners as a functon of varous game stats, ncludng rushng yards, assng yards, and tme of ossesson. The data come from Warren Reole s webste, and cover every regular season NFL game from 00 through the 03 season. Here are the summary stats for the numerc varables n the dataset (the Home team s off and the Vstors are def ): Varable Obs Mean Std. Dev. Mn Max season scoreoff frstdownoff rushattoff rushydsoff assattoff asscomoff assydsoff assntoff fumblesoff sacknumoff sackydsoff enydsoff untavgoff scoredef frstdowndef rushattdef rushydsdef assattdef asscomdef assydsdef assntdef fumblesdef sacknumdef sackydsdef enydsdef lne totallne For each game, and for both teams, we have the followng data: game date, teams, fnal score, st down yardage, 3 rd down converson rates, rushng and assng attemts and yards, ntercetons, fumbles, sacks and sack yards, enalty yards, average unt yards, and tme of ossesson. In addton, we have venue nformaton and ont sreads and total (OU) lnes. Let s start by redctng the robablty of a home team vctory as a functon of the dfference n total rushng and assng yards: netyds = netrush + netass, where netrush = HomeRushYds VsRushYds = rushydsoff rushydsdef, and lkewse for netass. 5

6 MLE and Bnary Deendent Varables Take I: OLS - Lnear Probablty Models The frst estmated model s a standard Lnear Probablty Model named because the estmated robabltes are lnear n the exlanatory varables:. reg hwns netyds Source SS df MS Number of obs = F(, 3074) = Model Prob > F = Resdual R-squared = Adj R-squared = 0.49 Total Root MSE = hwns Coef. Std. Err. t P> t [95% Conf. Interval] netyds _cons netyds s hghly statstcally sgnfcant. The models estmates that on average, and controllng for nothng other than home feld advantage, an ncrease n net yards of 00 ncreases the chance of a vctory by 6% onts. An attractve feature of the LPM s that you can read the estmated effects rght off of the regresson outut. Here are the redcted values from the model: Ftted values netyds Rght away you can see a roblem. Some of the robabltes are below zero whle others are well above. That s a roblem. One way around ths roblem s to ntroduce second and thrd order terms: 6

7 MLE and Bnary Deendent Varables. reg hwns netyds* Source SS df MS Number of obs = F( 3, 307) = Model Prob > F = Resdual R-squared = Adj R-squared = 0.5 Total Root MSE =.4557 hwns Coef. Std. Err. t P> t [95% Conf. Interval] netyds netyds -4.44e e e e-07 netyds3-6.35e-09.9e e e-09 _cons Here are the redcted values from the two models: Ftted values netyds Ftted values Ftted values Whle the redcted robabltes are no longer outsde the [0,] nterval, we now have a new ssue: n the tals of the dstrbuton, the redcted robabltes move counter to what s exected (ncreases n net yardage redct decreases n wn robabltes). Notce, however, that for the overwhelmng majorty of the observatons, the redcted wn robabltes for the two models are vrtually the same. 7

8 MLE and Bnary Deendent Varables Take II: MLE - Logt The logt model s based on the logstc functon whch s defned by grahed below: f( x) = x e and It s a symmetrc functon ( f ( x) = f( x) ), bounded below by zero, ncreasng everywhere, and bounded above by one. In the logt secfcaton, P( Hwns netyds) = ( 0 netyds) e. + β + β ( β0+ βnetyds) e Snce P( Hloses netyds) = P( Hwns netyds) = =, + ( 0 netyds) e β + β ( β0+ βnetyds) + e the rato of the two robabltes s: OddsRato P( Hwns netyds) PHloses ( netyds) ( β0+ βnetyds) = =. e And so ln[ OddsRato] β0 β = + netyds lnear n the exlanatory varable! The logstc and logt functons are nverses of one another. The logt functon s defned by: logt( ) = ln( ). 8

9 MLE and Bnary Deendent Varables And so one way to thnk about the Logt Model s that t assumes that the lnoddsrato s lnear n the RHS varables and n that way, the model looks a bt lke the LPM. To llustrate how MLE/logt estmaton works, suose that the Home team wns the frst game, loses the second and wns the thrd, and that these results are ndeendent, so that the robablty of the three occurrng s just the roduct of the robabltes of each one haenng. Then the lkelhood of these three outcomes (condtonal on the dfferent netyds) s: P( Hwns netyds)* P( Hloses netyds)* P( Hwns3 netyds 3), or ( β0+ βnetyds) e 3 0 ( β0+ βnetyds) ( β0+ βnetyds) ( β0+ βnetyds3) (,, β, β ) L Hwns Hloses Hwns =. + e + e + e The MLE method wll estmate the coeffcent values by maxmzng ths exresson wth resect to β0 & β. If we take the ln( ) of ths exresson, and use the fact that ln()=0, we get the log-lkelhood functon ln( + e β + β ) ( β + β netyds ) ln( + e β + β ) ln( + e β + β ) ( 0 netyds ) ( 0 netyds ) ( 0 netyds3 ) 0 whch s much easer to evaluate. logt hwns netyds Iteraton 0: log lkelhood = Iteraton : log lkelhood = Iteraton : log lkelhood = Iteraton 3: log lkelhood = Iteraton 4: log lkelhood = Logstc regresson Number of obs = 3076 LR ch() = Prob > ch = Log lkelhood = Pseudo R = 0.98 hwns Coef. Std. Err. z P> z [95% Conf. Interval] netyds _cons Gven these arameter estmates, the redcted robablty that the home team wns s: 9

10 MLE and Bnary Deendent Varables P( Hwns netyds) = netyds) + e the redcted values are lotted below: In contrast to the LPM, t s dffcult to read margnal effects drectly from the estmated logt coeffcents. However, the sgns of the logt coeffcents are nterretable: f the netyds coeffcent s ostve (as t s above), then ncreases n netyds wll lead to ncreases n the redcted robablty of wns and had the coeffcent been negatve, then the drecton of the effect would have been negatve as well. More formally: Snce ˆ = ˆ ˆ ( + ex ( β + β x ) ), 0 ˆ ˆ ˆ ˆ = β ex ( ˆ β0 + βx) x, and snce ex ( ˆ β ˆ 0 βx) + > 0 and ˆ sgn = sgn x { ˆ β }. ˆ > 0, So the sgns of the logt coeffcents tell you drecton of effects, but coeffcents need to be rocessed before the magntudes of the effects can be determned netyds Ftted values Pr(hwns) Ftted values So all three models generate about the same robablty estmates for about -00 < netyds < 00, where most of the data resde and the Logt aroach avods the roblems assocated wth the two LPMs. 0

11 MLE and Bnary Deendent Varables We can use Stata s margns command to estmate the margnal mact of changes n netyds on the robablty that home wns, estmated at the means:. margns, dydx(_all) atmeans Condtonal margnal effects Number of obs = 3076 Model VCE : OIM Exresson : Pr(hwns), redct() dy/dx w.r.t. : netyds at : netyds =.8839 (mean) Delta-method dy/dx Std. Err. z P> z [95% Conf. Interval] netyds Note that the estmated mact coeffcent s 0.009, slghtly greater than the.006 estmated usng the LPM above. Just to confrm the lnlkelhood, we can use Solve n Excel to maxmze the lnlkelhood functon. Here are the results (I ve ncluded the LPM results as well): LPM Logt b b b b SSR sumlnlke (,849.75) hwns netyds rob resd robwn robloss lkelhood lnlke (0.79) (.36) (0.76) (.5) (0.60) (0.547) (0.88) (0.303) (0.47) (0.64) (0.7) (0.90) (0.84) (0.604) (0.977) Notce that n the Logt mlementaton, and consstent wth the MLE methodology, the lkelhood functon grabs robwn when the home team wns and robloss when they lose. Note the dydx n the syntax. Ths gves us an estmate of the margnal mact, as oosed to an elastcty, whch would requre eyex n the syntax.

12 MLE and Bnary Deendent Varables If you look closely, you ll see small dfferences between the estmated Logt coeffcents here and n the Stata outut above. You ll also see that the reorted lnlkelhood n the Stata outut s greater (less negatve) than what Excel s Solver routne roduced. Ths should not surrse as we have seen before that Solver s algorthm sometmes stos short of the mark. Take II: MLE - Probt In the robt secfcaton, [ β β ] [ β β ] P( Hwns netyds) =Φ + netyds = rob Z + netyds, 0 0 where Z s the standard Normal dstrbuton and Φ (.) s the Cumulatve Dstrbuton Functon (CDF) for Z. Here s what the robt functon looks lke: cdf z Let s see s usng the robt secfcaton of the lkelhood functon matters:

13 MLE and Bnary Deendent Varables. robt hwns netyds Iteraton 0: log lkelhood = Iteraton : log lkelhood = Iteraton : log lkelhood = Iteraton 3: log lkelhood = Probt regresson Number of obs = 3076 LR ch() = Prob > ch = Log lkelhood = Pseudo R = 0.96 hwns Coef. Std. Err. z P> z [95% Conf. Interval] netyds _cons As n the case of the logt functon, the sgns of the coeffcents n the robt tell you somethng drectonally, but to estmate macts, you have to do a bt of a calculaton. But we can look at redcted values for the two MLE aroaches: Pr(hwns) netyds Pr(hwns) Pr(hwns) Almost dentcal redcted values (robt v. logt)! And as before, we can use the margns command to estmate the margnal mact of changes n netyds on the robablty of a home team vctory: 3

14 MLE and Bnary Deendent Varables. margns, dydx(_all) atmeans Condtonal margnal effects Number of obs = 3076 Model VCE : OIM Exresson : Pr(hwns), redct() dy/dx w.r.t. : netyds at : netyds =.8839 (mean) Delta-method dy/dx Std. Err. z P> z [95% Conf. Interval] netyds As you can see, and consstent wth the fgure above, the estmated robt and logt margnal macts are vrtually dentcal. And for fun: And snce we have the data, here are the results from a few logt models of nterest (nettoss s net tme of ossesson). The neutral varable reflects the small number of games layed on neutral felds (not that those games have offcally desgnated home and away teams, deste that fact that nether team s at home):. esttab, comress () () (3) (4) (5) (6) hwns hwns hwns hwns hwns hwns neutral (-0.9) (0.04) (-0.48) (0.0) (-0.30) (0.00) netyds *** (9.87) netrush 0.054*** 0.066*** 0.035*** (3.) (3.90) (6.38) netass *** *** 0.008*** (4.05) (9.9) (4.35) nettoss 0.0*** *** (.00) (6.50) _cons 0.63*** 0.60*** 0.98*** 0.49*** 0.95*** 0.57*** (6.6) (6.) (8.) (5.88) (7.33) (6.00) N statstcs n arentheses * <0.05, ** <0.0, *** <0.00. corr hwns netyds netrush netass nettoss (obs=3076) hwns netyds netrush netass nettoss

15 MLE and Bnary Deendent Varables hwns.0000 netyds netrush netass nettoss esttab, comress For the fnal model we can use the margns command to calculate the elastctes at the mean to get some sense of economc sgnfcance:. margns, eyex(_all) atmeans Condtonal margnal effects Number of obs = 3076 Model VCE : OIM Exresson : Pr(hwns), redct() ey/ex w.r.t. : neutral netrush netass nettoss at : neutral = (mean) netrush = (mean) netass = (mean) nettoss = (mean) Delta-method ey/ex Std. Err. z P> z [95% Conf. Interval] neutral 4.8e netrush netass nettoss Readng Elastctes from Logt Models You may recall that for the OLS model wth Samle Regresson Functon ˆ ˆ x ˆ ˆ βx ˆ = β0 + βx, the elastcty of the redcted value wrt x s ε = =, and so ˆ x ˆ ε ˆ βx the rato of elastctes for two exlanatory varables s =. And so f these ε ˆ β x j j j elastctes are beng calculated at the means, the relatve magntudes wll be the roduct ε ˆ β x of the rato of the estmated coeffcents and the rato of the means: =. It turns ε ˆ β x out that ths s also the case for the logt model: For the logt model, the redcted robablty wll be defned by ( ˆ β ˆ ) 0 βx ˆ = + ex ( + ), and so j j j 5

16 MLE and Bnary Deendent Varables x ˆ x ε = = ˆ β ex ( ˆ β + ˆ β x ) ˆ = ˆ β x ex ( ˆ β + ˆ β x ) ˆ 0 0 ˆ x ˆ. But then ˆ ˆ ε ˆ β x ex ( β + β x ) ˆ ˆ β x = = ε ˆ β x ex ( ˆ β + ˆ β x ) ˆ ˆ β x 0 j j j 0 j j, whch s the same as above. So n both cases, f you know the means of the exlanatory varables, you can easly assess relatve elastctes by just lookng at the roduct of the estmated coeffcents and ther resectve means. Just to check to see f ths s correct, here are some calculatons of relatve elastctes n the LPM and logt models estmated above: coeffs β xbar elastctes means logt LPM logt LPM logt LPM home (0.00) (0.00) (0.00) 0.05 netrush netass nettoss Ratos wrt home home netrush (66.50).49 (66.53).49 netass (5.56) 0.88 (5.56) 0.88 nettoss (5.8) (5.8) Ratos wrt nettoss home (0.063).56 (0.063).56 netrush netass nettoss And the same s true for robt models: ε ˆ βx =. ε ˆ β x j j j 6

17 MLE and Bnary Deendent Varables Relatve Elastctes: Who Knew? More generally n fact, ths result really s qute general (who knew?): Suose that the Samle Regresson Functon s defned by: yˆ f ( ˆ β ˆ 0 βx) = +, for some functon f (.), whch s ncreasng n ts argument so that f (.) > 0. Note that OLS, logt and robt are all of ths tye. Then we have: and snce (.) 0 sgn yˆ = sgn ˆ β. So x x the sgn of the coeffcent tells you the drecton of the margnal effect: f sgn ˆ β > [ < ]0, then ncreases n x wll lead to ncreases [decreases] n ŷ. Snce yˆ = ˆ β ( ˆ ˆ f β0 + βx) j ( ) yˆ x = yˆ x f >, ( ) ˆ β. So the rato of the estmated coeffcents tells you the rato of the ˆ β j relatve margnal effects, the redcted macts of changes n the two RHS varables ε ˆ βx =. So the rato of the elastctes can be determned by the roduct of the ε ˆ j β j x j rato of the estmated coeffcents and the rato of the resectve RHS values at whch x ˆ yˆ βx ε ˆ βx those elastctes have been calculated. (Snce ε = = f (), =.) yˆ x yˆ ε ˆ β x j j j So whle we tycally need to evaluate thngs to determne estmated macts of changes n the RHS varables, we can often say a far amount about sgns of effects and relatve magntudes by just lookng at the estmated arameters. 7

β0 + β1xi. You are interested in estimating the unknown parameters β

β0 + β1xi. You are interested in estimating the unknown parameters β Ordnary Least Squares (OLS): Smple Lnear Regresson (SLR) Analytcs The SLR Setup Sample Statstcs Ordnary Least Squares (OLS): FOCs and SOCs Back to OLS and Sample Statstcs Predctons (and Resduals) wth OLS

More information

β0 + β1xi. You are interested in estimating the unknown parameters β

β0 + β1xi. You are interested in estimating the unknown parameters β Revsed: v3 Ordnar Least Squares (OLS): Smple Lnear Regresson (SLR) Analtcs The SLR Setup Sample Statstcs Ordnar Least Squares (OLS): FOCs and SOCs Back to OLS and Sample Statstcs Predctons (and Resduals)

More information

Limited Dependent Variables

Limited Dependent Variables Lmted Dependent Varables. What f the left-hand sde varable s not a contnuous thng spread from mnus nfnty to plus nfnty? That s, gven a model = f (, β, ε, where a. s bounded below at zero, such as wages

More information

since [1-( 0+ 1x1i+ 2x2 i)] [ 0+ 1x1i+ assumed to be a reasonable approximation

since [1-( 0+ 1x1i+ 2x2 i)] [ 0+ 1x1i+ assumed to be a reasonable approximation Econ 388 R. Butler 204 revsons Lecture 4 Dummy Dependent Varables I. Lnear Probablty Model: the Regresson model wth a dummy varables as the dependent varable assumpton, mplcaton regular multple regresson

More information

Basically, if you have a dummy dependent variable you will be estimating a probability.

Basically, if you have a dummy dependent variable you will be estimating a probability. ECON 497: Lecture Notes 13 Page 1 of 1 Metropoltan State Unversty ECON 497: Research and Forecastng Lecture Notes 13 Dummy Dependent Varable Technques Studenmund Chapter 13 Bascally, f you have a dummy

More information

Dr. Shalabh Department of Mathematics and Statistics Indian Institute of Technology Kanpur

Dr. Shalabh Department of Mathematics and Statistics Indian Institute of Technology Kanpur Analyss of Varance and Desgn of Exerments-I MODULE III LECTURE - 2 EXPERIMENTAL DESIGN MODELS Dr. Shalabh Deartment of Mathematcs and Statstcs Indan Insttute of Technology Kanur 2 We consder the models

More information

[The following data appear in Wooldridge Q2.3.] The table below contains the ACT score and college GPA for eight college students.

[The following data appear in Wooldridge Q2.3.] The table below contains the ACT score and college GPA for eight college students. PPOL 59-3 Problem Set Exercses n Smple Regresson Due n class /8/7 In ths problem set, you are asked to compute varous statstcs by hand to gve you a better sense of the mechancs of the Pearson correlaton

More information

Logistic regression with one predictor. STK4900/ Lecture 7. Program

Logistic regression with one predictor. STK4900/ Lecture 7. Program Logstc regresson wth one redctor STK49/99 - Lecture 7 Program. Logstc regresson wth one redctor 2. Maxmum lkelhood estmaton 3. Logstc regresson wth several redctors 4. Devance and lkelhood rato tests 5.

More information

BIO Lab 2: TWO-LEVEL NORMAL MODELS with school children popularity data

BIO Lab 2: TWO-LEVEL NORMAL MODELS with school children popularity data Lab : TWO-LEVEL NORMAL MODELS wth school chldren popularty data Purpose: Introduce basc two-level models for normally dstrbuted responses usng STATA. In partcular, we dscuss Random ntercept models wthout

More information

Predictive Analytics : QM901.1x Prof U Dinesh Kumar, IIMB. All Rights Reserved, Indian Institute of Management Bangalore

Predictive Analytics : QM901.1x Prof U Dinesh Kumar, IIMB. All Rights Reserved, Indian Institute of Management Bangalore Sesson Outlne Introducton to classfcaton problems and dscrete choce models. Introducton to Logstcs Regresson. Logstc functon and Logt functon. Maxmum Lkelhood Estmator (MLE) for estmaton of LR parameters.

More information

β0 + β1xi and want to estimate the unknown

β0 + β1xi and want to estimate the unknown SLR Models Estmaton Those OLS Estmates Estmators (e ante) v. estmates (e post) The Smple Lnear Regresson (SLR) Condtons -4 An Asde: The Populaton Regresson Functon B and B are Lnear Estmators (condtonal

More information

x i1 =1 for all i (the constant ).

x i1 =1 for all i (the constant ). Chapter 5 The Multple Regresson Model Consder an economc model where the dependent varable s a functon of K explanatory varables. The economc model has the form: y = f ( x,x,..., ) xk Approxmate ths by

More information

Chapter 13: Multiple Regression

Chapter 13: Multiple Regression Chapter 13: Multple Regresson 13.1 Developng the multple-regresson Model The general model can be descrbed as: It smplfes for two ndependent varables: The sample ft parameter b 0, b 1, and b are used to

More information

Statistics for Economics & Business

Statistics for Economics & Business Statstcs for Economcs & Busness Smple Lnear Regresson Learnng Objectves In ths chapter, you learn: How to use regresson analyss to predct the value of a dependent varable based on an ndependent varable

More information

Maximum Likelihood Estimation of Binary Dependent Variables Models: Probit and Logit. 1. General Formulation of Binary Dependent Variables Models

Maximum Likelihood Estimation of Binary Dependent Variables Models: Probit and Logit. 1. General Formulation of Binary Dependent Variables Models ECO 452 -- OE 4: Probt and Logt Models ECO 452 -- OE 4 Maxmum Lkelhood Estmaton of Bnary Dependent Varables Models: Probt and Logt hs note demonstrates how to formulate bnary dependent varables models

More information

The Geometry of Logit and Probit

The Geometry of Logit and Probit The Geometry of Logt and Probt Ths short note s meant as a supplement to Chapters and 3 of Spatal Models of Parlamentary Votng and the notaton and reference to fgures n the text below s to those two chapters.

More information

e i is a random error

e i is a random error Chapter - The Smple Lnear Regresson Model The lnear regresson equaton s: where + β + β e for,..., and are observable varables e s a random error How can an estmaton rule be constructed for the unknown

More information

STAT 405 BIOSTATISTICS (Fall 2016) Handout 15 Introduction to Logistic Regression

STAT 405 BIOSTATISTICS (Fall 2016) Handout 15 Introduction to Logistic Regression STAT 45 BIOSTATISTICS (Fall 26) Handout 5 Introducton to Logstc Regresson Ths handout covers materal found n Secton 3.7 of your text. You may also want to revew regresson technques n Chapter. In ths handout,

More information

DO NOT OPEN THE QUESTION PAPER UNTIL INSTRUCTED TO DO SO BY THE CHIEF INVIGILATOR. Introductory Econometrics 1 hour 30 minutes

DO NOT OPEN THE QUESTION PAPER UNTIL INSTRUCTED TO DO SO BY THE CHIEF INVIGILATOR. Introductory Econometrics 1 hour 30 minutes 25/6 Canddates Only January Examnatons 26 Student Number: Desk Number:...... DO NOT OPEN THE QUESTION PAPER UNTIL INSTRUCTED TO DO SO BY THE CHIEF INVIGILATOR Department Module Code Module Ttle Exam Duraton

More information

Negative Binomial Regression

Negative Binomial Regression STATGRAPHICS Rev. 9/16/2013 Negatve Bnomal Regresson Summary... 1 Data Input... 3 Statstcal Model... 3 Analyss Summary... 4 Analyss Optons... 7 Plot of Ftted Model... 8 Observed Versus Predcted... 10 Predctons...

More information

Chapter 2 - The Simple Linear Regression Model S =0. e i is a random error. S β2 β. This is a minimization problem. Solution is a calculus exercise.

Chapter 2 - The Simple Linear Regression Model S =0. e i is a random error. S β2 β. This is a minimization problem. Solution is a calculus exercise. Chapter - The Smple Lnear Regresson Model The lnear regresson equaton s: where y + = β + β e for =,..., y and are observable varables e s a random error How can an estmaton rule be constructed for the

More information

Statistics for Business and Economics

Statistics for Business and Economics Statstcs for Busness and Economcs Chapter 11 Smple Regresson Copyrght 010 Pearson Educaton, Inc. Publshng as Prentce Hall Ch. 11-1 11.1 Overvew of Lnear Models n An equaton can be ft to show the best lnear

More information

Lecture 9: Linear regression: centering, hypothesis testing, multiple covariates, and confounding

Lecture 9: Linear regression: centering, hypothesis testing, multiple covariates, and confounding Lecture 9: Lnear regresson: centerng, hypothess testng, multple covarates, and confoundng Sandy Eckel seckel@jhsph.edu 6 May 008 Recall: man dea of lnear regresson Lnear regresson can be used to study

More information

Department of Quantitative Methods & Information Systems. Time Series and Their Components QMIS 320. Chapter 6

Department of Quantitative Methods & Information Systems. Time Series and Their Components QMIS 320. Chapter 6 Department of Quanttatve Methods & Informaton Systems Tme Seres and Ther Components QMIS 30 Chapter 6 Fall 00 Dr. Mohammad Zanal These sldes were modfed from ther orgnal source for educatonal purpose only.

More information

Lecture 9: Linear regression: centering, hypothesis testing, multiple covariates, and confounding

Lecture 9: Linear regression: centering, hypothesis testing, multiple covariates, and confounding Recall: man dea of lnear regresson Lecture 9: Lnear regresson: centerng, hypothess testng, multple covarates, and confoundng Sandy Eckel seckel@jhsph.edu 6 May 8 Lnear regresson can be used to study an

More information

Lecture 3: Probability Distributions

Lecture 3: Probability Distributions Lecture 3: Probablty Dstrbutons Random Varables Let us begn by defnng a sample space as a set of outcomes from an experment. We denote ths by S. A random varable s a functon whch maps outcomes nto the

More information

STATISTICS QUESTIONS. Step by Step Solutions.

STATISTICS QUESTIONS. Step by Step Solutions. STATISTICS QUESTIONS Step by Step Solutons www.mathcracker.com 9//016 Problem 1: A researcher s nterested n the effects of famly sze on delnquency for a group of offenders and examnes famles wth one to

More information

See Book Chapter 11 2 nd Edition (Chapter 10 1 st Edition)

See Book Chapter 11 2 nd Edition (Chapter 10 1 st Edition) Count Data Models See Book Chapter 11 2 nd Edton (Chapter 10 1 st Edton) Count data consst of non-negatve nteger values Examples: number of drver route changes per week, the number of trp departure changes

More information

Maximum Likelihood Estimation of Binary Dependent Variables Models: Probit and Logit. 1. General Formulation of Binary Dependent Variables Models

Maximum Likelihood Estimation of Binary Dependent Variables Models: Probit and Logit. 1. General Formulation of Binary Dependent Variables Models ECO 452 -- OE 4: Probt and Logt Models ECO 452 -- OE 4 Mamum Lkelhood Estmaton of Bnary Dependent Varables Models: Probt and Logt hs note demonstrates how to formulate bnary dependent varables models for

More information

Comparison of Regression Lines

Comparison of Regression Lines STATGRAPHICS Rev. 9/13/2013 Comparson of Regresson Lnes Summary... 1 Data Input... 3 Analyss Summary... 4 Plot of Ftted Model... 6 Condtonal Sums of Squares... 6 Analyss Optons... 7 Forecasts... 8 Confdence

More information

j) = 1 (note sigma notation) ii. Continuous random variable (e.g. Normal distribution) 1. density function: f ( x) 0 and f ( x) dx = 1

j) = 1 (note sigma notation) ii. Continuous random variable (e.g. Normal distribution) 1. density function: f ( x) 0 and f ( x) dx = 1 Random varables Measure of central tendences and varablty (means and varances) Jont densty functons and ndependence Measures of assocaton (covarance and correlaton) Interestng result Condtonal dstrbutons

More information

Chapter 11: Simple Linear Regression and Correlation

Chapter 11: Simple Linear Regression and Correlation Chapter 11: Smple Lnear Regresson and Correlaton 11-1 Emprcal Models 11-2 Smple Lnear Regresson 11-3 Propertes of the Least Squares Estmators 11-4 Hypothess Test n Smple Lnear Regresson 11-4.1 Use of t-tests

More information

1 Binary Response Models

1 Binary Response Models Bnary and Ordered Multnomal Response Models Dscrete qualtatve response models deal wth dscrete dependent varables. bnary: yes/no, partcpaton/non-partcpaton lnear probablty model LPM, probt or logt models

More information

LOGIT ANALYSIS. A.K. VASISHT Indian Agricultural Statistics Research Institute, Library Avenue, New Delhi

LOGIT ANALYSIS. A.K. VASISHT Indian Agricultural Statistics Research Institute, Library Avenue, New Delhi LOGIT ANALYSIS A.K. VASISHT Indan Agrcultural Statstcs Research Insttute, Lbrary Avenue, New Delh-0 02 amtvassht@asr.res.n. Introducton In dummy regresson varable models, t s assumed mplctly that the dependent

More information

+, where 0 x N - n. k k

+, where 0 x N - n. k k CO 745, Mdterm Len Cabrera. A multle choce eam has questons, each of whch has ossble answers. A student nows the correct answer to n of these questons. For the remanng - n questons, he checs the answers

More information

Reminder: Nested models. Lecture 9: Interactions, Quadratic terms and Splines. Effect Modification. Model 1

Reminder: Nested models. Lecture 9: Interactions, Quadratic terms and Splines. Effect Modification. Model 1 Lecture 9: Interactons, Quadratc terms and Splnes An Manchakul amancha@jhsph.edu 3 Aprl 7 Remnder: Nested models Parent model contans one set of varables Extended model adds one or more new varables to

More information

Kernel Methods and SVMs Extension

Kernel Methods and SVMs Extension Kernel Methods and SVMs Extenson The purpose of ths document s to revew materal covered n Machne Learnng 1 Supervsed Learnng regardng support vector machnes (SVMs). Ths document also provdes a general

More information

Econ107 Applied Econometrics Topic 3: Classical Model (Studenmund, Chapter 4)

Econ107 Applied Econometrics Topic 3: Classical Model (Studenmund, Chapter 4) I. Classcal Assumptons Econ7 Appled Econometrcs Topc 3: Classcal Model (Studenmund, Chapter 4) We have defned OLS and studed some algebrac propertes of OLS. In ths topc we wll study statstcal propertes

More information

a. (All your answers should be in the letter!

a. (All your answers should be in the letter! Econ 301 Blkent Unversty Taskn Econometrcs Department of Economcs Md Term Exam I November 8, 015 Name For each hypothess testng n the exam complete the followng steps: Indcate the test statstc, ts crtcal

More information

ANSWERS. Problem 1. and the moment generating function (mgf) by. defined for any real t. Use this to show that E( U) var( U)

ANSWERS. Problem 1. and the moment generating function (mgf) by. defined for any real t. Use this to show that E( U) var( U) Econ 413 Exam 13 H ANSWERS Settet er nndelt 9 deloppgaver, A,B,C, som alle anbefales å telle lkt for å gøre det ltt lettere å stå. Svar er gtt . Unfortunately, there s a prntng error n the hnt of

More information

Module Contact: Dr Susan Long, ECO Copyright of the University of East Anglia Version 1

Module Contact: Dr Susan Long, ECO Copyright of the University of East Anglia Version 1 UNIVERSITY OF EAST ANGLIA School of Economcs Man Seres PG Examnaton 016-17 ECONOMETRIC METHODS ECO-7000A Tme allowed: hours Answer ALL FOUR Questons. Queston 1 carres a weght of 5%; Queston carres 0%;

More information

Lecture 6: Introduction to Linear Regression

Lecture 6: Introduction to Linear Regression Lecture 6: Introducton to Lnear Regresson An Manchakul amancha@jhsph.edu 24 Aprl 27 Lnear regresson: man dea Lnear regresson can be used to study an outcome as a lnear functon of a predctor Example: 6

More information

University of California at Berkeley Fall Introductory Applied Econometrics Final examination

University of California at Berkeley Fall Introductory Applied Econometrics Final examination SID: EEP 118 / IAS 118 Elsabeth Sadoulet and Daley Kutzman Unversty of Calforna at Berkeley Fall 01 Introductory Appled Econometrcs Fnal examnaton Scores add up to 10 ponts Your name: SID: 1. (15 ponts)

More information

Chapter 15 - Multiple Regression

Chapter 15 - Multiple Regression Chapter - Multple Regresson Chapter - Multple Regresson Multple Regresson Model The equaton that descrbes how the dependent varable y s related to the ndependent varables x, x,... x p and an error term

More information

Introduction to Dummy Variable Regressors. 1. An Example of Dummy Variable Regressors

Introduction to Dummy Variable Regressors. 1. An Example of Dummy Variable Regressors ECONOMICS 5* -- Introducton to Dummy Varable Regressors ECON 5* -- Introducton to NOTE Introducton to Dummy Varable Regressors. An Example of Dummy Varable Regressors A model of North Amercan car prces

More information

Regression with limited dependent variables. Professor Bernard Fingleton

Regression with limited dependent variables. Professor Bernard Fingleton Regresson wth lmted dependent varables Professor Bernard Fngleton Regresson wth lmted dependent varables Whether a mortgage applcaton s accepted or dened Decson to go on to hgher educaton Whether or not

More information

2016 Wiley. Study Session 2: Ethical and Professional Standards Application

2016 Wiley. Study Session 2: Ethical and Professional Standards Application 6 Wley Study Sesson : Ethcal and Professonal Standards Applcaton LESSON : CORRECTION ANALYSIS Readng 9: Correlaton and Regresson LOS 9a: Calculate and nterpret a sample covarance and a sample correlaton

More information

January Examinations 2015

January Examinations 2015 24/5 Canddates Only January Examnatons 25 DO NOT OPEN THE QUESTION PAPER UNTIL INSTRUCTED TO DO SO BY THE CHIEF INVIGILATOR STUDENT CANDIDATE NO.. Department Module Code Module Ttle Exam Duraton (n words)

More information

Lecture 10 Support Vector Machines II

Lecture 10 Support Vector Machines II Lecture 10 Support Vector Machnes II 22 February 2016 Taylor B. Arnold Yale Statstcs STAT 365/665 1/28 Notes: Problem 3 s posted and due ths upcomng Frday There was an early bug n the fake-test data; fxed

More information

Lab 4: Two-level Random Intercept Model

Lab 4: Two-level Random Intercept Model BIO 656 Lab4 009 Lab 4: Two-level Random Intercept Model Data: Peak expratory flow rate (pefr) measured twce, usng two dfferent nstruments, for 17 subjects. (from Chapter 1 of Multlevel and Longtudnal

More information

Interval Estimation in the Classical Normal Linear Regression Model. 1. Introduction

Interval Estimation in the Classical Normal Linear Regression Model. 1. Introduction ECONOMICS 35* -- NOTE 7 ECON 35* -- NOTE 7 Interval Estmaton n the Classcal Normal Lnear Regresson Model Ths note outlnes the basc elements of nterval estmaton n the Classcal Normal Lnear Regresson Model

More information

Interpreting Slope Coefficients in Multiple Linear Regression Models: An Example

Interpreting Slope Coefficients in Multiple Linear Regression Models: An Example CONOMICS 5* -- Introducton to NOT CON 5* -- Introducton to NOT : Multple Lnear Regresson Models Interpretng Slope Coeffcents n Multple Lnear Regresson Models: An xample Consder the followng smple lnear

More information

First Year Examination Department of Statistics, University of Florida

First Year Examination Department of Statistics, University of Florida Frst Year Examnaton Department of Statstcs, Unversty of Florda May 7, 010, 8:00 am - 1:00 noon Instructons: 1. You have four hours to answer questons n ths examnaton.. You must show your work to receve

More information

Ordinary Least Squares (OLS): Simple Linear Regression (SLR) Assessment: Goodness of Fit & Precision

Ordinary Least Squares (OLS): Simple Linear Regression (SLR) Assessment: Goodness of Fit & Precision Ordnary Least quares (OL): mple Lnear Regresson (LR) Assessment: Goodness of Ft & Precson How close? Goodness of Ft v. Inference Goodness of Ft I: Mean quared Error (ME) and Root ME (RME) Brng on the ANOVA

More information

Department of Statistics University of Toronto STA305H1S / 1004 HS Design and Analysis of Experiments Term Test - Winter Solution

Department of Statistics University of Toronto STA305H1S / 1004 HS Design and Analysis of Experiments Term Test - Winter Solution Department of Statstcs Unversty of Toronto STA35HS / HS Desgn and Analyss of Experments Term Test - Wnter - Soluton February, Last Name: Frst Name: Student Number: Instructons: Tme: hours. Ads: a non-programmable

More information

Chapter 9: Statistical Inference and the Relationship between Two Variables

Chapter 9: Statistical Inference and the Relationship between Two Variables Chapter 9: Statstcal Inference and the Relatonshp between Two Varables Key Words The Regresson Model The Sample Regresson Equaton The Pearson Correlaton Coeffcent Learnng Outcomes After studyng ths chapter,

More information

Question 1 carries a weight of 25%; question 2 carries 20%; question 3 carries 25%; and question 4 carries 30%.

Question 1 carries a weight of 25%; question 2 carries 20%; question 3 carries 25%; and question 4 carries 30%. UNIVERSITY OF EAST ANGLIA School of Economcs Man Seres PGT Examnaton 017-18 FINANCIAL ECONOMETRICS ECO-7009A Tme allowed: HOURS Answer ALL FOUR questons. Queston 1 carres a weght of 5%; queston carres

More information

Lecture Notes on Linear Regression

Lecture Notes on Linear Regression Lecture Notes on Lnear Regresson Feng L fl@sdueducn Shandong Unversty, Chna Lnear Regresson Problem In regresson problem, we am at predct a contnuous target value gven an nput feature vector We assume

More information

Machine learning: Density estimation

Machine learning: Density estimation CS 70 Foundatons of AI Lecture 3 Machne learnng: ensty estmaton Mlos Hauskrecht mlos@cs.ptt.edu 539 Sennott Square ata: ensty estmaton {.. n} x a vector of attrbute values Objectve: estmate the model of

More information

Chapter 14 Simple Linear Regression

Chapter 14 Simple Linear Regression Chapter 4 Smple Lnear Regresson Chapter 4 - Smple Lnear Regresson Manageral decsons often are based on the relatonshp between two or more varables. Regresson analss can be used to develop an equaton showng

More information

Resource Allocation and Decision Analysis (ECON 8010) Spring 2014 Foundations of Regression Analysis

Resource Allocation and Decision Analysis (ECON 8010) Spring 2014 Foundations of Regression Analysis Resource Allocaton and Decson Analss (ECON 800) Sprng 04 Foundatons of Regresson Analss Readng: Regresson Analss (ECON 800 Coursepak, Page 3) Defntons and Concepts: Regresson Analss statstcal technques

More information

Hidden Markov Model Cheat Sheet

Hidden Markov Model Cheat Sheet Hdden Markov Model Cheat Sheet (GIT ID: dc2f391536d67ed5847290d5250d4baae103487e) Ths document s a cheat sheet on Hdden Markov Models (HMMs). It resembles lecture notes, excet that t cuts to the chase

More information

9. Binary Dependent Variables

9. Binary Dependent Variables 9. Bnar Dependent Varables 9. Homogeneous models Log, prob models Inference Tax preparers 9.2 Random effects models 9.3 Fxed effects models 9.4 Margnal models and GEE Appendx 9A - Lkelhood calculatons

More information

STAT 3008 Applied Regression Analysis

STAT 3008 Applied Regression Analysis STAT 3008 Appled Regresson Analyss Tutoral : Smple Lnear Regresson LAI Chun He Department of Statstcs, The Chnese Unversty of Hong Kong 1 Model Assumpton To quantfy the relatonshp between two factors,

More information

Logistic Regression Maximum Likelihood Estimation

Logistic Regression Maximum Likelihood Estimation Harvard-MIT Dvson of Health Scences and Technology HST.951J: Medcal Decson Support, Fall 2005 Instructors: Professor Lucla Ohno-Machado and Professor Staal Vnterbo 6.873/HST.951 Medcal Decson Support Fall

More information

Homework Assignment 3 Due in class, Thursday October 15

Homework Assignment 3 Due in class, Thursday October 15 Homework Assgnment 3 Due n class, Thursday October 15 SDS 383C Statstcal Modelng I 1 Rdge regresson and Lasso 1. Get the Prostrate cancer data from http://statweb.stanford.edu/~tbs/elemstatlearn/ datasets/prostate.data.

More information

Week3, Chapter 4. Position and Displacement. Motion in Two Dimensions. Instantaneous Velocity. Average Velocity

Week3, Chapter 4. Position and Displacement. Motion in Two Dimensions. Instantaneous Velocity. Average Velocity Week3, Chapter 4 Moton n Two Dmensons Lecture Quz A partcle confned to moton along the x axs moves wth constant acceleraton from x =.0 m to x = 8.0 m durng a 1-s tme nterval. The velocty of the partcle

More information

Ordinary Least Squares (OLS): Simple Linear Regression (SLR) Assessment: Goodness of Fit & Precision

Ordinary Least Squares (OLS): Simple Linear Regression (SLR) Assessment: Goodness of Fit & Precision Ordnary Least Squares (OLS): Smple Lnear Regresson (SLR) Assessment: Goodness of Ft & Precson How close? Goodness of Ft and Inference Brng on the ANOVA Table! (SST, SSE and ) Goodness of Ft I: Mean Squared

More information

/ n ) are compared. The logic is: if the two

/ n ) are compared. The logic is: if the two STAT C141, Sprng 2005 Lecture 13 Two sample tests One sample tests: examples of goodness of ft tests, where we are testng whether our data supports predctons. Two sample tests: called as tests of ndependence

More information

Naïve Bayes Classifier

Naïve Bayes Classifier 9/8/07 MIST.6060 Busness Intellgence and Data Mnng Naïve Bayes Classfer Termnology Predctors: the attrbutes (varables) whose values are used for redcton and classfcaton. Predctors are also called nut varables,

More information

Chapter 5. Solution of System of Linear Equations. Module No. 6. Solution of Inconsistent and Ill Conditioned Systems

Chapter 5. Solution of System of Linear Equations. Module No. 6. Solution of Inconsistent and Ill Conditioned Systems Numercal Analyss by Dr. Anta Pal Assstant Professor Department of Mathematcs Natonal Insttute of Technology Durgapur Durgapur-713209 emal: anta.bue@gmal.com 1 . Chapter 5 Soluton of System of Lnear Equatons

More information

Dr. Shalabh Department of Mathematics and Statistics Indian Institute of Technology Kanpur

Dr. Shalabh Department of Mathematics and Statistics Indian Institute of Technology Kanpur Analyss of Varance and Desgn of Experment-I MODULE VII LECTURE - 3 ANALYSIS OF COVARIANCE Dr Shalabh Department of Mathematcs and Statstcs Indan Insttute of Technology Kanpur Any scentfc experment s performed

More information

Professor Chris Murray. Midterm Exam

Professor Chris Murray. Midterm Exam Econ 7 Econometrcs Sprng 4 Professor Chrs Murray McElhnney D cjmurray@uh.edu Mdterm Exam Wrte your answers on one sde of the blank whte paper that I have gven you.. Do not wrte your answers on ths exam.

More information

Credit Card Pricing and Impact of Adverse Selection

Credit Card Pricing and Impact of Adverse Selection Credt Card Prcng and Impact of Adverse Selecton Bo Huang and Lyn C. Thomas Unversty of Southampton Contents Background Aucton model of credt card solctaton - Errors n probablty of beng Good - Errors n

More information

Systems of Equations (SUR, GMM, and 3SLS)

Systems of Equations (SUR, GMM, and 3SLS) Lecture otes on Advanced Econometrcs Takash Yamano Fall Semester 4 Lecture 4: Sstems of Equatons (SUR, MM, and 3SLS) Seemngl Unrelated Regresson (SUR) Model Consder a set of lnear equatons: $ + ɛ $ + ɛ

More information

Multiple Regression Analysis

Multiple Regression Analysis Multle Regresson Analss Roland Szlág Ph.D. Assocate rofessor Correlaton descres the strength of a relatonsh, the degree to whch one varale s lnearl related to another Regresson shows us how to determne

More information

18. SIMPLE LINEAR REGRESSION III

18. SIMPLE LINEAR REGRESSION III 8. SIMPLE LINEAR REGRESSION III US Domestc Beers: Calores vs. % Alcohol Ftted Values and Resduals To each observed x, there corresponds a y-value on the ftted lne, y ˆ ˆ = α + x. The are called ftted values.

More information

Solutions (mostly for odd-numbered exercises)

Solutions (mostly for odd-numbered exercises) Solutons (mostly for odd-numbered exercses) c 005 A. Coln Cameron and Pravn K. Trved "Mcroeconometrcs: Methods and Alcatons" 1. Chater 1: Introducton o exercses.. Chater : Causal and oncausal Models o

More information

Lectures - Week 4 Matrix norms, Conditioning, Vector Spaces, Linear Independence, Spanning sets and Basis, Null space and Range of a Matrix

Lectures - Week 4 Matrix norms, Conditioning, Vector Spaces, Linear Independence, Spanning sets and Basis, Null space and Range of a Matrix Lectures - Week 4 Matrx norms, Condtonng, Vector Spaces, Lnear Independence, Spannng sets and Bass, Null space and Range of a Matrx Matrx Norms Now we turn to assocatng a number to each matrx. We could

More information

Discrete Dependent Variable Models James J. Heckman

Discrete Dependent Variable Models James J. Heckman Dscrete Dependent Varable Models James J. Heckman Here s the general approach of ths lecture: Economc model (e.g. utlty maxmzaton) Decson rule (e.g. FOC) }{{} Sec. 1 Motvaton: Index functon and random

More information

Chapter 14 Simple Linear Regression Page 1. Introduction to regression analysis 14-2

Chapter 14 Simple Linear Regression Page 1. Introduction to regression analysis 14-2 Chapter 4 Smple Lnear Regresson Page. Introducton to regresson analyss 4- The Regresson Equaton. Lnear Functons 4-4 3. Estmaton and nterpretaton of model parameters 4-6 4. Inference on the model parameters

More information

Basic Business Statistics, 10/e

Basic Business Statistics, 10/e Chapter 13 13-1 Basc Busness Statstcs 11 th Edton Chapter 13 Smple Lnear Regresson Basc Busness Statstcs, 11e 009 Prentce-Hall, Inc. Chap 13-1 Learnng Objectves In ths chapter, you learn: How to use regresson

More information

Statistics for Managers Using Microsoft Excel/SPSS Chapter 13 The Simple Linear Regression Model and Correlation

Statistics for Managers Using Microsoft Excel/SPSS Chapter 13 The Simple Linear Regression Model and Correlation Statstcs for Managers Usng Mcrosoft Excel/SPSS Chapter 13 The Smple Lnear Regresson Model and Correlaton 1999 Prentce-Hall, Inc. Chap. 13-1 Chapter Topcs Types of Regresson Models Determnng the Smple Lnear

More information

1. Inference on Regression Parameters a. Finding Mean, s.d and covariance amongst estimates. 2. Confidence Intervals and Working Hotelling Bands

1. Inference on Regression Parameters a. Finding Mean, s.d and covariance amongst estimates. 2. Confidence Intervals and Working Hotelling Bands Content. Inference on Regresson Parameters a. Fndng Mean, s.d and covarance amongst estmates.. Confdence Intervals and Workng Hotellng Bands 3. Cochran s Theorem 4. General Lnear Testng 5. Measures of

More information

CS 2750 Machine Learning. Lecture 5. Density estimation. CS 2750 Machine Learning. Announcements

CS 2750 Machine Learning. Lecture 5. Density estimation. CS 2750 Machine Learning. Announcements CS 750 Machne Learnng Lecture 5 Densty estmaton Mlos Hauskrecht mlos@cs.ptt.edu 539 Sennott Square CS 750 Machne Learnng Announcements Homework Due on Wednesday before the class Reports: hand n before

More information

Linear Regression Analysis: Terminology and Notation

Linear Regression Analysis: Terminology and Notation ECON 35* -- Secton : Basc Concepts of Regresson Analyss (Page ) Lnear Regresson Analyss: Termnology and Notaton Consder the generc verson of the smple (two-varable) lnear regresson model. It s represented

More information

28. SIMPLE LINEAR REGRESSION III

28. SIMPLE LINEAR REGRESSION III 8. SIMPLE LINEAR REGRESSION III Ftted Values and Resduals US Domestc Beers: Calores vs. % Alcohol To each observed x, there corresponds a y-value on the ftted lne, y ˆ = βˆ + βˆ x. The are called ftted

More information

Linear Approximation with Regularization and Moving Least Squares

Linear Approximation with Regularization and Moving Least Squares Lnear Approxmaton wth Regularzaton and Movng Least Squares Igor Grešovn May 007 Revson 4.6 (Revson : March 004). 5 4 3 0.5 3 3.5 4 Contents: Lnear Fttng...4. Weghted Least Squares n Functon Approxmaton...

More information

Topic 7: Analysis of Variance

Topic 7: Analysis of Variance Topc 7: Analyss of Varance Outlne Parttonng sums of squares Breakdown the degrees of freedom Expected mean squares (EMS) F test ANOVA table General lnear test Pearson Correlaton / R 2 Analyss of Varance

More information

Economics 130. Lecture 4 Simple Linear Regression Continued

Economics 130. Lecture 4 Simple Linear Regression Continued Economcs 130 Lecture 4 Contnued Readngs for Week 4 Text, Chapter and 3. We contnue wth addressng our second ssue + add n how we evaluate these relatonshps: Where do we get data to do ths analyss? How do

More information

princeton univ. F 13 cos 521: Advanced Algorithm Design Lecture 3: Large deviations bounds and applications Lecturer: Sanjeev Arora

princeton univ. F 13 cos 521: Advanced Algorithm Design Lecture 3: Large deviations bounds and applications Lecturer: Sanjeev Arora prnceton unv. F 13 cos 521: Advanced Algorthm Desgn Lecture 3: Large devatons bounds and applcatons Lecturer: Sanjeev Arora Scrbe: Today s topc s devaton bounds: what s the probablty that a random varable

More information

Statistics MINITAB - Lab 2

Statistics MINITAB - Lab 2 Statstcs 20080 MINITAB - Lab 2 1. Smple Lnear Regresson In smple lnear regresson we attempt to model a lnear relatonshp between two varables wth a straght lne and make statstcal nferences concernng that

More information

JAB Chain. Long-tail claims development. ASTIN - September 2005 B.Verdier A. Klinger

JAB Chain. Long-tail claims development. ASTIN - September 2005 B.Verdier A. Klinger JAB Chan Long-tal clams development ASTIN - September 2005 B.Verder A. Klnger Outlne Chan Ladder : comments A frst soluton: Munch Chan Ladder JAB Chan Chan Ladder: Comments Black lne: average pad to ncurred

More information

MLE and Bayesian Estimation. Jie Tang Department of Computer Science & Technology Tsinghua University 2012

MLE and Bayesian Estimation. Jie Tang Department of Computer Science & Technology Tsinghua University 2012 MLE and Bayesan Estmaton Je Tang Department of Computer Scence & Technology Tsnghua Unversty 01 1 Lnear Regresson? As the frst step, we need to decde how we re gong to represent the functon f. One example:

More information

17 - LINEAR REGRESSION II

17 - LINEAR REGRESSION II Topc 7 Lnear Regresson II 7- Topc 7 - LINEAR REGRESSION II Testng and Estmaton Inferences about β Recall that we estmate Yˆ ˆ β + ˆ βx. 0 μ Y X x β0 + βx usng To estmate σ σ squared error Y X x ε s ε we

More information

Diagnostics in Poisson Regression. Models - Residual Analysis

Diagnostics in Poisson Regression. Models - Residual Analysis Dagnostcs n Posson Regresson Models - Resdual Analyss 1 Outlne Dagnostcs n Posson Regresson Models - Resdual Analyss Example 3: Recall of Stressful Events contnued 2 Resdual Analyss Resduals represent

More information

The SAS program I used to obtain the analyses for my answers is given below.

The SAS program I used to obtain the analyses for my answers is given below. Homework 1 Answer sheet Page 1 The SAS program I used to obtan the analyses for my answers s gven below. dm'log;clear;output;clear'; *************************************************************; *** EXST7034

More information

Lecture 4 Hypothesis Testing

Lecture 4 Hypothesis Testing Lecture 4 Hypothess Testng We may wsh to test pror hypotheses about the coeffcents we estmate. We can use the estmates to test whether the data rejects our hypothess. An example mght be that we wsh to

More information

Chapter 14: Logit and Probit Models for Categorical Response Variables

Chapter 14: Logit and Probit Models for Categorical Response Variables Chapter 4: Logt and Probt Models for Categorcal Response Varables Sect 4. Models for Dchotomous Data We wll dscuss only ths secton of Chap 4, whch s manly about Logstc Regresson, a specal case of the famly

More information

ECON 351* -- Note 23: Tests for Coefficient Differences: Examples Introduction. Sample data: A random sample of 534 paid employees.

ECON 351* -- Note 23: Tests for Coefficient Differences: Examples Introduction. Sample data: A random sample of 534 paid employees. Model and Data ECON 35* -- NOTE 3 Tests for Coeffcent Dfferences: Examples. Introducton Sample data: A random sample of 534 pad employees. Varable defntons: W hourly wage rate of employee ; lnw the natural

More information