A label gives an outcome a simple category. In a two-outcome experiment, 0 can represent failure and 1 can represent success, making the result easy to store, compare, and assign a probability. section 3.5
A soaked laptop
Suppose a spilled-on MacBook has a 70% chance of recovering. Label recovery success as 1 and failure as 0. The corresponding probabilities are P(X=1)=0.70 and P(X=0)=0.30, which add to 1.0. section 3.5
Figure 3.1 Visualizing the Bernoulli distribution
A bar chart makes the two labeled outcomes and their unequal probabilities visible. section 3.5



















