Odds making is a combination of science and art. If you want to get something in the ballpark, try this (it's not good enough to bet without adjustments).
For a given league, compute the average points scored in a game.
For each team, compute average points scored, and points allowed.
After about 8 games (NFL, NBA or whatever), the stats become meaningful. For each team, its offensive rating is (mean points scored - league average). Defense is (mean points allowed - league average).
If you want to handicap a game on a neutral field, assume each team scores the league average. For team 1's points, add its offensive rating, and 2's defensive rating to the league average. For team 2 - add 2's offense, 1's defense and the league average.
Homefield advantage? After 8 games, add up all the points scored by home teams, subtract all points scored by visitors. Divide by total number of games. In NFL, it is 2-3. In NBA, it is 3-4. To adjust for HFA, add half the HFA to home, subtract half to visitor's score. That gives you a "projected score" - you can use this for lines and totals.
If you're serious about odds making, you also need to understand injuries, variations in HFA (especially in NBA/NCAAB) and motivation.
This is just a starting point. If you want to actually bet on your model, you need a LOT more analysis.
|