Introducción a la estadística en R
Maggie Matsui
Content Developer, DataCamp



$$P(4 \le \text{wait time} \le 7) = ~~ ?$$

$$P(4 \le \text{wait time} \le 7) = ~~ ?$$

$$P(4 \le \text{wait time} \le 7) = 3 \times 1/12 = 3/12$$

$$ P(\text{wait time} \le 7)$$
![Área resaltada de 0 a 7 bajo la línea horizontal] (https://assets.datacamp.com/production/repositories/5758/datasets/4536caaab9475f21ce84e8d0c6a59d0fb9915d2a/Screen%20Shot%202020-05-01%20at%2010.18.46%20AM.png = 55)
punif(7, min = 0, max = 12)
0.5833333
$$ P(\text{wait time} \ge 7)$$

punif(7, min = 0, max = 12, lower.tail = FALSE)
0.4166667
$$ P(4 \le \text{wait time} \le 7)$$

$$ P(4 \le \text{wait time} \le 7)$$

$$ P(4 \le \text{wait time} \le 7)$$

punif(7, min = 0, max = 12) - punif(4, min = 0, max = 12)
0.25
$$P(0 \le \text{wait time} \le 12) = ~~ ?$$

$$P(0 \le \text{outcome} \le 12) = 12 \times 1/12 = 1$$





Distribución normal

Distribución de Poisson

Introducción a la estadística en R