5 Mean and Variance If X ~ Bernoulli(p), then   X = 0(1- p) + 1(p) = p .
{"Image DocumentName": "X ~ Bernoulli(p)For any Bernoulli trial, we define a random variable X as follows:", "Image ImageDescription": "If the experiment results in a success, then X = 1. Otherwise, X = 0. It follows that X is a discrete random variable, with probability mass function p(x) defined by. p(0) = P(X = 0) = 1 \u2013 p. p(1) = P(X = 1) = p. p(x) = 0 for any value of x other than 0 or 1.", "Image XResolution": "37", "Image YResolution": "37", "Image ResolutionUnit": "Pixels/Centimeter", "Image Software": "SlidePlayer", "Image YCbCrPositioning": "Centered"}