API Documentation
The majority of the package consists of classes, which compartmentalize different aspects of testing models of firm conduct.
There are some convenience functions as well.
Configuration Classes
|
Configuration for designing matrices and absorbing fixed effects. |
|
Configuration for designing matrices and absorbing fixed effects. |
Data Manipulation Functions
There are also a number of convenience functions that can be used to compute markups, or manipulate other pyRVtest objects.
|
Build ownership matrices, \(O\). |
|
This function computes markups for a large set of standard models. |
|
Construct the passthrough matrix using the formula from Villas-Boas (2007). |
|
Compute markups for some standard models including Bertrand, Cournot, monopoly, and perfect competition using the first order conditions corresponding to each model. |
|
Load a pickled object into memory. |
Problem Class
|
A firm conduct testing-type problem. |
Once initialized, the following method solves the problem.
|
Solve the problem. |
Problem Results Class
Solved problems return the following results class.
Results of running the firm conduct testing procedures. |
The results can be pickled or converted into a dictionary.
|
Save these results as a pickle file. |