New approaches to factual and counterfactual prediction modeling