MDMix: EM fitting of the Multinomial Dirichlet MIMOSA model.

Description Usage Arguments Value Author(s)

View source: R/MultinomialDirichlet.R

Description

This function fits the multinomial dirichelt MIMOSA model using EM. It can also be used to initialize the model parameters for the MCMC model.

Usage

1
2
3
4
5
6
MDMix(
  data = NULL,
  modelmatrix = NULL,
  alternative = "greater",
  initonly = FALSE
)

Arguments

data

The observed data

modelmatrix

a model matrix specifying which components should be computed

alternative

either 'greater' or 'not equal' to fit the one-sided or two-sided model.

initonly

TRUE or FALSE to return just the initialization parameters.

Value

An object of class MDMixResult

Author(s)

Greg Finak TODO filtering of pu>ps needs to be corrected here.


MIMOSA documentation built on Nov. 12, 2020, 2:02 a.m.