Building reproducible expected‑goals models from public football event data: Logistic and mixed-effects analysis using StatsBomb open data | 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 Building reproducible expected‑goals models from public football event data: Logistic and mixed-effects analysis using StatsBomb open data Kofi Nyantakyi Appiah, Nathanael Adu, Divyanshu Kumar Singh, Edward Edem Nartey This is a preprint; it has not been peer reviewed by a journal. https://doi.org/ 10.21203/rs.3.rs-9022775/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 A reproducible expected-goals (xG) modelling pipeline is developed and evaluated using large public football event datasets. The analysis uses 10,709 non-penalty shots from La Liga 2015/2016 and the 2018 FIFA World Cup in StatsBomb Open Data, with predictors derived from event locations (shot distance and angle), body part (head vs. foot), and competition indicators. Logistic regression estimates goal probability from these predictors, and a generalized linear mixed-effects model adds shooter-level random intercepts to capture between-player variability. Model performance is assessed using information criteria and area under the ROC curve (AUC). Distance strongly reduces scoring probability, headers are less likely to be scored than footed shots, and World Cup shots have lower baseline conversion than La Liga attempts at comparable locations. AUC increases from 0.75 in the baseline model to 0.78 in the fixed-effects model and 0.79 in the mixed-effects model, indicating that open event data support transparent, statistically defensible, and practically useful xG pipelines for research and teaching. Analysis Applied Statistics Expected goals Football analytics Public event data Logistic regression Mixed-effects models StatsBomb Open Data Full Text Additional Declarations The authors declare no competing interests. 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-9022775","acceptedTermsAndConditions":true,"allowDirectSubmit":true,"archivedVersions":[],"articleType":"Research Article","associatedPublications":[],"authors":[{"id":600153899,"identity":"5dc22bf9-3b45-4446-8083-996025b93d85","order_by":0,"name":"Kofi Nyantakyi Appiah","email":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAAyAQMAAABI0h/eAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAABGklEQVRIiWNgGAWjYPCCBAY2MG3AkMAP5hcQ0HAAWYtkA0iLARFa4PYZHIDoxQnMJZKfPf5Qk5bYx8D87HFBgV2e8fnViR8eGDDI84sdwKrFckaaucGBYzmJbQxs5sYzDJKLzW683SwBdJjhzNkJWLUY3EgwkzjAVgHUwmAmzWPAnLjtxtkNIC0JBrdxaUn/JnHgH0gL+zeglvrEzTPObv6BX0uOmcTBNpDDeEC2HE7cwN+7Db8tZ96USZztSzNuY+YpB/rleOKMG7zbLBIMJHD75Xj6NomKb8my89vbtz0u+FOd2N9/dvPNHxU28vzS2LUwCEDEHRuYGdiYwUwJsIgEduUgwH8ATNkDMVQLVGQUjIJRMApGAQwAAH0pYvd6bhowAAAAAElFTkSuQmCC","orcid":"https://orcid.org/0000-0002-5770-1006","institution":"Lovely Professional University","correspondingAuthor":true,"prefix":"","firstName":"Kofi","middleName":"Nyantakyi","lastName":"Appiah","suffix":""},{"id":600153900,"identity":"fb12add0-41cb-41f9-93d4-f671f65cb1b2","order_by":1,"name":"Nathanael Adu","email":"","orcid":"https://orcid.org/0000-0002-3594-1412","institution":"Mampong Technical College of Education","correspondingAuthor":false,"prefix":"","firstName":"Nathanael","middleName":"","lastName":"Adu","suffix":""},{"id":600153901,"identity":"5ab6da5d-0952-4486-aa71-01a9a8914810","order_by":2,"name":"Divyanshu Kumar Singh","email":"","orcid":"https://orcid.org/0009-0002-9388-648X","institution":"Lovely Professional University","correspondingAuthor":false,"prefix":"","firstName":"Divyanshu","middleName":"Kumar","lastName":"Singh","suffix":""},{"id":600153902,"identity":"0c461922-3caf-4b15-99b3-04e2668534d4","order_by":3,"name":"Edward Edem Nartey","email":"","orcid":"https://orcid.org/0009-0004-3675-3351","institution":"University of Cape coast","correspondingAuthor":false,"prefix":"","firstName":"Edward","middleName":"Edem","lastName":"Nartey","suffix":""}],"badges":[],"createdAt":"2026-03-03 17:44:30","currentVersionCode":1,"declarations":{"humanSubjects":true,"vertebrateSubjects":false,"conflictsOfInterestStatement":false,"humanSubjectEthicalGuidelines":true,"humanSubjectConsent":true,"humanSubjectClinicalTrial":false,"humanSubjectCaseReport":false,"vertebrateSubjectEthicalGuidelines":false},"doi":"10.21203/rs.3.rs-9022775/v1","doiUrl":"https://doi.org/10.21203/rs.3.rs-9022775/v1","draftVersion":[],"editorialEvents":[],"editorialNote":"","failedWorkflow":false,"files":[{"id":104401171,"identity":"c7688411-10fb-4694-bf25-f2b1b643faf6","added_by":"auto","created_at":"2026-03-11 12:12:02","extension":"pdf","order_by":1,"title":"","display":"","copyAsset":false,"role":"manuscript-pdf","size":477519,"visible":true,"origin":"","legend":"","description":"","filename":"BuildingReproducibleExpectedGoalsModelsfromPublicFootballTrackingData.pdf","url":"https://assets-eu.researchsquare.com/files/rs-9022775/v1_covered_063adcae-88cd-4dae-99c3-885abcf32b34.pdf"}],"financialInterests":"The authors declare no competing interests.","formattedTitle":"\u003cp\u003e\u003cstrong\u003eBuilding reproducible expected‑goals models from public football event data: Logistic and mixed-effects analysis using StatsBomb open data\u003c/strong\u003e\u003c/p\u003e","fulltext":[],"fulltextSource":"","fullText":"","funders":[],"hasAdminPriorityOnWorkflow":false,"hasManuscriptDocX":false,"hasOptedInToPreprint":true,"hasPassedJournalQc":"","hasAnyPriority":true,"hideJournal":true,"highlight":"","institution":"Lovely Professional University","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":"Expected goals, Football analytics, Public event data, Logistic regression, Mixed-effects models, StatsBomb Open Data","lastPublishedDoi":"10.21203/rs.3.rs-9022775/v1","lastPublishedDoiUrl":"https://doi.org/10.21203/rs.3.rs-9022775/v1","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"manuscriptAbstract":"\u003cp\u003eA reproducible expected-goals (xG) modelling pipeline is developed and evaluated using large public football event datasets. The analysis uses 10,709 non-penalty shots from La Liga 2015/2016 and the 2018 FIFA World Cup in StatsBomb Open Data, with predictors derived from event locations (shot distance and angle), body part (head vs. foot), and competition indicators. Logistic regression estimates goal probability from these predictors, and a generalized linear mixed-effects model adds shooter-level random intercepts to capture between-player variability. Model performance is assessed using information criteria and area under the ROC curve (AUC). Distance strongly reduces scoring probability, headers are less likely to be scored than footed shots, and World Cup shots have lower baseline conversion than La Liga attempts at comparable locations. AUC increases from 0.75 in the baseline model to 0.78 in the fixed-effects model and 0.79 in the mixed-effects model, indicating that open event data support transparent, statistically defensible, and practically useful xG pipelines for research and teaching.\u003c/p\u003e","manuscriptTitle":"Building reproducible expected‑goals models from public football event data: Logistic and mixed-effects analysis using StatsBomb open data","msid":"","msnumber":"","nonDraftVersions":[{"code":1,"date":"2026-03-04 09:28:49","doi":"10.21203/rs.3.rs-9022775/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":"1d991011-7aa9-4057-a84e-5fbb958789ff","owner":[],"postedDate":"March 4th, 2026","published":true,"recentEditorialEvents":[],"rejectedJournal":[],"revision":"","amendment":"","status":"posted","subjectAreas":[{"id":63864901,"name":"Analysis"},{"id":63864902,"name":"Applied Statistics"}],"tags":[],"updatedAt":"2026-03-04T09:28:49+00:00","versionOfRecord":[],"versionCreatedAt":"2026-03-04 09:28:49","video":"","vorDoi":"","vorDoiUrl":"","workflowStages":[]},"version":"v1","identity":"rs-9022775","journalConfig":"researchsquare"},"__N_SSP":true},"page":"/article/[identity]/[[...version]]","query":{"redirect":"/article/rs-9022775","identity":"rs-9022775","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.