calc_loglik_array: Calculate log-likelihood.

Description Usage Arguments Author(s)

Description

Calculate log-likelihood.

Usage

1
calc_loglik_array(g, betahat, errordist)

Arguments

g

A mixture density. Either of class normalmix or of class unimix. This is the prior.

betahat

A vector of numerics. The locations at which to evalutate the density.

errordist

A list of objects of either class normalmix or unimix. The length of this list must be the length of betahat. errordist[[i]] is the ith error distribution of betahat[i].

Author(s)

David Gerard


dcgerard/stramash documentation built on May 15, 2019, 1:24 a.m.