Description Usage Arguments Details Value Author(s)
This function will find the log of the coefficients of the prior mixing proportions in the ASH-likelihood when the model is betahat = g + errordist, where g and errordist are both mixtures of either normals or uniforms.
1 | log_compdens_conv_mix(g, betahat, errordist)
|
g |
A mixture density. Either of class |
betahat |
A vector of numerics. The locations at which to evalutate the density. |
errordist |
A list of objects of either class |
There are four cases: (1) g
and errordist
are both of
class normalmix
, (2) g
is of class normalmix
and errordist
is of class unifmix
, (3) g
is of
class unifmix
and errordist
is of class
normalmix
, and (4) g
and errordist
are both of
class unifmix
. All of these are supported. Though (2) and
(3) differ only in indexing.
A matrix with row dimension length(betahat)
and
column dimension length(errordist)
.
David Gerard
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.