{"id":8717,"date":"2022-05-12T21:46:22","date_gmt":"2022-05-12T21:46:22","guid":{"rendered":"https:\/\/community.visualdatatools.com\/datagraph\/?p=8717"},"modified":"2022-05-13T16:07:55","modified_gmt":"2022-05-13T16:07:55","slug":"monte-carlo-analysis-in-datagraph","status":"publish","type":"post","link":"https:\/\/community.visualdatatools.com\/datagraph\/2022\/05\/12\/monte-carlo-analysis-in-datagraph\/","title":{"rendered":"Monte Carlo Analysis in DataGraph"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">This webinar will teach you how to conduct a basic Monte Carlo Analysis using DataGraph. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Monte Carlo Analysis allows you to represent variability and uncertainly in what would otherwise be a single, deterministic calculation. This approach is used in multiple fields such as financial analysis and health risk assessment. The basic approach involves generating distributions of data and using those to calculate results.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this webinar, we provide some background information and demonstrate this technique using the two examples summarized below.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>00:00 &#8211; Introduction <\/li><li>01:29 &#8211; Background <\/li><li>08:42 &#8211; Basic Example <\/li><li>24:01 &#8211; Discrete and Continuous <\/li><li>33:00 &#8211; Q&amp;A <\/li><li>41:19 &#8211; Demo for Weibull Distribution <\/li><li>44:17 &#8211; Next time &#8230;<\/li><\/ul>\n\n\n<figure class=\"wp-block-embed wp-block-embed-youtube is-type-video is-provider-youtube epyt-figure\"><div class=\"wp-block-embed__wrapper\"><div class=\"epyt-video-wrapper\"><iframe loading=\"lazy\"  style=\"display: block; margin: 0px auto;\"  id=\"_ytid_73679\"  width=\"920\" height=\"518\"  data-origwidth=\"920\" data-origheight=\"518\"  data-relstop=\"1\" src=\"https:\/\/www.youtube.com\/embed\/jrr9FvOOaLc?enablejsapi=1&#038;autoplay=0&#038;cc_load_policy=0&#038;cc_lang_pref=&#038;iv_load_policy=1&#038;loop=0&#038;rel=0&#038;fs=1&#038;playsinline=0&#038;autohide=2&#038;theme=dark&#038;color=red&#038;controls=1&#038;disablekb=0&#038;\" class=\"__youtube_prefs__  no-lazyload\" title=\"YouTube player\"  allow=\"fullscreen; accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen data-no-lazy=\"1\" data-skipgform_ajax_framebjll=\"\"><\/iframe><\/div><\/div><\/figure>\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Basic Monte Carlo<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The first example we explore in DataGraph is a basic Monte Carlo analysis.  In this example a simple deterministic calculation is used to demonstrate how each variable can be represented using a distribution.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In DataGraph, the distributions are generated using the <strong>nrand<\/strong> function.  The distributions are used to calculated outcomes that can be analyzed to determine the mean and standard deviation of the result, along with specific percentiles. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"438\" src=\"https:\/\/community.visualdatatools.com\/app\/uploads\/sites\/2\/2022\/05\/image-1024x438.png\" alt=\"\" class=\"wp-image-8720\" srcset=\"https:\/\/community.visualdatatools.com\/app\/uploads\/sites\/2\/2022\/05\/image-1024x438.png 1024w, https:\/\/community.visualdatatools.com\/app\/uploads\/sites\/2\/2022\/05\/image-300x128.png 300w, https:\/\/community.visualdatatools.com\/app\/uploads\/sites\/2\/2022\/05\/image-50x21.png 50w, https:\/\/community.visualdatatools.com\/app\/uploads\/sites\/2\/2022\/05\/image-1536x657.png 1536w, https:\/\/community.visualdatatools.com\/app\/uploads\/sites\/2\/2022\/05\/image-2048x876.png 2048w, https:\/\/community.visualdatatools.com\/app\/uploads\/sites\/2\/2022\/05\/image-920x393.png 920w, https:\/\/community.visualdatatools.com\/app\/uploads\/sites\/2\/2022\/05\/image-600x257.png 600w, https:\/\/community.visualdatatools.com\/app\/uploads\/sites\/2\/2022\/05\/image-320x137.png 320w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Marketing Example<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The second example discussed in this webinar is a Monte Carlo simulation of profit.  This is an example was published on Medium (<a href=\"https:\/\/medium.com\/analytics-vidhya\/application-of-monte-carlo-simulation-in-marketing-811f9e6b07e4\">Application of Monte Carlo Simulation in Marketing<\/a>, October 2020). In that article, code is provide to conduct the simulation in R.  We use the same example here in DataGraph.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This is example uses a function to estimate the distributions of profit using discrete and continuous input distributions.  The discrete distribution is created using the <strong>rand<\/strong> function and the continuous distribution is generated using the <strong>nrand<\/strong> function.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"576\" height=\"180\" src=\"https:\/\/community.visualdatatools.com\/app\/uploads\/sites\/2\/2022\/05\/example1.svg\" alt=\"\" class=\"wp-image-8725\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The result is a simulation of net profit.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"576\" height=\"288\" src=\"https:\/\/community.visualdatatools.com\/app\/uploads\/sites\/2\/2022\/05\/Results.svg\" alt=\"\" class=\"wp-image-8726\" \/><\/figure>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Example Files <\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Details on how these examples are created are covered in the webinar. DataGraph files for each example can be access using <strong>File &gt; On-line<\/strong> examples from within DataGraph.  They are saved in the Analysis section.<\/p>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">References<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Thomopoulos, Nick T. Essentials of Monte Carlo Simulation Statistical Methods for Building Simulation Models. New York, NY: Springer, 2013. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Hariharan. Application of Monte Carlo Simulation in Marketing, Medium.com, Oct 12, 2020. <a href=\"https:\/\/medium.com\/analytics-vidhya\/application-of-monte-carlo-simulation-in-marketing-811f9e6b07e4\">https:\/\/medium.com\/analytics-vidhya\/application-of-monte-carlo-simulation-in-marketing-811f9e6b07e4<\/a><\/p>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>This webinar will teach you how to conduct a basic Monte Carlo Analysis using DataGraph. Monte Carlo Analysis allows you to represent variability and uncertainly in what would otherwise be a single, deterministic calculation. This approach is used in multiple fields such as financial analysis and health risk assessment. The basic approach involves generating distributions [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":8730,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[116],"tags":[],"class_list":["post-8717","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-webinar"],"rttpg_featured_image_url":{"full":["https:\/\/community.visualdatatools.com\/app\/uploads\/sites\/2\/2022\/05\/monte-carlo-analysis-in-datagraph.jpg",1280,720,false],"landscape":["https:\/\/community.visualdatatools.com\/app\/uploads\/sites\/2\/2022\/05\/monte-carlo-analysis-in-datagraph.jpg",1280,720,false],"portraits":["https:\/\/community.visualdatatools.com\/app\/uploads\/sites\/2\/2022\/05\/monte-carlo-analysis-in-datagraph.jpg",1280,720,false],"thumbnail":["https:\/\/community.visualdatatools.com\/app\/uploads\/sites\/2\/2022\/05\/monte-carlo-analysis-in-datagraph-150x150.jpg",150,150,true],"medium":["https:\/\/community.visualdatatools.com\/app\/uploads\/sites\/2\/2022\/05\/monte-carlo-analysis-in-datagraph-300x169.jpg",300,169,true],"large":["https:\/\/community.visualdatatools.com\/app\/uploads\/sites\/2\/2022\/05\/monte-carlo-analysis-in-datagraph-1024x576.jpg",1024,576,true],"1536x1536":["https:\/\/community.visualdatatools.com\/app\/uploads\/sites\/2\/2022\/05\/monte-carlo-analysis-in-datagraph.jpg",1280,720,false],"2048x2048":["https:\/\/community.visualdatatools.com\/app\/uploads\/sites\/2\/2022\/05\/monte-carlo-analysis-in-datagraph.jpg",1280,720,false]},"rttpg_author":{"display_name":"dgteam","author_link":"https:\/\/community.visualdatatools.com\/datagraph\/author\/dgteam\/"},"rttpg_comment":0,"rttpg_category":"<a href=\"https:\/\/community.visualdatatools.com\/datagraph\/category\/webinar\/\" rel=\"category tag\">Webinars<\/a>","rttpg_excerpt":"This webinar will teach you how to conduct a basic Monte Carlo Analysis using DataGraph. Monte Carlo Analysis allows you to represent variability and uncertainly in what would otherwise be a single, deterministic calculation. This approach is used in multiple fields such as financial analysis and health risk assessment. The basic approach involves generating distributions&hellip;","_links":{"self":[{"href":"https:\/\/community.visualdatatools.com\/datagraph\/wp-json\/wp\/v2\/posts\/8717","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/community.visualdatatools.com\/datagraph\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/community.visualdatatools.com\/datagraph\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/community.visualdatatools.com\/datagraph\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/community.visualdatatools.com\/datagraph\/wp-json\/wp\/v2\/comments?post=8717"}],"version-history":[{"count":14,"href":"https:\/\/community.visualdatatools.com\/datagraph\/wp-json\/wp\/v2\/posts\/8717\/revisions"}],"predecessor-version":[{"id":8746,"href":"https:\/\/community.visualdatatools.com\/datagraph\/wp-json\/wp\/v2\/posts\/8717\/revisions\/8746"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/community.visualdatatools.com\/datagraph\/wp-json\/wp\/v2\/media\/8730"}],"wp:attachment":[{"href":"https:\/\/community.visualdatatools.com\/datagraph\/wp-json\/wp\/v2\/media?parent=8717"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/community.visualdatatools.com\/datagraph\/wp-json\/wp\/v2\/categories?post=8717"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/community.visualdatatools.com\/datagraph\/wp-json\/wp\/v2\/tags?post=8717"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}