Explanatory and predictive inferences