View source: R/priorKnowledge.R
UpperBoundLogLikelihood | R Documentation |
Computes an upper bound of the expected loglikelihood of a dataset given a randomly generated MoTBF density.
UpperBoundLogLikelihood(f, data, min, max)
f |
A function to evaluate of class |
data |
A |
min |
A |
max |
A |
A "numeric"
value which is the log-likelihood of the evaluated ramdom function.
getNonNormalisedRandomMoTBF
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.