1. Model evaluation

A good model:

Some criteria for evaluation:

2. Model building (variable selection)

2.1 Backward elimination

从全自变量开始,每次扔掉一个p值大自变量,直到模型中所有自变量的p值都足够小。过程如下:

  1. Select a significance level ATR(alpha-to-remove)
  2. Fit the full model with all possible regressors
  3. Read the summary and find the regressor with highest p-value:

Untitled

2.2 Forward selection

每次挑一个p值小的自变量,直到p值太大、没有自变量可以进入模型。过程如下: