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
Help with event study on the impact of Hurricane Harvey on the US stock market using SP500 company dataDear Reader, I would like some help with a study I am doing at University. I have downloaded data r…
lower what does mean?hi friends. please help me to understand this code. what does mean lower? gen cityname2=lower(cityof…
Bootstrap after two stage probitDear all, I was using ivprobit but it seems there is a problem with the margins command when I want …
Adding missing values in a varlistHi, In my data set answers below zero each show a different type of missing value (e.g. not answere…
Endogenous binary regressor in multinomial logit modelHello forum members, i do have a multinomial logit model where one binary explanatory variable is e…
Subscribe to:
Post Comments (Atom)
0 Response to Elasticity from IV probit
Post a Comment