arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2409.01295stat.ME
收藏

审视 Pearson 相关性:评估 Pearson 相关性为线性模型选择预测变量的效率

Pearson's correlation under the scope: Assessment of the efficiency of Pearson's correlation to select predictor variables for linear models

Mustafa Attallah

AI总结:

本文基于 R 的 mtcars 与 iris 数据集,通过比较相关值、线性模型及误差指标,证明 Pearson 相关性未必能可靠选择最佳线性预测变量。

摘要:

本文考察了 Pearson 相关性在为线性模型选择预测变量时的局限性。利用 R 中的 mtcars 和 iris 数据集,本文展示了该相关性度量在选择合适的自变量,以对 mtcars 数据中的英里每加仑(mpg)以及 iris 数据中的花瓣长度进行建模时的局限。本文通过报告每个响应变量的两个潜在预测变量的 Pearson 相关值来呈现研究发现,随后使用每个预测变量分别构建用于预测响应变量的线性模型。接着,本文报告每个模型的误差指标,以评估 Pearson 相关性在选择最佳预测变量方面的可靠程度。结果表明,如果使用 Pearson 相关性来选择预测变量,从而为因变量构建线性模型,其结果可能具有误导性。

英文摘要:

This article examines the limitations of Pearson's correlation in selecting predictor variables for linear models. Using mtcars and iris datasets from R, this paper demonstrates the limitation of this correlation measure when selecting a proper independent variable to model miles per gallon (mpg) from mtcars data and the petal length from the iris data. This paper exhibits the findings by reporting Pearson's correlation values for two potential predictor variables for each response variable, then builds a linear model to predict the response variable using each predictor variable. The error metrics for each model are then reported to evaluate how reliable Pearson's correlation is in selecting the best predictor variable. The results show that Pearson's correlation can be deceiving if used to select the predictor variable to build a linear model for a dependent variable.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑