Model terms

Main effect

Term that contains only 1 variable, with power of 1, i.e., is neither an interaction term nor a higher order term.

A model with only the main effect terms is called a first-order model

Interaction

A term that contains two or more variables.

For a model ,

  • increases by for every 1 unit increase in
  • increases by for every 1 unit increase in

Higher-order

A term with a non-linear variable, e.g., a quadratic or qubic variable.

Model with qualitative variables

Data with categorical variables can be modelled by forming dummy variables. For a categorical variable with levels, there can be dummy variables formed.

Dummy variable from 2 levels

Suppose we want to insert a variable of “gender” into the model, with possible categories “Male” and “Female”. This process is called coding, which is illustrated in the following:

Values coded to 0 is called the “baseline”. In this case, the baseline category is “Male”

Dummy variable from 3 levels

Suppose a categorical variable with levels “Physics”, “Math”, “Biology”. There are dummy variables:

In this case, the baseline is “Physics”

Others

Complete second order model

Model that contains all the possible terms at the 2nd degree

Multiplicative (log) model

reprsents the percentage of change in for every 1 unit increase of