generate_pareto: Generating data from a Pareto Distribution.

Description Usage Arguments Value Examples

Description

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.

Usage

1
generate_pareto(sample_size, shape, scale)

Arguments

sample_size

number of observations

shape

shape parameter

scale

scale parameter

Value

Vector of Pareto distributed data of sample size sample_size with shape parameter shape and scale parameter scale.

Examples

1
2
generate_pareto(10000, 5, 2)
generate_pareto(100, 15, 6)

ptsuite documentation built on May 1, 2019, 10:51 p.m.