pyRVtest.evaluate_first_order_conditions

pyRVtest.evaluate_first_order_conditions(index, model_type, type_ownership_matrix, response_matrix, shares, markups, custom_model_specification, markup_type)

Compute markups for some standard models including Bertrand, Cournot, monopoly, and perfect competition using the first order conditions corresponding to each model. Allow user to pass in their own markup function as well.