pyblp.ProblemResults.compute_shares

ProblemResults.compute_shares(prices=None)

Estimate shares evaluated at specified prices.

Parameters

prices (array-like) – Prices at which to evaluate shares, such as equilibrium prices, \(p^*\), computed by ProblemResults.compute_prices(). By default, unchanged prices are used.

Returns

Estimates of shares evaluated at the specified prices.

Return type

ndarray

Examples