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
Self constructed variable (CTT_MDDR) related to time/age of wine that switches from negative to positive: HOW TO IMPLEMENT?Dear all! My research is about the price behavior of investment grade wines. Of each wine, critics …
Exporting vif results to excel Hi I am new to stata I had run this regression reg log_daystoreject_ctnf i.filing_year i.uspc_enco…
Creating a dummy variable that selects the data I've created dummy variables for treatment and comparison group (treat1) and for the Minimum Wage I…
How can I replace missing state values on panel data?Array Hi, I have a 2 year panel data, and I do not have stateside information for 2019. To match …
Computing Fixed Effects ManuallyHi guys, I have a problem regarding computing fixed effects manually: even if results when I do it m…
Subscribe to:
Post Comments (Atom)
0 Response to Elasticity from IV probit
Post a Comment