Introduction to statistical modelling 2: categorical variables and interactions in linear regression.

Research output: Contribution to journalArticlepeer-review

Abstract

In the first article in this series we explored the use of linear regression to predict an outcome variable from a number of predictive factors. It assumed that the predictive factors were measured on an interval scale. However, this article shows how categorical variables can also be included in a linear regression model, enabling predictions to be made separately for different groups and allowing for testing the hypothesis that the outcome differs between groups. The use of interaction terms to measure whether the effect of a particular predictor variable differs between groups is also explained. An alternative approach to testing the difference between groups of the effect of a given predictor, which consists of measuring the effect in each group separately and seeing whether the statistical significance differs between the groups, is shown to be misleading.
Original languageEnglish
JournalRheumatology (Oxford, England)
Volume[E-pub aheaqd of print]
DOIs
Publication statusPublished - 16 May 2013

Keywords

  • categorical variable
  • dummy variable
  • indicator variable
  • interaction
  • linear regression

Fingerprint

Dive into the research topics of 'Introduction to statistical modelling 2: categorical variables and interactions in linear regression.'. Together they form a unique fingerprint.

Cite this