{"title":"Quantifying heteroscedasticity in linear models using quantile locally weighted scatterplot smoothing intervals.","authors":"Martina Sladekova, Andy P Field","doi":"10.1037/met0000821","DOIUrl":null,"url":null,"abstract":"<p><p>Ordinary least squares (OLS) estimation, which is frequently applied in psychology, assumes constant variance of errors across predictor levels. This assumption is known as homoscedasticity, whereas its violation is referred to as heteroscedasticity. In categorical predictors, heteroscedasticity can be quantified by calculating the ratio of variances across groups. For continuous predictors, diagnostic residual plots are often used to assess whether the assumption had been met, but there is currently no measure that can quantify the amount of heteroscedasticity in an interpretable way. In this study, we have developed and evaluated a measure that constructs a quantile locally weighted scatterplot smoothing interval (QLI) around the residuals and estimates the linear, quadratic, cubic, and quartic change in the width of this interval as a function of the predictor or the fitted values. Furthermore, we evaluated simple linear models under different patterns of heteroscedasticity in a simulation to provide benchmark values of QLI estimates associated with inadequate control over false-positive results, loss of power, and loss of coverage probability of confidence intervals. The QLI method provided consistent estimates of trends for models with 60 or more cases, and this was true across variance patterns. We discuss QLI-generated estimates in relation to performance of OLS linear models. Finally, we present an example of how to apply the QLI method to quantify heteroscedasticity and how to interpret the estimates it provides, focusing on the implications for the OLS analysis. (PsycInfo Database Record (c) 2026 APA, all rights reserved).</p>","PeriodicalId":20782,"journal":{"name":"Psychological methods","volume":" ","pages":"676-696"},"PeriodicalIF":7.5000,"publicationDate":"2026-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Psychological methods","FirstCategoryId":"102","ListUrlMain":"https://doi.org/10.1037/met0000821","RegionNum":1,"RegionCategory":"心理学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/5/7 0:00:00","PubModel":"Epub","JCR":"Q1","JCRName":"PSYCHOLOGY, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0
Abstract
Ordinary least squares (OLS) estimation, which is frequently applied in psychology, assumes constant variance of errors across predictor levels. This assumption is known as homoscedasticity, whereas its violation is referred to as heteroscedasticity. In categorical predictors, heteroscedasticity can be quantified by calculating the ratio of variances across groups. For continuous predictors, diagnostic residual plots are often used to assess whether the assumption had been met, but there is currently no measure that can quantify the amount of heteroscedasticity in an interpretable way. In this study, we have developed and evaluated a measure that constructs a quantile locally weighted scatterplot smoothing interval (QLI) around the residuals and estimates the linear, quadratic, cubic, and quartic change in the width of this interval as a function of the predictor or the fitted values. Furthermore, we evaluated simple linear models under different patterns of heteroscedasticity in a simulation to provide benchmark values of QLI estimates associated with inadequate control over false-positive results, loss of power, and loss of coverage probability of confidence intervals. The QLI method provided consistent estimates of trends for models with 60 or more cases, and this was true across variance patterns. We discuss QLI-generated estimates in relation to performance of OLS linear models. Finally, we present an example of how to apply the QLI method to quantify heteroscedasticity and how to interpret the estimates it provides, focusing on the implications for the OLS analysis. (PsycInfo Database Record (c) 2026 APA, all rights reserved).
期刊介绍:
Psychological Methods is devoted to the development and dissemination of methods for collecting, analyzing, understanding, and interpreting psychological data. Its purpose is the dissemination of innovations in research design, measurement, methodology, and quantitative and qualitative analysis to the psychological community; its further purpose is to promote effective communication about related substantive and methodological issues. The audience is expected to be diverse and to include those who develop new procedures, those who are responsible for undergraduate and graduate training in design, measurement, and statistics, as well as those who employ those procedures in research.