dist_degenerate {distributional} | R Documentation |
The degenerate distribution
Description
The degenerate distribution takes a single value which is certain to be observed. It takes a single parameter, which is the value that is observed by the distribution.
Usage
dist_degenerate(x)
Arguments
x |
The value of the distribution. |
Details
We recommend reading this documentation on https://pkg.mitchelloharawild.com/distributional/, where the math will render nicely.
In the following, let be a degenerate random variable with value
x
= .
Support: , the set of all real numbers
Mean:
Variance:
Probability density function (p.d.f):
Cumulative distribution function (c.d.f):
The cumulative distribution function has the form
Moment generating function (m.g.f):
Examples
dist_degenerate(x = 1:5)
[Package distributional version 0.4.0 Index]