Skip to content
Prev 165769 / 398503 Next

function of mixture normal with covariates

Tal & Julia Vider <jtvider <at> 013.net> writes:
You're missing a couple of close-parentheses somewhere --
perhaps after +log(v_pred)).

 When I add )) after that I get a syntactically
correct likelihood function.  Of course that does not
guarantee that those parentheses are actually in the
correct place mathematically (I haven't looked at
your PDF in any more detail).

  In the long run and maybe even in the short run
you will make your life easier if you use a programmer's
editor of some sort (emacs, Tinn-R, ... depending on
your taste and OS) that will let you match parentheses
more easily.

  good luck
    Ben Bolker