! ESTADISTICA1011

Distribuciones de probabilidad

Distrbucion exponencial

curve(dexp(x), from=0, to=10)

Distribucion binomial

x <- rbinom(20, 1, 0.5)
x
##  [1] 0 0 1 0 0 0 0 0 1 1 0 1 1 1 0 0 0 1 0 1

Distribucion de éxitos vs fracsos

table(x)
## x
##  0  1 
## 12  8

install(pettydoc)