Description Usage Arguments Value Examples
Estimate mixture proportions and mode of the unimodal inverse-gaama mixture variance prior.
1 2 | est_mixprop_mode(sehat, g, prior, df, unimodal, singlecomp, estpriormode,
maxiter = 5000)
|
sehat |
n vector of standard errors of observations |
g |
the initial prior distribution for variances |
prior |
numeric vector indicating Dirichlet prior on mixture proportions |
df |
appropriate degrees of freedom for chi-square distribution of sehat^2 |
unimodal |
put unimodal constraint on the prior distribution of variances ("variance") or precisions ("precision") |
singlecomp |
logical, indicating whether to use a single inverse-gamma distribution as the prior distribution for the variances |
estpriormode |
logical, indicating whether to estimate the mode of the unimodal prior |
maxiter |
maximum number of iterations of the EM algorithm |
A list, including the final loglikelihood, the fitted prior g, number of iterations and a flag to indicate convergence.
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.