NOTEARS-M: Causal Bayesian Network Structure Learning of Mixed Type Data and Its Application in Identifying Disease Risk Factors | Research Square window.SnipcartSettings = { analytics: { enabled: false } }; (function() { var accessVector = localStorage.getItem('access_vector') || ''; window.dataLayer = window.dataLayer || []; if (accessVector) { window.dataLayer.push({ user: { profile: { profileInfo: { snid: accessVector } } } }); } })(); (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-K279D39R'); Browse Preprints In Review Journals COVID-19 Preprints AJE Video Bytes Research Tools Research Promotion AJE Professional Editing AJE Rubriq About Preprint Platform In Review Editorial Policies Our Team Advisory Board Help Center Sign In Submit a Preprint Cite Share Download PDF Research Article NOTEARS-M: Causal Bayesian Network Structure Learning of Mixed Type Data and Its Application in Identifying Disease Risk Factors Yuanyuan Zhao, Jinzhu Jia This is a preprint; it has not been peer reviewed by a journal. https://doi.org/ 10.21203/rs.3.rs-5644505/v1 This work is licensed under a CC BY 4.0 License Status: Published Journal Publication published 06 Jun, 2025 Read the published version in BMC Medical Research Methodology → Version 1 posted 11 You are reading this latest preprint version Abstract Background Identifying and understanding disease risk factors is crucial in epidemiology, particularly for chronic and noncommunicable diseases that often have complex interrelationships. Traditional statistical methods struggle to capture these complexities, necessitating more sophisticated analytical frameworks. Bayesian networks and directed acyclic graphs (DAGs) provide powerful tools for exploring the complex relationships between variables. However, existing DAG structure learning algorithms still have limitations in handling mixed-type data (including continuous and discrete variables), which restricts their practical utility. Therefore, developing DAG structure learning methods that can effectively handle mixed data is highly important for obtaining an in-depth understanding of disease risk factors and pathogenic mechanisms. Methods This study proposes an extension of the NOTEARS algorithm, termed NOTEARS-M, which is designed for Bayesian network structure learning with mixed-type data. The algorithm integrates continuous and categorical variables through a tailored loss function, enhancing its applicability to real-world epidemiological datasets. Results Extensive simulations were conducted across eight distinct scenarios, specifically, variations in the number of nodes, changes in the proportion of categorical nodes, different sample sizes, levels of categorical nodes, variations in edge sparsity, adjustments to the weight scale, different graph types, and diverse noise distributions. These scenarios demonstrate that NOTEARS-M consistently outperforms existing methods such as MMHC, mDAG, and DAGBagM across key metrics, including precision, recall, F1 score, and structural Hamming distance (SHD). Furthermore, the robustness of NOTEARS-M is validated through its application to the National Health and Nutrition Examination Survey (NHANES) dataset, revealing critical causal relationships among risk factors for CHD and diabetes. Conclusions NOTEARS-M provides a powerful and scalable tool for uncovering causal relationships in complex disease networks, with significant implications for risk factor identification and public health research. Bayesian networks (BNs) Directed cyclic graphs (DAGs) Causal inference Risk factor Full Text Additional Declarations No competing interests reported. Supplementary Files AdditionalFile1.docx Additional file 1: Supplementary figures. AdditionalFile2.docx Additional file 2: Supplementary results. Cite Share Download PDF Status: Published Journal Publication published 06 Jun, 2025 Read the published version in BMC Medical Research Methodology → Version 1 posted Editorial decision: Revision requested 05 Feb, 2025 Reviews received at journal 20 Jan, 2025 Reviews received at journal 12 Jan, 2025 Reviewers agreed at journal 09 Jan, 2025 Reviewers agreed at journal 08 Jan, 2025 Reviewers agreed at journal 06 Jan, 2025 Reviewers invited by journal 27 Dec, 2024 Editor invited by journal 19 Dec, 2024 Editor assigned by journal 18 Dec, 2024 Submission checks completed at journal 18 Dec, 2024 First submitted to journal 14 Dec, 2024 You are reading this latest preprint version Research Square lets you share your work early, gain feedback from the community, and start making changes to your manuscript prior to peer review in a journal. As a division of Research Square Company, we’re committed to making research communication faster, fairer, and more useful. We do this by developing innovative software and high quality services for the global research community. Our growing team is made up of researchers and industry professionals working together to solve the most critical problems facing scientific publishing. Also discoverable on Platform About Our Team In Review Editorial Policies Advisory Board Help Center Resources Author Services Accessibility API Access RSS feed Manage Cookie Preferences © Research Square 2026 | ISSN 2693-5015 (online) Privacy Policy Terms of Service Do Not Sell My Personal Information {"props":{"pageProps":{"initialData":{"identity":"rs-5644505","acceptedTermsAndConditions":true,"allowDirectSubmit":false,"archivedVersions":[],"articleType":"Research Article","associatedPublications":[],"authors":[{"id":392517543,"identity":"3d5598f9-343d-4751-a51e-571484906833","order_by":0,"name":"Yuanyuan Zhao","email":"","orcid":"","institution":"Peking University","correspondingAuthor":false,"prefix":"","firstName":"Yuanyuan","middleName":"","lastName":"Zhao","suffix":""},{"id":392517547,"identity":"cf70525c-7091-4e00-bf89-b4310a0ad6e7","order_by":1,"name":"Jinzhu Jia","email":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAAyAQMAAABI0h/eAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA6klEQVRIiWNgGAWjYBACxgaGhAMMFUCWBJgDBAeI0nKGgYGHaC0QfW2kaGHuP/DwwM952+TtpRvYHs5sY5Dju5HA+LkAr8MOJBzs3XbbsEfmALvhxjYGY8kbCczSM/BpaWxIOMC77TZjj0QCm+TDNobEDTcS2Jh58GlpZkg4+HfObXuYlnrCWtoYEg7zNtxOBGsBOizBgKCWHqAWmWO3k3tuJLYbzjgnYTjzzMNmaXxaDPvPJH98U3Pbtn1G8rGHPWU28nzHkw9+xqulgScB4UZwGoBGD04gz8B+AMZmw6tyFIyCUTAKRi4AALajUp53RgcpAAAAAElFTkSuQmCC","orcid":"","institution":"Peking University","correspondingAuthor":true,"prefix":"","firstName":"Jinzhu","middleName":"","lastName":"Jia","suffix":""}],"badges":[],"createdAt":"2024-12-14 16:38:04","currentVersionCode":1,"declarations":"","doi":"10.21203/rs.3.rs-5644505/v1","doiUrl":"https://doi.org/10.21203/rs.3.rs-5644505/v1","draftVersion":[],"editorialEvents":[{"content":"https://doi.org/10.1186/s12874-025-02582-6","type":"published","date":"2025-06-06T15:57:13+00:00"}],"editorialNote":"","failedWorkflow":false,"files":[{"id":84243211,"identity":"fbcec033-3185-4f4f-ba0f-66287d4092e2","added_by":"auto","created_at":"2025-06-09 16:13:02","extension":"pdf","order_by":1,"title":"","display":"","copyAsset":false,"role":"manuscript-pdf","size":1125840,"visible":true,"origin":"","legend":"","description":"","filename":"reviewedNOTEARSMCausalBayesianNetworkStructureLearningofMixedTypeDataandItsApplicationinCardiovascularDisease.pdf","url":"https://assets-eu.researchsquare.com/files/rs-5644505/v1_covered_02f2a40b-2b41-4372-b863-dde7d121a8f3.pdf"},{"id":71962202,"identity":"19a614c3-40a3-4daf-91bf-23126557894c","added_by":"auto","created_at":"2024-12-20 07:01:43","extension":"docx","order_by":1,"title":"","display":"","copyAsset":false,"role":"supplement","size":2489299,"visible":true,"origin":"","legend":"\u003cp\u003e\u003cstrong\u003eAdditional file 1: \u003c/strong\u003eSupplementary figures.\u003c/p\u003e","description":"","filename":"AdditionalFile1.docx","url":"https://assets-eu.researchsquare.com/files/rs-5644505/v1/49856606d1fff2c01563fc2d.docx"},{"id":71963675,"identity":"e2d8c574-e749-4633-aca8-666ef7f97fdc","added_by":"auto","created_at":"2024-12-20 07:09:44","extension":"docx","order_by":2,"title":"","display":"","copyAsset":false,"role":"supplement","size":17166,"visible":true,"origin":"","legend":"\u003cp\u003e\u003cstrong\u003eAdditional file 2: \u003c/strong\u003eSupplementary results.\u003c/p\u003e","description":"","filename":"AdditionalFile2.docx","url":"https://assets-eu.researchsquare.com/files/rs-5644505/v1/5797cbe92ada19403258c2d6.docx"}],"financialInterests":"No competing interests reported.","formattedTitle":"NOTEARS-M: Causal Bayesian Network Structure Learning of Mixed Type Data and Its Application in Identifying Disease Risk Factors","fulltext":[],"fulltextSource":"","fullText":"","funders":[],"hasAdminPriorityOnWorkflow":false,"hasManuscriptDocX":false,"hasOptedInToPreprint":true,"hasPassedJournalQc":"","hasAnyPriority":false,"hideJournal":false,"highlight":"","institution":"","isAcceptedByJournal":true,"isAuthorSuppliedPdf":true,"isDeskRejected":"","isHiddenFromSearch":false,"isInQc":false,"isInWorkflow":false,"isPdf":true,"isPdfUpToDate":true,"isWithdrawnOrRetracted":false,"journal":{"display":true,"email":"
[email protected]","identity":"bmc-medical-research-methodology","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":false,"externalIdentity":"bmrm","sideBox":"Learn more about [BMC Medical Research Methodology](http://bmcmedresmethodol.biomedcentral.com/)","snPcode":"","submissionUrl":"https://www.editorialmanager.com/bmrm/default.aspx","title":"BMC Medical Research Methodology","twitterHandle":"BMC_series","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"em","reportingPortfolio":"BMC Series","inReviewEnabled":true,"inReviewRevisionsEnabled":true},"keywords":"Bayesian networks (BNs), Directed cyclic graphs (DAGs), Causal inference, Risk factor","lastPublishedDoi":"10.21203/rs.3.rs-5644505/v1","lastPublishedDoiUrl":"https://doi.org/10.21203/rs.3.rs-5644505/v1","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"manuscriptAbstract":"\u003ch2\u003eBackground\u003c/h2\u003e \u003cp\u003eIdentifying and understanding disease risk factors is crucial in epidemiology, particularly for chronic and noncommunicable diseases that often have complex interrelationships. Traditional statistical methods struggle to capture these complexities, necessitating more sophisticated analytical frameworks. Bayesian networks and directed acyclic graphs (DAGs) provide powerful tools for exploring the complex relationships between variables. However, existing DAG structure learning algorithms still have limitations in handling mixed-type data (including continuous and discrete variables), which restricts their practical utility. Therefore, developing DAG structure learning methods that can effectively handle mixed data is highly important for obtaining an in-depth understanding of disease risk factors and pathogenic mechanisms.\u003c/p\u003e\u003ch2\u003eMethods\u003c/h2\u003e \u003cp\u003eThis study proposes an extension of the NOTEARS algorithm, termed NOTEARS-M, which is designed for Bayesian network structure learning with mixed-type data. The algorithm integrates continuous and categorical variables through a tailored loss function, enhancing its applicability to real-world epidemiological datasets.\u003c/p\u003e\u003ch2\u003eResults\u003c/h2\u003e \u003cp\u003eExtensive simulations were conducted across eight distinct scenarios, specifically, variations in the number of nodes, changes in the proportion of categorical nodes, different sample sizes, levels of categorical nodes, variations in edge sparsity, adjustments to the weight scale, different graph types, and diverse noise distributions. These scenarios demonstrate that NOTEARS-M consistently outperforms existing methods such as MMHC, mDAG, and DAGBagM across key metrics, including precision, recall, F1 score, and structural Hamming distance (SHD). Furthermore, the robustness of NOTEARS-M is validated through its application to the National Health and Nutrition Examination Survey (NHANES) dataset, revealing critical causal relationships among risk factors for CHD and diabetes.\u003c/p\u003e\u003ch2\u003eConclusions\u003c/h2\u003e \u003cp\u003eNOTEARS-M provides a powerful and scalable tool for uncovering causal relationships in complex disease networks, with significant implications for risk factor identification and public health research.\u003c/p\u003e","manuscriptTitle":"NOTEARS-M: Causal Bayesian Network Structure Learning of Mixed Type Data and Its Application in Identifying Disease Risk Factors","msid":"","msnumber":"","nonDraftVersions":[{"code":1,"date":"2024-12-20 07:01:39","doi":"10.21203/rs.3.rs-5644505/v1","editorialEvents":[{"type":"communityComments","content":0},{"type":"decision","content":"Revision requested","date":"2025-02-05T18:36:16+00:00","index":"","fulltext":""},{"type":"editorInvitedReview","content":"","date":"2025-01-20T23:11:24+00:00","index":"hide","fulltext":""},{"type":"editorInvitedReview","content":"","date":"2025-01-12T11:06:58+00:00","index":"hide","fulltext":""},{"type":"reviewerAgreed","content":"120527807092071865519357828807255107966","date":"2025-01-10T04:38:25+00:00","index":"hide","fulltext":""},{"type":"reviewerAgreed","content":"7398135564341622414934914516880204949","date":"2025-01-08T12:16:30+00:00","index":"hide","fulltext":""},{"type":"reviewerAgreed","content":"116406446982182041386516584294412761759","date":"2025-01-06T15:06:31+00:00","index":"hide","fulltext":""},{"type":"reviewersInvited","content":"","date":"2024-12-27T10:53:11+00:00","index":"","fulltext":""},{"type":"editorInvited","content":"","date":"2024-12-19T17:51:55+00:00","index":"","fulltext":""},{"type":"editorAssigned","content":"","date":"2024-12-18T10:52:15+00:00","index":"","fulltext":""},{"type":"checksComplete","content":"","date":"2024-12-18T10:50:41+00:00","index":"","fulltext":""},{"type":"submitted","content":"BMC Medical Research Methodology","date":"2024-12-14T16:23:39+00:00","index":"","fulltext":""}],"status":"published","journal":{"display":true,"email":"
[email protected]","identity":"bmc-medical-research-methodology","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":false,"externalIdentity":"bmrm","sideBox":"Learn more about [BMC Medical Research Methodology](http://bmcmedresmethodol.biomedcentral.com/)","snPcode":"","submissionUrl":"https://www.editorialmanager.com/bmrm/default.aspx","title":"BMC Medical Research Methodology","twitterHandle":"BMC_series","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"em","reportingPortfolio":"BMC Series","inReviewEnabled":true,"inReviewRevisionsEnabled":true}}],"origin":"","ownerIdentity":"9afe6c4a-cf7b-4502-9bd9-7a74d103df6c","owner":[],"postedDate":"December 20th, 2024","published":true,"recentEditorialEvents":[],"rejectedJournal":[],"revision":"","amendment":"","status":"published-in-journal","subjectAreas":[],"tags":[],"updatedAt":"2025-06-09T16:11:08+00:00","versionOfRecord":{"articleIdentity":"rs-5644505","link":"https://doi.org/10.1186/s12874-025-02582-6","journal":{"identity":"bmc-medical-research-methodology","isVorOnly":false,"title":"BMC Medical Research Methodology"},"publishedOn":"2025-06-06 15:57:13","publishedOnDateReadable":"June 6th, 2025"},"versionCreatedAt":"2024-12-20 07:01:39","video":"","vorDoi":"10.1186/s12874-025-02582-6","vorDoiUrl":"https://doi.org/10.1186/s12874-025-02582-6","workflowStages":[]},"version":"v1","identity":"rs-5644505","journalConfig":"researchsquare"},"__N_SSP":true},"page":"/article/[identity]/[[...version]]","query":{"redirect":"/article/rs-5644505","identity":"rs-5644505","version":["v1"]},"buildId":"qtupq5eGEP_6zYnWcrvyt","isFallback":false,"isExperimentalCompile":false,"dynamicIds":[84888],"gssp":true,"scriptLoader":[]}
Text is read by the "Ask this paper" AI Q&A widget below.
Extraction quality varies by source — PMC NXML preserves structure
cleanly, OA-HTML may include some navigation residue, and OA-PDF can
have broken hyphenation. The publisher copy
(via DOI)
is the canonical version.