Likelihood | R Documentation |
An R6 class that defines a likelihood function to be used by a Calibrator object
An R6 class that defines a likelihood function to be used by a Calibrator object
Each likelihood object must provide a read-only active field name par specifying likelihood parameters, and function logL for log likelihood. These must be implemented by subclasses The log likelihood function.
par
return a vector of parameter names for this likelihood distribution
logL()
Likelihood$logL(x, mean, ...)
x
the observation to calculate the likelihood
mean
the mean of the likelihood distribution
...
other likelihood parameter values
a numeric value giving the likelihood.
clone()
The objects of this class are cloneable with this method.
Likelihood$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.