{"id":4530,"date":"2016-01-31T10:28:31","date_gmt":"2016-01-31T09:28:31","guid":{"rendered":"http:\/\/www.saasoft.com\/blog\/?p=4530"},"modified":"2016-01-31T10:28:31","modified_gmt":"2016-01-31T09:28:31","slug":"the-magic-black-box","status":"publish","type":"post","link":"https:\/\/hcse.blog\/?p=4530","title":{"rendered":"The Magic Black Box"},"content":{"rendered":"<p style=\"text-align: left\"><a href=\"http:\/\/www.improvementscience.co.uk\/blog\/wp-content\/uploads\/2016\/01\/stick_figure_magic_carpet_150_wht_5040.gif\" rel=\"attachment wp-att-4531\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-4531\" src=\"http:\/\/www.improvementscience.co.uk\/blog\/wp-content\/uploads\/2016\/01\/stick_figure_magic_carpet_150_wht_5040.gif\" alt=\"stick_figure_magic_carpet_150_wht_5040\" width=\"150\" height=\"111\" \/><\/a>It was the appointed time for Bob and Leslie&#8217;s regular coaching session as part of the improvement science practitioner programme.<\/p>\n<p style=\"text-align: left\"><em>&lt;Leslie&gt;<\/em> Hi Bob, I am feeling rather despondent today so\u00a0please excuse me in advance if\u00a0you hear a lot of<em> &#8220;Yes, but &#8230;&#8221;<\/em> language.<\/p>\n<p style=\"text-align: left\"><em>&lt;Bob&gt;<\/em>\u00a0I am sorry to hear that Leslie. Do you want to talk about\u00a0it?<\/p>\n<p style=\"text-align: left\"><em>&lt;Leslie&gt;<\/em> Yes, please.\u00a0 The trigger for my gloom was\u00a0being sent on a mandatory training workshop.<\/p>\n<p style=\"text-align: left\"><em>&lt;Bob&gt;<\/em> OK. Training to do what?<\/p>\n<p style=\"text-align: left\"><em>&lt;Leslie&gt;<\/em> Outpatient demand and capacity planning!<\/p>\n<p style=\"text-align: left\">&lt;Bob&gt; But you know how to do that already, so what is the reason you were &#8220;sent&#8221;?<\/p>\n<p style=\"text-align: left\"><em>&lt;Leslie&gt;<\/em>\u00a0Well, I am no longer\u00a0sure I know how to it.\u00a0 That is why I am feeling so blue.\u00a0 I went more out of curiosity and I came away utterly\u00a0confused and with my confidence shattered.<\/p>\n<p style=\"text-align: left\"><em>&lt;Bob&gt;<\/em>\u00a0Oh dear!\u00a0We had better start at the beginning.\u00a0 What was the purpose of the workshop?<\/p>\n<p style=\"text-align: left\"><em>&lt;Leslie&gt;<\/em> To train everyone in how to use\u00a0an Outpatient Demand and Capacity planning\u00a0model, an Excel one that we were told to download along with the User Guide.\u00a0 I think it is part of a national push to improve waiting times for outpatients.<\/p>\n<p style=\"text-align: left\"><em>&lt;Bob&gt;<\/em> OK.\u00a0On the surface that sounds reasonable. You have designed and built your own Excel flow-models already; so where\u00a0did the trouble start?<\/p>\n<p style=\"text-align: left\"><em>&lt;Leslie&gt;<\/em>\u00a0I will\u00a0attempt to explain.\u00a0 This was a paragraph in the instructions. I felt OK with this because my Improvement Science training has given me a very good understanding of basic demand and capacity theory.<\/p>\n<p style=\"text-align: left\"><a href=\"http:\/\/www.improvementscience.co.uk\/blog\/wp-content\/uploads\/2016\/01\/IST_DandC_Model_01.png\" rel=\"attachment wp-att-4532\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4532\" src=\"http:\/\/www.improvementscience.co.uk\/blog\/wp-content\/uploads\/2016\/01\/IST_DandC_Model_01.png\" alt=\"IST_DandC_Model_01\" width=\"811\" height=\"141\" srcset=\"https:\/\/hcse.blog\/wp-content\/uploads\/2016\/01\/IST_DandC_Model_01.png 811w, https:\/\/hcse.blog\/wp-content\/uploads\/2016\/01\/IST_DandC_Model_01-300x52.png 300w, https:\/\/hcse.blog\/wp-content\/uploads\/2016\/01\/IST_DandC_Model_01-768x134.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><em>&lt;Bob&gt;<\/em> OK.\u00a0 I am guessing that other delegates may have felt less comfortable with this. Was that the case?<\/p>\n<p style=\"text-align: left\"><em>&lt;Leslie&gt;<\/em> The training workshops are targeted at Operational Managers and the ones I spoke to actually felt that they had a good grasp of the\u00a0basics.<\/p>\n<p style=\"text-align: left\"><em>&lt;Bob&gt;<\/em> OK. That is encouraging, but a warning bell is ringing for me. So where did the trouble start?<\/p>\n<p style=\"text-align: left\"><em>&lt;Leslie&gt;<\/em> Well, before going to the workshop I decided to read the User Guide\u00a0so that I had some idea of\u00a0how this magic tool worked.\u00a0 This is where I started to wobble &#8211; this paragraph specifically &#8230;<\/p>\n<p style=\"text-align: left\"><a href=\"http:\/\/www.improvementscience.co.uk\/blog\/wp-content\/uploads\/2016\/01\/IST_DandC_Model_02.png\" rel=\"attachment wp-att-4533\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4533\" src=\"http:\/\/www.improvementscience.co.uk\/blog\/wp-content\/uploads\/2016\/01\/IST_DandC_Model_02.png\" alt=\"IST_DandC_Model_02\" width=\"801\" height=\"152\" srcset=\"https:\/\/hcse.blog\/wp-content\/uploads\/2016\/01\/IST_DandC_Model_02.png 801w, https:\/\/hcse.blog\/wp-content\/uploads\/2016\/01\/IST_DandC_Model_02-300x57.png 300w, https:\/\/hcse.blog\/wp-content\/uploads\/2016\/01\/IST_DandC_Model_02-768x146.png 768w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p style=\"text-align: left\"><em>&lt;Bob&gt;<\/em>\u00a0H&#8217;mm. What did you make of that?<\/p>\n<p style=\"text-align: left\"><em>&lt;Leslie&gt;<\/em> It was complete gibberish to me and I felt like an idiot for not understanding it.\u00a0 I went to the workshop in a bit of a panic\u00a0and\u00a0hoped that all would become clear. It didn&#8217;t.<\/p>\n<p style=\"text-align: left\"><em>&lt;Bob&gt;<\/em> Did the User Guide explain what\u00a0&#8216;percentile&#8217; means in this context, ideally with some visual charts to assist?<\/p>\n<p style=\"text-align: left\"><em>&lt;Leslie&gt;<\/em> No and the use of &#8216;th&#8217; and &#8216;%&#8217; was\u00a0really confusing too.\u00a0 After that I sort of went into a mental fog and none of the workshop made much sense.\u00a0 It was all about practising using the tool without any understanding of\u00a0how it worked. Like a black magic box.<\/p>\n<hr \/>\n<p style=\"text-align: left\"><em>&lt;Bob&gt;<\/em> OK.\u00a0\u00a0I can see why you were confused, and do not worry, you are not an idiot.\u00a0 It\u00a0looks like the author of the User Guide has unwittingly used some very confusing\u00a0and ambiguous terminology here.\u00a0\u00a0So can you talk me through what you\u00a0have to do to use this magic box?<\/p>\n<p style=\"text-align: left\"><em>&lt;Leslie&gt;<\/em> First we have to enter some of our historical data; the number of new referrals\u00a0per week for a year; and the referral and appointment dates for all patients for the most recent three months.<\/p>\n<p style=\"text-align: left\"><em>&lt;Bob&gt;<\/em> OK. That sounds very reasonable.\u00a0 A run chart of historical demand and the raw event data for a Vitals Chart\u00ae\u00a0is where I would start the measurement phase\u00a0too &#8211; so long as the data\u00a0creates a valid 3 month reporting\u00a0window.<\/p>\n<p style=\"text-align: left\"><em>&lt;Leslie&gt;<\/em> Yes, I though so too &#8230; but that is not how the black box model seems to work. The weekly demand is used to draw an SPC chart,\u00a0but the event data seems to disappear into\u00a0the innards of the black box, and recommendations pop out of it.<\/p>\n<p style=\"text-align: left\"><em>&lt;Bob&gt;<\/em> Ah ha!\u00a0 And let me guess the relationship between the\u00a0term &#8216;percentile&#8217; and the SPC chart of weekly new demand was not explained?<\/p>\n<p style=\"text-align: left\"><em>&lt;Leslie&gt;<\/em> Spot on.\u00a0 What does percentile mean?<\/p>\n<hr \/>\n<p style=\"text-align: left\"><em>&lt;Bob&gt;<\/em>\u00a0It is statistics jargon. Remember that we have talked about the distribution of the data around the average\u00a0on a BaseLine chart; and how we use the histogram feature\u00a0of BaseLine to show it visually.\u00a0 Like this example.<\/p>\n<p style=\"text-align: left\"><a href=\"http:\/\/www.improvementscience.co.uk\/blog\/wp-content\/uploads\/2016\/01\/IST_DandC_Model_03.png\" rel=\"attachment wp-att-4534\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4534\" src=\"http:\/\/www.improvementscience.co.uk\/blog\/wp-content\/uploads\/2016\/01\/IST_DandC_Model_03.png\" alt=\"IST_DandC_Model_03\" width=\"512\" height=\"331\" srcset=\"https:\/\/hcse.blog\/wp-content\/uploads\/2016\/01\/IST_DandC_Model_03.png 512w, https:\/\/hcse.blog\/wp-content\/uploads\/2016\/01\/IST_DandC_Model_03-300x194.png 300w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/a><em>&lt;Leslie&gt;<\/em> Yes. I recognise that. This chart shows a stable system of demand with an average of around 150 new referrals per week and the variation distributed above and below the average in a symmetrical pattern, falling off\u00a0to\u00a0zero around the upper and lower process limits.\u00a0\u00a0I believe that you said that over 99% will\u00a0fall within the limits.<\/p>\n<p style=\"text-align: left\"><em>&lt;Bob&gt;<\/em> Good.\u00a0\u00a0The blue histogram on this chart is called a <em>probability distribution function<\/em>, to use the\u00a0terminology of a statistician.<\/p>\n<p style=\"text-align: left\"><em>&lt;Leslie&gt;<\/em> OK.<\/p>\n<p style=\"text-align: left\"><em>&lt;Bob&gt;<\/em> So, what would happen if we created a Pareto chart of demand using the number of patients per week as the categories and ignoring the\u00a0time aspect? We are allowed to do that if the behaviour is stable, as this chart suggests.<\/p>\n<p style=\"text-align: left\"><em>&lt;Leslie&gt; <\/em>Give me a minute, I will\u00a0need to do a rough sketch. Does this look right?<\/p>\n<p style=\"text-align: left\"><a href=\"http:\/\/www.improvementscience.co.uk\/blog\/wp-content\/uploads\/2016\/01\/IST_DandC_Model_04.png\" rel=\"attachment wp-att-4535\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4535\" src=\"http:\/\/www.improvementscience.co.uk\/blog\/wp-content\/uploads\/2016\/01\/IST_DandC_Model_04.png\" alt=\"IST_DandC_Model_04\" width=\"480\" height=\"288\" srcset=\"https:\/\/hcse.blog\/wp-content\/uploads\/2016\/01\/IST_DandC_Model_04.png 480w, https:\/\/hcse.blog\/wp-content\/uploads\/2016\/01\/IST_DandC_Model_04-300x180.png 300w\" sizes=\"auto, (max-width: 480px) 100vw, 480px\" \/><\/a><\/p>\n<p style=\"text-align: left\"><em>&lt;Bob&gt;<\/em> Perfect!\u00a0 So if you now convert the Y-axis to a percentage scale so that 52 weeks is 100% then where does the average weekly demand of about 150 fall? Read up from the X-axis to the line then across to the Y-axis.<\/p>\n<p style=\"text-align: left\"><em>&lt;Leslie&gt;<\/em>\u00a0At about 26 weeks or\u00a050% of 52 weeks.\u00a0\u00a0Ah ha!\u00a0 So that is what a percentile means!\u00a0 The 50th percentile is the average, the zeroth percentile is around the lower process limit and the 100th percentile is around the upper process limit!<\/p>\n<p style=\"text-align: left\"><em>&lt;Bob&gt;<\/em> In this case the 50th percentile is the average, it is not always\u00a0the case\u00a0though.\u00a0 So where is the 85th percentile line?<\/p>\n<p style=\"text-align: left\"><em>&lt;Leslie&gt;<\/em> Um, 52\u00a0times 0.85 is 44.2 which, reading across from the\u00a0Y-axis then down to the X-axis\u00a0gives a weekly demand of about\u00a0170 per week.\u00a0 That is about the same as the average plus one sigma according to the run chart.<\/p>\n<p style=\"text-align: left\">&lt;Bob&gt;\u00a0Excellent.\u00a0The Pareto chart that you have drawn is called a <em>cumulative probability distribution function<\/em> &#8230; and that is usually what percentiles refer to. Comparative Statisticians love these but often omit to explain their rationale to non-statisticians!<\/p>\n<hr \/>\n<p style=\"text-align: left\"><em>&lt;Leslie&gt;<\/em>\u00a0Phew!\u00a0 So, now I can see that the 65th percentile is just above average demand, and 85th percentile is\u00a0above that.\u00a0\u00a0But in the confusing paragraph\u00a0how does that relate to the phrase\u00a0&#8220;65% and 85% of the time&#8221;?<\/p>\n<p style=\"text-align: left\"><em>&lt;Bob&gt;<\/em> It doesn&#8217;t. That is the really, <strong>really<\/strong> confusing part of\u00a0 that paragraph. I am not surprised that you looped out at that point!<\/p>\n<p style=\"text-align: left\"><em>&lt;Leslie&gt;<\/em>\u00a0OK. Let us leave that for another conversation.\u00a0 If I ignore that bit then does the rest of\u00a0it make sense?<\/p>\n<p style=\"text-align: left\"><em>&lt;Bob&gt;<\/em> Not yet alas.\u00a0We need to dig a bit deeper. What would you say are the implications of this message?<\/p>\n<hr \/>\n<p style=\"text-align: left\"><em>&lt;Leslie&gt;<\/em> Well.\u00a0 I know that if our flow-capacity is less than our average demand then we will guarantee to create\u00a0an unstable queue and chaos. That is the Flaw of Averages trap.<\/p>\n<p style=\"text-align: left\"><em>&lt;Bob&gt;<\/em> OK.\u00a0\u00a0The creator of this tool seems to know that.<\/p>\n<p style=\"text-align: left\"><em>&lt;Leslie&gt;<\/em> And my outpatient manager colleagues are always complaining that they do not have enough slots to book into, so I conclude that our current flow-capacity is just above\u00a0the\u00a050th percentile.<\/p>\n<p style=\"text-align: left\"><em>&lt;Bob&gt;<\/em> A reasonable\u00a0hypothesis.<\/p>\n<p style=\"text-align: left\"><em>&lt;Leslie&gt;<\/em> So to\u00a0calm the chaos the\u00a0message is saying\u00a0I will need to increase my flow capacity up to the 85th percentile\u00a0of demand which is from about 150 slots per week to 170 slots per week. An increase of 7% which implies a 7% increase in costs.<\/p>\n<p style=\"text-align: left\"><em>&lt;Bob&gt;<\/em> Good.\u00a0 I am pleased that you did not fall into the intuitive trap that a increase from the 50th to the 85th percentile implies a 35\/50 or 70% increase! Your estimate of 7% is a reasonable one.<\/p>\n<p style=\"text-align: left\"><em>&lt;Leslie&gt;<\/em> Well it may be theoretically reasonable but it is not practically possible. We are exhorted to reduce costs by at least that amount.<\/p>\n<p style=\"text-align: left\"><em>&lt;Bob&gt;<\/em>\u00a0So we have a finance versus governance bun-fight\u00a0with the operational managers caught in the middle: FOG. That is not the end of the litany of woes &#8230; is there anything about Did Not Attends in the model?<\/p>\n<hr \/>\n<p style=\"text-align: left\"><em>&lt;Leslie&gt;<\/em> Yes indeed!\u00a0We are required to enter the\u00a0percentage of DNAs and\u00a0what we do with them. Do we\u00a0discharge them\u00a0or re-book them.<\/p>\n<p style=\"text-align: left\"><em>&lt;Bob&gt;<\/em> OK.\u00a0Pragmatic reality is always\u00a0much more interesting than academic rhetoric and this aspect of the real system rather complicates things, at least for a comparative statistician. This is where the smoke and mirrors will appear and they will be hidden inside the black magic box.\u00a0 To solve this conundrum we need to understand the relationship between demand, capacity, variation and yield &#8230; and it is rather counter-intuitive.\u00a0 So, how would you approach this problem?<\/p>\n<p style=\"text-align: left\"><em>&lt;Leslie&gt;<\/em> I would use the 6M Design\u00ae framework and I would start with a map and\u00a0not with a model; least of all a magic black box\u00a0one that I did not design, build and verify myself.<\/p>\n<p style=\"text-align: left\"><em>&lt;Bob&gt;<\/em> And how do you know that will work any better?<\/p>\n<p style=\"text-align: left\"><em>&lt;Leslie&gt;<\/em> Because at the <a href=\"http:\/\/www.improvementscience.net\/isp\/ispworkshops\" target=\"_blank\" rel=\"noopener\">One Day ISP Workshop<\/a> I saw it work with my own eyes. The queues, waits and chaos just evaporated.\u00a0 And it cost nothing.\u00a0 We already had more than enough &#8220;capacity&#8221;.<\/p>\n<p style=\"text-align: left\"><em>&lt;Bob&gt;<\/em> Indeed you did.\u00a0 So shall we do this one as an ISP-2 project?<\/p>\n<p style=\"text-align: left\"><em>&lt;Leslie&gt;<\/em>\u00a0An excellent suggestion. \u00a0I already feel my confidence flowing back and I am looking forward to this new challenge. Thank you again Bob.<\/p>\n<p style=\"text-align: left\">\n","protected":false},"excerpt":{"rendered":"<p>It was the appointed time for Bob and Leslie&#8217;s regular coaching session as part of the improvement science practitioner programme. &lt;Leslie&gt; Hi Bob, I am feeling rather despondent today so\u00a0please excuse me in advance if\u00a0you hear a lot of &#8220;Yes, but &#8230;&#8221; language. &lt;Bob&gt;\u00a0I am sorry to hear that Leslie. Do you want to talk &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/hcse.blog\/?p=4530\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;The Magic Black Box&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,7,8,14,15,17,20,22,26,30,42,43,45,46],"tags":[],"class_list":["post-4530","post","type-post","status-publish","format-standard","hentry","category-6m-design","category-baseline","category-bobles","category-delivery","category-design","category-examples","category-flow","category-healthcare","category-isp","category-operations","category-how","category-why","category-what","category-teach"],"_links":{"self":[{"href":"https:\/\/hcse.blog\/index.php?rest_route=\/wp\/v2\/posts\/4530","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hcse.blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hcse.blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hcse.blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hcse.blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4530"}],"version-history":[{"count":0,"href":"https:\/\/hcse.blog\/index.php?rest_route=\/wp\/v2\/posts\/4530\/revisions"}],"wp:attachment":[{"href":"https:\/\/hcse.blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4530"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hcse.blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4530"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hcse.blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4530"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}