in r studio
## Binomial distribution.
Use the "rbinom" function to sample samples of sizes in "sizes" for the binomial distribution with parameter $n=30, p = 0.4$.
Plot the histogram of the distribution for this binomial random variable, and then plot the histograms for each of the diffent samples (use "par" to get all plots in a single frame.)
```{r}
```
## Normal distribution.
Use the "rnorm" function to sample samples of sizes in "sizes" for the binomial distribution with parameter $\mu=5, \sigma = 1.2$.
Plot the histogram of the distribution for this normal random variable, and then plot the histograms for each of the diffent samples (use "par" to get all plots in a single frame.)
```{r}
```
1
Expert's answer
2020-11-09T18:53:44-0500
Dear nati, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order
Comments
Leave a comment