Skip to content
Simulation of 2019 NHL Entry Draft
R Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
2019 Draft Sim -
2019DraftSimStats - Public.R


Simulation of 2019 NHL Entry Draft

Repository consists of 7 main files.

1. SimResultsRaw.csv
	a. A CSV of the raw sim results of my 1 million sims
2. SimResultsAvg.csv
	a. A CSV of the average pick location of each player
	b. Used in the R scripts
3. SimResultsCumul.csv
	a. A CSV of the cumulative probability of each player remaining
4. 2019 Draft Sim -
	a. The actual simulation
	b. Has been modified to only intake 15 rankings as 2 paywalled rankings were removed
	c. Ensure the rankings are in the same directory (rnk1.txt, rnk2.txt etc) as the script reads these in
	d. There are some comments in this code but it is not overly user-friendly
	e. Admittedly, hard-coding the dictionary of players is stupid
	a. A zip of the txt versions of the rankings
	b. Needs to be exported into the same directory as the sim in order for that to run
6. 2019DraftSimStats - Public.R
	a. The R script I used to create all the graphs
	b. Consists of a few sections; 
  >The reading of data (ensure data is in source directory)
  > the reshaping of the data
  > the violin plot maker (can edit names manually)
  > the individual graph maker (can edit player manually)
  > the graph iterater (iterates through data frame and charts each player)
a. A zip folder of the images I used
You can’t perform that action at this time.