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

被引:18
作者
Lunt, Mark [1 ]
机构
[1] Univ Manchester, Manchester Acad Hlth Sci Ctr, Inst Inflammat & Repair, Arthrit Res UK Epidemiol Unit,Ctr Musculoskeletal, Manchester, Lancs, England
关键词
linear regression; categorical variable; indicator variable; dummy variable; interaction; RA; POPULATION;
D O I
10.1093/rheumatology/ket172
中图分类号
R5 [内科学];
学科分类号
1002 ; 100201 ;
摘要
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.
引用
收藏
页码:1141 / 1144
页数:4
相关论文
共 50 条
  • [21] Improvement of multiple linear regression method for statistical downscaling of monthly precipitation
    H. A. Pahlavan
    B. Zahraie
    M. Nasseri
    A. Mahdipour Varnousfaderani
    International Journal of Environmental Science and Technology, 2018, 15 : 1897 - 1912
  • [22] Parameter Estimation Algorithm of the Linear Regression with Bounded Noise in Measurements of All Variables
    Salnikov, N. N.
    Siryk, S. V.
    JOURNAL OF AUTOMATION AND INFORMATION SCIENCES, 2013, 45 (04) : 1 - 15
  • [23] Inferential studies for a flexible linear regression model for interval-valued variables
    Blanco-Fernandez, A.
    Gonzalez-Rodriguez, G.
    INTERNATIONAL JOURNAL OF COMPUTER MATHEMATICS, 2016, 93 (04) : 658 - 675
  • [24] Consistency of the total least squares estimator in the linear errors-in-variables regression
    Shklyar, Sergiy
    MODERN STOCHASTICS-THEORY AND APPLICATIONS, 2018, 5 (03): : 247 - 295
  • [25] Analyses of Postgraduates' Entrance Examination Scores Based on Linear Regression with Dummy Variables
    Ning Xiaojun
    Huang Ruocheng
    Liang Xiaoyi
    Ai Dongmei
    PROCEEDINGS OF THE 2016 INTERNATIONAL CONFERENCE ON ARTIFICIAL LIFE AND ROBOTICS (ICAROB 2016), 2016, : 138 - 141
  • [26] Statistical Data-Driven Regression Method for Urban Electricity Demand Modelling
    Voulis, Nina
    Warnier, Martijn
    Brazier, Frances M. T.
    2018 IEEE INTERNATIONAL CONFERENCE ON ENVIRONMENT AND ELECTRICAL ENGINEERING AND 2018 IEEE INDUSTRIAL AND COMMERCIAL POWER SYSTEMS EUROPE (EEEIC / I&CPS EUROPE), 2018,
  • [27] Introduction to the Use of Linear and Nonlinear Regression Analysis in Quantitative Biological Assays
    Jarantow, Stephen W.
    Pisors, Eileen D.
    Chiu, Mark L.
    CURRENT PROTOCOLS, 2023, 3 (06):
  • [28] Statistical Analysis by Linear Regression of the Prevalence of Flatfoot in Preschool Children of a Mexican Community
    Cabrera-Perez, Carlos I.
    Lopez-Valdez, Juan A.
    Rostro-Gonzalez, Horacio
    Cano-Lara, Jatziry S.
    Cano-Lara, Miroslava
    INGENIERIA, 2024, 29 (01):
  • [29] Reducing errors-in-variables bias in linear regression using compact genetic algorithms
    Satman, M. Hakan
    Diyarbakirlioglu, Erkin
    JOURNAL OF STATISTICAL COMPUTATION AND SIMULATION, 2015, 85 (16) : 3216 - 3235
  • [30] Water temperature modelling: comparison between the generalized additive model, logistic, residuals regression and linear regression models
    Laanaya, Fatima
    St-Hilaire, Andre
    Gloaguen, Erwan
    HYDROLOGICAL SCIENCES JOURNAL, 2017, 62 (07) : 1078 - 1093