-- Feb 9 In-Class Exercise Thread
1. Plugging in k = n/e into the bound equation of Pr(S) we get:
(n/e)/n * (ln n - ln n/e)
1/e * (ln n - (ln n - ln e))
1/e
This is the odds of hiring the best candidate.
2. To get a lower bound on the odds of hiring the worst candidate, we need to:
a. Get the best candidate from the first k applicants.
b. Get the worst candidate at the end given a).
From the first question, the odds of a) is 1/e. The odds of b) is 1/(n-1), since there's only n-1 candidates left. Therefore, a lower bound is 1/e * 1/(n-1).
3. If we randomly permute the candidates and hire the first candidate, the odds of hiring the worst candidate should be 1/n, since each candidate is equally likely to be chosen.
(
Edited: 2022-02-09)
1. Plugging in k = n/e into the bound equation of Pr(S) we get:
(n/e)/n * (ln n - ln n/e)
1/e * (ln n - (ln n - ln e))
1/e
This is the odds of hiring the best candidate.
2. To get a lower bound on the odds of hiring the worst candidate, we need to:
a. Get the best candidate from the first k applicants.
b. Get the worst candidate at the end given a).
From the first question, the odds of a) is 1/e. The odds of b) is 1/(n-1), since there's only n-1 candidates left. Therefore, a lower bound is 1/e * 1/(n-1).
3. If we randomly permute the candidates and hire the first candidate, the odds of hiring the worst candidate should be 1/n, since each candidate is equally likely to be chosen.