predict_outcomes function

Generic function for returning the outcomes predicted by a model under each treatment