1 Introduction

hooplyticsR, a data-driven project, analyzes basketball player performance using advanced statistical techniques and data visualization from the nbastatR package. It provides in-depth insights into player performance variability and trends by analyzing key metrics like points, rebounds, assists, and fantasy scores. The project aims to create an interactive platform for analyzing basketball data, identifying patterns, and supporting decision-making in player evaluation and fantasy basketball. hooplyticsR makes basketball data more accessible and actionable through statistical analysis and powerful visualizations.

2 Player Statistics

This section provides a detailed statistical overview of various basketball players based on their performance across multiple metrics. For each player, we calculate both average values and standard deviations for key performance indicators such as points, rebounds, assists, and fantasy scores. These calculations allow for an in-depth understanding of a player’s consistency and overall impact on the game.

2.1 Key Statistics Included

  1. Games Played: The total number of games each player participated in.
  2. Average Points: The player’s average points scored per game.
  3. Average Rebounds: The average number of rebounds grabbed per game.
  4. Average Assists: The average number of assists made per game.
  5. Average Points + Rebounds + Assists (PRA): A combined measure of points, rebounds, and assists to give a broader view of overall player contribution.
  6. Average 3-Point Field Goals Made: The average number of successful three-pointers made per game.
  7. Average Steals + Blocks: A combined statistic for steals and blocks, reflecting a player’s defensive impact.
  8. Average Turnovers: The average number of turnovers committed per game.
  9. Average Fantasy Score: A calculated fantasy score based on points, rebounds, assists, steals, blocks, and turnovers.
  10. Standard Deviation (SD) Values: For each key metric, the standard deviation is provided, indicating how consistent the player is across games.

This summary is generated for each player, providing a clear and concise view of their performance and variability over time. The summary can be used to identify trends, strengths, and areas for improvement, and can be easily included in reports or further analysis.

2.1.1 Domantas Sabonis

Games Played: 628
Average Points: 16.12
Average Rebounds: 10.62
Average Assists: 4.88
Average PRA: 31.61
Average 3PM: 0.48
Average Steals+Blocks: 1.23
Average Turnovers: 2.57
Average Fantasy Score: 37.29
Consistency (Standard Deviation):
Points: 7.47
Rebounds: 4.90
Assists: 3.42
PRA: 13.01
3PM: 0.76
Steals+Blocks: 1.17
Turnovers: 1.74
Fantasy Score: 15.51

The lower the standard deviation (SD), the more consistent the player is across games. A high SD indicates variability, suggesting the player’s performance is less predictable.

For instance, a low SD in points means the player typically scores within a narrow range, while a high SD might indicate fluctuating performance.


2.1.2 Jimmy Butler III

Games Played: 652
Average Points: 21.09
Average Rebounds: 5.82
Average Assists: 5.08
Average PRA: 31.99
Average 3PM: 0.85
Average Steals+Blocks: 2.21
Average Turnovers: 1.81
Average Fantasy Score: 40.51
Consistency (Standard Deviation):
Points: 7.94
Rebounds: 2.78
Assists: 2.73
PRA: 9.76
3PM: 1.08
Steals+Blocks: 1.56
Turnovers: 1.40
Fantasy Score: 12.31

The lower the standard deviation (SD), the more consistent the player is across games. A high SD indicates variability, suggesting the player’s performance is less predictable.

For instance, a low SD in points means the player typically scores within a narrow range, while a high SD might indicate fluctuating performance.


2.1.3 Shai Gilgeous-Alexander

Games Played: 439
Average Points: 23.99
Average Rebounds: 4.79
Average Assists: 5.01
Average PRA: 33.78
Average 3PM: 1.28
Average Steals+Blocks: 2.23
Average Turnovers: 2.33
Average Fantasy Score: 41.62
Consistency (Standard Deviation):
Points: 10.27
Rebounds: 2.67
Assists: 2.58
PRA: 12.65
3PM: 1.15
Steals+Blocks: 1.62
Turnovers: 1.51
Fantasy Score: 15.87

The lower the standard deviation (SD), the more consistent the player is across games. A high SD indicates variability, suggesting the player’s performance is less predictable.

For instance, a low SD in points means the player typically scores within a narrow range, while a high SD might indicate fluctuating performance.


2.1.4 Stephen Curry

Games Played: 666
Average Points: 26.92
Average Rebounds: 5.02
Average Assists: 6.23
Average PRA: 38.17
Average 3PM: 4.57
Average Steals+Blocks: 1.73
Average Turnovers: 3.08
Average Fantasy Score: 44.39
Consistency (Standard Deviation):
Points: 9.42
Rebounds: 2.37
Assists: 2.70
PRA: 10.22
3PM: 2.37
Steals+Blocks: 1.34
Turnovers: 1.75
Fantasy Score: 11.62

The lower the standard deviation (SD), the more consistent the player is across games. A high SD indicates variability, suggesting the player’s performance is less predictable.

For instance, a low SD in points means the player typically scores within a narrow range, while a high SD might indicate fluctuating performance.


2.2 Player Performance Table

The following table summarizes each player’s performance across key metrics, allowing for easy comparison. It includes averages for essential statistics such as points, rebounds, assists, fantasy scores, and more.

2.2.1 Key Metrics

  • Games Played: Number of games the player participated in.
  • Average Points: The player’s average points scored.
  • Average Rebounds: The player’s average rebounds.
  • Average Assists: The player’s average assists.
  • Average PRA (Points + Rebounds + Assists): The combined average of points, rebounds, and assists.
  • Average 3PM: The average number of three-pointers made.
  • Average Steals + Blocks: The combined average of steals and blocks.
  • Average Turnovers: The average number of turnovers committed.
  • Average Fantasy Score: The player’s average fantasy score.
Player Performance Breakdown
Player Games Played Average Points Average Rebounds Average Assists Average PRA (Pts + Rebs + Assists) Average 3PM Average Steals + Blocks Average Turnovers Average Fantasy Score
Domantas Sabonis 628 16.12 10.62 4.88 31.61 0.48 1.23 2.57 37.29
Jimmy Butler III 652 21.09 5.82 5.08 31.99 0.85 2.21 1.81 40.51
Shai Gilgeous-Alexander 439 23.99 4.79 5.01 33.78 1.28 2.23 2.33 41.62
Stephen Curry 666 26.92 5.02 6.23 38.17 4.57 1.73 3.08 44.39

3 Player Performance Visualizations

This section uses visualizations to highlight key player performance statistics and their variability. It explores the distribution and consistency of metrics like scoring, rebounds, assists, three-pointers, turnovers, and fantasy scores. Examining the overall distribution provides insights into player consistency and overall contributions. The visualizations reveal trends and patterns, helping identify more consistent players and aid data-driven decision-making.

3.1 Total Points

3.2 Total Rebounds

3.3 Total Assists

3.4 Total Points + Rebounds + Assists

3.5 Total Three-Pointers Made

3.6 Total Steals + Blocks

3.7 Total Turnovers

3.8 Total Fantasy Score

4 Predictions

In this section, we explore machine learning to predict basketball player performance using historical data. We aim to forecast key statistics like points, rebounds, assists, and fantasy scores with precision. These predictions provide valuable insights for fantasy basketball decisions, player evaluation, and team strategies. Whether drafting or analyzing game performance, our data-driven predictions give you a competitive edge.

4.1 Domantas Sabonis

Player: Domantas Sabonis | Best Prediction: 54.95 | Best Model: fantasy_score_model | Decision: More
Prediction Projection Threshold Adjusted_Threshold Five_Game_Avg Decision
points_model 26.60 23.02 23.02 25.32 NA More
rebounds_model 12.80 11.50 11.85 13.04 15.0 Less
assists_model 5.37 5.50 5.50 6.05 NA Less
total_pra_model 44.50 35.07 35.07 38.58 NA More
threepm_model 1.00 2.00 2.00 2.20 NA Less
stl_blk_model 1.86 1.89 1.89 2.08 NA Less
turnovers_model 2.67 2.54 2.54 2.80 NA Less
fantasy_score_model 54.95 46.00 45.62 50.18 42.2 More

4.2 Jimmy Butler III

Player: Jimmy Butler III | Best Prediction: 44.06 | Best Model: fantasy_score_model | Decision: More
Prediction Projection Threshold Adjusted_Threshold Five_Game_Avg Decision
points_model 21.20 19.50 19.29 21.22 17.40 Less
rebounds_model 9.00 6.41 6.41 7.05 NA More
assists_model 4.05 5.50 5.50 6.05 NA Less
total_pra_model 34.83 35.07 35.07 38.58 NA Less
threepm_model 0.00 2.00 2.00 2.20 NA Less
stl_blk_model 1.26 1.50 1.53 1.68 1.80 Less
turnovers_model 2.91 2.54 2.54 2.80 NA More
fantasy_score_model 44.06 38.50 38.40 42.24 37.48 More

4.3 Shai Gilgeous-Alexander

Player: Shai Gilgeous-Alexander | Best Prediction: 62.34 | Best Model: fantasy_score_model | Decision: More
Prediction Projection Threshold Adjusted_Threshold Five_Game_Avg Decision
points_model 42.60 31.50 31.75 34.93 34.00 More
rebounds_model 3.00 6.41 6.41 7.05 NA Less
assists_model 5.47 5.50 5.50 6.05 NA Less
total_pra_model 58.50 35.07 35.07 38.58 NA More
threepm_model 2.00 2.00 2.00 2.20 NA Less
stl_blk_model 2.88 1.89 1.89 2.08 NA More
turnovers_model 3.19 2.54 2.54 2.80 NA More
fantasy_score_model 62.34 50.50 50.80 55.88 53.52 More

4.4 Stephen Curry

Player: Stephen Curry | Best Prediction: 47.36 | Best Model: fantasy_score_model | Decision: More
Prediction Projection Threshold Adjusted_Threshold Five_Game_Avg Decision
points_model 33.80 24.50 25.37 27.91 33.20 More
rebounds_model 4.00 6.41 6.41 7.05 NA Less
assists_model 8.61 5.50 5.50 6.05 NA More
total_pra_model 43.83 35.00 35.86 39.45 43.60 More
threepm_model 8.25 2.00 2.00 2.20 NA More
stl_blk_model 1.96 1.89 1.89 2.08 NA Less
turnovers_model 3.38 2.54 2.54 2.80 NA More
fantasy_score_model 47.36 39.00 39.86 43.85 47.62 More