dparteo: The probability density function of the pareto distribution.

Description Usage Arguments Value Examples

Description

dpareto function evaluates the pdf of pareto dist. at given x with parameters.

Usage

1
dparteo(x, alpha, x_m, log.p = FALSE)

Arguments

x

the point where the pdf to be evaluated

alpha

the shape parameter of pareto dist.

x_m

the scale parameter of pareto dist.

log.p

use log.p = TRUE when you want to get a result in a log scale

Value

the pdf value of the pareto dist.

Examples

1
2
3
dpareto(1:5, 2, 3)
dpareto(1:5, 2, -3:3)
dpareto(1:5, 2:5, 3)

petershan1119/paretopractice documentation built on May 31, 2019, 12:12 p.m.