How to do the following in R:
Write a function to generate a random sample of size n from the Beta(a,b) distribution by the acceptance-rejection method. Generate a random sample of size 1000 from the Beta(3,2) distribution.
Get Answers For Free
Most questions answered within 1 hours.