implementation of a double-hurdle model bruno garcia the stata journal (2013), 13, number 4, pp....

27
Implementation of a double-hurdle model Bruno Garcia The Stata Journal (2013), 13, Number 4, pp. 776-794 Presented by Gulzat

Upload: rudolph-boyd

Post on 29-Dec-2015

251 views

Category:

Documents


6 download

TRANSCRIPT

Page 1: Implementation of a double-hurdle model Bruno Garcia The Stata Journal (2013), 13, Number 4, pp. 776-794 Presented by Gulzat

Implementation of a double-hurdle model

Bruno Garcia

The Stata Journal (2013), 13, Number 4, pp. 776-794

Presented by Gulzat

Page 2: Implementation of a double-hurdle model Bruno Garcia The Stata Journal (2013), 13, Number 4, pp. 776-794 Presented by Gulzat

The paper is about

• A double hurdle model (DHM) (Cragg, 1971 Econometrica 39: 829-844)

• What is new: Stata command dblhurdle (and predict after dblhurdle )

Page 3: Implementation of a double-hurdle model Bruno Garcia The Stata Journal (2013), 13, Number 4, pp. 776-794 Presented by Gulzat

Censored dependent variable models

• E.g. Consumer or not if a consumer the value of the expenditure is known

• Tobit: assumes that the factors explaining of becoming a consumer and how much to spend have the same effect on these two decisions

• DHM: allows these effects to differ

Page 4: Implementation of a double-hurdle model Bruno Garcia The Stata Journal (2013), 13, Number 4, pp. 776-794 Presented by Gulzat

Tobit Model

• andTwo variables and one model to explain these two variables

Page 5: Implementation of a double-hurdle model Bruno Garcia The Stata Journal (2013), 13, Number 4, pp. 776-794 Presented by Gulzat

Double Hurdle Model

1. Potential consumer or not, D is not observed

• 2. • >0• (or or () )• • , )= unobserved elements effecting consumers/nonconsumers

may affect amount of expenditure• Individuals make decisions in two steps

Page 6: Implementation of a double-hurdle model Bruno Garcia The Stata Journal (2013), 13, Number 4, pp. 776-794 Presented by Gulzat

Double Hurdle Model (following the paper.....)

• Decision 1: participation • Decision 2: quantity (maybe zero)• =the observed consumption of an individual,

dependent variable continous over positive values, but

Page 7: Implementation of a double-hurdle model Bruno Garcia The Stata Journal (2013), 13, Number 4, pp. 776-794 Presented by Gulzat

Double Hurdle Model

• The log liklihood function for the DHM ():

Page 8: Implementation of a double-hurdle model Bruno Garcia The Stata Journal (2013), 13, Number 4, pp. 776-794 Presented by Gulzat

Double Hurdle Model

• models the quantity equation• models the participation equation• The command estimates where • Restriction:

Page 9: Implementation of a double-hurdle model Bruno Garcia The Stata Journal (2013), 13, Number 4, pp. 776-794 Presented by Gulzat

Double Hurdle Model: Stata

Page 10: Implementation of a double-hurdle model Bruno Garcia The Stata Journal (2013), 13, Number 4, pp. 776-794 Presented by Gulzat
Page 11: Implementation of a double-hurdle model Bruno Garcia The Stata Journal (2013), 13, Number 4, pp. 776-794 Presented by Gulzat

Double Hurdle Model

Page 12: Implementation of a double-hurdle model Bruno Garcia The Stata Journal (2013), 13, Number 4, pp. 776-794 Presented by Gulzat
Page 13: Implementation of a double-hurdle model Bruno Garcia The Stata Journal (2013), 13, Number 4, pp. 776-794 Presented by Gulzat

Example: The use of the dblhurdle command using smoke.dta from Wooldridge (2010).

Page 14: Implementation of a double-hurdle model Bruno Garcia The Stata Journal (2013), 13, Number 4, pp. 776-794 Presented by Gulzat
Page 15: Implementation of a double-hurdle model Bruno Garcia The Stata Journal (2013), 13, Number 4, pp. 776-794 Presented by Gulzat
Page 16: Implementation of a double-hurdle model Bruno Garcia The Stata Journal (2013), 13, Number 4, pp. 776-794 Presented by Gulzat

Marginal effects

• The number of years of schooling (educ) on:1. The probability of smoking2. The expected number of cigarettes smoked given that you smoke3. The expected number of cigarettes smoked

Page 17: Implementation of a double-hurdle model Bruno Garcia The Stata Journal (2013), 13, Number 4, pp. 776-794 Presented by Gulzat

Prediction

• ppar - the probability of being away from the corner conditional on the covariates:

• ycond - expectation:

• yexpected - expected value of y conditional on x and z:

Page 18: Implementation of a double-hurdle model Bruno Garcia The Stata Journal (2013), 13, Number 4, pp. 776-794 Presented by Gulzat

Marginal effects

Page 19: Implementation of a double-hurdle model Bruno Garcia The Stata Journal (2013), 13, Number 4, pp. 776-794 Presented by Gulzat

Marginal effects

Page 20: Implementation of a double-hurdle model Bruno Garcia The Stata Journal (2013), 13, Number 4, pp. 776-794 Presented by Gulzat

Marginal effects

Page 21: Implementation of a double-hurdle model Bruno Garcia The Stata Journal (2013), 13, Number 4, pp. 776-794 Presented by Gulzat

Monte Carlo simulation: Finite sample properties of the estimator

• Three measures of performance:• The mean of the estimated parameters should

be close to their true values.• The mean standard error of the estimated

parameters over the repetitions should be close to the standard deviation of the point estimates.

• The rejection rate of hypothesis tests should be close to the nominal size of the test.

Page 22: Implementation of a double-hurdle model Bruno Garcia The Stata Journal (2013), 13, Number 4, pp. 776-794 Presented by Gulzat

Monte Carlo simulation

The data-generating process can be summarized as follows:

Page 23: Implementation of a double-hurdle model Bruno Garcia The Stata Journal (2013), 13, Number 4, pp. 776-794 Presented by Gulzat

Monte Carlo simulation

• A dataset of 2,000 observations was created. • The x’s were drawn from a standard normal distribution, and

the d’s were drawn from a Bernoulli with p = 1/2. • Refer to this dataset as “base”.• Iteration of the simulation:1. Use “base”.2. For each observation, draw (gen) from a standard normal.3. For each observation, draw (gen) u from a standard normal.4. For each observation, compute y according to the data-generating process presented above.5. Fit the model, and save the values of interest with post.

Page 24: Implementation of a double-hurdle model Bruno Garcia The Stata Journal (2013), 13, Number 4, pp. 776-794 Presented by Gulzat

Monte Carlo simulation

Page 25: Implementation of a double-hurdle model Bruno Garcia The Stata Journal (2013), 13, Number 4, pp. 776-794 Presented by Gulzat

Monte Carlo simulation

• A less intuitive issue: The set of regressors in the participation equation=the set of regressors of the quantity equation.

• The model is weakly identified. • The data-generating process:

Page 26: Implementation of a double-hurdle model Bruno Garcia The Stata Journal (2013), 13, Number 4, pp. 776-794 Presented by Gulzat

Monte Carlo simulation

Page 27: Implementation of a double-hurdle model Bruno Garcia The Stata Journal (2013), 13, Number 4, pp. 776-794 Presented by Gulzat

Conclusion

• Researchers may consider dblhurdle when using tobit model

• Its flexibility allows the researcher to break down the modeled quantity along two useful dimensions, the “quantity” dimension and the “participation” dimension

• The command presented in this article only allows for a single corner in the data

• One desirable feature to add is the capability to handle dependent variables with two corners