Learn R Programming

ggm (version 2.5.1)

mat.mlogit: Multivariate logistic parametrization

Description

Find matrices C and M of e binary multivariate logistic parameterization.

Usage

mat.mlogit(d, P = powerset(1:d))

Value

C

A contrast matrix.

L

A marginalization matrix.

Arguments

d

A positive integer, the number of binary responses.

P

A list of vectors of integers specifying margins. For instance list(1, 2, c(1,2)). Default: the power set of 1:d.

Author

Giovanni M. Marchetti

Details

The power set is in the order of dimensions of the sets.

References

Glonek, G. J. N. and McCullagh, P. (1995). Multivariate logistic models. Journal of the Royal Statistical Society, Ser. B 57, 533-546.

See Also

binomial, marg.param

Examples

Run this code
mat.mlogit(2)

Run the code above in your browser using DataLab