In: Statistics and Probability
Plot a binomial distribution for three different pairs of values of p and N; ii) plot a Chi-square distribution for three different degrees of freedom, and; iii) plot a t-distribution for three different degrees of freedom. For EACH set of distributions, note how the shape of the distribution is affected by changing parameters. You must choose an appropriate range of values for the x-axis so that the at least 99% of the density of the distribution is visible. A common mistake is to plot a range that doesn’t capture the shape of the distribution. Doing this will lost credit. \
All work has to be done using RStudio
For Binomial with n = 10, p = 0.25
n = 100, p = 0.5
n = 150, p = 0.75
For Chi-square distribution, with df n = 10
df n = 50
df n = 100
For t-distribution with df n = 1
for df n = 5
for df n = 10