pymc.DiracDelta#

class pymc.DiracDelta(name, *args, **kwargs)[source]#

DiracDelta log-likelihood.

Parameters
ctensor_like of float or int

Dirac Delta parameter. The dtype of c determines the dtype of the distribution. This can affect which sampler is assigned to DiracDelta variables, or variables that use DiracDelta, such as Mixtures.

Methods

DiracDelta.__init__(*args, **kwargs)

DiracDelta.dist(c, *args, **kwargs)

Creates a tensor variable corresponding to the cls distribution.

DiracDelta.logcdf(c)

DiracDelta.logp(c)

Calculate log-probability of DiracDelta distribution at specified value.

DiracDelta.moment(size, c)

Attributes

rv_class

rv_op