[R] function of mixture normal with covariates
bolker at ufl.edu
Wed Dec 31 16:05:39 CET 2008
Tal & Julia Vider <jtvider <at> 013.net> writes:
> My name is Julia and I'm doing my phd on roc analysis.
> I'm trying to write a maximization function for the likelihood attached in
> the document.
> For some reason it's not working I keep getting \this error:
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 information about the R-help