Displaying 1 result from an estimated 1 matches for "v_pred".
Did you mean:
v_prev
2008 Dec 31
2
function of mixture normal with covariates
Hello,
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:
Error: unexpected symbol in:
" +log(v_pred))
return"
> }
Error: unexpected '}' in "}"
>
> opp<-optim(c(meany0,meany1,stdy0,stdy1,dx,V,d),logl)
Error in optim(c(meany0, meany1, stdy0, stdy1, dx, V, d), logl) :
function cannot be evaluated at initial parameters
>
This is what I wrote...