UpperBoundLogLikelihood {MoTBFs} | R Documentation |
Upper bound of the loglikelihood
Description
Computes an upper bound of the expected loglikelihood of a dataset given a randomly generated MoTBF density.
Usage
UpperBoundLogLikelihood(f, data, min, max)
Arguments
f |
A function to evaluate of class |
data |
A |
min |
A |
max |
A |
Value
A "numeric"
value which is the log-likelihood of the evaluated ramdom function.
See Also
Examples
data <- rnorm(20)
f <- getNonNormalisedRandomMoTBF(degree = 8, POTENTIAL_TYPE = "MOP")
UpperBoundLogLikelihood(f, data, min = -2.5, max = 3.2)
data <- rexp(20)
f <- getNonNormalisedRandomMoTBF(degree = 8, POTENTIAL_TYPE = "MTE")
UpperBoundLogLikelihood(f, data, min = 0, max = 5)
[Package MoTBFs version 1.4.1 Index]