Journal of Statistical Software (Sep 2014)

hmmm: An R Package for Hierarchical Multinomial Marginal Models

  • Roberto Colombi,
  • Sabrina Giordano,
  • Manuela Cazzaro

DOI
https://doi.org/10.18637/jss.v059.i11
Journal volume & issue
Vol. 59, no. 1
pp. 1 – 25

Abstract

Read online

In this paper we show how complete hierarchical multinomial marginal (HMM) models for categorical variables can be defined, estimated and tested using the R package hmmm. Models involving equality and inequality constraints on marginal parameters are needed to define hypotheses of conditional independence, stochastic dominance or notions of positive dependence, or when the parameters are allowed to depend on covariates. The hmmm package also serves the need of estimating and testing HMM models under equality and inequality constraints on marginal interactions.