pyblp.ProblemResults.compute_approximate_prices¶

ProblemResults.
compute_approximate_prices
(firm_ids=None, ownership=None, costs=None)¶ Approximate equilibrium prices after firm or cost changes, \(p^*\), under the assumption that shares and their price derivatives are unaffected by such changes.
This approximation is discussed in, for example, Nevo (1997). Prices in each market are computed according to the \(\eta\)markup equation in (7):
(1)¶\[p^* = c^* + \eta^*,\]in which the markup term is approximated with
(2)¶\[\eta^* \approx \left(O^* \odot \frac{\partial s}{\partial p}\right)^{1}s\]where \(O^*\) is the ownership matrix associated with firm changes.
 Parameters
firm_ids (arraylike, optional) – Potentially changed firm IDs. By default, the unchanged
firm_ids
field ofproduct_data
inProblem
will be used.ownership (arraylike, optional) – Potentially changed ownership matrices. By default, standard ownership matrices based on
firm_ids
will be used unless theownership
field ofproduct_data
inProblem
was specified.costs (arraylike, optional) – Potentially changed marginal costs, \(c^*\). By default, unchanged marginal costs are computed with
ProblemResults.compute_costs()
.
 Returns
Approximation of equilibrium prices after any firm or cost changes, \(p^*\).
 Return type
ndarray
Examples