What is it?

In Statistics, inference and prediction are slightly different results, that use similar methods, ranging from Statistical Modelling to Machine Learning, to achieve its desired output. However, both can be summed using the same formula:

Where represents the estimate of the true function , represents the input variables, or the set of predictors, and the resulting prediction of .


Inference

Inference concerns itself with deeply understanding the relationship between the input variables and the output variable . The effect and impact of each input variable is valuable for a inference problem, and they studied and tested to rightfully determine what input variables are the causes of variance in , and the importance of each one to said variance.

Because of this, needs to be completely understood, and its exact form needs to be brought to light. Moreover, one may be interested in the following questions: Which predictors are associated with the response? What is the relationship between the response and each predictor? Can the relationship between and be adequately summarized using a linear equation, or is the relationship more complicated?


Prediction

Prediction can be summed up to a single, fully practical question: With a trained model, is it possible to accurately predict , given a known ?

In prediction, is treated like a black box. This means that is not valuable to deeply understand the relationship between a input variable and its impact on the output variable. The desired output of a prediction problem, however, is to accurately estimate . The form or any method used to determine is generally not of concern, provided that is close enough to .