powered by
This function simulates random numbers for a Pareto r.v.
rpareto(n, xmin, alpha)
n iid random numbers from the Pareto distribution.
positive integer: number of simulated random numbers.
positive scalar: Pareto scale parameter.
non-negative scalar: Pareto shape parameter.
ySim <- rpareto(5,4,1.5)
Run the code above in your browser using DataLab