Learn R Programming

hmmm (version 1.0-4)

Hierarchical Multinomial Marginal Models

Description

Functions for specifying and fitting marginal models for contingency tables proposed by Bergsma and Rudas (2002) here called hierarchical multinomial marginal models (hmmm) and their extensions presented by Bartolucci et al. (2007); multinomial Poisson homogeneous (mph) models and homogeneous linear predictor (hlp) models for contingency tables proposed by Lang (2004) and (2005); hidden Markov models where the distribution of the observed variables is described by a marginal model. Inequality constraints on the parameters are allowed and can be tested.

Copy Link

Version

Install

install.packages('hmmm')

Monthly Downloads

614

Version

1.0-4

License

GPL (>= 2)

Maintainer

Colombi Roberto

Last Published

March 14th, 2018

Functions in hmmm (1.0-4)

marg.list

lists of marginal sets
hmmm.model.X

hmm model with covariates effect on parameters
recursive

recursive marginal interactions
print.hmmmfit

print for the class hmmmfit
relpolbirth

religion, political orientation and teenage birth control data
relpol

religion and political orientation data
polbirth

political orientation and teenage birth control data
print.hidden

print for the class hidden
mphineq.fit

fit mph models under inequality constraints
hmmm.model

define a hmm model
summary.hmmmfit

summary for the class hmmmfit
summary.hmmmmod

summary and print for the class hmmmmod
summary.hidden

summary for the class hidden
summary.hmmmchibar

summary for hmmm.chibar
summary.mphfit

summary and print for the class mphfit
print.hmmmchibar

print for hmmm.chibar
drinks

soft-drinks data
depression

longitudinal study of mental depression
getnames

vector of frequencies from a data frame
akaike

akaike criterium
accident

factory accident data
anova.hidden

anova for the class hidden
hidden.emfit

ML estimation of a multinomial hidden Markov model
anova.hmmmfit

anova for the class hmmmfit
create.XMAT

design matrix for a hmm model
madsen

Madsen data
GMI

function to compute the generalized marginal interactions associated to a hierarchical family of marginal sets
hmmm.chibar

chi-bar statistic test for hmm models
hmmm-package

package hmmm
inv_GMI

function to compute a vector of joint probabilities from a vector of generalized marginal interactions (gmi)
loglin.model

define a log-linear model
kentucky

Kentucky traffic accident data
hmmm.mlfit

fit a hmm model