multinomial: The multinomial family

multinomialR Documentation

The multinomial family

Description

This function is a returns a family and is a generalization of binomial. users would only need to call it when calling change with what = "family", to = multinomial(link = 'logit')

Usage

multinomial(link = "logit")

Arguments

link

character string among those supported by binomial

Details

This function is mostly cosmetic. The family slot for an object of unordered-categorical-class must be multinomial(link = 'logit'). For an object of ordered-categorical-class but not its subclasses, the family slot must be multinomial() but the link function can differ from its default ("logit")

Value

A family object

Author(s)

Ben Goodrich and Jonathan Kropko, for this version, based on earlier versions written by Yu-Sung Su, Masanao Yajima, Maria Grazia Pittau, Jennifer Hill, and Andrew Gelman.

See Also

family, binomial

Examples

multinomial()

mi documentation built on June 7, 2022, 1:04 a.m.