Does anyone know how can the market shares after a mixlogit model, including price, be estimated? For example in the example Hole (2007) used, how can we estimate the market share for a well-known supplier at a given price?
The example of the data set is
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input byte(y price contract local wknown tod seasonal) int(gid pid) 0 7 5 0 1 0 0 1 1 0 9 1 1 0 0 0 1 1 0 0 0 0 0 0 1 1 1 1 0 5 0 1 1 0 1 1 0 7 0 0 1 0 0 2 1 0 9 5 0 1 0 0 2 1 1 0 1 1 0 1 0 2 1 0 0 5 0 0 0 1 2 1 0 9 5 0 0 0 0 3 1 0 7 1 0 1 0 0 3 1 0 0 0 0 1 1 0 3 1 1 0 0 1 0 0 1 3 1 0 0 1 0 1 0 1 4 1 0 9 1 0 0 0 0 4 1 0 7 0 1 0 0 0 4 1 1 0 5 0 1 1 0 4 1 1 0 0 1 0 1 0 5 1 0 9 1 0 1 0 0 5 1 0 0 0 0 0 0 1 5 1 0 7 5 0 1 0 0 5 1 end
Code:
global randvar "contract local wknown tod seasonal" mixlogit y price, rand($randvar) group(gid) id(pid) nrep(100)
I would really appreciate you help.
Best,
Emma
0 Response to Market shares after mixlogit
Post a Comment