marginal treatment effects estimation with fixed effects for stata
ssc install mtefe net install mtefe, from("https://raw.githubusercontent.com/martin-andresen/mtefe/master") Exploring Marginal Treatment Effects: Flexible estimation using Stata, Stata Journal Volume 18 Number 1: pp. 118-158, (2018), see also software update note with errata.