estimate function

Fit a specified CDE estimator