This R package is for estimating distribution of latent factors where unobserved heterogeneity is three-sided. The model takes matched panel data as an input and allows unrestricted non- linear interaction between the three factors (eg. workers-managers-firms in paper). You can find documentation for the acblm package here acblm documentation.

There is a simple example on simulated data here: tutorial.

Here is the link of github repository: github.

Install directly from github

#If needed  
# install the package from github 

Using acblm package

There is a working example included here tutorial based on vignettes/acblm_example.Rmd.

For more details on methodology please refer to the paper Chaudhary, A.2021.Optimal matching and productivity: Does worker, manager and firm heterogeneity matter?