I want to use the two-part model to estimate food expenditure (Y), in the Xs, one variable is endogenous and it is binary. I will use the IV to instrument this variable.
My question is: can “twopm” can be estimated when there is a binary endogenous variable? if “twopm” cannot be used in this situation, which commands can be used to do this estimation?
Related Posts with How to do two part model when there is one independent variable is binary and endogenous?
Online courses/Summer school to learn STATAHello, I am looking for a short courses during the summer in Europe to learn some knowledge using S…
Creating indicator variables xi, prefix() for an interaction termHi STATA friends, I aim to generate indicator variables regarding the interaction term c.budgetbala…
drawing normally distributed random variable within an intervalHello everyone, How can I create a normally distributed variable within [a,b], with HTML Code: me…
Creating start and end variablesHello, I would like to create start and end variables according to the data collection wave in which…
How to select the observation with a date that is closest to another date in STATAI have multiple blood test results for single pregnancies and wish to select the blood test result t…
Subscribe to:
Post Comments (Atom)
0 Response to How to do two part model when there is one independent variable is binary and endogenous?
Post a Comment