rpareto: Sample from a Pareto distribution

Description Usage Arguments Value Examples

Description

Simulates a sample of Pareto-distributed data.

Usage

1
rpareto(n, a = 0.5, b = 1)

Arguments

n

The number of independent observations to draw (i.e. sample size).

a

The shape parameter of the Pareto distribution.

b

The scale parameter of the Pareto distribution.

Value

A vector of Pareto-distributed random numbers of length n.

Examples

1
rpareto(50, 0.5, 1)

mdedge/stfspack documentation built on May 9, 2019, 8:17 a.m.