Skip to content

Latest commit

 

History

History
358 lines (350 loc) · 16.3 KB

stats.md

File metadata and controls

358 lines (350 loc) · 16.3 KB

Stats Explained

An explanation of some stats offered in this library that may not be obvious.

This is not a list of all stats in this library.

To see a list of all stats retrieved by this library, see the following models:


Table of Contents


Adjusted Team Luck


Purpose

Team Luck is used to show how much more successful an owner's teams have been than what they should have been.

Formula

Adjusted Team Luck = ATSu - ATSc

WHERE:
ATSc = Adjusted Team Score
ATSu = Adjusted Team Success

Formula Explained

This is a good stat for analyzing how lucky an owner's teams have been throughout the lifespan of a league.
Note: This stat is more accurate with larger sample sizes (the more games played, the better).

Adjusted Team Score


Purpose

Adjusted Team Score is a score given to an owner of a team that is representative of how "good" their teams have been.
It is the sister score of Adjusted Team Success.

Formula

Adjusted Team Score = Σ Y [TSc * (N / T)]

WHERE:
Y = Each year in a league
TSc = Team Score
N = Number of games played in a year
T = Total number of games played in a league

Formula Explained

This is a good stat for analyzing how good an owner's teams have been throughout the lifespan of a league.
Note: This stat is more accurate with larger sample sizes (the more games played, the better).

Adjusted Team Success


Purpose

Adjusted Team Success is a score given to an owner of a team that is representative of how successful their teams have been.
It is the sister score of Adjusted Team Score.

Formula

Adjusted Team Success = Σ Y [TSu * (N / T)]

WHERE:
Y = Each year in a league
TSu = Team Success
N = Number of games played in a year
T = Total number of games played in a league

Formula Explained

This is a good stat for analyzing how successful an owner's teams have been throughout the lifespan of a league.
Note: This stat is more accurate with larger sample sizes (the more games played, the better).

AWAL


Purpose

AWAL stands for Adjusted Wins Against the League.
It is exactly that, an adjustment added to the Wins Against the League ( or WAL) of a team.
In simple terms, this stat more accurately represents how many WAL any given team should have.
Ex: A team with 6.3 AWAL "deserves" 6.3 WAL.

Formula

AWAL = W * (1/L) + T * (0.5/L)
Where:
W = Teams outscored in a week
T = Teams tied in a week
L = Opponents in a week (usually league size - 1)

Formula Explained

To properly calculate AWAL, the AWAL must be calculated once for each team every week. Each week's AWAL can then be added together to create an aggregate AWAL for each team. A team's AWAL for any given week will always be between 0 and 1 (inclusive).

League Median Wins


Purpose

League Median Wins represents the number of wins a team has against the median score of the league. This stat is calculated each week of the regular season and a team is given a League Median Win if their score is above the league median.

Formula

League Median Wins = μS
Where:
μ = Denotes the median
S = All scores in a given week

Formula Explained

Note: This stat is only calculated for regular season games in leagues where there is a setting for a League Median Game.

Margins of Victory


Purpose

Margins of Victory (or MOV) is used to measure the magnitude of any given win.

Formula

(In any given matchup)
MOV = |Team A Score - Team B Score|
OR
MOV = Winning Team Score - Losing Team Score

Formula Explained

Note: Margins of Victory must be greater than 0.
Games that result in a Tie will never qualify for the Margins of Victory stat.

Max Score


Purpose

Max Score is used to retrieve the highest score for an individual team.
It is the inverse of Min Score.

Formula

Max Score = max(A)
WHERE:
A = Every score by a single team within a sample

Formula Explained

Note: If a team has multiple "max" scores, this does not change the outcome.
Ex: A team with scores: [100, 105, 104, 102] has a Max Score of 105.
AND
A team with scores: [99, 105, 105, 101] has a Max Score of 105.

Max Scoring Share


Purpose

Max Scoring Share is used to retrieve the highest scoring share for an individual team.
It is the inverse of Min Scoring Share.

Formula

Max Scoring Share = max(S(A))
WHERE:
S = Scoring Share
A = Every score by a single team within a sample

Formula Explained

This can be used with Max Score to identify outliers of single-game performances.
Since this is calculated relative to the rest of what the league scored, it is resilient to scoring changes across seasons.

Min Score


Purpose

Min Score is used to retrieve the lowest score for an individual team.
It is the inverse of Max Score.

Formula

Min Score = min(A)
WHERE:
A = Every score by a single team within a sample

Formula Explained

Note: If a team has multiple "min" scores, this does not change the outcome.
Ex: A team with scores: [100, 105, 104, 102] has a Min Score of 100.
AND
A team with scores: [99, 100, 100, 101] has a Min Score of 100.

Min Scoring Share


Purpose

Min Scoring Share is used to retrieve the lowest scoring share for an individual team.
It is the inverse of Max Scoring Share.

Formula

Min Scoring Share = min(S(A))
WHERE:
S = Scoring Share
A = Every score by a single team within a sample

Formula Explained

This can be used with Min Score to identify outliers of single-game performances.
Since this is calculated relative to the rest of what the league scored, it is resilient to scoring changes across seasons.

Plus Minus


Purpose

Plus Minus (+/-) is used to show the net score differential for a team within a sample.

Formula

Plus Minus = ΣA - ΣB
WHERE:
A = All scores by a team within a sample
B = All scores against a team within a sample

Formula Explained

Plus/Minus can be a misleading stat, as a team with a high Plus/Minus isn't necessarily a better team than one with a low Plus/Minus.
However, it is typically a good indication of how successful a team was, as a positive net score differential typically translates to more wins.

Scoring Share


Purpose

Scoring Share is used to show what percentage of league scoring a team was responsible for.

Formula

Scoring Share = ((ΣA) / (ΣB)) * 100
WHERE:
A = All scores by a team within a sample
B = All scores by all teams within a sample

Formula Explained

Scoring Share is a good way to compare how a team performed in a league one year vs another year.
While 100 Points Scored Per Game one year may not be equivalent to 100 Points Scored Per Game another year,
scoring 10% of the league's points will be equivalent to scoring 10% of the league's points another year.

Scoring Standard Deviation


Purpose

Scoring Standard Deviation is used to show how volatile a team's scoring was.
This stat measures a team's scores relative to the Points Scored Per Game of all of their scores.

Formula

Scoring Standard Deviation = sqrt((Σ|x-u|²)/N)
WHERE:
x = A score
u = PPG
N = Number of scores (typically weeks played)

Formula Explained

A team with low Scoring Standard Deviation has been consistent in their scoring patterns.
A team with high Scoring Standard Deviation has been volatile in their scoring patterns.
It should be noted that if a team has lower Scoring Standard Deviation than another team, it is not an indication that the team with lower Scoring Standard Deviation has performed better.
Ex: Team A has scores: [100, 120, 150, 160] and a Scoring STDEV of 23.8
Team B has scores: [70, 72, 71, 69] and a Scoring STDEV of 1.12
Team B has a lower Scoring STDEV than Team A, but has definitely performed worse.

Smart Wins


Purpose

Smart Wins show how many wins a team would have if it played against every score in the league within a sample.

Formula

Smart Wins = Σ((W + (T/2)) / S)
WHERE:
W = Total scores in the league beat within a sample
T = Total scores in the league tied within a sample
S = Number of scores in the league within a sample - 1

Formula Explained

Smart Wins is a good compliment to AWAL when comparing both to a team's WAL.
Smart Wins is better than AWAL at giving a team credit if they lose by a small margin in any given week.

Team Luck


Purpose

Team Luck is used to show how much more successful a team was than what they should have been.

Formula

Team Luck = Team Success - Team Score

Formula Explained

A team with a higher Team Success than Team Score likely has a higher WAL than they deserve.
Team Luck helps to quantify just how much better a team ended up than they should have.
A team with 0 Team Luck has a "fair" amount of WAL .
A team with positive (+) Team Luck has a higher amount of WAL than they deserve.
A team with negative (-) Team Luck has a lower amount of WAL than they deserve.
Note: This stat is more accurate with larger sample sizes (the more games played, the better).
Note2: The sum of all Team Luck's within a league will be ≈ 0.

Team Score


Purpose

Team Score is a score given to a team that is representative of how "good" that team is.
It is the sister score of Team Success.

Formula

Team Score = ((AWAL / G) * 100) + (Scoring Share * 2) + ((Max Score + Min Score) * 0.05)

WHERE:
G = Total games played by a team within a sample

Formula Explained

This formula uses several "magic" numbers as multipliers, which typically should be avoided.
However, these numbers can be tweaked and the general Team Score for each team relative to the league will remain roughly the same.
Note: This stat is more accurate with larger sample sizes (the more games played, the better).

Team Success


Purpose

Team Success is a score given to a team that is representative of how successful that team has been.
It is the sister score of Team Score.

Formula

Team Success = ((WAL / G) * 100) + (Scoring Share * 2) + ((Max Score + Min Score) * 0.05)
WHERE:
G = Total games played by a team in a sample size

Formula Explained

This formula uses several "magic" numbers as multipliers, which typically should be avoided.
However, these numbers can be tweaked and the general Team Success for each team relative to the league will remain roughly the same.
Note: This stat is more accurate with larger sample sizes (the more games played, the better).

WAL


Purpose

WAL stands for Wins Against the League.
It is representative of the total amount of wins and ties a team has.

Formula

WAL = W + (T * 0.5)
WHERE:
W = Total number of wins a team has within a sample
T = Total number of ties a team has within a sample

Formula Explained

WAL is a quick and useful stat that is used typically to see how successful a team has been.

Win Percentage


Purpose

Win Percentage is WAL represented as a percentage ( %).

Formula

Win Percentage = WAL / G
WHERE:
G = Total number of games played by a team within a sample

Formula Explained

Win Percentage is simply another way of representing how successful a team has been throughout a sample.