Unit-5
Unit-5
Structure
5.0 Objectives
5.1 Introduction
5.2 Nature of Variables
5.3 The Linear Probability Model (LPM)
5.3.1 Non-Normality of Disturbances
5.3.2 Heteroscedastic Variances
5.3.3 Non-Fulfilment of Probability Limits
5.3.4 R2 as Measure of Goodness of Fit
5.3.5 Limitations of LPM and Corrective Measures
5.0 OBJECTIVES
After reading this unit, you will be able to:
80 *
Prof. Sushil Haldar, Jadavpur University.
• list the properties of a Logit model; Binary Dependent
Variable Models
• outline the estimation procedure for the parameters of a Logit model;
• explain the interpretation of Logistic parameters;
• illustrate the interpretation of logistic parameters with an empirical exercise;
• write a short note on the application of Logit model for ‘grouped data’;
• describe the application of Probit model with an illustration for the estimation
of its ‘marginal effect’;
• compute the ‘marginal effect’ in an estimated Probit model for a ‘mean value’;
and
• present the relationship between the regression coefficients of: (i) Logit model
and Probit model and (ii) LPM and Logit model.
5.1 INTRODUCTION
In applied economics, we face situations where the ‘dependent variable’ is
binary or dichotomous or qualitative. Some examples are as follows: Banks
provide loans to the customers. Some customers may be defaulters who fail
to re-pay their loans to the banks in time. Therefore, the borrowers can be
divided into two groups: defaulters and non-defaulters. In medical science, a
group of people of a fixed age cohort is diagnosed about the incidence of
diabetes. Some persons may suffer from diabetes while others may not. Thus,
two groups of persons emerge – diabetic and non-diabetic. Numerous other
examples can be given like: vegetarian and non-vegetarian, smokers and non-
smokers, drug addicted vs. non-drug addicted, owning a car or not, etc. In all
these cases, the dependent variable is qualitative and can be quantified as 1
and 0. Now the question that arises is about the factors that influence the
probability of being, say, a defaulter. Is it due to the age of the customer? Or
is it due to the cultural characteristics? Or is it due to the marital status? Or is
it due to the overall socio-economic profile? We can similarly raise many
questions pertaining to the incidence of diabetes, smokers vs. non-smokers,
vegetarian vs. non-vegetarian, etc. In most cases of regression analysis, we
consider the dependent variable as quantitative or numeric whereas the
independent variables may be either quantitative or qualitative or a mixture of
both the types. In this Unit, we consider the dependent variable as not only
qualitative but also as dichotomous. For instance, if the dependent variable is
‘yes’ or ‘no’ type, then we define the dependent variable as binary (viz. 1 or
0) and proceed.
y i = α 0 + α 1 Di + u i (5.2)
E ( yi / xi ) =β 0 + β1 xi + ui (5.5a)
yi Probability
0 1 – pi
1 pi
Total 1
E ( yi ) = 0.(1 − pi ) + 1. pi = pi or
E ( y i | xi ) = β 0 + β 1 xi = p i (5.5b)
Extending the above to ‘n’ independent trials, each with probability ‘p’ for
success and probability (1–p) for failure, and if X of these trials represent the
number of successes, then we know that X follows the binomial distribution
with mean ‘np’ and variance ‘npq’ where q=(1–p). Since the probability p i
must lie between 0 and 1, we have the restriction:
0 ≤ E ( y i | xi ) ≤ 1 (5.6)
83
Advanced Topic ‘statistical inference’. Note that like yi , the disturbances u i also can take only
in Regression
Analysis two values which follow Bernoulli distribution as shown in Table 5.2.
yi ui Probability
When yi =1 1 − β 0 − β 1 xi pi
When yi = 0 − β 0 − β 1 xi 1 − pi
Total - 1
yi β βx u
= 0 + 1 i + i ................................(5.8)
wi wi wi wi
Check Your Progress 1 [answer within the space given in about 50-100
words]
1 1 ez
pi = = = (5.10)
1 + e −( β 0 + β1 xi ) 1 + e −z 1 + e z 87
Advanced Topic where, z = β 0 + β 1 xi so that if z tends to –∞, p tends to zero and if z tends to
in Regression
Analysis ∞, p tends to 1. Hence, zi ranges from − ∞ to + ∞ and p i ranges between 0
and 1. Here, p i is nonlinearly related to z i . This is an important property of a
logistic Equation like (5.10). Graphically, this is as shown in Fig. 5.2.
The question now is, can we apply the OLS to estimate the parameters of the
Equation (5.10)? The answer is ‘no’. This is because p i is nonlinear not only
in x but also in the β’s. This means we cannot use the OLS procedure to
estimate its parameters. If p i is the probability of owning a car, then (1 − pi )
is the probability of not owning a car. Therefore, we consider the ratio of
pi
odds (or the ‘odds ratio’) as and consider estimating ‘1 – pi’. This
1 − pi
means, we estimate:
e zi
1 − pi =1 −
1 + e zi
1 + e z i − e zi
1 − pi =
1 + e zi
1
1 − pi = zi .........................................................(5.11)
1+ e
Equation (5.11) gives us the probability of not owning a car. Therefore, we
can write the ‘odds ratio’ as:
e zi
pi 1=+ e zi e zi .......................................................(5.12)
=
1 − pi 1
1 + e zi
p = 2.009 − 2.009 p
⇒ p(1 + 2.009 ) = 2.009
2.009
⇒ p=
3.009
⇒ p = 0.667
This is also less than 0.5 or 50 percent! Hence, if L is negative, the odds that
the regressand equals 1 decreases as the value of x increases. To put it
differently, the Logit becomes negative and increasingly large in magnitude
as the odds ratio decreases from 1 to 0. It also becomes increasingly large and
positive as the odds ratio increases from 1 to infinity. More formally, the
interpretation of the Logit model given in (5.13) is as follows: β 1 , the slope,
measures the change in Li for a unit change in xi i.e. it tells us how the log-
odds changes in favour of owning a car as income changes by a unit. The
intercept β 0 is the value of the log odds in favour of owning a car if income
is zero. Given a certain level of income, say, x * , we can estimate the odds in
favour of owning a car if β 0 and β 1 are known. Here, we have considered
only one regressor but one can add as many regressors (including categorical)
as may be dictated by the underlying theory.
In order to estimate the parameters, we need data. Data may be of two types
i.e. either for a group or at the individual level. Here, we mainly consider the
individual level data. If we have data at individual level, OLS estimation of
the above equation is infeasible. This can be explained as follows. Consider
our earlier case of owning a car. In terms of the data at the individual level,
p i = 1 if the individual owns a car and p i = 0 if he does not own. But if we
1
put these values directly into the Logit ( Li ) we obtain, Li ln which is
0
1
infinite if the individual owns a car and Li ln which is undefined for the
0
case of individual not owning a car. These expressions are therefore
meaningless. Hence, if we have data at the micro, or individual level, we
cannot estimate (5.15) by the standard OLS method. In this situation, we have
to resort to the ‘maximum-likelihood (ML)’ method of estimating the
parameters. In our earlier logistic Equation (5.10), we assumed that the
90
probability of owning a car follows logistic equation. We cannot observe pi, Binary Dependent
Variable Models
rather we can only observe y = 1 if the individual owns a car, 0 otherwise.
Since, yi is a Bernoulli random variable, we can write Pr( yi = 1 | x) = pi and
Pr( yi = 0 | x) = 1 − pi . Now, suppose we have a random sample of ‘n’ number
of observations. Letting f i ( y i ) denote the probability that yi = 1 or 0; the joint
probability of observing the ‘n.y’ values i.e. f ( y1 , y 2 ....... y n ) is given by:
n n
f ( y1 , y 2 ....... y n ) = ∏ f i ( y i ) = ∏ piyi .(1 − p i )1− yi (5.16)
1 1
n
pi n
yi .ln ln(1 pi )
1 1 pi 1
n n
1 xi )
yi 0 1 xi ln 1 e( 0
(5.17)
1 1
p
Thus, the values of ln i and ln(1 − pi ) are estimated as ( β 0 + β 1 xi ) and
1 − pi
− ln(1 + e β 0 + β1 xi ) respectively. The objective is to maximise the LLF i.e.
Equation (5.17) with respect to β0 and β1 using the values of x which are
known. The resulting solutions become non-linear in the parameters because
of the presence of e β 0 + β1 x term. This is the reason why the OLS method
cannot be applied for the Logit model. Once the values of the parameters are
known, we can easily estimate the logistic equation.
in favour of happening the event is 2.71, which is greater than 1. In the same
way, if we consider the value of βˆ 0 = −1 , the odds is:
p
= e β 0 = (2.71)−1 = 0.369
ˆ
1− p
which is less than 1. Again, how do we interpret the odds if β̂ 0 is zero? The
odds of owning a car becomes 1 if the value of β̂ 0 = 0! We need to explain
this. From (5.14), if income xi is zero, then Lˆ , the estimated L is written as:
.
p p
Lˆ = ln
ˆ
= β̂ 0 . This can be written as: = e β 0 . The left hand side
1− p 1− p
represents the odds ratio in favour of owning a car. The right hand expression
is known since the value of e is 2.71 and β̂ 0 is known. If β̂ 0 = 0, the odds
ratio in favour of owning a car is 1. This means p = (1 − p ) i.e. the probability
of owning a car is equal to the probability of not owning a car! This means, at
a certain level of income, one may be indecisive or indifferent. Now, let us
proceed to interpret the estimated coefficient of other parameter βˆ1 . If we
ˆ
differentiate (5.16) with respect to xi, we obtain: ∂L = βˆ1 . This gives us the
∂xi
incremental increase in the log of odds in favour of owning a car due to
increase in one additional unit of income (xi). Like in the previous case, if we
know the exact estimated value of βˆ1 , we can calculate the odds ‘in favour of
owning a car’. Let us take the estimated value of βˆ = 0.8. The odds in favour
1
0.8
of owning a car will be 2.22 (=e ), which is greater than 1. What happens to
the odds in favour of owning a car if βˆ1 becomes –0.8? The odds in favour of
owning a car will be 0.45 which is less than 1. Can we estimate the marginal
effect given the exact estimated value of βˆ1 ? Marginal effect means
incremental increase in p due to one unit increase in explanatory variable
∂pi
( x ). Mathematically, we can write: Marginal Effect = . Differentiating
∂xi
92
Equation (5.16) with respect to xi and using the fact that Binary Dependent
Variable Models
p
βˆ0 + βˆ1 xi =
ln which follows from the Equation (5.13), we get:
1 − pi
Lˆ ˆ ˆ x p ˆ
0 1 i ln 1
xi xi 1 pi
1 pi ˆ
.
pi xi 1 pi
1
1 pi
pi pi
1 pi . pi. .
1 pi xi xi ˆ
2 1
pi 1 pi
pi
xi ˆ
1
pi 1 pi
pi ˆ . p (1
1 i pi) ( 5 .1 9 )
xi
The above expression stands for ‘marginal effect’. It basically captures the
incremental change in the probability of owning a car ( y = 1 ) due to one unit
increase in xi . But the major problem arises about the estimation of pi .
Theoretically, p i should be n values (i = 1, 2, 3…………n) but it is
unrealistic to estimate n number of marginal effects! There should be only
one p . Note that ‘regression’ basically captures average mathematical
relationship between two variables as is our case here. Therefore, we have to
estimate that value of p which corresponds to the ‘mean predicted
probability’. The unique value of p can be solved from the estimated Logit
model as follows. From 5.13, we can write: Lˆ = βˆ0 + βˆ1 xi . Replacing xi by its
mean value, x =
∑ x , the new estimated Logit becomes: Lˆ = βˆ + βˆ x
0 1 .
n
Now, the right hand side is known. Let us set βˆ + βˆ x = C. We then have: 0 1
pˆ
Lˆ =C ⇒ ln =C
1 − pˆ
pˆ
⇒ eC =
= k
1 − pˆ
pˆ
⇒ =k
1 − pˆ
k
⇒ pˆ = ( pˆ = k (1 − pˆ ); pˆ = k − kpˆ ; (1 + k ) pˆ = k ; pˆ = k / 1 + k )
1+ k
⇒ pˆ =p*
93
Advanced Topic k
in Regression Thus, assuming, eC = k , we obtained p* = . This is the value of ‘mean
Analysis
1+ k
predicted probability’. By doing this, instead of multiple values of p, we have
estimated a single p = p * . Thus, from Equation (5.19), the ‘marginal effect’
can be obtained by the following equation:
∂p ˆ *
Marginal Effect = = β 1 . p (1 − p * ) (5.20)
∂x
(X is in Rs. ‘000)
Individual Y X Individual Y X
1 0 30 14 1 70
2 1 55 15 1 65
3 1 48 16 0 38
4 0 22 17 0 40
5 0 24 18 1 45
94 6 1 50 19 0 38
Binary Dependent
7 1 60 20 1 70 Variable Models
8 1 55 21 0 56
9 0 40 22 1 48
10 0 38 23 0 40
11 1 60 24 1 75
12 0 30 25 0 38
13 0 45
∂Lˆ
= 0.293
∂xi
p p
= (2.71)
0.293
⇒ = e 0.293 ⇒
1− p 1− p
p
⇒ = 1.33
1− p
95
Advanced Topic This is higher than 1. Therefore, the odds in favour of owning a car increases
in Regression
Analysis as income increases. To calculate the marginal effect, we first estimate the
mean of x which is x = 47.2. By using this in Equation (5.21), we get:
ni
pi (5.22)
Ni
This is the relative frequency. Hence, we can use it as an estimate of the true
p i corresponding to each xi . If N i is fairly large, p̂i will be a reasonably
good estimate of p i . Using the estimated p i , we can obtain the estimated
Logit as:
pi
Li ln( ) 0 1 xi (5.23)
96 1 pi
Equation (5.23) is expected to be a fairly good estimate of the ‘true Logit’ if Binary Dependent
the number of observations Ni at each xi is reasonably large. Variable Models
σ 2π −∝
σ 2π
The econometric model based on the ‘dummy dependent variable’ that
emerges from the ‘normal CDF’ is popularly known as the Probit model. We
can explain the Probit model using the car ownership example of individuals.
Owning a car gives some satisfaction, which is an unobserved or latent
variable. We assume that the decision of the ith individual to own a car
depends on an unobserved utility level, Ui, which is determined by the level
of income (x) that the individual possess. We further assume that Ui is
positively and linearly related to xi like:
U i = β 0 + β1 xi (5.24)
An important question now is: ‘how is the unobserved (latent) utility index
(Ui) related to the actual decision of owning a car’? We further assume that
there exists a cut-off or benchmark level of utility index, U i* , such that if the
actual utility index (Ui) exceeds the cut-off level of utility index U i* , the
individual will own a car. This means y i = 1, if Ui>Ui*, 0 otherwise. Given
the assumption of normality, the probability that U i* is less than or equal to
U i can be computed from the standardised normal CDF as:
pi p( y 1 / x) p (U i* Ui ) p ( zi 0 1 i x) F( 0 x)
1 i
(5.25)
where p ( y | x ) implies the probability of having a car given the income level,
z i is the standard normal variate (with zero mean and unit variance) and F is
the standard normal CDF, which can be written as:
Ii z2
1
F (U i ) e 2
dz
2
1 xi z2
1 0
e 2
dz (5.26)
2
97
Advanced Topic Since, p represents the probability that an event will occur (which is here the
in Regression
Analysis probability of owning a car), it is measured by the area of the standard normal
curve from − ∞ to U i . Now, from Equation (5.25), we can write:
U i = F −1 (U i ) = F −1 ( Pi ) = β 0 + β1 xi (5.27)
where F-1 is the inverse of normal CDF. Now, the data may be at the
individual or group level. The same process as was discussed in the Logit
model, needs to be applied here. The only difference is the CDF used. The
parameters of β 0 and β 1 are to be estimated from the ‘maximum likelihood
method’. The ‘marginal effect’ of Probit model is obtained by differentiating
the Equation (5.25) with respect to xi i.e.:
∂pi
= F / .β1 (5.28)
∂xi
The Probit coefficient is 0.1620. This means if income (x) increases, the
actual utility index (Ui) exceeds the threshold level of Utility Index (U*i)
with the probability of owning a car increasing by 16.2%. The intercept term
is negative. This means that if income is zero, the utility index is also
negative leading to ‘zero’ probability of owning a car. Now, the marginal
effect can be estimated for any value of the level of income. Earlier we saw
that there exists only one marginal effect of Logit model which is evaluated
at mean value. But, in case of Probit model, one can estimate the ‘marginal
effect’ for any positive value of x. This is done by estimating the probability
density of the standardised normal curve.
98
5.5.2 Estimation of Marginal Effect in Profit Model Binary Dependent
Variable Models
∂pi
Suppose we want to evaluate the marginal effect, at the mean value of x
∂xi
i.e. x = 47.2. Using, 5.27, we can compute the marginal effect of the Probit
model as:
pi
F /. 1 f ( 7.6841 0.1620 47.2) 0.1620 f ( 0.03) 0.1620
xi
0.4750 0.162 0.076
In the above we have taken the value 0.475 because the value of f (−0.03)
corresponding to P(–1.96 ≤ Z ≤ 0 ) is 0.475. The results of the ‘marginal
effect’ means that for one unit increase in income (x) beyond the mean
income ( x ) , the probability of owning a car will increase by 7.6 percent. This
is more or less same as the Logit result (in case of Logit, we estimated the
‘marginal effect’ as 0.073). One can estimate the ‘marginal effect’ for any
value of x in Probit model but we cannot do it in the Logit model. The Logit
and Probit models are more or less similar. The sign of the coefficients are
same. The only difference is related to numerical values. Empirically, one
can establish the relationship between the two coefficients of Logit and Probit
models by multiplying the Probit coefficient by 1.81. This gives us an
approximate value of the Logit coefficient. This can be examined in our
above car ownership example. The estimated Logit coefficient is 0.293 while
the estimated Probit coefficient is 0.1620. You can verify that 0.293≈1.81 ×
0.1620. Therefore, in general, we can write this as:
There also exists a relationship between the coefficients of Logit model and
LPM as follows:
β1 of LPM ≈ 0.25 × β1 of Logit [except for intercept] (5.30)
You can verify the above relationship by estimating the LPM which is not
done here in this unit.
Check Your Progress 2 [answer within the space given in about 50-100
words]
101
Advanced Topic
in Regression
5.9 ANSWERS/HINTS TO CHECK YOUR
Analysis PROGRESS EXERCISES
Check Your Progress 1
103