{"id":1963,"date":"2021-02-08T02:54:53","date_gmt":"2021-02-08T02:54:53","guid":{"rendered":"http:\/\/optimumsportsperformance.com\/blog\/?p=1963"},"modified":"2021-02-08T14:36:08","modified_gmt":"2021-02-08T14:36:08","slug":"tidyx-48-monte-carlo-simulation-for-nba-match-ups","status":"publish","type":"post","link":"https:\/\/optimumsportsperformance.com\/blog\/tidyx-48-monte-carlo-simulation-for-nba-match-ups\/","title":{"rendered":"TidyX 48: Monte Carlo Simulation for NBA Match Ups"},"content":{"rendered":"<p><span style=\"color: #0000ff;\"><strong><a style=\"color: #0000ff;\" href=\"https:\/\/optimumsportsperformance.com\/blog\/tidyx-47-nhl-win-probability-r-optimizer-gt-tables\/\">Last week<\/a><\/strong><\/span>, we used an R optimizer to build a model for predicting game outcomes in the NHL. This week, <strong><span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/twitter.com\/ellis_hughes\">Ellis Hughes<\/a><\/span><\/strong> and I continue on that work and build a <strong><span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/en.wikipedia.org\/wiki\/Monte_Carlo_method#Monte_Carlo_simulation_versus_%22what_if%22_scenarios\">Monte Carlo Simulation<\/a><\/span><\/strong> for forecasting NBA games. We use the model to obtain the probability that one team beats the other and then we extract the estimated margin of victory from our simulation and reflect the entire distribution of estimated values, rather than just a single point estimate.<\/p>\n<p>To watch the screen cast, <strong><span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/www.youtube.com\/watch?v=T7wLcVLqwoU&amp;feature=youtu.be\">CLICK HERE<\/a><\/span><\/strong>.<\/p>\n<p>To access our code, <span style=\"color: #0000ff;\"><strong><a style=\"color: #0000ff;\" href=\"https:\/\/github.com\/thebioengineer\/TidyX\/tree\/master\/TidyTuesday_Explained\/048-NBA_Game_Simulations\">CLICK HERE<\/a><\/strong><\/span>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Last week, we used an R optimizer to build a model for predicting game outcomes in the NHL. This week, Ellis Hughes and I continue on that work and build a Monte Carlo Simulation for forecasting NBA games. We use the model to obtain the probability that one team beats the other and then we [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[44],"tags":[],"class_list":["post-1963","post","type-post","status-publish","format-standard","hentry","category-tidyx-screen-cast"],"_links":{"self":[{"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/posts\/1963","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/comments?post=1963"}],"version-history":[{"count":1,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/posts\/1963\/revisions"}],"predecessor-version":[{"id":1964,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/posts\/1963\/revisions\/1964"}],"wp:attachment":[{"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/media?parent=1963"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/categories?post=1963"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/tags?post=1963"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}