BorovickovaShimerEstimator class

class pytwoway.borovickovashimer.BSEstimator

Bases: object

Class for estimating the non-parametric sorting model from Borovickova and Shimer. Results are stored in class attribute .res.

fit(adata, alternative_estimator=False, weighted=True)

Estimate the non-parametric sorting model from Borovickova and Shimer.

Parameters
  • adata (BipartiteDataFrame) – long or collapsed long format labor data

  • alternative_estimator (bool) – if True, estimate using alternative estimator

  • weighted (bool) – if True, run estimator with weights