arrow
返回

Comparing programming languages for data analytics: Accuracy of estimation in Python and R

delete2024-02-02
delete1
PRE
AI
C
Chelsey Hill
L
Lanqing Du
M
Marina Johnson *
B
B. D. McCullough
DOI:10.1002/widm.1531delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Several open-source programming languages, particularly R and Python, are utilized in industry and academia for statistical data analysis, data mining, and machine learning. While most commercial software programs and programming languages provide a single way to deliver a statistical procedure, open-source programming languages have multiple libraries and packages offering many ways to complete the same analysis, often with varying results. Applying the same statistical method across these different libraries and packages can lead to entirely different solutions due to the differences in their implementations. Therefore, reliability and accuracy should be essential considerations when making library and package usage decisions while conducting statistical analysis using open source programming languages. Instead, most users take this for granted, assuming that their chosen libraries and packages produce accurate results for their statistical analysis. To this extent, this study assesses the estimation accuracy and reliability of Python and R's various libraries and packages by evaluating the univariate summary statistics, analysis of variance (ANOVA), and linear regression procedures using benchmarking data from the National Institutes of Standards and Technology (NIST). Further, experimental results are presented comparing machine learning methods for classification and regression. The libraries and packages assessed in this study include the stats package in R and Pandas, Statistics, NumPy, statsmodels, SciPy, statsmodels, scikit-learn, and pingouin in Python. The results show that the stats package in R and statsmodels library in Python are reliable for univariate summary statistics. In contrast, Python's scikit-learn library produces the most accurate results and is recommended for ANOVA. Among the libraries and packages assessed for linear regression, the results demonstrated that the stats package in R is more reliable, accurate, and flexible; thus, it is recommended for linear regression analysis. Further, we present results and recommendations for machine learning using R and Python. This article is categorized under: Algorithmic Development > Statistics Application Areas > Data Mining Software Tools
Keyword:
comparing Python and R
open-source software for data analytics
statistical software reliability and accuracy

期刊

Wiley Interdisciplinary Reviews-Data Mining and Knowledge Discovery 封面图
Wiley Interdisciplinary Reviews-Data Mining and Knowledge Discovery
IF:
11.7
论文数:
542
被引数:
5.3K

机构

D
Drexel University
学者数:
1.3W
论文数: 1.1W
被引数: 2.2W
M
Montclair State University
学者数:
1.4K
论文数: 1.3K
被引数: 1.8K
引用论文

引用论文

Mechanical and microstructural properties of S1100 UHSS welds obtained by EBW and MAG welding
err2022-03-22
err0
PREAI
errMustafa Tümer; Florian Pixner; Rudolf Vallant; Josef Domitner; Norbert Enzinger
err分享
err收藏
PMLB: a large benchmark suite for machine learning evaluation and comparison
err2017-12-11
err223
errOAAI
errOlson, Randal S.; La Cava, William; Orzechowski, Patryk; Urbanowicz, Ryan J.; Moore, Jason H.
err分享
err收藏
Surgery of gastric cancer and esophageal cancer: Does age matter?
err2015-08-25
err0
PREAI
errHenrik Nienhueser; Romy Kunzmann; Leila Sisic; Susanne Blank; Moritz J. Strowitzk; Thomas Bruckner; Dirk Jäger; Wilko Weichert; Alexis Ulrich; Markus W. Büchler; Katja Ott; Thomas Schmidt
err分享
err收藏
err分享
err收藏
Reliability of Statistical Software
err2010-09-09
err11
PREAI
errOdeh, Oluwarotimi O.; Featherstone, Allen M.; Bergtold, Jason S.
err分享
err收藏
err分享
err收藏
学者 查看更多内容