Dear Altruist,
1. I could implement the following commands with success. (STATA-14.2)
probit smk price_per_pack $x_list_reg
margins, eyex(price_per_pack) atmeans
However, the following does not work
ivprobit smk $x_list_reg (price_per_pack=tax_rate)
margins, eyex(total_income) atmeans // does not work
Error: r(459);could not calculate numerical derivatives -- discontinuous region with missing values encountered.
Any idea??
2. I also tried
probit smk price_per_pack $x_list_reg
margins, expression(normalden(xb())*_b[price_per_pack]*68.60907/normal(xb())) // worked
but again,
ivprobit smk $x_list_reg (price_per_pack=tax_rate)
margins, expression(normalden(xb())*_b[price_per_pack]*/normal(xb())) // did not work
Would love to have some feedback on this as well.
Cheers
Related Posts with Elasticity from IV probit
Preparing data for multiple membership multilevel modelsHello! I am trying to prepare my dataset for a multiple membership multilevel model, and am getting …
Omitted variables because of collinearity in Fixed Effect ModelHello everyone, I am currently doing my thesis about the determinants of corporate cash holding in a…
Adding missing values to string column. replace x = .I have a really basic question. Say I have a string column `x`. How do I add missing values to this …
Interpretation of coefficients of an interacted variable in the presence of fixed effectsDear all, I'm running the following regressions: reg Y X i.id i.year if C==1 (1) reg Y X i.id i.ye…
localHello, I would like to declare local values to run a macro, but I think I have a problem with values…
Subscribe to:
Post Comments (Atom)
0 Response to Elasticity from IV probit
Post a Comment