1 Binary Response Models

Size: px
Start display at page:

Download "1 Binary Response Models"

Transcription

1 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 ordered: self-rated heath status excellent/good/bad dscrete responses latent ndex models multnomal categorcal mutually exclusve: transportaton mode random utlty models Bnary Response Models An Example: Outcome of nterest y: an ndvdual s { decson on gong to college or not 0 49 went to college 396 left school before or after gettng a hgh school degree Data: NLS, 2 85 observatons Covarates x: IQ father s educaton mother s educaton Let s consder the followng three econometrc models.. Lnear Probablty Model LPM y = x β + ɛ assumng E ɛ x = 0. Notce that ths model must have heteroskedastcty f y x Bernoull dstrbuton, whch s specfed as Pry = x = x β: Ey x = Pry = x = x β, V ary x = Pry = x Pry = 0 x = x β x β constant. If an OLS estmator s appled to LPM, then standard errors must be corrected for heteroskedastcty. A problem wth LPM s that for some values of the covarates x t may lead to predcted values beng outsde the nterval [0, ]. Such predctons would be less eff cent and awkward, because the nformaton that the dependent varable s bounded between 0 and s gnored. Alternatve models that take nto account the bounds of y nclude probt and logt models. Table gves results for ths LPM usng the NLS data. Table : LPM Estmates, NLS data N = 85 varables βols standard error average margnal effect ntercept IQ father s educaton mother s educaton Ths handout s supplemental to MMA Chapters 4 and 5. Part of ths handout s based on my prevous notes taken from Gudo Imbens s courses gven at UC-Berkeley. A must-vst webste s 2 See for detal.

2 .2 Probt and Logt Models As alternatves to LPM, the probt and logt model can be motvated by a latent ndex model, whch can also be appled to ordered multnomal responses. Latent ndex models could provde a ratonale for a partcular functonal form for Ey x. Latent varables can be ntroduced nto bnary outcome or response models through two dfferent ways:. The latent varable s contnuous and unobservable wth a threshold whch makes t partally observable; 2. The latent varable s the dfference n the utlty that s assocated wth each alternatve, whch assumes that the observed bnary outcome s a result of ndvdual choce based on maxmum utlty. 3 Latent ndex models have the advantage of provdng extensons to multnomal and ordered outcomes and censored outcomes. Now consder the followng latent ndex model: y = x β + ɛ, where y s unobservable, but x s are observable, and E ɛ x = 0; y = {y > 0}, where y s observable and bnary. The probt and logt model lnk the unobservable y and the observable y through a dstrbuton F ɛ x beng symmetrc about zero: Also note that Pry = x = Ey x = Pry > 0 x = Prx β + ɛ > 0 = Prɛ > x β = F ɛ x x β }{{} a nonlnear model for Ey x Pry = 0 x = Ey x = F ɛ x x β. and the margnal effect of x s V ary x = Pry = x Pry = 0 x = F ɛ x x β F ɛ x x β, Ey x x = f ɛ x x β β, where f ɛ x s the p.d.f. of F ɛ x. Ths mples that, for bnary choce models, Ey x sgn = sgn β. x The log lkelhood functon s therefore: ln Lβ = ln N Pry = x {y = } Pry = 0 x {y = 0} }{{} mutually exclusve events = ln N Pry = x y Pry = 0 x y = ln N [ Fɛ x x β ] y [ F ɛ x x β ] y = N y lnf ɛ x x β + y ln F ɛ x x β, 3 Ths method emphaszes the need to dstngush between covarates that vary across alternatves such as costs for a gven ndvdual and covarates that are nvarant across alternatves such as gender for a gven ndvdual. 2

3 wth F.O.C. s: 0 = ln L β β = N y x f ɛ x x β F ɛ x x β y x f ɛ x x β F ɛ x x β = N f ɛ x x y x β F ɛ x x β x f ɛ x x β F ɛ x x β + y f ɛ x x x β F ɛ x x β = N f ɛ x x y x β F ɛ x x β F ɛ x x β x F ɛ x x βf ɛ xx β F ɛ x x β F ɛ x x β = N y F ɛ x x β F ɛ x x β F ɛ x x β f ɛ xx β x, where f ɛ x s the p.d.f. of F ɛ x. Solvng for the maxmum lkelhood estmator requres numercal optmzaton. There s no explct expresson for β ML except for y F ɛ x x β ML f ɛ x x β ML x = 0. * F ɛ x x β ML F ɛ x x β ML There are a few ponts to stress here:. Equaton * can be vewed as FGLS {}}{ y Êy x = ɛ { }} { f ɛ x x β ML x y F F ɛ x x β ML F ɛ x x ɛ x x β ML β ML }{{}}{{} OLS V arɛ x }{{} WLS = For bnary response models, β ML s consstent f Pry = x s correctly specfed as F ɛ x x β. Ths also means that Ey x = F ɛ x x β The asymptotc varance of β ML s the nverse of the nformaton matrx evaluated at the true parameter value β 0 [Iβ 0 ] : a β ML N β 0, [Iβ 0 ] 4 Read MMA p ln L Iβ 0 = E fɛ x β β = E fɛ x ln L β=β0 = E fɛ x β fɛ x x β 0 2 x x F ɛ x x β 0 F ɛ x x β 0 ln L β. β=β0 3

4 4. The estmated asymptotc varance of β ML s AsyV ar β ML = = Î βml 2 f ɛ x x β ML x x F ɛ x x β ML F ɛ x x β ML..3 Probt Model A probt model assumes: ɛ x N0,. The reason for restrctng the varance to be s that the probt model cannot dstngush between one data generatng process wth parameters β and 2 and the other wth β/ and. The probt model lnks the unobservable y and the observable y n the followng way: Pry = x = Pry > 0 x = Prx β + ɛ > 0 = Prɛ > x β = Prɛ < x β = Φx β Pry = 0 x = Φx β, where Φ s the c.d.f. of a standard normal dstrbuton. For a probt model, equaton * becomes φx β probt x y Φx β probt Φx β probt Φx β probt where φ s the p.d.f. of a standard normal dstrbuton. The estmated asymptotc varance of β probt s = 0, AsyV ar β probt = = Î βprobt 2 φx β probt x x Φx β probt Φx β probt. Table 2 gves the estmates for ths probt model. Table 2: Probt Estmates, NLS data N = 85 varables βprobt standard error average margnal effect ntercept IQ father s educaton mother s educaton The last column n the table calculates the average margnal effect based on β probt. Ths s the key results to report because β themselves are not very meanngful. For a probt model, the margnal effect for observaton s: Ey x = Pry = x = Φx β = φx x x x ββ. 4

5 Ths s then averaged across all observatons to get the average margnal effect: N φx ββ, whch s preferred to and not equal to φx ββ where x = N x. Ths average margnal effect s vewed as a more nterpretable summary measure of the effect of the covarates on the dstrbuton of the outcome..4 Logt Model A logt model assumes that the dstrbuton of ɛ x s logstc, wth p.d.f.: f ɛ ɛ = Notce how smlar t s to ts c.d.f.: expɛ + expɛ 2 = exp ɛ, whch s symmetrc about zero. + exp ɛ 2 F ɛ ɛ Λɛ = expɛ + expɛ = + exp ɛ f ɛ ɛ = Λɛ Λɛ. Gven f ɛ ɛ, a logstc random varable ɛ has mean 0 and varance π 2 / See wolfram.com/logstcdstrbuton.html for detals about ths dstrbuton. The logt model lnks the unobservable y and the observable y n the followng way: Pry = x = Pry > 0 x = Prx β + ɛ > 0 = Prɛ > x β = expx β + expx β Λx β Pry = 0 x = Λx β = For a logt model, equaton * becomes + expx β. x y Λx β logt = N x y expx β logt + expx β logt where Λ s the c.d.f. of the logstc dstrbuton. For the ntercept term, we have Ths mples that y Λx β logt = N y expx β logt + expx β logt = 0, y = Λx N N β logt. y = Pry = x p. Ths means that, for logt models, the average n-sample predcted probablty p wll always be equal to the sample proporton y. = 0, 5

6 The estmated asymptotc varance of β logt s AsyV ar β logt = = Î βlogt Λx β logt Λx β logt x x. The results are n Table 3. The average margnal effect s: N Ey x x = N = N Pry = x = x N expx β + expx β Λx β Λx β β + expx β Table 3: Logt Estmates, NLS data N = 85 β. varables βlogt standard error average margnal effect ntercept IQ father s educaton mother s educaton Note that the parameter estmates are very dfferent for the logt and the probt model. However, the estmates of average margnal effects are very close, suggestng that n practce t does not make much dfference whch model probt or logt to choose for bnary outcomes. Nonetheless, the logt model s much easer to work wth computatonally than the probt model..5 Notes. For both probt and logt models for bnary outcomes, the rato of the coeff cents for two dfferent regressors equals the rato of the two margnal effects. 2. For both probt and logt models for bnary outcomes, the sgn of the coeff cent gves the sgn of the margnal effect. 3. For the logt model: odds rato or relatve rsk Pry = x Pry = 0 x = Λx β Λx β = expx β log-odds rato Pry = x ln Pry = 0 x = x β. 4. Read MMA p.470 about the nterpretaton of β logt. 5. Identfcaton of a latent ndex model requres a restrcton on the varance of the error term ɛ because the latent ndex model can only dentfy β up to a scale. All that s observed s whether or not y > 0, or equvalently whether or not x β + ɛ > 0. However, ths s equvalent to whether or not x β/λ + ɛ/λ > 0 for any λ > 0. Placng a restrcton on the varance of the error term ɛ secures the unqueness of β. The error varance s set to n the probt model and π 2 /3 n the logt model. 6. The threshold for the latent ndex model doesn t need to be 0. If more generally Pry = x, z = Pry > z δ x, z = Prx β + ɛ > z δ = Prɛ > z δ x β = F ɛ x,z x β z δ, 6

7 then β and δ can be separately dentfed f and only f all components of x and z dffer. In partcular, f both x and z nclude ntercept terms, then these two ntercepts cannot be separately dentfed. Therefore, we must normalze one of the two ntercepts to be 0. Also note that the mean of the error ɛ needs to be normalzed to 0 by ncludng an ntercept term. 7. Consder a bnary choce wth the followng addtve random utlty model: U 0 = x 0β 0 + z γ 0 + ɛ 0 U = x β + z γ + ɛ Pry = x, x 0, z = PrU > U 0 x, x 0, z = Prɛ ɛ 0 > x β + x 0β 0 z γ γ 0 = F ɛ ɛ 0 x,x 0,zx β x 0β 0 + z γ γ 0 assumng that F ɛ ɛ 0 x,x 0,z s symmetrc about zero. For alternatve-nvarant regressors z, such as ndvdual s attrbutes race and sex, for example, only the dfference n the assocated parameters γ γ 0 can be dentfed. For alternatve-varyng regressors x and x 0 that dffer by alternatve such as the cost assocated wth each alternatve, the coeff cents β and β 0 can dffer by alternatve, but t s customary to set β 0 = β = β. Thus, we often adopt the followng model: 2 Ordered Response Models Pry = x, x 0, z = F ɛ ɛ 0 x,x 0,z x x 0 β + z γ γ 0. Here we consder dscrete response models wth more than two possble responses, and mportantly, these dscrete responses are ordered. There are two mportant cases:. There s an underlyng contnuous varable but we only observe an ndcator for a partcular range. An example s earnngs data that may come coded n ntervals. 2. Examples such as educatonal choces where outcomes may be coded as less than hgh school, hgh school, some college and more than college. Such data are referred to as nterval-coded data. For case, we typcally model the underlyng contnuous varable y as lnear and normal or logstc wth a set of covarates x: y = x β + ɛ, where y s contnuous and unobservable wth the observed outcome an ndcator for j = 0,, 2,, J: y = j f α j y < α j+ wth α 0 =, α J+ =, and α j < α j. In ths case the key assumpton s that the boundary values α j s are known. In ths case we are typcally nterested n the condtonal expectaton of the latent outcome Ey x, rather than n the dstrbuton of the observed outcome, Pry = j x. For case 2, the responses are ordered but there s no clear mappng from the underlyng contnuous response whch may tself be somewhat vague to the dscrete response. For example, respondents n a survey may be asked about ther nterest n a partcular servce and asked to respond n one of three categores: not nterested, somewhat nterested and very nterested. In that case we may stll wsh to model 7

8 the response through the same latent varable approach: y = x β + ɛ, where y s contnuous and unobservable, y = j f α j y < α j+ wth j = 0,, 2,, J; α 0 =, α J+ =, and α j < α j. However, n ths case we may not wsh to assume that the boundary values α j s are known, and we may prefer to estmate them jontly wth the parameters β. In ths case we may be also nterested n the dstrbuton of the observed outcome. For both cases and 2, we may assume that the ɛ s normal wth mean zero and varance 2. The condtonal probabltes are: Pry = j x = Pry < α x = Prx β + ɛ < α = Pr ɛ < α x β = Φ α x β Prα j y < α j+ x = Prα j x β ɛ < α j+ x β = Φ α j+ x β Pry α J x = Prɛ α J x β = Pr ɛ α J x β = Φ α J x β Φ α j x β j = 0 j =,, J j = J Ths way we can buld up the log lkelhood functon as a functon of β, 2 and α usng the above results. ln Lα, β, 2 = ln N J Pry = j x {y =j} j=0 = N {y = 0} ln Pry = 0 x + N J j= There are several caveats n maxmzng ths log lkelhood functon. {y = j} ln Pry = j x + N {y = J} ln Pry = J x.. Consder the case where α s are known. If J =, then there are two alternatves. We cannot dentfy 2. We are back n the bnary response case, where the error varance s not dentfed, and we typcally set t equal to n a probt model. Wth J >, we can dentfy the varance separately and we do not need to normalze the parameters. Wth large J, we get approxmately back to the case where we observe the actual value of the outcome. In fact, n all cases we only observe y dscretely, so we could argue that the ordered dscrete response model s always approprate. In practce, f J s bg, people rarely bother usng a dscrete response model and just go ahead wth the standard lnear model, treatng y as a contnuous varable. 2. Consder the case wth α unknown. Ths s a much more dff cult case, both n terms of computaton and n terms of nterpretaton. Now there are a couple of normalzatons. Frst, we cannot dentfy the ntercept n β separately from the locaton of the boundary values α, so typcally we just normalze the ntercept to zero. Second, we cannot dentfy the scale of the boundary values from the error varance, so typcally we normalze 2 to. 3. Another ssue n the case of unknown α s what we should report. The parameters β are not very useful n ther own rght, except that they tell us whether the correspondng covarates are postvely or negatvely assocated wth the latent outcome y, f that latent outcome s of any nterest. Also keep n mnd that a postve value for β tells us that an ncrease n x s assocated wth a lower probablty of choosng the lowest ranked category y = 0, and a hgher probablty of choosng the hghest ranked category y = J; t does not tell us what the sgn s on the probablty that y = j for nteror j unless we can calculate that margnal effects ourselves. 8

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

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

Marginal Effects in Probit Models: Interpretation and Testing. 1. Interpreting Probit Coefficients

Marginal Effects in Probit Models: Interpretation and Testing. 1. Interpreting Probit Coefficients ECON 5 -- NOE 15 Margnal Effects n Probt Models: Interpretaton and estng hs note ntroduces you to the two types of margnal effects n probt models: margnal ndex effects, and margnal probablty effects. It

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

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

ECONOMETRICS II (ECO 2401S) University of Toronto. Department of Economics. Winter 2017 Instructor: Victor Aguirregabiria

ECONOMETRICS II (ECO 2401S) University of Toronto. Department of Economics. Winter 2017 Instructor: Victor Aguirregabiria ECOOMETRICS II ECO 40S Unversty of Toronto Department of Economcs Wnter 07 Instructor: Vctor Agurregabra SOLUTIO TO FIAL EXAM Tuesday, Aprl 8, 07 From :00pm-5:00pm 3 hours ISTRUCTIOS: - Ths s a closed-book

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

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

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

Andreas C. Drichoutis Agriculural University of Athens. Abstract

Andreas C. Drichoutis Agriculural University of Athens. Abstract Heteroskedastcty, the sngle crossng property and ordered response models Andreas C. Drchouts Agrculural Unversty of Athens Panagots Lazards Agrculural Unversty of Athens Rodolfo M. Nayga, Jr. Texas AMUnversty

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

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

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

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

Chapter 20 Duration Analysis

Chapter 20 Duration Analysis Chapter 20 Duraton Analyss Duraton: tme elapsed untl a certan event occurs (weeks unemployed, months spent on welfare). Survval analyss: duraton of nterest s survval tme of a subject, begn n an ntal state

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

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

The Multiple Classical Linear Regression Model (CLRM): Specification and Assumptions. 1. Introduction

The Multiple Classical Linear Regression Model (CLRM): Specification and Assumptions. 1. Introduction ECONOMICS 5* -- NOTE (Summary) ECON 5* -- NOTE The Multple Classcal Lnear Regresson Model (CLRM): Specfcaton and Assumptons. Introducton CLRM stands for the Classcal Lnear Regresson Model. The CLRM s also

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

Chapter 8 Indicator Variables

Chapter 8 Indicator Variables Chapter 8 Indcator Varables In general, e explanatory varables n any regresson analyss are assumed to be quanttatve n nature. For example, e varables lke temperature, dstance, age etc. are quanttatve n

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

Recitation 2. Probits, Logits, and 2SLS. Fall Peter Hull

Recitation 2. Probits, Logits, and 2SLS. Fall Peter Hull 14.387 Rectaton 2 Probts, Logts, and 2SLS Peter Hull Fall 2014 1 Part 1: Probts, Logts, Tobts, and other Nonlnear CEFs 2 Gong Latent (n Bnary): Probts and Logts Scalar bernoull y, vector x. Assume y =

More information

3/3/2014. CDS M Phil Econometrics. Vijayamohanan Pillai N. CDS Mphil Econometrics Vijayamohan. 3-Mar-14. CDS M Phil Econometrics.

3/3/2014. CDS M Phil Econometrics. Vijayamohanan Pillai N. CDS Mphil Econometrics Vijayamohan. 3-Mar-14. CDS M Phil Econometrics. Dummy varable Models an Plla N Dummy X-varables Dummy Y-varables Dummy X-varables Dummy X-varables Dummy varable: varable assumng values 0 and to ndcate some attrbutes To classfy data nto mutually exclusve

More information

2E Pattern Recognition Solutions to Introduction to Pattern Recognition, Chapter 2: Bayesian pattern classification

2E Pattern Recognition Solutions to Introduction to Pattern Recognition, Chapter 2: Bayesian pattern classification E395 - Pattern Recognton Solutons to Introducton to Pattern Recognton, Chapter : Bayesan pattern classfcaton Preface Ths document s a soluton manual for selected exercses from Introducton to Pattern Recognton

More information

Basic R Programming: Exercises

Basic R Programming: Exercises Basc R Programmng: Exercses RProgrammng John Fox ICPSR, Summer 2009 1. Logstc Regresson: Iterated weghted least squares (IWLS) s a standard method of fttng generalzed lnear models to data. As descrbed

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

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

Primer on High-Order Moment Estimators

Primer on High-Order Moment Estimators Prmer on Hgh-Order Moment Estmators Ton M. Whted July 2007 The Errors-n-Varables Model We wll start wth the classcal EIV for one msmeasured regressor. The general case s n Erckson and Whted Econometrc

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

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

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

Logistic regression models 1/12

Logistic regression models 1/12 Logstc regresson models 1/12 2/12 Example 1: dogs look lke ther owners? Some people beleve that dogs look lke ther owners. Is ths true? To test the above hypothess, The New York Tmes conducted a quz onlne.

More information

Multinomial logit regression

Multinomial logit regression 07/0/6 Multnomal logt regresson Introducton We now turn our attenton to regresson models for the analyss of categorcal dependent varables wth more than two response categores: Y car owned (many possble

More information

The Gaussian classifier. Nuno Vasconcelos ECE Department, UCSD

The Gaussian classifier. Nuno Vasconcelos ECE Department, UCSD he Gaussan classfer Nuno Vasconcelos ECE Department, UCSD Bayesan decson theory recall that we have state of the world X observatons g decson functon L[g,y] loss of predctng y wth g Bayes decson rule s

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

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

Dummy variables in multiple variable regression model

Dummy variables in multiple variable regression model WESS Econometrcs (Handout ) Dummy varables n multple varable regresson model. Addtve dummy varables In the prevous handout we consdered the followng regresson model: y x 2x2 k xk,, 2,, n and we nterpreted

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

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

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

Limited Dependent Variables and Panel Data. Tibor Hanappi

Limited Dependent Variables and Panel Data. Tibor Hanappi Lmted Dependent Varables and Panel Data Tbor Hanapp 30.06.2010 Lmted Dependent Varables Dscrete: Varables that can take onl a countable number of values Censored/Truncated: Data ponts n some specfc range

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

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

STK4080/9080 Survival and event history analysis

STK4080/9080 Survival and event history analysis SK48/98 Survval and event hstory analyss Lecture 7: Regresson modellng Relatve rsk regresson Regresson models Assume that we have a sample of n ndvduals, and let N (t) count the observed occurrences of

More information

FREQUENCY DISTRIBUTIONS Page 1 of The idea of a frequency distribution for sets of observations will be introduced,

FREQUENCY DISTRIBUTIONS Page 1 of The idea of a frequency distribution for sets of observations will be introduced, FREQUENCY DISTRIBUTIONS Page 1 of 6 I. Introducton 1. The dea of a frequency dstrbuton for sets of observatons wll be ntroduced, together wth some of the mechancs for constructng dstrbutons of data. Then

More information

ECONOMICS 351*-A Mid-Term Exam -- Fall Term 2000 Page 1 of 13 pages. QUEEN'S UNIVERSITY AT KINGSTON Department of Economics

ECONOMICS 351*-A Mid-Term Exam -- Fall Term 2000 Page 1 of 13 pages. QUEEN'S UNIVERSITY AT KINGSTON Department of Economics ECOOMICS 35*-A Md-Term Exam -- Fall Term 000 Page of 3 pages QUEE'S UIVERSITY AT KIGSTO Department of Economcs ECOOMICS 35* - Secton A Introductory Econometrcs Fall Term 000 MID-TERM EAM ASWERS MG Abbott

More information

Composite Hypotheses testing

Composite Hypotheses testing Composte ypotheses testng In many hypothess testng problems there are many possble dstrbutons that can occur under each of the hypotheses. The output of the source s a set of parameters (ponts n a parameter

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

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

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

An Introduction to Censoring, Truncation and Sample Selection Problems

An Introduction to Censoring, Truncation and Sample Selection Problems An Introducton to Censorng, Truncaton and Sample Selecton Problems Thomas Crossley SPIDA June 2003 1 A. Introducton A.1 Basc Ideas Most of the statstcal technques we study are for estmatng (populaton)

More information

Computation of Higher Order Moments from Two Multinomial Overdispersion Likelihood Models

Computation of Higher Order Moments from Two Multinomial Overdispersion Likelihood Models Computaton of Hgher Order Moments from Two Multnomal Overdsperson Lkelhood Models BY J. T. NEWCOMER, N. K. NEERCHAL Department of Mathematcs and Statstcs, Unversty of Maryland, Baltmore County, Baltmore,

More information

3.1 Expectation of Functions of Several Random Variables. )' be a k-dimensional discrete or continuous random vector, with joint PMF p (, E X E X1 E X

3.1 Expectation of Functions of Several Random Variables. )' be a k-dimensional discrete or continuous random vector, with joint PMF p (, E X E X1 E X Statstcs 1: Probablty Theory II 37 3 EPECTATION OF SEVERAL RANDOM VARIABLES As n Probablty Theory I, the nterest n most stuatons les not on the actual dstrbuton of a random vector, but rather on a number

More information

Bézier curves. Michael S. Floater. September 10, These notes provide an introduction to Bézier curves. i=0

Bézier curves. Michael S. Floater. September 10, These notes provide an introduction to Bézier curves. i=0 Bézer curves Mchael S. Floater September 1, 215 These notes provde an ntroducton to Bézer curves. 1 Bernsten polynomals Recall that a real polynomal of a real varable x R, wth degree n, s a functon of

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

Hidden Markov Models & The Multivariate Gaussian (10/26/04)

Hidden Markov Models & The Multivariate Gaussian (10/26/04) CS281A/Stat241A: Statstcal Learnng Theory Hdden Markov Models & The Multvarate Gaussan (10/26/04) Lecturer: Mchael I. Jordan Scrbes: Jonathan W. Hu 1 Hdden Markov Models As a bref revew, hdden Markov models

More information

Inner Product. Euclidean Space. Orthonormal Basis. Orthogonal

Inner Product. Euclidean Space. Orthonormal Basis. Orthogonal Inner Product Defnton 1 () A Eucldean space s a fnte-dmensonal vector space over the reals R, wth an nner product,. Defnton 2 (Inner Product) An nner product, on a real vector space X s a symmetrc, blnear,

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

Chapter 5 Multilevel Models

Chapter 5 Multilevel Models Chapter 5 Multlevel Models 5.1 Cross-sectonal multlevel models 5.1.1 Two-level models 5.1.2 Multple level models 5.1.3 Multple level modelng n other felds 5.2 Longtudnal multlevel models 5.2.1 Two-level

More information

4 Analysis of Variance (ANOVA) 5 ANOVA. 5.1 Introduction. 5.2 Fixed Effects ANOVA

4 Analysis of Variance (ANOVA) 5 ANOVA. 5.1 Introduction. 5.2 Fixed Effects ANOVA 4 Analyss of Varance (ANOVA) 5 ANOVA 51 Introducton ANOVA ANOVA s a way to estmate and test the means of multple populatons We wll start wth one-way ANOVA If the populatons ncluded n the study are selected

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

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

8 Derivation of Network Rate Equations from Single- Cell Conductance Equations

8 Derivation of Network Rate Equations from Single- Cell Conductance Equations Physcs 178/278 - Davd Klenfeld - Wnter 2015 8 Dervaton of Network Rate Equatons from Sngle- Cell Conductance Equatons We consder a network of many neurons, each of whch obeys a set of conductancebased,

More information

Probability Theory (revisited)

Probability Theory (revisited) Probablty Theory (revsted) Summary Probablty v.s. plausblty Random varables Smulaton of Random Experments Challenge The alarm of a shop rang. Soon afterwards, a man was seen runnng n the street, persecuted

More information

Generalized Linear Methods

Generalized Linear Methods Generalzed Lnear Methods 1 Introducton In the Ensemble Methods the general dea s that usng a combnaton of several weak learner one could make a better learner. More formally, assume that we have a set

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

Here is the rationale: If X and y have a strong positive relationship to one another, then ( x x) will tend to be positive when ( y y)

Here is the rationale: If X and y have a strong positive relationship to one another, then ( x x) will tend to be positive when ( y y) Secton 1.5 Correlaton In the prevous sectons, we looked at regresson and the value r was a measurement of how much of the varaton n y can be attrbuted to the lnear relatonshp between y and x. In ths secton,

More information

Logistic Regression. CAP 5610: Machine Learning Instructor: Guo-Jun QI

Logistic Regression. CAP 5610: Machine Learning Instructor: Guo-Jun QI Logstc Regresson CAP 561: achne Learnng Instructor: Guo-Jun QI Bayes Classfer: A Generatve model odel the posteror dstrbuton P(Y X) Estmate class-condtonal dstrbuton P(X Y) for each Y Estmate pror dstrbuton

More information

Maximum Likelihood Estimation

Maximum Likelihood Estimation Maxmum Lkelhood Estmaton INFO-2301: Quanttatve Reasonng 2 Mchael Paul and Jordan Boyd-Graber MARCH 7, 2017 INFO-2301: Quanttatve Reasonng 2 Paul and Boyd-Graber Maxmum Lkelhood Estmaton 1 of 9 Why MLE?

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

Convergence of random processes

Convergence of random processes DS-GA 12 Lecture notes 6 Fall 216 Convergence of random processes 1 Introducton In these notes we study convergence of dscrete random processes. Ths allows to characterze phenomena such as the law of large

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

8 Derivation of Network Rate Equations from Single- Cell Conductance Equations

8 Derivation of Network Rate Equations from Single- Cell Conductance Equations Physcs 178/278 - Davd Klenfeld - Wnter 2019 8 Dervaton of Network Rate Equatons from Sngle- Cell Conductance Equatons Our goal to derve the form of the abstract quanttes n rate equatons, such as synaptc

More information

10-701/ Machine Learning, Fall 2005 Homework 3

10-701/ Machine Learning, Fall 2005 Homework 3 10-701/15-781 Machne Learnng, Fall 2005 Homework 3 Out: 10/20/05 Due: begnnng of the class 11/01/05 Instructons Contact questons-10701@autonlaborg for queston Problem 1 Regresson and Cross-valdaton [40

More information

Multilevel Logistic Regression for Polytomous Data and Rankings

Multilevel Logistic Regression for Polytomous Data and Rankings Outlne Multlevel Logstc Regresson for Polytomous Data and Rankngs 1. Introducton to Applcaton: Brtsh Electon Panel 2. Logstc Models as Random Utlty Models 3. Independence from Irrelevant Alternatves (IIA)

More information

Tests of Single Linear Coefficient Restrictions: t-tests and F-tests. 1. Basic Rules. 2. Testing Single Linear Coefficient Restrictions

Tests of Single Linear Coefficient Restrictions: t-tests and F-tests. 1. Basic Rules. 2. Testing Single Linear Coefficient Restrictions ECONOMICS 35* -- NOTE ECON 35* -- NOTE Tests of Sngle Lnear Coeffcent Restrctons: t-tests and -tests Basc Rules Tests of a sngle lnear coeffcent restrcton can be performed usng ether a two-taled t-test

More information

Lossy Compression. Compromise accuracy of reconstruction for increased compression.

Lossy Compression. Compromise accuracy of reconstruction for increased compression. Lossy Compresson Compromse accuracy of reconstructon for ncreased compresson. The reconstructon s usually vsbly ndstngushable from the orgnal mage. Typcally, one can get up to 0:1 compresson wth almost

More information

NUMERICAL DIFFERENTIATION

NUMERICAL DIFFERENTIATION NUMERICAL DIFFERENTIATION 1 Introducton Dfferentaton s a method to compute the rate at whch a dependent output y changes wth respect to the change n the ndependent nput x. Ths rate of change s called the

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

4.1. Lecture 4: Fitting distributions: goodness of fit. Goodness of fit: the underlying principle

4.1. Lecture 4: Fitting distributions: goodness of fit. Goodness of fit: the underlying principle Lecture 4: Fttng dstrbutons: goodness of ft Goodness of ft Testng goodness of ft Testng normalty An mportant note on testng normalty! L4.1 Goodness of ft measures the extent to whch some emprcal dstrbuton

More information

STATS 306B: Unsupervised Learning Spring Lecture 10 April 30

STATS 306B: Unsupervised Learning Spring Lecture 10 April 30 STATS 306B: Unsupervsed Learnng Sprng 2014 Lecture 10 Aprl 30 Lecturer: Lester Mackey Scrbe: Joey Arthur, Rakesh Achanta 10.1 Factor Analyss 10.1.1 Recap Recall the factor analyss (FA) model for lnear

More information

Module 3 LOSSY IMAGE COMPRESSION SYSTEMS. Version 2 ECE IIT, Kharagpur

Module 3 LOSSY IMAGE COMPRESSION SYSTEMS. Version 2 ECE IIT, Kharagpur Module 3 LOSSY IMAGE COMPRESSION SYSTEMS Verson ECE IIT, Kharagpur Lesson 6 Theory of Quantzaton Verson ECE IIT, Kharagpur Instructonal Objectves At the end of ths lesson, the students should be able to:

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

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

Econ Statistical Properties of the OLS estimator. Sanjaya DeSilva

Econ Statistical Properties of the OLS estimator. Sanjaya DeSilva Econ 39 - Statstcal Propertes of the OLS estmator Sanjaya DeSlva September, 008 1 Overvew Recall that the true regresson model s Y = β 0 + β 1 X + u (1) Applyng the OLS method to a sample of data, we estmate

More information

INF 5860 Machine learning for image classification. Lecture 3 : Image classification and regression part II Anne Solberg January 31, 2018

INF 5860 Machine learning for image classification. Lecture 3 : Image classification and regression part II Anne Solberg January 31, 2018 INF 5860 Machne learnng for mage classfcaton Lecture 3 : Image classfcaton and regresson part II Anne Solberg January 3, 08 Today s topcs Multclass logstc regresson and softma Regularzaton Image classfcaton

More information

Issues To Consider when Estimating Health Care Costs with Generalized Linear Models (GLMs): To Gamma/Log Or Not To Gamma/Log? That Is The New Question

Issues To Consider when Estimating Health Care Costs with Generalized Linear Models (GLMs): To Gamma/Log Or Not To Gamma/Log? That Is The New Question Issues To Consder when Estmatng Health Care Costs wth Generalzed Lnear Models (GLMs): To Gamma/Log Or Not To Gamma/Log? That Is The New Queston ISPOR 20th Annual Internatonal Meetng May 19, 2015 Jalpa

More information

Psychology 282 Lecture #24 Outline Regression Diagnostics: Outliers

Psychology 282 Lecture #24 Outline Regression Diagnostics: Outliers Psychology 282 Lecture #24 Outlne Regresson Dagnostcs: Outlers In an earler lecture we studed the statstcal assumptons underlyng the regresson model, ncludng the followng ponts: Formal statement of assumptons.

More information

Designing a Pseudo R-Squared Goodness-of-Fit Measure in Generalized Linear Models

Designing a Pseudo R-Squared Goodness-of-Fit Measure in Generalized Linear Models Desgnng a Pseudo R-Squared Goodness-of-Ft Measure n Generalzed Lnear Models H. I. Mbachu Dept. of Mathematcs/Statstcs, Unversty of Port Harcourt, Port Harcourt E. C. Nduka Dept. of Mathematcs/Statstcs,

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

However, since P is a symmetric idempotent matrix, of P are either 0 or 1 [Eigen-values

However, since P is a symmetric idempotent matrix, of P are either 0 or 1 [Eigen-values Fall 007 Soluton to Mdterm Examnaton STAT 7 Dr. Goel. [0 ponts] For the general lnear model = X + ε, wth uncorrelated errors havng mean zero and varance σ, suppose that the desgn matrx X s not necessarly

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

Introduction to Regression

Introduction to Regression Introducton to Regresson Dr Tom Ilvento Department of Food and Resource Economcs Overvew The last part of the course wll focus on Regresson Analyss Ths s one of the more powerful statstcal technques Provdes

More information

Stat 642, Lecture notes for 01/27/ d i = 1 t. n i t nj. n j

Stat 642, Lecture notes for 01/27/ d i = 1 t. n i t nj. n j Stat 642, Lecture notes for 01/27/05 18 Rate Standardzaton Contnued: Note that f T n t where T s the cumulatve follow-up tme and n s the number of subjects at rsk at the mdpont or nterval, and d s the

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

Multiple Choice. Choose the one that best completes the statement or answers the question.

Multiple Choice. Choose the one that best completes the statement or answers the question. ECON 56 Homework Multple Choce Choose the one that best completes the statement or answers the queston ) The probablty of an event A or B (Pr(A or B)) to occur equals a Pr(A) Pr(B) b Pr(A) + Pr(B) f A

More information

Linear Correlation. Many research issues are pursued with nonexperimental studies that seek to establish relationships among 2 or more variables

Linear Correlation. Many research issues are pursued with nonexperimental studies that seek to establish relationships among 2 or more variables Lnear Correlaton Many research ssues are pursued wth nonexpermental studes that seek to establsh relatonshps among or more varables E.g., correlates of ntellgence; relaton between SAT and GPA; relaton

More information

Online Appendix to The Allocation of Talent and U.S. Economic Growth

Online Appendix to The Allocation of Talent and U.S. Economic Growth Onlne Appendx to The Allocaton of Talent and U.S. Economc Growth Not for publcaton) Chang-Ta Hseh, Erk Hurst, Charles I. Jones, Peter J. Klenow February 22, 23 A Dervatons and Proofs The propostons n the

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

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