10
4.1 Random Variables A random variable is a real-valued function defined on the sample space S. ( = ) = (1 āˆ’ ) , = 1, 2, ā€¦ , āˆ’ 1

4.1 Random Variables

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: 4.1 Random Variables

4.1 Random Variables

A random variable is a real-valued function defined on the sample space S.

š‘ƒ(š‘‹ = š‘–) = (1 āˆ’ š‘)š‘–š‘, š‘– = 1, 2, ā€¦ , š‘› āˆ’ 1

Page 2: 4.1 Random Variables

Suppose that there are N distinct types of coupons and that each time one obtains a coupon, it is, independently of

previous selections, equally likely to be any one of the N types. A random variable of interest is T, the number of

coupons that needs to be collected until one obtains a complete set of at least one of each type.

Solution: Fix n and define the events A1,A2, . . . ,AN as follows: Aj is the event that no type j coupon is contained

among the first n coupons collected. Then

Hence

and

Page 3: 4.1 Random Variables

Cumulative Distribution Function

Properties of F(x) [section 4.9]

5.

š‘ƒ{ š‘‹ ā‰¤ š‘} = š¹(š‘), š‘ƒ{ š‘‹ < š‘} = š¹(š‘āˆ’) = limš‘„ā†—š‘

š¹(š‘„)

Page 4: 4.1 Random Variables

Answers: (a) 11/12 (b) 1/6 (c) Ā¾ (d) 1/12

4.2-5 Discrete Random Variables

Page 5: 4.1 Random Variables

Example. Graph of the pmf of the random variable representing the sum when two dice are rolled

Example. Suppose that the probability mass function of X is

Page 6: 4.1 Random Variables

Expected Value (or mean)

If X is a discrete random variable having a probability mass function p(x), then the expectation, or

the expected value, of X, denoted by E[X], is defined by

Āµ =

E[X] = (-1)Ɨ.10 + 0Ɨ.25 + 1Ɨ.30 + 2Ɨ.35 = .90

Another motivation of the definition of expectation is provided by the frequency

interpretation of probabilities. Think of X as representing our winnings in a single game of

chance. That is, with probability p(xi) we shall win xi units i = 1, 2, . . . , n. By the

frequency interpretation, if we play this game continually, then the proportion of time

that we win xi will be p(xi). Since this is true for all i, i = 1, 2, . . . , n, it follows that our

average winnings per game will be

āˆ‘ š‘„š‘–š‘(š‘„š‘–) = šø[š‘‹]

š‘›

š‘–=1

Page 7: 4.1 Random Variables

Expectation of a function of a random variable

If X is a random variable, then for any real function g defined on the range of X, Y = g(X) is a random variable.

šø[š‘Œ] = āˆ‘ š‘¦š‘–š‘ƒ(š‘Œ = š‘¦š‘–)

š‘—

Solution 1: Solution 2:

Page 8: 4.1 Random Variables

A computation on page 130 shows that

Page 9: 4.1 Random Variables

Variance

Here Āµ = E(X). From Proposition 4.1 it follows that a discrete random variable

Important property:

Page 10: 4.1 Random Variables