Generating data from a Pareto Distribution.
This function is able to generate random Pareto distributed data with
the specified shape and scale parameters. The function
has been written to be similar in type to the popular runif and rexp type
of functions for generating data from a particular distribution.
generate_pareto(sample_size, shape, scale)
sample_size |
number of observations |
shape |
shape parameter |
scale |
scale parameter |
Vector of Pareto distributed data of sample size sample_size
with shape parameter shape and scale parameter scale.
generate_pareto(10000, 5, 2) generate_pareto(100, 15, 6)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.