I know that R can easily generate random samples for know distributions - normal, exponential, uniform. But how can I generate a random sample from a known probability distribution (that is not listed)?
The probability distribution is rather simple: f(x) = 2x^-3
So, how can I generate a random sample of X's that come from this distribution?
Thank you!
The probability distribution is rather simple: f(x) = 2x^-3
So, how can I generate a random sample of X's that come from this distribution?
Thank you!