+ All Categories
Home > Education > Indicator Random Variables

Indicator Random Variables

Date post: 03-Dec-2014
Category:
Upload: daniel-raditya
View: 409 times
Download: 4 times
Share this document with a friend
Description:
 
Popular Tags:
13
Raditya W Erlangga (G651120714) Bogor, 15 Desember 2012 Indicator Random Variable
Transcript
Page 1: Indicator Random Variables

Raditya W Erlangga (G651120714)Bogor, 15 Desember 2012

Indicator Random Variable

Page 2: Indicator Random Variables

AGENDA

• Introduction• Hiring Problem overview• Indicator Random Variable• Examples• Q & A

Page 3: Indicator Random Variables

SECURITY UPDATE

<ISC SA or IR Number>

<Date>

HIRING NEW OFFICE ASSISTANTOptimal strategy to maximize the

probability of selecting best applicant

Hiring Problem

Page 4: Indicator Random Variables

HIRING PROBLEM OVERVIEW

» A new office assistant is required» Using employment agency» Interviews the candidate each day» A small fee required to pay the interview process done by the agency.

However, hiring an applicant is more expensive: pay substantial hiring fee + fire current office assistant to get the best candidate for the job

» What is the price needed for this strategy?

Page 5: Indicator Random Variables

HIRING CANDIDATE ALGORITHM

HIRE-ASSISTANT (n)1. best = 0 // candidate 0 is a least-qualified dummy candidate2. for i = 1 to n3. interview candidate i4. If candidate i is better than candidate best5. best = i6. hire candidate i

Suppose:ci = interview process

ch = hiring process

The complexity is O(ci n + chm)

Page 6: Indicator Random Variables

INDICATOR RANDOM VARIABLES

» Is used to analyze the hiring problem algorithm» a convenient method for converting between probabilities and

expectations» Given a sample space S and an event A, the indicator random variable

I{A} associated with event A is defined as:

Page 7: Indicator Random Variables

EXAMPLES

» Flipping a fair coin» Sample space S = { H,T }, Pr{H} = Pr{T} = 1/2» Define indicator random variable XH associated with the coming up

heads:

with H as the event

Page 8: Indicator Random Variables

LEMMA 1

Given a sample space S and an event A in the sample space S, let XA =I{A}.

Then E [XA ] = Pr{A}

Proof:E [XA ] = E[I{A}]

= 1. Pr{A} + 0. Pr{A’} = Pr{A}

where A’ is S – A, the complement of A

Page 9: Indicator Random Variables

EXPECTED VALUES OF EVENT

» Xi = I {the ith flip results in the event H}» X = random variable denoting the total number of heads in the n coin

flips

» The expected number of event H:

Page 10: Indicator Random Variables

ANALYSIS OF THE HIRING PROBLEM USING INDICATOR RANDOM VARIABLES

» Assume the candidates arrive in random order» X = random variable whose value equals the number of times we hire

a new office assistant» We may use expected value of random variable equation:

» However, a simplified calculation is using indicator random variables.» Instead of computing E[X] by defining one variable associated with the

number of times we hire a new office assistant, define n variables related to whether or not each particular candidate is hired. In particular, let Xi be the indicator random variable associated with the event in which the ith candidate is hired

and

Page 11: Indicator Random Variables

ANALYSIS OF THE HIRING PROBLEM USING INDICATOR RANDOM VARIABLES» Based on lemma E [XA ] = Pr{A}, we have:

» Since the candidate i arrives in random order, any one of these first i candidates is likely to be best-qualified candidate so far. Thus, the probability of candidate i is 1/i better qualified than candidates 1 till i-1, which yields:

» Now we can compute E[X]:

Page 12: Indicator Random Variables

QUESTIONS?

Page 13: Indicator Random Variables

THANK YOU


Recommended