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

  Рет қаралды 43,349

SebastianWaiEcon

SebastianWaiEcon

Күн бұрын

Пікірлер: 44
@jackjung9722
@jackjung9722 5 жыл бұрын
Thank you so much!
@varunmiglani110
@varunmiglani110 2 жыл бұрын
how to decide between different Logit models, which statistic to use, LR Test, AIC or BIC.
@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.
@garethcampoverde8494
@garethcampoverde8494 Жыл бұрын
8:50 "Normal CDF'' is that the function normal() ???
@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.
@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.
@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)
@bahaa2708
@bahaa2708 3 жыл бұрын
Great explanation, thanks a lot!. anyway that we can predict margins for out of sample observations ?
@sebastianwaiecon
@sebastianwaiecon 3 жыл бұрын
I haven't done it myself, but you may find this helpful: stats.idre.ucla.edu/stata/dae/using-margins-for-predicted-probabilities/
@adrianaparrenogallardo8055
@adrianaparrenogallardo8055 3 жыл бұрын
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 3 жыл бұрын
The dependent variable for a probit must be categorical (dummy variable). The explanatory variables can be either.
@jakeclifton3310
@jakeclifton3310 6 жыл бұрын
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.
@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.
@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
@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
@sebastianwaiecon
@sebastianwaiecon 2 жыл бұрын
You could use any of the models in this video.
@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.
@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.
@joseluissola8941
@joseluissola8941 2 жыл бұрын
Great video! congrats, btw. How can I apply LPM to panel data? xtreg? thanks a lot
@sebastianwaiecon
@sebastianwaiecon 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.
@ngocnhiofficiall
@ngocnhiofficiall 4 жыл бұрын
Can i have a date excel??
@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 жыл бұрын
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 жыл бұрын
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.
Binary Choice - Linear Probability and Logit Models
17:01
Pat Obi
Рет қаралды 59 М.
Probit and Logit Models
29:36
econometricsacademy
Рет қаралды 283 М.
ЭТО НАСТОЯЩАЯ МАГИЯ😬😬😬
00:19
Chapitosiki
Рет қаралды 3,5 МЛН
The very basics of Logit and Probit models in Stata.
28:33
Mike Jonas Econometrics
Рет қаралды 23 М.
Econometrics - Binary Dependent Variables (Probit, Logit, and Linear Probability Models)
12:46
Econometrics, Causality, and Coding with Dr. HK
Рет қаралды 17 М.
Binary logistic regression using Stata (2018)
28:11
Mike Crowson
Рет қаралды 134 М.
Logistic Regression with Stata
39:03
Dominic Wells
Рет қаралды 113 М.
Stata Quick Tip: Margins
7:54
StataCorp LLC
Рет қаралды 53 М.
Probit regression with categorical and continuous covariates
8:51
StataCorp LLC
Рет қаралды 31 М.
Binary Logistic Regression with Categorical predictor in STATA
10:37
Dr. Mahmoud Omar (Statistics)
Рет қаралды 7 М.
Discrete choice, part 1: Conditional logit and multinomial logit
13:06
Anders Munk-Nielsen
Рет қаралды 27 М.
Probit and Logit Models in Stata
27:38
econometricsacademy
Рет қаралды 17 М.
Stata - How to Estimate a Heckman Selection Model
11:03
Steffen's Classroom
Рет қаралды 7 М.