In the NBA, are fouls more likely to be called on a team leading by a significant margin?

George C. Privon a9f640a65e add start of writeup 6 năm trước cách đây
code baa26f960c rename download script to matching naming patterns 6 năm trước cách đây
data c910549739 add download script from khondula 6 năm trước cách đây
writeup a9f640a65e add start of writeup 6 năm trước cách đây
.gitignore dd13560883 ignore figures directory, note download script 6 năm trước cách đây
README.md 613519486f better blockquote 6 năm trước cách đây
foul_bias.Rproj 4e0b2e9c8e strip trailing whitespace 6 năm trước cách đây

README.md

NBA Foul Bias Analysis

If you've watched any NBA in the past decade you can see a trend of calling fouls against teams that are winning too heavily against favorites. It's not hard.

drenvuk, 20 February 2019

Is this true?

This project uses play by play data from Eight Thirty Four to answer this question.