multinomial: The multinomial family

Description Usage Arguments Details Value Author(s) See Also Examples

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

1
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

1

mi documentation built on May 1, 2019, 10:13 p.m.