Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


LMest (version 2.4.5)

est_multilogit: Estimate multilogit model

Description

The function performs maximum likelihood estimation of the multilogit model (internal function).

Usage

est_multilogit(Y, Xdis, label = 1:n, be = NULL, Pdis = NULL, dis = FALSE,
	   fort = TRUE, ex = FALSE)

Arguments

Y

matrix of all responses

Xdis

array of all covariates (two- or three-dimensional)

label

label associated to every covariate configuration

be

initial value of the parameter vector

Pdis

probability configurations as initial values

dis

to display partial results

fort

to use fortran routines when possible

ex

TRUE if the function exits without running the estimation algorithm providing the score vector and the information matrix

Value

be

estimated vector regression coefficients

P

estimated matrix of probabilities

Pdis

estimated matrix of distinct probabilities

sc

score vector

Fi

information matrix