This document summarizes methods for estimating average treatment effects in nonlinear models with endogenous switching using variably parametric regression. It describes two estimators: 1) a minimally parametric estimator that specifies an exponential conditional mean, and 2) a fully parametric estimator that specifies a generalized gamma conditional density. A Monte Carlo study shows the fully parametric estimator has lower bias even in small samples. The methods are then applied to a real dataset on birthweight and maternal smoking.