Hi all,
I am using stata to estimate demand for automobiles. I have panel data of 4 years 2014-2017. To have my estimates i am using Berry, Levinsohn and Pakes (or BLP) model, but without demographic data. i am trying to apply the first part of the model (mean utility part: ln(sj)-ln(s0)= -a*price+b*product characteristics+error term). As you can see my dependent variable is log difference of market share and outside good.
To get my results, i am using ivregress command as follows
ivregress 2sls d_share (price_t= localization) fe size weight engine1 origin chassys_2wd chassys_both suv hatchback minivan b1-b50 i.year, first
results seems ok, but now i need to calculate cross and own price elasticities. i tried to use -margins- command but i failed, i think i am using it in wrong way.
Could you please advise how can i use margins command to have elasticities.
Thanks,
Related Posts with Demand elasticity
Rename help: can I reapply existing variable names with a suffix?I've been given some wide panel data where the names of the first 28 variables were simply repeated …
predict after xtlogit with fixed effectI am running a two-stage regression to account for the endogeneity issue. In the first stage I use x…
reshape help - error 101 variable already definedHi, I am trying to reshape this data, so that I have Country and Year both as a Columns. I imported …
How to generate years of education in this case?Dear all, I am trying to generate years of education variable. Although I have seen some relevant t…
error correction model Hello. I am trying to do error correction model with rolling regression. here. I want to change the…
Subscribe to:
Post Comments (Atom)
0 Response to Demand elasticity
Post a Comment