imccart / referrals-and-learning

0 stars 0 forks source link

Maximization methods #13

Closed imccart closed 6 months ago

imccart commented 9 months ago
sethrs-jhu commented 7 months ago

Program in R: likelihood and gradient, estimation command

imccart commented 7 months ago

R multinomial logit with inequality constraints: multinomineq. Employs a bayesian approach and might be quite slow or impossible with our number of fixed effects.

When I last estimated a hospital choice model in R, I used the mclogit command: logit.reg <- mclogit(cbind(choice,id) ~ vars, data=data), where choice is a dummy variable for the observed choice and ID is a factor variable defining each case (in this setting, it was patient/admission).

sethrs-jhu commented 7 months ago

1992 article in Marketing Science suggests an iterative algorithm https://www.jstor.org/stable/184095

How it would work in our case (and I will email some sample code):

imccart commented 6 months ago

Iterative procedure:

// ITERATIVE PROCEDURE FOR NONLINEAR PARAMETER