Skip to content

Instantly share code, notes, and snippets.

@isaactpetersen
Last active August 29, 2015 14:25
Show Gist options
  • Save isaactpetersen/aa819ec338c8f4047da2 to your computer and use it in GitHub Desktop.
Save isaactpetersen/aa819ec338c8f4047da2 to your computer and use it in GitHub Desktop.
Adjusts players' auction values by the number of teams in the league (and the player's position, position rank, and AAV in a 10-team league)
lme(aav ~ 1 + numTeams * I(numTeams^2) * auctionValue * positionRank * position, random = ~ 1 + numTeams|player, method="REML", data=aavData)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment