Binary Choice Models in Stata (LPM, Logit, and Probit)

Поділитися
Вставка
  • Опубліковано 12 лип 2017

КОМЕНТАРІ • 44

  • @jackjung9722
    @jackjung9722 5 років тому

    Thank you so much!

  • @salamander7154
    @salamander7154 4 роки тому

    Great explanations, thank you! One question: If we wanted to include fixed effects (or control for categorial variables), can we only do this in the LPM? So do both probit and logit not allow for this; as they're both nonlinear?
    Thanks a lot!

    • @sebastianwaiecon
      @sebastianwaiecon  4 роки тому

      You can definitely still add cross-sectional and time dummy variables to a probit or logit, but as always, the interpretation will not be as clean. For more sophisticated implementations, I'm not sure as I haven't done that myself. You may want to consider whether LPM would be fine for what you're doing. FE are usually used when we care about establishing causality and want to get an unbiased estimate of some treatment effect, in this case how the treatment affects the probability. Probit and logit are used for predicting the final probability, which is not something an FE user typically is interested in.

  • @varunmiglani110
    @varunmiglani110 2 роки тому

    Also i used eststo in prefix and run various logit model, how do i get AIC/BIC, LR test for each of the models in comparison when using esttab

  • @somahn20
    @somahn20 5 років тому

    Amazing work, thanks for the help. Quick question, what if the check results doesn't match the results from the latent variable??? What are the reasons for that and what's the way forward?

    • @sebastianwaiecon
      @sebastianwaiecon  5 років тому

      Not sure what you mean, as the check variable was derived directly from the latent variable.

  • @varunmiglani110
    @varunmiglani110 2 роки тому

    how to decide between different Logit models, which statistic to use, LR Test, AIC or BIC.

  • @jakeclifton3310
    @jakeclifton3310 6 років тому +1

    What do you mean by “latent variable” when you’re predicting the probit model using the xb command?

    • @sebastianwaiecon
      @sebastianwaiecon  6 років тому

      The latent variable goes into your logistic or normal CDF to get the predicted probability.

  • @bahaa2708
    @bahaa2708 3 роки тому

    Great explanation, thanks a lot!. anyway that we can predict margins for out of sample observations ?

    • @sebastianwaiecon
      @sebastianwaiecon  3 роки тому +1

      I haven't done it myself, but you may find this helpful: stats.idre.ucla.edu/stata/dae/using-margins-for-predicted-probabilities/

  • @jakeclifton3310
    @jakeclifton3310 6 років тому

    Is the numeric process you illustrated for calculating the marginal effect comparable to using the mfx command in Stata?

    • @sebastianwaiecon
      @sebastianwaiecon  6 років тому

      Similar, although I'm not actually calculating a derivative here, just seeing how the probability changes for a specific variable change.

  • @adrianaparrenogallardo8055
    @adrianaparrenogallardo8055 2 роки тому

    Hello Sebastian!
    Thank you for your video but i have a question here. How can I predict a Probit model with categorical and continue variables?

    • @sebastianwaiecon
      @sebastianwaiecon  2 роки тому

      The dependent variable for a probit must be categorical (dummy variable). The explanatory variables can be either.

  • @shadyjii2154
    @shadyjii2154 5 років тому

    Helpful video dude, really basic question here: what does the "di" stand for? Distribution?

    • @sebastianwaiecon
      @sebastianwaiecon  5 років тому

      "di" is short for "display." Commands in Stata can always be shortened, as long as there's no ambiguity. A common one is typing just "reg" instead of "regress." The display command is what allows us to do math right in the Stata window, including probability distributions.

    • @DarnastTFT
      @DarnastTFT 5 років тому

      display ( it is just a command that display the calculations)

  • @Marinkaasje
    @Marinkaasje 2 роки тому

    Dear Sebastian, great video. I have a question. I end up with numbers not between 0-1 but 0-8 when I use predict lpmred, xb. And I don't know how to interpret them; what goes wrong? The lpmred values seem to equal my constants, and are the same for every participant. My constants are way higher than yours and I also have only one predictor (group). Thank you.

    • @sebastianwaiecon
      @sebastianwaiecon  2 роки тому

      It's impossible to say for sure what went wrong, but I'm guessing something is off with how you set up your variables or regression command.

    • @Marinkaasje
      @Marinkaasje 2 роки тому

      @@sebastianwaiecon Thank you for replying. I actually realized I have a continuous DV, and want to obtain probabilities. Might that be causing the high values when I use "regress and predict lpmred, xb"? I guess I can't use probit with a continious DV right?
      Edit: of course, my bad. Had to make a binary variable instead of course.

  • @amdadulhaque8582
    @amdadulhaque8582 2 роки тому

    What stata command would i use to regress a model in which my dependent variable is binary and one out three of my dependent variables is binary. Do i use LPM in this case

  • @josefaldebes6580
    @josefaldebes6580 3 роки тому

    dear sebastian thanx for amazing video, I would like to get the data set to practice, and how can you be reached for further inquiries.

    • @sebastianwaiecon
      @sebastianwaiecon  3 роки тому

      The dataset is MROZ.dta, which comes with the Wooldridge Introductory Econometrics textbook. You should be able to find it online.

  • @tewoderosmeleaku6627
    @tewoderosmeleaku6627 Рік тому

    It is nice lecture for choosing best binary models why do not include tobit model? Dose possible to get the data and do file if you can share as

    • @sebastianwaiecon
      @sebastianwaiecon  Рік тому

      The tobit model is for censored data, not binary choice. The dataset used here is MROZ.dta from the Wooldridge textbook.

  • @senjutikarmakar8676
    @senjutikarmakar8676 3 роки тому

    Hey, could you please share how to access this particular dataset?

    • @sebastianwaiecon
      @sebastianwaiecon  3 роки тому

      It is MROZ.dta, which comes with the Wooldridge econometrics textbook. You should be able to find it online.

  • @garethcampoverde8494
    @garethcampoverde8494 Рік тому

    8:50 "Normal CDF'' is that the function normal() ???

  • @ngocnhiofficiall
    @ngocnhiofficiall 4 роки тому

    Can i have a date excel??

  • @joseluissola8941
    @joseluissola8941 2 роки тому

    Great video! congrats, btw. How can I apply LPM to panel data? xtreg? thanks a lot

    • @sebastianwaiecon
      @sebastianwaiecon  2 роки тому +2

      It's no different from usual. You can use xtreg. You might want to watch my video on Stata fixed effects for more.

    • @joseluissola8941
      @joseluissola8941 2 роки тому

      @@sebastianwaiecon many thanks!! Is it normal to have negative values in the LPM predicted fitted values? I used a 2SLS method with a binary endogenous and instrumental variable (first stage)

    • @sebastianwaiecon
      @sebastianwaiecon  2 роки тому

      @@joseluissola8941 See 1:58 in the video where I talk about that issue.

    • @joseluissola8941
      @joseluissola8941 2 роки тому

      @@sebastianwaiecon yes but if I use Probit/logit in a 2SLS maybe I will do a forbidden regression. That's why according to Angrist, the best model is LPM.

  • @Rachid_ELMATAOUI
    @Rachid_ELMATAOUI 4 роки тому

    Sorry Sir, can you send me the dta.file? I want to practice this example. Thank you verry much.

    • @sebastianwaiecon
      @sebastianwaiecon  4 роки тому +2

      The dataset is MROZ.dta, which comes from the Wooldridge econometrics book. You should be able to find it online.

    • @Rachid_ELMATAOUI
      @Rachid_ELMATAOUI 4 роки тому

      @@sebastianwaiecon Thank you so much sir.

  • @SK-re9vr
    @SK-re9vr 6 років тому

    I have a query if you could please let me know how can I contact you

    • @sebastianwaiecon
      @sebastianwaiecon  6 років тому

      Leave a comment or send me a private message.

    • @SK-re9vr
      @SK-re9vr 6 років тому

      +SebastianWaiEcon how can I send you a private message

    • @SK-re9vr
      @SK-re9vr 6 років тому

      +SebastianWaiEcon can you please tell me how did you construct the dummy variable inlf? As the women are already in the labor force

    • @sebastianwaiecon
      @sebastianwaiecon  6 років тому +1

      I didn't construct that variable. This is the MROZ dataset that comes with the Wooldridge econometrics textbook. If you don't have the book, the datasets are floating around online in a few places.