Good morning.
I have a likelihood computed by applying quadrature twice, in a
double-sum way. I can compute the inner sum and then use an index loop
to compute the outer sum and the whole likelihood.
My questions are
a) Can I include a loop inside an mle command? My impression is, "no".
b) If I write the computation of the likelihood in a user-defined
function, can I include this function in an mle command?
If the answer is again "no", than I guess I will have to, reversely,
include the mle command in a subsequent user-defined function, as shown
in the user's guide, right?
--
Alecos Papadopoulos PhD
Athens University of Economics and Business
web:
alecospapadopoulos.wordpress.com/
scholar:https://g.co/kgs/BqH2YU