Inverts a marginal log-linear parametrization.
binve(eta, C, M, G, maxit = 500, print = FALSE, tol = 1e-10)
A vector of probabilities p
.
a vector of dimension t-1
where t
is the number of cells
of a contingency table.
A contrast matrix.
A marginalization matrix.
G is the model matrix of the loglinear parameterization with no constant term.
an integer, specifying the maximum number of iterations. Default 500.
a logical value: if TRUE
, prints the criterion after each cycle.
A small value specifying the tolerance for the convergence criterion. Default:
1e-10
.
Antonio Forcina, Giovanni M. Marchetti
A marginal log-linear link is defined by \(\eta = C (M \log p)\). See Bartolucci et al. (2007).
Bartolucci, F., Colombi, R. and Forcina, A. (2007). An extended class of marginal link functions for modelling contingency tables by equality and inequality constraints. Statist. Sinica 17, 691-711.
mat.mlogit