{"id":10642,"date":"2022-05-24T17:53:29","date_gmt":"2022-05-24T17:53:29","guid":{"rendered":"https:\/\/highclasswriters.com\/blog\/?p=10642"},"modified":"2022-05-24T17:53:30","modified_gmt":"2022-05-24T17:53:30","slug":"the-hiring-problem-mathematically","status":"publish","type":"post","link":"https:\/\/highclasswriters.com\/blog\/the-hiring-problem-mathematically\/","title":{"rendered":"The Hiring Problem Mathematically"},"content":{"rendered":"\n<p>HW# The Hiring Problem Mathematically<br>The problem. Searching for a new hire and interviewing potential candidates. When is the<br>candidate good enough? What\u2019s the stopping criteria?<br>Formalize an abstract problem. Let us consider each candidate as an integer, the integer<br>representing a ranking criterion. For example: nine candidates whose rank = {1,3,7,5,8,3,1,9,4}.<br>This problem would be trivial, just pick the element with maximum value, if it weren\u2019t for two<br>properties.<br>\uf0b7 There is no look-ahead. When I\u2019m selecting any one candidate, you are unable to look<br>forward into the future and consider who you will select in the future. No crystal ball.<br>\uf0b7 There is no undo. If you select a candidate and after a while decide to fire them in a<br>misguided attempt to find someone better, there\u2019s a good chance this person will be<br>unavailable in the future gone working for a competitor.<br>We can think of it visually as a machine which is fed a tape of integers. It has two actions:<br>\uf0b7 it can either stop; or<br>\uf0b7 it can consider the next integer.<br>The machine\u2019s objective is to stop on the highest integer.<br>Real world problem. At the heart of the hiring problem is conflict. Do I reject the current<br>possibility in hopes of landing something better if I keep looking, or do I stick with what I have?<br>Can be applied to almost anything a selection choice decision is required. Take it or leave it?<br>Solving the hiring problem analytically.<br>Random selection. Choose the 7th element in the list. No reason just 7th element in the list.<br>The probability, then, of picking the best element from an integer sequence of length N with<br>this random pick rule is (1 divided by N).<br>To improve on this random selection strategy, search for a while, gain some insight, determine<br>your options, and then choose the next best element that presents itself.<br>In terms of the hiring problem, such a strategy would be to scan through the first r integers and<br>then choose the first option that is greater than any of the integers in [1,r].<br>How does this new strategy compare to random selection? The above image is a prop to help<br>understand the discussion that follows. Assume that i, is the greatest integer, occurs at n+1.<br>In order for this strategy to return the maximum integer, two conditions must hold:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>The maximum integer cannot be contained in [1,r]. Our strategy is to scan<br>through [1,r], so if the solution is in [1,r], we necessarily lose. This can also be<br>stated as n\u2265r.<\/li><li>Our strategy is going to select the first integer, i, in [r,N] that\u2019s greater<br>than max([1,r]) Given this, there cannot be any integers greater than i that come<br>after i, otherwise the strategy will lose. Alternatively put, the<br>condition max([1,r])==max([1,n]) must be true.<br>Thus, to calculate the effectiveness of our strategy, we need to know the probability that both<br>of these will hold. For some given n, this is: (r divided by n) multiplied by (1 divided by N).<br>(1 divided by N) is the probability that i occurs at n+1 (remember, this is the probability<br>for some n, not the n), while (r divided by n) is a consequence of the second condition, the<br>probability that the condition max([1,r])==max([1,n]) is true.<\/li><\/ol>\n\n\n\n<p>To calculate the probability for some r, P\u00ae, not for arbitrary n, but for everything, we need<br>to sum over n\u2265r:<br>This is a Riemann1<br>approximation of an integral so we can rewrite it. By letting<br>Now, we can find the optimal r by solving for P\u2032\u00ae=0.<br>By plugging roptimal back into P\u00ae we will find the probability of success.<br>What The Math Says<br>Well, the optimal solution is for us to estimate how many people we believe we might<br>reasonably interview in the future, say 20. We plug this into the equation (N divided by e),<br>where N=20, (20 divided by e) \u22487.<br>This result says that, if we want to maximize our probability of ending up with the best possible<br>candite, we should interview 7 candidates and then, choose the next candidate who is better<br>than all of those candidates.<br>1 Gary L. Miller. Riemann\u2019s hypothesis and tests for primality. Journal of Computer and System Sciences, 13(3):300\u2013317, 1976.<br>However, the typical hiring problem maximizes the chances of landing the best candidate and<br>considers all other outcomes equally bad. Most on the choosers are not thinking this way, they<br>want to maximize the probability that they end up with a pretty good candidate. It is not all or<br>nothing.<br>Maximizing the Probability of a Good Outcome<br>Fear not, there\u2019s a modification of the hiring problem that maximizes the probability of finding<br>a high-value candidate. Suffice it to say, the strategy is the same except we use a cutoff of \u221aN<br>rather than (N divided by e).<br>What Sort of Optimal?<br>At the end of the day, the secretary problem is a mathematical abstraction and fails to take into<br>account much of complexity of, you know, reality.<br>The solution to the secretary problem suggests that the optimal hiring strategy is to estimate<br>the maximum number of people you are willing to interview, N, and then<br>interview \u221aN people and hire the next person who is better than all of those. In laboratory<br>experiments, people often stop searching too soon when solving searching problems. This<br>suggests that the average person doesn\u2019t search enough candidates prior to choosing.<br>At the end of the day, the hiring problem is a mathematical abstraction and there is more to<br>finding the \u201cright\u201d candidate than interviewing a certain number of people.<br>Question: Who would you choose? Quantity thirty elements. Each with a ranking criterion.<br>3 8 3 9 2 3 8 5 1 4 2 7 9 2 4 4 9 7 1 0 1 7 4 2 1 8 1 9 5 1<\/p>\n","protected":false},"excerpt":{"rendered":"<p>HW# The Hiring Problem MathematicallyThe problem. Searching for a new hire and interviewing potential candidates. When is thecandidate good enough? [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[1],"tags":[],"class_list":["post-10642","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>The Hiring Problem Mathematically - Highclasswriters<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/highclasswriters.com\/blog\/the-hiring-problem-mathematically\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"The Hiring Problem Mathematically - Highclasswriters\" \/>\n<meta property=\"og:description\" content=\"HW# The Hiring Problem MathematicallyThe problem. Searching for a new hire and interviewing potential candidates. When is thecandidate good enough? [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/highclasswriters.com\/blog\/the-hiring-problem-mathematically\/\" \/>\n<meta property=\"og:site_name\" content=\"Highclasswriters\" \/>\n<meta property=\"article:published_time\" content=\"2022-05-24T17:53:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-05-24T17:53:30+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/highclasswriters.com\/blog\/the-hiring-problem-mathematically\/\",\"url\":\"https:\/\/highclasswriters.com\/blog\/the-hiring-problem-mathematically\/\",\"name\":\"The Hiring Problem Mathematically - Highclasswriters\",\"isPartOf\":{\"@id\":\"https:\/\/highclasswriters.com\/blog\/#website\"},\"datePublished\":\"2022-05-24T17:53:29+00:00\",\"dateModified\":\"2022-05-24T17:53:30+00:00\",\"author\":{\"@id\":\"https:\/\/highclasswriters.com\/blog\/#\/schema\/person\/06412d8249aafcb0c75ea9958c98aaae\"},\"breadcrumb\":{\"@id\":\"https:\/\/highclasswriters.com\/blog\/the-hiring-problem-mathematically\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/highclasswriters.com\/blog\/the-hiring-problem-mathematically\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/highclasswriters.com\/blog\/the-hiring-problem-mathematically\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/highclasswriters.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"The Hiring Problem Mathematically\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/highclasswriters.com\/blog\/#website\",\"url\":\"https:\/\/highclasswriters.com\/blog\/\",\"name\":\"Highclasswriters\",\"description\":\"Essay Writing Service\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/highclasswriters.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/highclasswriters.com\/blog\/#\/schema\/person\/06412d8249aafcb0c75ea9958c98aaae\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/highclasswriters.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/99ccb26aea1053c4c33c76cde1eee45f1ec58485d03e72c412d111c386e42174?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/99ccb26aea1053c4c33c76cde1eee45f1ec58485d03e72c412d111c386e42174?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\/\/highclasswriters.com\/blog\"],\"url\":\"https:\/\/highclasswriters.com\/blog\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"The Hiring Problem Mathematically - Highclasswriters","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/highclasswriters.com\/blog\/the-hiring-problem-mathematically\/","og_locale":"en_US","og_type":"article","og_title":"The Hiring Problem Mathematically - Highclasswriters","og_description":"HW# The Hiring Problem MathematicallyThe problem. Searching for a new hire and interviewing potential candidates. When is thecandidate good enough? [&hellip;]","og_url":"https:\/\/highclasswriters.com\/blog\/the-hiring-problem-mathematically\/","og_site_name":"Highclasswriters","article_published_time":"2022-05-24T17:53:29+00:00","article_modified_time":"2022-05-24T17:53:30+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/highclasswriters.com\/blog\/the-hiring-problem-mathematically\/","url":"https:\/\/highclasswriters.com\/blog\/the-hiring-problem-mathematically\/","name":"The Hiring Problem Mathematically - Highclasswriters","isPartOf":{"@id":"https:\/\/highclasswriters.com\/blog\/#website"},"datePublished":"2022-05-24T17:53:29+00:00","dateModified":"2022-05-24T17:53:30+00:00","author":{"@id":"https:\/\/highclasswriters.com\/blog\/#\/schema\/person\/06412d8249aafcb0c75ea9958c98aaae"},"breadcrumb":{"@id":"https:\/\/highclasswriters.com\/blog\/the-hiring-problem-mathematically\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/highclasswriters.com\/blog\/the-hiring-problem-mathematically\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/highclasswriters.com\/blog\/the-hiring-problem-mathematically\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/highclasswriters.com\/blog\/"},{"@type":"ListItem","position":2,"name":"The Hiring Problem Mathematically"}]},{"@type":"WebSite","@id":"https:\/\/highclasswriters.com\/blog\/#website","url":"https:\/\/highclasswriters.com\/blog\/","name":"Highclasswriters","description":"Essay Writing Service","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/highclasswriters.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/highclasswriters.com\/blog\/#\/schema\/person\/06412d8249aafcb0c75ea9958c98aaae","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/highclasswriters.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/99ccb26aea1053c4c33c76cde1eee45f1ec58485d03e72c412d111c386e42174?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/99ccb26aea1053c4c33c76cde1eee45f1ec58485d03e72c412d111c386e42174?s=96&d=mm&r=g","caption":"admin"},"sameAs":["https:\/\/highclasswriters.com\/blog"],"url":"https:\/\/highclasswriters.com\/blog\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/highclasswriters.com\/blog\/wp-json\/wp\/v2\/posts\/10642","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/highclasswriters.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/highclasswriters.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/highclasswriters.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/highclasswriters.com\/blog\/wp-json\/wp\/v2\/comments?post=10642"}],"version-history":[{"count":1,"href":"https:\/\/highclasswriters.com\/blog\/wp-json\/wp\/v2\/posts\/10642\/revisions"}],"predecessor-version":[{"id":10643,"href":"https:\/\/highclasswriters.com\/blog\/wp-json\/wp\/v2\/posts\/10642\/revisions\/10643"}],"wp:attachment":[{"href":"https:\/\/highclasswriters.com\/blog\/wp-json\/wp\/v2\/media?parent=10642"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/highclasswriters.com\/blog\/wp-json\/wp\/v2\/categories?post=10642"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/highclasswriters.com\/blog\/wp-json\/wp\/v2\/tags?post=10642"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}