pyblp.ProblemResults.compute_profits

ProblemResults.compute_profits(prices=None, shares=None, costs=None)

Estimate population-normalized gross expected profits, \(\pi\).

The profit from product \(j\) in market \(t\) is

(1)\[\pi_{jt} = (p_{jt} - c_{jt})s_{jt}.\]
Parameters
Returns

Estimated population-normalized gross expected profits, \(\pi\).

Return type

ndarray

Examples