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
How to select a subset of data from a full databaseDear all, If I have a database on STATA with multiple rows for each patient (due to multiple outpat…
Assert – why is false returned for values that appear equal after matrix conversion? Code: version 15 set obs 3 local a = 3.1415927 matrix A = (1\2\3.1415927) matrix B = A[3,1] sv…
Missing handling for pooled cross-sectional data (?)Hi all, I am using pooled cross-sectional data for a period of 14 years (it is not a panel!). I wil…
stcompetDear Stata Forum, My research question: Among people who have had a kidney transplant, what are sur…
How to Fit Non-Linear Regressions with Scatter PlotDear Statalists, I really need help now. Thanks in advance. In the below code chunk, I would like …
Subscribe to:
Post Comments (Atom)
0 Response to Demand elasticity
Post a Comment