SShortSingh.
Back to feed

The 2.5 line: modeling over/under goals with a Poisson distribution (worked example, verified numbers)

0
·1 views

One of the highest-turnover football markets is deceptively simple: will the total goals in a match go over or under 2.5? Where does that line come from, and what is the "fair" probability of each side? Here's the full derivation, with numbers you can reproduce from one formula. A team's goal count in a match can be approximated by a Poisson distribution: P(X = k) = λ^k · e^(−λ) / k! where λ is the team's expected goals (estimated from recent attack strength, opponent defense, home/away).

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

I Built Vericore: A Verification Layer for AI Coding Agents

AI coding agents can make large changes to a repository very quickly. But an important question remains: Did the agent actually change only what it was supposed to change? I built Vericore to explore this problem. Vericore is an open-source verification layer for AI-assisted development. The workflow is: Understand → Prepare → Agent Changes → Verify Before the agent changes code, Vericore builds repository context and creates a Change Contract.

0
ProgrammingDEV Community ·

DeepSeek R1 vs. OpenAI o3-mini: Which API is Best?

Choosing between DeepSeek R1 vs OpenAI o3-mini is a critical decision for developers integrating reasoning APIs into software applications in 2026. When it comes to reasoning APIs, these are the two strongest candidates most teams end up weighing. Both models excel at complex tasks, code generation, mathematical analysis, and structured logic. However, they operate on different pricing structures, reasoning token methods, latency patterns, and structured data validation limits. This guide compares the two in detail to help you choose the best API for your developer workflows.

0
ProgrammingDEV Community ·

Scrape Etsy search results sorted by price: 10 rows for $0.065

Disclosure: I publish and maintain the Actor used here (publicrecords/etsy-search-scraper on Apify Store). This is the publisher account. You have an Etsy search query and you want the results as rows you can sort and filter, not a screenshot of page one. Here's the shortest route I know, with a real run as proof. Each Etsy search result comes back as one row with listing_id, title, price, currency, shop_name, shop_url, rating_value, review_count, badges (bestseller, star_seller, etsys_pick, popular_now, free_shipping), position and page.