dpower {Rsubbotools} | R Documentation |
Returns density from EP Distribution
Description
The dpower
returns the density at point x for the
Exponential Power distribution with parameters a
, b
and m
.
Usage
dpower(x, m = 0, a = 1, b = 2)
Arguments
x |
(numeric) - value in the range |
m |
(numeric) - location parameter. Must be in the range
|
a |
(numeric) - scale parameter. Must be in the range |
b |
(numeric) - shape parameter. Must be in the range |
Details
The Exponential Power distribution (EP) is given by the function:
f(a,b) = \frac{1}{2a\Gamma(1+1/b)}e^{-|(x-m)/a|^b}, -\infty < x < \infty
.
where b
is a shape parameter, a
is a scale parameter, m
is a location parameter and \Gamma
represents the gamma function.
Value
a vector containing the values for the densities.
[Package Rsubbotools version 0.0.0.9 Index]