Figure 1: A bivariate distribution with uniform marginals

Figure 2: Binomial(5,\theta) pmf

Figure 3:  Type I and type II errors for the binomial(5,\theta) example