14 loglikelihood = log(prob)
51 t = (meas - model) / sigma
52 f = bioNormalPdf(t) / sigma
71 t = (meas - model) / sigma
72 f = - t * t / 2 - log(sigma) -0.9189385332
def loglikelihood(prob)
Simply computes the log of the probability.
def loglikelihoodregression(meas, model, sigma)
Computes log likelihood function of a regression model.
def likelihoodregression(meas, model, sigma)
Computes likelihood function of a regression model.
def mixedloglikelihood(prob)
Compute a simulated loglikelihood function.