{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,23]],"date-time":"2026-08-23T11:21:14Z","timestamp":1787484074376,"version":"build-2736575974"},"reference-count":91,"publisher":"Association for Computing Machinery (ACM)","issue":"FSE","license":[{"start":{"date-parts":[[2025,6,19]],"date-time":"2025-06-19T00:00:00Z","timestamp":1750291200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/legalcode"}],"funder":[{"DOI":"10.13039\/501100000781","name":"European Research Council","doi-asserted-by":"publisher","award":["101093186"],"award-info":[{"award-number":["101093186"]}],"id":[{"id":"10.13039\/501100000781","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. ACM Softw. Eng."],"published-print":{"date-parts":[[2025,6,19]]},"abstract":"<jats:p>\n                    Literate programming environments like Jupyter and R Markdown notebooks, coupled with easy-to-use languages like Python and R, put a plethora of statistical methods right at a data analyst\u2019s fingertips.\n                    <jats:italic toggle=\"yes\">But are these methods being used correctly?<\/jats:italic>\n                    Statistical methods make\n                    <jats:italic toggle=\"yes\">statistical assumptions<\/jats:italic>\n                    about samples being analyzed, and in many cases produce reasonable looking results even if assumptions are not met.\n                  <\/jats:p>\n                  <jats:p>\n                    We propose an approach that allows library developers to annotate functions with statistical assumptions, phrases them as hypotheses about the data, and inserts hypothesis tests investigating the likelihood that the assumption is met; this way, analysts using these functions will have their data checked automatically. We implement this approach in two tools:\n                    <jats:italic toggle=\"yes\">\n                      <jats:italic toggle=\"yes\">prob-check-py<\/jats:italic>\n                    <\/jats:italic>\n                    for Python, and\n                    <jats:italic toggle=\"yes\">prob-check-r<\/jats:italic>\n                    for R, and to evaluate them we identify common hypothesis testing and statistical modeling functions, annotate them with the relevant statistical assumptions, and run\n                    <jats:bold>128<\/jats:bold>\n                    Kaggle notebooks that use those methods to identify misuses. Our investigation reveals statistically significant evidence against assumptions in\n                    <jats:bold>84.38%<\/jats:bold>\n                    of surveyed notebooks, and in\n                    <jats:bold>53.36%<\/jats:bold>\n                    of calls to annotated functions. In the case of hypothesis tests, had an equivalent test that\n                    <jats:italic toggle=\"yes\">did not make these assumptions<\/jats:italic>\n                    been chosen, a\n                    <jats:italic toggle=\"yes\">different conclusion<\/jats:italic>\n                    would have been drawn in\n                    <jats:bold>11.51%<\/jats:bold>\n                    of cases.\n                  <\/jats:p>","DOI":"10.1145\/3729391","type":"journal-article","created":{"date-parts":[[2025,6,19]],"date-time":"2025-06-19T11:16:02Z","timestamp":1750331762000},"page":"2735-2758","source":"Crossref","is-referenced-by-count":4,"title":["Expressing and Checking Statistical Assumptions"],"prefix":"10.1145","volume":"2","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-0381-0477","authenticated-orcid":false,"given":"Alexi","family":"Turcotte","sequence":"first","affiliation":[{"name":"CISPA Helmholtz Center for Information Security, Saabr\u00fccken, Germany"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0005-2640-4673","authenticated-orcid":false,"given":"Zheyuan","family":"Wu","sequence":"additional","affiliation":[{"name":"Saarland University, Saarbr\u00fccken, Germany"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2025,6,19]]},"reference":[{"key":"e_1_3_1_2_2","doi-asserted-by":"publisher","DOI":"10.1145\/3385412.3385997"},{"key":"e_1_3_1_3_2","unstructured":"arkaradeniz. 2024 AB_Testing. See URL: https:\/\/www.kaggle.com\/code\/arkaradeniz\/ab-testing. Accessed Mar 21 2024."},{"key":"e_1_3_1_4_2","doi-asserted-by":"publisher","DOI":"10.1007\/11751540_127"},{"key":"e_1_3_1_5_2","doi-asserted-by":"publisher","DOI":"10.1145\/2644865.2541958"},{"key":"e_1_3_1_6_2","unstructured":"car Team. 2024 leveneTest. See URL: https:\/\/rdrr.io\/cran\/car\/man\/leveneTest.html. Version 3.1-2 accessed March 12 2024."},{"key":"e_1_3_1_7_2","doi-asserted-by":"publisher","DOI":"10.1080\/00949650902731377"},{"key":"e_1_3_1_8_2","unstructured":"carlolepelaars. 2019 Statistical Tutorial. See URL: https:\/\/www.kaggle.com\/code\/carlolepelaars\/statistics-tutorial. Accessed Mar 21 2024."},{"key":"e_1_3_1_9_2","unstructured":"cbhyphen. 2024 Post College Salaries Exploration in R. See URL: https:\/\/www.kaggle.com\/code\/cbhyphen\/post-college-salaries-exploration-in-r. Accessed Mar 21 2024."},{"key":"e_1_3_1_10_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.eja.2022.126666"},{"key":"e_1_3_1_11_2","doi-asserted-by":"publisher","DOI":"10.1145\/2544173.2509548"},{"key":"e_1_3_1_12_2","doi-asserted-by":"publisher","DOI":"10.1145\/1925844.1926410"},{"key":"e_1_3_1_13_2","doi-asserted-by":"publisher","DOI":"10.1111\/j.1468-0084.2008.00537.x"},{"key":"e_1_3_1_14_2","doi-asserted-by":"publisher","DOI":"10.1142\/S0219720009004230"},{"key":"e_1_3_1_15_2","doi-asserted-by":"publisher","DOI":"10.1214\/09-STS301"},{"key":"e_1_3_1_16_2","unstructured":"gcmadhan. 2024 COVID Analysis Prediction. See URL: https:\/\/www.kaggle.com\/code\/gcmadhan\/covid-analysis-prediction. Accessed Mar 21 2024."},{"issue":"1","key":"e_1_3_1_17_2","first-page":"1","article-title":"Probability plotting methods for the analysis of data","volume":"55","author":"Gnanadesikan Ramanathan","year":"1968","unstructured":"Ramanathan Gnanadesikan and Martin B Wilk. 1968 Probability plotting methods for the analysis of data. Biometrika 55, 1 (1968), 1\u201317.","journal-title":"Biometrika"},{"key":"e_1_3_1_18_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-53291-8_16"},{"key":"e_1_3_1_19_2","doi-asserted-by":"publisher","DOI":"10.1145\/3652153"},{"key":"e_1_3_1_20_2","doi-asserted-by":"publisher","DOI":"10.1080\/03610918.2013.844835"},{"key":"e_1_3_1_21_2","doi-asserted-by":"publisher","DOI":"10.1007\/11737414_15"},{"key":"e_1_3_1_22_2","doi-asserted-by":"publisher","DOI":"10.3389\/fpsyg.2012.00137"},{"key":"e_1_3_1_23_2","doi-asserted-by":"publisher","DOI":"10.1109\/ICSE.2019.00071"},{"key":"e_1_3_1_24_2","doi-asserted-by":"publisher","DOI":"10.1145\/3332165.3347940"},{"key":"e_1_3_1_25_2","doi-asserted-by":"publisher","DOI":"10.1145\/3491102.3501888"},{"key":"e_1_3_1_26_2","doi-asserted-by":"publisher","DOI":"10.29220\/CSAM.2024.31.1.001"},{"key":"e_1_3_1_27_2","doi-asserted-by":"publisher","DOI":"10.22237\/jmasm\/1383278460"},{"key":"e_1_3_1_28_2","doi-asserted-by":"publisher","DOI":"10.11138\/cderm\/2014.2.1.029"},{"key":"e_1_3_1_29_2","doi-asserted-by":"publisher","DOI":"10.1145\/3319008.3319009"},{"key":"e_1_3_1_30_2","doi-asserted-by":"publisher","DOI":"10.22237\/jmasm\/1478002140"},{"key":"e_1_3_1_31_2","doi-asserted-by":"publisher","DOI":"10.1145\/3371133"},{"key":"e_1_3_1_32_2","unstructured":"lmtest. 2024 gqtest. See URL: https:\/\/www.rdocumentation.org\/packages\/lmtest\/versions\/0.9-40\/topics\/gqtest. Version 0.9-40 accessed Aug 16 2024."},{"key":"e_1_3_1_33_2","doi-asserted-by":"publisher","DOI":"10.11613\/bm.2013.018"},{"key":"e_1_3_1_34_2","volume-title":"John E. Freund\u2019s mathematical statistics","author":"Miller Irwin","year":"1999","unstructured":"Irwin Miller and Marylees Miller. 1999 John E. Freund\u2019s mathematical statistics. Vol. 6. Prentice Hall Upper Saddle River, NJ."},{"key":"e_1_3_1_35_2","doi-asserted-by":"publisher","DOI":"10.4103\/aca.ACA_248_18"},{"key":"e_1_3_1_36_2","article-title":"Power Comparisons of Shapiro-Wilk, Kolmogorov-Smirnov, Lilliefors and Anderson-Darling Tests","volume":"2","author":"Mohd Razali Nornadiah","year":"2011","unstructured":"Nornadiah Mohd Razali and Bee Yap. 2011 Power Comparisons of Shapiro-Wilk, Kolmogorov-Smirnov, Lilliefors and Anderson-Darling Tests. J. Stat. Model. Analytics 2 (01 2011).","journal-title":"J. Stat. Model. Analytics"},{"key":"e_1_3_1_37_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.cam.2023.115649"},{"key":"e_1_3_1_38_2","doi-asserted-by":"publisher","DOI":"10.1002\/sim.8086"},{"key":"e_1_3_1_39_2","first-page":"322","article-title":"Statistical assumptions of substantive analyses across the general linear model: a mini-review","volume":"3","author":"Nimon Kim F","year":"2012","unstructured":"Kim F Nimon. 2012 Statistical assumptions of substantive analyses across the general linear model: a mini-review. Frontiers in psychology 3 (2012), 322.","journal-title":"Frontiers in psychology"},{"key":"e_1_3_1_40_2","unstructured":"nortest. 2025 ad.test. See URL: https:\/\/www.rdocumentation.org\/packages\/nortest\/versions\/1.0-4\/topics\/ad.test. Version 1.0-4 accessed Feb 3 2025."},{"issue":"1","key":"e_1_3_1_41_2","article-title":"Assessing Normality: Applications in Multi-Group Designs.","volume":"9","author":"Othman Abdul R","year":"2015","unstructured":"Abdul R Othman, HJ Keselman, and Rand Wilcox. 2015 Assessing Normality: Applications in Multi-Group Designs. Malaysian Journal of Mathematical Sciences 9, 1 (2015).","journal-title":"Malaysian Journal of Mathematical Sciences"},{"key":"e_1_3_1_42_2","doi-asserted-by":"publisher","DOI":"10.1590\/S1806-37562018000000303"},{"issue":"1","key":"e_1_3_1_43_2","first-page":"1","article-title":"Use of statistical techniques in analysis of biological data","volume":"1","author":"Perveen Farzana","year":"2012","unstructured":"Farzana Perveen and Zahid Hussain. 2012 Use of statistical techniques in analysis of biological data. Basic Research Journal of Agricultural Science and Review 1, 1 (2012), 1\u201310.","journal-title":"Basic Research Journal of Agricultural Science and Review"},{"key":"e_1_3_1_44_2","unstructured":"Python Team. 2020 Type Hints for Python. https:\/\/docs.python.org\/3\/library\/typing.html."},{"key":"e_1_3_1_45_2","doi-asserted-by":"publisher","DOI":"10.1007\/s00184-008-0194-3"},{"key":"e_1_3_1_46_2","unstructured":"R Core Team. 2024 aov. See URL: https:\/\/www.rdocumentation.org\/packages\/stats\/versions\/3.6.2\/topics\/aov. Version 3.6.2 accessed March 12 2024."},{"key":"e_1_3_1_47_2","unstructured":"R Core Team. 2024 bartlett.test. See URL: https:\/\/www.rdocumentation.org\/packages\/stats\/versions\/3.6.2\/topics\/bartlett.test. Version 3.6.2 accessed March 12 2024."},{"key":"e_1_3_1_48_2","unstructured":"R Core Team. 2024 cor.test. See URL: https:\/\/www.rdocumentation.org\/packages\/stats\/versions\/3.6.2\/topics\/cor.test. Version 3.6.2 accessed March 12 2024."},{"key":"e_1_3_1_49_2","unstructured":"R Core Team. 2024 ks.test. See URL: https:\/\/www.rdocumentation.org\/packages\/stats\/versions\/3.6.2\/topics\/ks.test. Version 3.6.2 accessed March 12 2024."},{"key":"e_1_3_1_50_2","unstructured":"R Core Team. 2024 lm. See URL: https:\/\/www.rdocumentation.org\/packages\/stats\/versions\/3.6.2\/topics\/lm. Version 3.6.2 accessed Aug 4 2024."},{"key":"e_1_3_1_51_2","unstructured":"R Core Team. 2024 The R Stats Package. See URL: https:\/\/stat.ethz.ch\/R-manual\/R-devel\/library\/stats\/html\/00Index.html. Version 4.4.0 accessed 21\/11\/2023.."},{"key":"e_1_3_1_52_2","unstructured":"R Core Team. 2024 shapiro.test. See URL: https:\/\/www.rdocumentation.org\/packages\/stats\/versions\/3.6.2\/topics\/shapiro.test. Version 3.6.2 accessed March 12 2024."},{"key":"e_1_3_1_53_2","unstructured":"R Core Team. 2024 t.test. See URL: https:\/\/www.rdocumentation.org\/packages\/stats\/versions\/3.6.2\/topics\/t.test. Version 3.6.2 accessed March 12 2024."},{"key":"e_1_3_1_54_2","doi-asserted-by":"publisher","DOI":"10.1145\/3426422.3426981"},{"key":"e_1_3_1_55_2","doi-asserted-by":"publisher","DOI":"10.1007\/s00362-009-0224-x"},{"key":"e_1_3_1_56_2","doi-asserted-by":"publisher","DOI":"10.1186\/1471-2288-12-81"},{"key":"e_1_3_1_57_2","volume-title":"Testing statistical hypotheses","author":"Romano Joseph P","year":"1986","unstructured":"Joseph P Romano. 1986 Testing statistical hypotheses. Vol. 3. Springer. 62--63 pages."},{"key":"e_1_3_1_58_2","doi-asserted-by":"publisher","DOI":"10.1145\/2594291.2594294"},{"key":"e_1_3_1_59_2","doi-asserted-by":"publisher","DOI":"10.1111\/j.1365-2230.2006.02206.x"},{"key":"e_1_3_1_60_2","unstructured":"scikit. 2024 sklearn.linear_model.LinearRegression. See URL: https:\/\/scikit-learn.org\/stable\/modules\/generated\/sklearn.linear_model.LinearRegression.html. Version 1.5.2 accessed Aug 2 2024."},{"key":"e_1_3_1_61_2","unstructured":"SciPy Community. 2024 scipy.stats.anderson. See URL: https:\/\/docs.scipy.org\/doc\/scipy\/reference\/generated\/scipy.stats.anderson.html. Version 1.15.1 accessed Feb 3 2025."},{"key":"e_1_3_1_62_2","unstructured":"SciPy Community. 2024 scipy.stats.bartlett. See URL: https:\/\/docs.scipy.org\/doc\/scipy\/reference\/generated\/scipy.stats.bartlett.html. Version 1.12.0 accessed Feb 6 2024."},{"key":"e_1_3_1_63_2","unstructured":"SciPy Community. 2024 scipy.stats.f_oneway. See URL: https:\/\/docs.scipy.org\/doc\/scipy\/reference\/generated\/scipy.stats.f_oneway.html. Version 1.12.0 accessed Feb 6 2024."},{"key":"e_1_3_1_64_2","unstructured":"SciPy Community. 2024 scipy.stats.kstest. See URL: https:\/\/docs.scipy.org\/doc\/scipy\/reference\/generated\/scipy.stats.kstest.html. Version 1.12.0 accessed Feb 6 2024."},{"key":"e_1_3_1_65_2","unstructured":"SciPy Community. 2024 scipy.stats.levene. See URL: https:\/\/docs.scipy.org\/doc\/scipy\/reference\/generated\/scipy.stats.levene.html. Version 1.12.0 accessed Feb 6 2024."},{"key":"e_1_3_1_66_2","unstructured":"SciPy Community. 2024 scipy.stats.linregress. See URL: https:\/\/docs.scipy.org\/doc\/scipy\/reference\/generated\/scipy.stats.linregress.html. Version 1.12.0 accessed Aug 2 2024."},{"key":"e_1_3_1_67_2","unstructured":"SciPy Community. 2024 scipy.stats.shapiro. See URL: https:\/\/docs.scipy.org\/doc\/scipy\/reference\/generated\/scipy.stats.shapiro.html. Version 1.12.0 accessed Feb 6 2024."},{"key":"e_1_3_1_68_2","unstructured":"SciPy Community. 2024 scipy.stats.spearmanr. See URL: https:\/\/docs.scipy.org\/doc\/scipy\/reference\/generated\/scipy.stats.spearmanr.html. Version 1.12.0 accessed Feb 6 2024."},{"key":"e_1_3_1_69_2","unstructured":"SciPy Community. 2024 scipy.stats.ttest_1samp. See URL: https:\/\/docs.scipy.org\/doc\/scipy\/reference\/generated\/scipy.stats.ttest_1samp.html. Version 1.12.0 accessed Feb 6 2024."},{"key":"e_1_3_1_70_2","unstructured":"SciPy Community. 2024 scipy.stats.ttest_ind. See URL: https:\/\/docs.scipy.org\/doc\/scipy\/reference\/generated\/scipy.stats.ttest_ind.html. Version 1.12.0 accessed Feb 6 2024."},{"key":"e_1_3_1_71_2","unstructured":"SciPy Community. 2024 scipy.stats.ttest_rel. See URL: https:\/\/docs.scipy.org\/doc\/scipy\/reference\/generated\/scipy.stats.ttest_rel.html. Version 1.12.0 accessed Feb 6 2024."},{"key":"e_1_3_1_72_2","unstructured":"SciPy Community. 2024 Statistical functions (scipy.stats). See URL: https:\/\/docs.scipy.org\/doc\/scipy\/reference\/stats.html. Version 1.11.4 accessed 21\/11\/2023.."},{"key":"e_1_3_1_73_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-27813-9_16"},{"key":"e_1_3_1_74_2","unstructured":"shashwatwork. 2021 Guide to Statistical Hypothesis Testing in Python. See URL: https:\/\/www.kaggle.com\/code\/shashwatwork\/guide-to-statistical-hypothesis-tests-in-python. Accessed Mar 21 2024."},{"key":"e_1_3_1_75_2","unstructured":"shilongzhuang. 2023 Statistical Testing Guide for Beginners. See URL: https:\/\/www.kaggle.com\/code\/shilongzhuang\/statistical-testing-guide-for-beginners. Accessed Mar 21 2024."},{"key":"e_1_3_1_76_2","doi-asserted-by":"publisher","DOI":"10.1002\/sim.2175"},{"key":"e_1_3_1_77_2","volume-title":"Practical business statistics","author":"Siegel Andrew F","year":"2016","unstructured":"Andrew F Siegel. 2016 Practical business statistics. Academic Press."},{"key":"e_1_3_1_78_2","unstructured":"slamnz. 2024 IBM Employee Attrition Analysis by Numerics. See URL: https:\/\/www.kaggle.com\/code\/slamnz\/ibm-employee-attrition-analysis-by-numerics. Accessed Mar 2 2024."},{"key":"e_1_3_1_79_2","unstructured":"StatLint. 2024 IBM Employee Attrition Analysis by Numerics. See URL: https:\/\/www.kaggle.com\/code\/statlint\/ibm-employee-attrition-analysis-by-numerics. Accessed Mar 2 2024."},{"key":"e_1_3_1_80_2","unstructured":"statsmodels. 2024 het_goldfeldquandt. See URL: https:\/\/www.statsmodels.org\/dev\/generated\/statsmodels.stats.diagnostic.het_goldfeldquandt.html. Version 0.15.0 accessed Sept 1 2024."},{"key":"e_1_3_1_81_2","doi-asserted-by":"publisher","DOI":"10.1080\/03610920600628999"},{"key":"e_1_3_1_82_2","unstructured":"Meltem Sonmez Turan. 2016 IID Testing in SP 800 90B. See URL: https:\/\/csrc.nist.gov\/csrc\/media\/events\/random-bit-generation-workshop-2016\/documents\/presentations\/sessionii-3-meltem-sonmez-turan-presentation.pdf. Accessed 18\/04\/2025."},{"key":"e_1_3_1_83_2","doi-asserted-by":"publisher","DOI":"10.1145\/3428249"},{"key":"e_1_3_1_84_2","doi-asserted-by":"publisher","DOI":"10.1145\/3340670.3342426"},{"key":"e_1_3_1_85_2","doi-asserted-by":"crossref","DOI":"10.1002\/9781119528388","volume-title":"Testing statistical assumptions in research","author":"Verma JP","year":"2019","unstructured":"JP Verma and Abdel-Salam G Abdel-Salam. 2019 Testing statistical assumptions in research. John Wiley & Sons."},{"key":"e_1_3_1_86_2","doi-asserted-by":"publisher","DOI":"10.1145\/2702123.2702347"},{"key":"e_1_3_1_87_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-0-387-21736-9"},{"key":"e_1_3_1_88_2","volume-title":"Applying contemporary statistical techniques","author":"Wilcox Rand R","year":"2003","unstructured":"Rand R Wilcox. 2003 Applying contemporary statistical techniques. Elsevier."},{"key":"e_1_3_1_89_2","doi-asserted-by":"publisher","DOI":"10.1145\/3276504"},{"key":"e_1_3_1_90_2","doi-asserted-by":"publisher","DOI":"10.1080\/00949655.2010.520163"},{"key":"e_1_3_1_91_2","doi-asserted-by":"publisher","DOI":"10.1080\/00949655.2010.520163"},{"key":"e_1_3_1_92_2","doi-asserted-by":"publisher","DOI":"10.1080\/00221309.1996.9921274"}],"container-title":["Proceedings of the ACM on Software Engineering"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3729391","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,23]],"date-time":"2026-08-23T11:07:07Z","timestamp":1787483227000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3729391"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,6,19]]},"references-count":91,"journal-issue":{"issue":"FSE","published-print":{"date-parts":[[2025,6,19]]}},"alternative-id":["10.1145\/3729391"],"URL":"https:\/\/doi.org\/10.1145\/3729391","relation":{},"ISSN":["2994-970X"],"issn-type":[{"value":"2994-970X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,6,19]]}}}