dhh {dhh}R Documentation

Density Function Of The Heavy-Headed Distribution

Description

This function gives the values of the density of the heavy-headed distribution.

Usage

dhh(x, a=0, b=1, alpha=0.1)

Arguments

x

x is a vector of real values, at which the values of the density will be calculated.

a,b

The interval (a,b) is the support of the distribution. The default values for a and b are 0 and 1, respectively.

alpha

It is a positive parameter of the distribution. Its default value is set to be 0.1. When alpha = 1, the distribution is uniform. When alpha > 1, the density at a is zero.

Details

See the references.

Value

It returns the values of the density at x.

Author(s)

Runlong Tang

References

Runlong Tang (2018) A Note On Finite Moments, Rediscovery Of The Pareto Distribution and Distributions With Heavy Tails and Heads (v1) https://sites.google.com/site/tangrunlong/notes-on-finance

See Also

phh qhh rhh

Examples

dhh(0.5)

dhh(0.5, 0, 1, 0.1)

dhh(c(0.5, 0.7))

curve(dhh, -1, 2)

curve(dhh(x, a=0, b=1, alpha=0.1), -1, 2)

curve(dhh(x, a=0, b=10, alpha=0.1), -1, 11)

[Package dhh version 0.0.1 Index]