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 count the values of a set of binary variablesHi there, I have a set of binary variables (n=17) for health conditions and each of them stands for…
Creation of panel of 16 months by linking monthly samples from CPSMy main purpose is to see how a person changes job and how it affects the wage in few selective stat…
reshape wide to longDear All, How can I reshpae the following wide data into long data format? Thanks. Code: * Example …
Create new variables based on condition and other variablesDear All, Can you please help me with the following: I have a data set which has the age (age_20) …
tab year, gen(year_dummy)Dear All, In the following example Code: webuse grunfeld, clear tab year, gen(year_dummy) we can g…
Subscribe to:
Post Comments (Atom)
0 Response to Demand elasticity
Post a Comment