Modeling long term team oscillation

Steerpike

We are never give up
Feb 15, 2014
1,793
1,747
Colorado
Okay so I've been working on this for several days now and I thought I'd ask what yall thought.

I think it's clear to everyone that most teams go through strong and weak periods do to the way that the draft makes bad teams better/good teams worse. I'm seeking to model this as realistically as possible.

At some point I intend to look into making the model more complex, but for now all that happens is that there are 6 teams and each team has a roster of 75 players. Each player has a talent rating determined by their age/draft position and each year a team's talent rating is the sum of the best 20 player talent scores. The teams are then ranked and the best team wins a fictional Stanley cup. Then each team drafts 5 players, replacing the oldest 5 players on the roster.

While I'm hoping to add some random elements to this at some point, for now talent is the product of a player's draft_talent:

17.0 / (draftPos + 16)

r1YeeNM.png


And their age_effect: (Each player is 0 when drafted and retires after 15 years)

(-1)(age)(age-15)

bLJw6lv.png



For 6 teams this produced:

HX5zVgk.png


For 12 teams this produced:

vsQoqVX.png



For more teams there's too much going on to see anything.

What do you think?
The most interesting thing is how some teams have a high amplitude oscillation while others stay at the middle of the pack. The period of oscillation is interesting. The way that teams naturally fall into a pattern where each team peaks a few years apart.

The weakest part of this is probably
1) my estimation of the age_effect
2) players never leaving in free agency
3) no salary cap problems.
4) How deterministic the model is. If someone can come up with an effective way of randomizing player careers/individual years that would help.

If anyone can think of simple means of altering the model to account for these it would be great!



If anyone wants the C++ code just holler.




Also, in case anyone is interested, the teams are initialized by giving them the same draft pick for years -14 to year 0 (the top team has had the last 14 first overall picks at year 0. For years 0-9 or so they are drafting last.
 
Last edited:

Bear of Bad News

Your Third or Fourth Favorite HFBoards Admin
Sep 27, 2005
13,556
27,168
This is pretty interesting - thanks for sharing it!

Aside from the considerations that you made, I'd probably add a perturbation factor to each player's ability (just to account for the randomness inherent in this process).

Ultimately if I were to start this from scratch, I'd build it as an agent-based model just to make any interactions easier to handle. That's not a problem yet, but as you add more complexity it will make things a whole lot easier.
 

Steerpike

We are never give up
Feb 15, 2014
1,793
1,747
Colorado
It is agent based I think.

There is a player class and each team class has an array of 75 players. (draft 5 players each year x careers last 15 years = 75)

That's agent based no?
 

Ad

Upcoming events

Ad

Ad