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?
Replacing ValuesDear Stata experts, I want to replace all string values starting with 'QC_6200945' of the variable …
Combine string variables to make one idHi, I would like to combine string variables to make one id for each variable. The dataset looks l…
How to flag observations with exactly two letters along with special characters - string variablesDear all, I am working with string data and I would like to flag observations for which my string v…
crossed random effects with binomial dataGreeting Experts, I am using Stata to create and analyze a mixed effect model for my data. I tested…
Overlaying many (a lot of) points in spmapDear all I am trying to visualize poor access to broadband services in Denmark and have data that co…
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