(1) Inference: We want to understand the nature of the relationship between the predictor variables and the response variable in an existing dataset.
(2) Prediction: We want to use an existing dataset to build a model that predicts the value of the response variable of a new observation.
(1) 推断:我们想了解现有数据集中预测变量和响应变量之间关系的性质。
(2) 预测:我们希望使用现有数据集构建一个模型,以预测新观测值的响应变量的值。