7.1. Consider a list of m names, where the same name may appear more than once on the list. Let n(i),i=1,...,m, denote the number of times that the name in position iappears on the list, and let d denote the number of distinct names on the list.

(a) Express d in terms of the variables m,n(i),i=1,...,m. Let U be a uniform (0, 1) random variable, and let X=[mU]+1.

(b) What is the probability mass function of X?

(c) Argue that E[m/n(X)]=d.

Short Answer

Expert verified
  1. The required expression of dwill be d=i=1m1n(i).
  2. The probability mass function of X will be P(X=i)=1m
  3. The value can be said that asEmn(X)=d.

Step by step solution

01

Given information (Part a)

n(i),i=1,,m is the number of times that the name in position iappears on the list

d=the number of distinct names on the list

02

Solution (Part a)

Express din terms of m.

Here, dis the number of distinct names on the list and n(i)is the number of times that the name in ithposition appears on the list.

The total number of name in the list is determined as,

Total number of names=m

=i=1m(n(i))×d

From the overhead expression of the total number of names, dcan be expressed in terms of n(i)and m. Hence, dis expressed as:

m=i=1m(n(i))×d

i=1m1=di=1m(n(i))

d=i=1m1i=1m(n(i))

d=i=1m1n(i)

03

Final answer (Part a)

Thus, the required expression of d will be d=i=1m1n(i).

04

Given information (Part b)

n(i),i=1,,mis the number of times that the name in position iappears on the list

d=the number of distinct names on the list

05

Solution (Part b)

We need to calculate the probability mass function of X.

If a random variable, U that follows uniform distribution between 0 and 1 .

So that, the probability density function of U is,

fU(u)=1    0u10    Otherwise

If a random variable X and it is defined as X=[mU]+1.

The probability mass function of Xis determined as:

P(X=i)=P([mU]+1=i)

=P([mU]=i1)

=P(i1mU<i)

=Pi1mU<im

06

Step 6:Solution (Part b)

Using the probability density function of U, the probability mass function of X is simplified as:

P(X=i)=Pi1mU<im

=i1mim1du

=[u]i1mim

=imi1m

=1m

07

Final answer (Part b)

Thus, the probability mass function of X will be P(X=i)=1m.

08

Given information (Part c)

n(i),i=1,,mis the number of times that the name in position iappears on the list

d=the number of distinct names on the list

09

Solution (Part c)

If Emn(X)=d

The expected value of a random variable Y will be E(Y)=yyP(Y=y)

Now,P(Y=y) is the probability mass function of the random variable Y.

Now we need to calculate the value of Emn(X)

Emn(X)=i=1mmn(i)P(X=x)

=i=1mmn(i)×1m

=i=1m1n(i)

=d

10

Final answer (Part c)

Thus, the value can be said thatEmn(X)=d

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

AThere are n+1participants in a game. Each person independently is a winner with probability p. The winners share a total prize of 1 unit. (For instance, if 4people win, then each of them receives 14, whereas if there are no winners, then none of the participants receives anything.) Let A denote a specified one of the players, and let Xdenote the amount that is received by A.

(a) Compute the expected total prize shared by the players.

(b) Argue that role="math" localid="1647359898823" E[X]=1(1p)n+1n+1.

(c) Compute E[X] by conditioning on whether is a winner, and conclude that role="math" localid="1647360044853" E[(1+B)1]=1(1p)n+1(n+1)p when B is a binomial random variable with parameters n and p

A prisoner is trapped in a cell containing3doors. The first door leads to a tunnel that returns him to his cell after 2days’ travel. The second leads to a tunnel that returns him to his cell after 4 days’ travel. The third door leads to freedom after 1day of travel. If it is assumed that the prisoner will always select doors 1,2, and 3 with respective probabilities .5,.3, and .2, what is the expected number of days until the prisoner reaches freedom?

Let X1,...be independent random variables with the common distribution functionF, and suppose they are independent of N, a geometric random variable with a parameter p. Let M=max(X1,...,XN).

(a) FindP{Mx}by conditioning onN.

(b) FindP{Mx|N=1}.

(c) FindP{Mx|N>1}

(d) Use (b) and (c) to rederive the probability you found in (a)

Show that Xis stochastically larger than Yif and only ifE[f(X)]E[f(Y)]

for all increasing functions f..

Hint: Show that XstY, then E[f(X)]E[f(Y)]by showing that f(X)stf(Y)and then using Theoretical Exercise 7.7. To show that if E[f(X)]E[f(Y)]for all increasing functions f, then P{X>t}P{Y>t}, define an appropriate increasing function f.

The county hospital is located at the center of a square whose sides are 3 miles wide. If an accident occurs within this square, then the hospital sends out an ambulance. The road network is rectangular, so the travel distance from the hospital, whose coordinates are (0,0), to the point(x,y) is |x|+|y|. If an accident occurs at a point that is uniformly distributed in the square, find the expected travel distance of the ambulance.

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free