COMP9334 Revision Questions for Week 5B 2
Question 1
The Weibull distribution with parameters α and β has a cumulative probability function F (x) = 1 − exp(−αxβ ). Write a computer program to generate random numbers that have a Weibull distribution with α = 5 and β = 6. Verify by using a histogram that the numbers that you have generated do have a Weibull distribution.
1