advance analytics are based on teams that have had similar rosters. For instance, the current Raptors are 97% similar to the 2002 timberwolves. The 2004 Bulls are 96% similar to the current 76ers. Then there are massive amounts of simulations done to get an extremely accurate prediction.