A First Course in Probability (10th Edition)
A First Course in Probability (10th Edition)
10th Edition
ISBN: 9780134753119
Author: Sheldon Ross
Publisher: PEARSON
Bartleby Related Questions Icon

Related questions

Question
**Exercise 4.** Given an event \( A \subset S \), define a random variable \( X \) by:

\[
X(s) = 
\begin{cases} 
1 & \text{if } s \in A, \\
0 & \text{if } s \notin A.
\end{cases}
\]

We call \( X \) an indicator variable. \( X(s) \) indicates whether the input \( s \) is in \( A \) or not.

(a) Write down expression for probability mass function \( f(x) \), in terms of \( P(A) \).

(b) Find the expectation \( E(X) \).
expand button
Transcribed Image Text:**Exercise 4.** Given an event \( A \subset S \), define a random variable \( X \) by: \[ X(s) = \begin{cases} 1 & \text{if } s \in A, \\ 0 & \text{if } s \notin A. \end{cases} \] We call \( X \) an indicator variable. \( X(s) \) indicates whether the input \( s \) is in \( A \) or not. (a) Write down expression for probability mass function \( f(x) \), in terms of \( P(A) \). (b) Find the expectation \( E(X) \).
Expert Solution
Check Mark
Step 1

Given information:

It is given that the random variable X is an indicator variable and X(s) indicates whether the input s is in A or not.

Knowledge Booster
Background pattern image
Similar questions
Recommended textbooks for you
Text book image
A First Course in Probability (10th Edition)
Probability
ISBN:9780134753119
Author:Sheldon Ross
Publisher:PEARSON
Text book image
A First Course in Probability
Probability
ISBN:9780321794772
Author:Sheldon Ross
Publisher:PEARSON