exercise:C48b5291ef: Difference between revisions

From Stochiki
(Created page with "<div class="d-none"><math> \newcommand{\NA}{{\rm NA}} \newcommand{\mat}[1]{{\bf#1}} \newcommand{\exref}[1]{\ref{##1}} \newcommand{\secstoprocess}{\all} \newcommand{\NA}{{\rm NA}} \newcommand{\mathds}{\mathbb}</math></div> Barbara Smith is interviewing candidates to be her secretary. As she interviews the candidates, she can determine the relative rank of the candidates but not the true rank. Thus, if there are six candidates and their true rank is 6, 1, 4, 2, 3,...")
 
No edit summary
 
Line 15: Line 15:
getting the best candidate.  Assume that there are <math>n</math> candidates and they arrive in a
getting the best candidate.  Assume that there are <math>n</math> candidates and they arrive in a
random rank order.
random rank order.
<ul><li> What is the probability that Barbara gets the best candidate if she interviews
<ul style="list-style-type:lower-alpha"><li> What is the probability that Barbara gets the best candidate if she interviews
all of the candidates?  What is it if she chooses the first candidate?
all of the candidates?  What is it if she chooses the first candidate?
</li>
</li>

Latest revision as of 08:32, 23 June 2024

[math] \newcommand{\NA}{{\rm NA}} \newcommand{\mat}[1]{{\bf#1}} \newcommand{\exref}[1]{\ref{##1}} \newcommand{\secstoprocess}{\all} \newcommand{\NA}{{\rm NA}} \newcommand{\mathds}{\mathbb}[/math]

Barbara Smith is interviewing candidates to be her secretary.

As she interviews the candidates, she can determine the relative rank of the candidates but not the true rank. Thus, if there are six candidates and their true rank is 6, 1, 4, 2, 3, 5, (where 1 is best) then after she had interviewed the first three candidates she would rank them 3, 1, 2. As she interviews each candidate, she must either accept or reject the candidate. If she does not accept the candidate after the interview, the candidate is lost to her. She wants to decide on a strategy for deciding when to stop and accept a candidate that will maximize the probability of getting the best candidate. Assume that there are [math]n[/math] candidates and they arrive in a random rank order.

  • What is the probability that Barbara gets the best candidate if she interviews all of the candidates? What is it if she chooses the first candidate?
  • Assume that Barbara decides to interview the first half of the candidates and then continue interviewing until getting a candidate better than any candidate seen so far. Show that she has a better than 25 percent chance of ending up with the best candidate.