Hi Statalist,
I'm trying to calculate the price elasticity of demand for a good in a panel dataset (i.e. I am interested in the % change in the probability of buying a good given a % change in price of the good).
My question is regarding implementing this in Stata: after running my -probit- say,
Which post-estimation command gives me the interpretation I want? (Again: % change in the probability of buying a good given a % change in price of the good)
And why?
As an aside, I know that when the outcome is not a binary probability, but a continuous variable (amount bought), I should use eyex but, the probability is confusing me...
Many Thanks!
I'm trying to calculate the price elasticity of demand for a good in a panel dataset (i.e. I am interested in the % change in the probability of buying a good given a % change in price of the good).
My question is regarding implementing this in Stata: after running my -probit- say,
Code:
probit bought price, vce(cluster mem_id)
Code:
margins dyex(price) *OR margins eyex(price)
As an aside, I know that when the outcome is not a binary probability, but a continuous variable (amount bought), I should use eyex but, the probability is confusing me...
Code:
reg amt price, vce(cluster mem_id) *This should be right for a continuous variable to get % change in amount bought given % change in price margins eyex(price)
Many Thanks!
Comment