Function used within est_multi_glob to invert marginal logits and fit the marginal regression model; this is an internal function.
inv_glob(eta, type ="g", der = F)
Arguments
eta: vector of logits
type: type of logit (l = local-logits, g = global-logits)
der: indicator that the derivative of the canonical parameters with respect to the vector of marginal logits is required (F = not required, T = required)
Returns
p: vector of probabilities
D: derivative of the canonical parameters with respect to the vector of marginal logits (if der = T)
References
Colombi, R. and Forcina, A. (2001), Marginal regression models for the analysis of positive association of ordinal response variables, Biometrika, 88 , 1007-1019.
Glonek, G. F. V. and McCullagh, P. (1995), Multivariate logistic models, Journal of the Royal Statistical Society, Series B, 57 , 533-546.