A statistical approach to basketball score prediction.
ScoreWise is a web application that implements a statistical algorithm for predicting basketball game scores. The algorithm analyzes historical head-to-head matchup data and bookmaker alternatives to provide recommendations for Over/Under bets.
- Input match information and bookmaker data
- Enter historical head-to-head matchups (minimum 6 required)
- Calculate predictions based on the ScoreWise algorithm
- View detailed analysis and betting recommendations
- Open
index.htmlin a web browser - Fill in the match information (tournament, teams, date, etc.)
- Enter the bookmaker alternatives (total match score, team scores)
- Add at least 6 historical head-to-head matchups with their scores
- Click "Calculate Prediction" to see the results
- Review the recommendations for match total, home team total, and away team total
The ScoreWise algorithm follows these steps:
- Data Collection: Gather H2H data for at least 6 previous matchups and bookmaker alternatives
- Statistical Analysis:
- Calculate total scores for each historical matchup
- Calculate averages (match total, home team, away team)
- Calculate rate values (difference between actual scores and bookmaker alternatives)
- Calculate average rates
- Perform test adjustments (±7 points)
- Prediction Rules:
- Over Bet: When average rate is between +7 and +20, at least 4 of 6 previous matches had higher scores, and decrement test ≥ 1
- Under Bet: When average rate is between -7 and -20, at least 4 of 6 previous matches had lower scores, and increment test ≤ -1
- No Bet: When neither Over nor Under criteria are fully satisfied
The application includes functionality to analyze matchups like the example in the algorithm documentation (Olympiacos SFP Pireus vs AEK Athens).
- HTML5
- CSS3
- JavaScript (Vanilla)
This project is licensed under the MIT License.