{"id":2262,"date":"2022-03-14T02:20:00","date_gmt":"2022-03-14T02:20:00","guid":{"rendered":"http:\/\/optimumsportsperformance.com\/blog\/?p=2262"},"modified":"2022-03-14T14:08:43","modified_gmt":"2022-03-14T14:08:43","slug":"tidyx-97-simulating-distributions-in-r","status":"publish","type":"post","link":"https:\/\/optimumsportsperformance.com\/blog\/tidyx-97-simulating-distributions-in-r\/","title":{"rendered":"TidyX 97: Simulating Distributions in R"},"content":{"rendered":"<p>This week, <span style=\"color: #0000ff;\"><strong><a style=\"color: #0000ff;\" href=\"https:\/\/twitter.com\/ellis_hughes\">Ellis Hughes<\/a><\/strong><\/span> and I begin a new series titled, <strong>Sampling, Simulations, and Intro to Bayes.<\/strong> To get us started we begin this first episode by discussing how to use the various distribution functions in R for doing things like simulating a random draw, cumulative density function, probability mass\/probability density functions, and quantiles. We then walk through an example of how to use these functions to create random samples of intercepts and slopes from a regression model and plot our uncertainty.<\/p>\n<p>To watch the screen cast, <strong><span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/www.youtube.com\/watch?v=qlGLif086Zo\">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\/097-Simulating_Data-Intro_to_Distributions\">CLICK HERE<\/a><\/strong><\/span>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This week, Ellis Hughes and I begin a new series titled, Sampling, Simulations, and Intro to Bayes. To get us started we begin this first episode by discussing how to use the various distribution functions in R for doing things like simulating a random draw, cumulative density function, probability mass\/probability density functions, and quantiles. 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-2262","post","type-post","status-publish","format-standard","hentry","category-tidyx-screen-cast"],"_links":{"self":[{"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/posts\/2262","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=2262"}],"version-history":[{"count":1,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/posts\/2262\/revisions"}],"predecessor-version":[{"id":2263,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/posts\/2262\/revisions\/2263"}],"wp:attachment":[{"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/media?parent=2262"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/categories?post=2262"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/optimumsportsperformance.com\/blog\/wp-json\/wp\/v2\/tags?post=2262"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}