You can use a beta distribution to model the distribution of a quantity ... The INSET statement adds an inset with the sample size and the p-value for a chi-square goodness-of-fit test.