fitUserDefinedDist-class: An S4 class to fit a user-defined distribution on a vector of...

Description Details Slots See Also

Description

This class allows to fit a user-defined distribution on the marker values x.

Details

This class is automatically created when the user applies the fit function with the argument distr="user". You never have to create manually this class, it is created internally.

Slots

x

This slot takes in argument the marker values. Numeric argument.

n

Length of x vector (including NA values). Numeric argument.

paraNames

This slot is a character vector of distribution parameter names.

mcmcList

This slot is an mcmc.list object summing up all the sampled parameters of the user-defined distribution.

cdf

This slot is a function that describes the cumulative distribution function of the user-defined distribution.

gradient

This slot is a function that describes the probability density function of the user-defined distribution.

hessian

This slot is a function that describes the fisrt derivative of the probability density function of the user-defined distribution.

mcmc

This slot allows the main function to k,now whether an MCMC algorithm must be performed to sample the distribution parameters from their posterior distribution.

See Also

fit for more details on how to fit a user-defined distribution.


optimalThreshold documentation built on Jan. 13, 2020, 5:06 p.m.