Limited access

Consider the probability distribution of $X$ given below, where $0 < p < 1$:

x P (X=x)
$0$ $p$
$1$ $1 - p$

What is the expected value of $X$?

A

$p$

B

$1-p$

C

$p-1$

D

$1$

E

$0$

Select an assignment template