PDA

View Full Version : QB rating in individual stats


finkellll
09-28-2020, 06:54 AM
Anyone have the formula for this? I can use the NFL passer rating to calculate a score out of game, but I was curious if the in game one is a known equation or not.

henry296
09-28-2020, 07:32 AM
It should be the same one as the NFL.

Ben E Lou
09-28-2020, 07:35 AM
(( LEAST(((((sum(s.passcompletions)/sum(s.passattempts)) * 100) -30) / 20), 2.375) + LEAST((((sum(s.tdpasses)/sum(s.passattempts)) * 100) / 5), 2.375) + LEAST(((9.5-((sum(s.intthrown)/sum(s.passattempts)) * 100)) / 4), 2.375) + LEAST((((sum(s.passyards)/sum(s.passattempts)) - 3) / 4), 2.375)) / .06)

finkellll
09-28-2020, 07:44 AM
Thanks, I calculated it out from the equation used here: Passer rating - Wikipedia (https://en.wikipedia.org/wiki/Passer_rating)

I thought they were different ratings for some reason. The in game formula is the same as the NFL one.


MySql equation:

round(100*(((((sum(pass_completions)/sum(pass_attempts))-0.3)*5)+(((sum(passing_yards)/sum(pass_attempts))-3)*0.25)+((sum(touchdown_passes)/sum(pass_attempts))*20)+(2.375-(sum(intercepted)/sum(pass_attempts))*25))/6),1) as NFL_rating