in r studio
## Exponential distribution
Use the "rexp" function to sample samples of sizes in "sizes" for the binomial distribution with parameter $\lambda = 2$.
Plot the histogram of the distribution for this exponential random variable, and then plot the histograms for each of the diffent samples (use "par" to get all plots in a single frame.)
```{r}
```
## Gamma distribution
Use the "rgamma" function to sample samples of sizes in "sizes" for the binomial distribution with parameter $\alpha = 2, \beta = 0.1$.
Plot the histogram of the distribution for this gamma 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:36-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