Two categories with probability $p$ and $1-p$ respectively.