Relation

Inference vs. prediction in statistical learning

In both prediction and inference, we estimate a function ff that maps the values of predictors XX to outcome YY. In prediction, our goal is to estimate the function ff based on the available values of XX and corresponding YY so that we can use ff to predict the values of YY for the values of XX for which we don't know the corresponding values of YY. So, the function f^\hat{f} can be treated as a black box, and our main objectives are to improve the accuracy and precision of the prediction. In inference, we already know all the corresponding values of XX and YY, and we're interested in understanding the characteristics of the function ff that maps the values of XX to their corresponding values of YY. So, f^\hat{f} cannot be treated as a black box and our main objective is to find the exact functional form of f^\hat{f}.

0

4

Updated 2026-05-02

Tags

Data Science