R-package agentBayes: likelihood-based statistical methods for agent-based models

preprint OA: closed
Full text JSON View at publisher
Full text 12,222 characters · extracted from preprint-html · click to expand
R-package agentBayes: likelihood-based statistical methods for agent-based models | 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 Article R-package agentBayes: likelihood-based statistical methods for agent-based models Niklas Moser, Dmitri Finkelshtein, Georgy Chargaziya, Stephen Cornell, and 4 more This is a preprint; it has not been peer reviewed by a journal. https://doi.org/ 10.21203/rs.3.rs-8910712/v1 This work is licensed under a CC BY 4.0 License Status: Posted Version 1 posted You are reading this latest preprint version Abstract Statistically analysing interacting particle systems remains challenging because the governing equations are analytically intractable. Existing solutions include moment closure methods with pseudolikelihood-based frameworks, and likelihood-free frameworks based on extensive simulations, both relying on heuristic choices whose validity is difficult to predict. As a resolution, we rigorously derive an asymptotically exact expression for the likelihood of agent-based models (ABMs). Our framework applies to ABMs formulated as reactant–catalyst–product (RCP) models in continuous space and time. We derive an expression for the conditional density of agents given information about the current and earlier distributions of neighbouring agents. We utilize this expression to construct an asymptotically exact likelihood that applies to both spatial snapshot and time-series data. We implement the likelihood expression and a Bayesian parameter estimation framework in the here introduced R-package agentBayes and demonstrate its utility in biological research and beyond with simulated case studies and empirical data on the evolution of cancer cell populations. Biological sciences/Computational biology and bioinformatics/Statistical methods Biological sciences/Computational biology and bioinformatics/Software Full Text Additional Declarations There is NO Competing Interest. Supplementary Files supplementaryinformationABMlikelihood.pdf Supplementary Information Cite Share Download PDF Status: Posted Version 1 posted 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-8910712","acceptedTermsAndConditions":true,"allowDirectSubmit":true,"archivedVersions":[],"articleType":"Article","associatedPublications":[],"authors":[{"id":609108763,"identity":"93eb9a9f-67f6-48e9-a625-175915e254dc","order_by":0,"name":"Niklas Moser","email":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAAyAQMAAABI0h/eAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA4klEQVRIiWNgGAWjYDACZjbGA0hcG2YQ+SEBvxYGZC1pIC2MM/BqYUDVcpgBrAWfBnN2toQDP/4w5DGIHT784eOe8+wGNxIYGx7g0WLZzHbgYG8bQzGDdFqa5Ixnt5nBWvA5zOAwe8MB3gaGxAbpHDNmngNgLewPCGk5+OcPWIvx5z8HzhFjC9uBwzxsYC0G0gwHDhClJeGwbJtEYhvILz0HkpklzzxsxK/l/DHDh2/+2CT2Sycf/vDjgF0y3/Hkg40/8GiBAglg9EBAssIBxgbCGpCBnTyJGkbBKBgFo2D4AwAH+lJVxYNROAAAAABJRU5ErkJggg==","orcid":"https://orcid.org/0009-0001-4486-9248","institution":"University of Jyväskylä","correspondingAuthor":true,"prefix":"","firstName":"Niklas","middleName":"","lastName":"Moser","suffix":""},{"id":609108764,"identity":"b661df1a-af36-4a62-bdde-9ee12a432890","order_by":1,"name":"Dmitri Finkelshtein","email":"","orcid":"https://orcid.org/0000-0001-7136-9399","institution":"Swansea University","correspondingAuthor":false,"prefix":"","firstName":"Dmitri","middleName":"","lastName":"Finkelshtein","suffix":""},{"id":609108765,"identity":"241e3e61-d02e-443b-a380-b241425cf941","order_by":2,"name":"Georgy Chargaziya","email":"","orcid":"","institution":"Swansea University","correspondingAuthor":false,"prefix":"","firstName":"Georgy","middleName":"","lastName":"Chargaziya","suffix":""},{"id":609108766,"identity":"d99d311e-7516-4ce5-929b-e8f473fb810e","order_by":3,"name":"Stephen Cornell","email":"","orcid":"","institution":"University of Liverpool","correspondingAuthor":false,"prefix":"","firstName":"Stephen","middleName":"","lastName":"Cornell","suffix":""},{"id":609108767,"identity":"97fdf0fd-b64f-4411-a8b6-0177b5f0353f","order_by":4,"name":"Sara Hamis","email":"","orcid":"https://orcid.org/0000-0002-1105-8078","institution":"Uppsala University","correspondingAuthor":false,"prefix":"","firstName":"Sara","middleName":"","lastName":"Hamis","suffix":""},{"id":609108768,"identity":"a5d131f6-49c5-4db5-a4c7-ed46581be14e","order_by":5,"name":"Jacob Scott","email":"","orcid":"https://orcid.org/0000-0003-2971-7673","institution":"Cleveland Clinic","correspondingAuthor":false,"prefix":"","firstName":"Jacob","middleName":"","lastName":"Scott","suffix":""},{"id":609108769,"identity":"2315ad89-737e-46a4-9aa6-5c9568af4789","order_by":6,"name":"Dagim Tadele","email":"","orcid":"https://orcid.org/0000-0001-8319-678X","institution":"Cleveland Clinic","correspondingAuthor":false,"prefix":"","firstName":"Dagim","middleName":"","lastName":"Tadele","suffix":""},{"id":609108770,"identity":"25f42b65-35b8-47c0-b626-dbbff477d3e0","order_by":7,"name":"Otso Ovaskainen","email":"","orcid":"https://orcid.org/0000-0001-9750-4421","institution":"University of Jyväskylä","correspondingAuthor":false,"prefix":"","firstName":"Otso","middleName":"","lastName":"Ovaskainen","suffix":""}],"badges":[],"createdAt":"2026-02-18 15:45:46","currentVersionCode":1,"declarations":"","doi":"10.21203/rs.3.rs-8910712/v1","doiUrl":"https://doi.org/10.21203/rs.3.rs-8910712/v1","draftVersion":[],"editorialEvents":[],"editorialNote":"","failedWorkflow":false,"files":[{"id":105564164,"identity":"1e10b27a-e15b-4f1d-8bee-bfb58fbe6aac","added_by":"auto","created_at":"2026-03-27 12:48:54","extension":"pdf","order_by":1,"title":"","display":"","copyAsset":false,"role":"manuscript-pdf","size":1709087,"visible":true,"origin":"","legend":"","description":"","filename":"ABMlikelihood.pdf","url":"https://assets-eu.researchsquare.com/files/rs-8910712/v1_covered_46f083e1-2f43-4e59-a27d-85a8889fffd1.pdf"},{"id":105023458,"identity":"4072d28b-4b26-40b6-9e15-c36af2dd637f","added_by":"auto","created_at":"2026-03-20 03:49:05","extension":"pdf","order_by":1,"title":"","display":"","copyAsset":false,"role":"supplement","size":1001754,"visible":true,"origin":"","legend":"Supplementary Information","description":"","filename":"supplementaryinformationABMlikelihood.pdf","url":"https://assets-eu.researchsquare.com/files/rs-8910712/v1/b15bb88a00bd7c7f9053cb71.pdf"}],"financialInterests":"There is \u003cb\u003eNO\u003c/b\u003e Competing Interest.","formattedTitle":"R-package agentBayes: likelihood-based statistical methods for agent-based models","fulltext":[],"fulltextSource":"","fullText":"","funders":[],"hasAdminPriorityOnWorkflow":false,"hasManuscriptDocX":false,"hasOptedInToPreprint":true,"hasPassedJournalQc":"","hasAnyPriority":true,"hideJournal":true,"highlight":"","institution":"","isAcceptedByJournal":false,"isAuthorSuppliedPdf":true,"isDeskRejected":"","isHiddenFromSearch":false,"isInQc":false,"isInWorkflow":false,"isPdf":true,"isPdfUpToDate":true,"isWithdrawnOrRetracted":false,"journal":{"display":true,"email":"[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true},"keywords":"","lastPublishedDoi":"10.21203/rs.3.rs-8910712/v1","lastPublishedDoiUrl":"https://doi.org/10.21203/rs.3.rs-8910712/v1","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"manuscriptAbstract":"Statistically analysing interacting particle systems remains challenging because the governing equations are analytically intractable. Existing solutions include moment closure methods with pseudolikelihood-based frameworks, and likelihood-free frameworks based on extensive simulations, both relying on heuristic choices whose validity is difficult to predict. As a resolution, we rigorously derive an asymptotically exact expression for the likelihood of agent-based models (ABMs). Our framework applies to ABMs formulated as reactant–catalyst–product (RCP) models in continuous space and time. We derive an expression for the conditional density of agents given information about the current and earlier distributions of neighbouring agents. We utilize this expression to construct an asymptotically exact likelihood that applies to both spatial snapshot and time-series data. We implement the likelihood expression and a Bayesian parameter estimation framework in the here introduced R-package agentBayes and demonstrate its utility in biological research and beyond with simulated case studies and empirical data on the evolution of cancer cell populations.","manuscriptTitle":"R-package agentBayes: likelihood-based statistical methods for agent-based models","msid":"","msnumber":"","nonDraftVersions":[{"code":1,"date":"2026-03-20 03:49:00","doi":"10.21203/rs.3.rs-8910712/v1","editorialEvents":[{"type":"communityComments","content":0}],"status":"published","journal":{"display":true,"email":"[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true}}],"origin":"","ownerIdentity":"b0214615-b1d7-44fd-94f0-a811cfeb7698","owner":[],"postedDate":"March 20th, 2026","published":true,"recentEditorialEvents":[],"rejectedJournal":[],"revision":"","amendment":"","status":"posted","subjectAreas":[{"id":64815358,"name":"Biological sciences/Computational biology and bioinformatics/Statistical methods"},{"id":64815359,"name":"Biological sciences/Computational biology and bioinformatics/Software"}],"tags":[],"updatedAt":"2026-03-23T13:33:10+00:00","versionOfRecord":[],"versionCreatedAt":"2026-03-20 03:49:00","video":"","vorDoi":"","vorDoiUrl":"","workflowStages":[]},"version":"v1","identity":"rs-8910712","journalConfig":"researchsquare"},"__N_SSP":true},"page":"/article/[identity]/[[...version]]","query":{"redirect":"/article/rs-8910712","identity":"rs-8910712","version":["v1"]},"buildId":"XKTyCvWXoU3ODBz1xrDgd","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.

My notes (saved in your browser only)

Ask this paper AI returns verbatim quotes from the full text · source: preprint-html

Answers must be backed by verbatim quotes from this paper's full text. Hallucinated quotes are dropped automatically; if no verbatim passage answers the question, we say so. How this works

Citation neighborhood (no data yet)

We don't have any in-corpus citations linked to this paper yet. This is a recent paper (2026) — citers typically take a year or two to land, and the OpenAlex reference graph may still be filling in.

Source provenance

europepmc
last seen: 2026-05-20T01:45:00.602351+00:00