Re: [R] MLE Constraints

2008-10-16 Thread LFRC
Dears, Any help? Thanks, LFRC LFRC wrote: Dears, I'm trying to find the parameters (a,b, ... l) that optimize the function (Model) described below. 1) How can I set some constraints with MLE2 function? I want to set p10, p20, p30, p1p3. 2) The code is giving the following

[R] MLE Constraints

2008-10-15 Thread LFRC
=0.9, i=0.9, j=0.1, k=0.1, l=0.1), method = Nelder- Mead) res Best regards, LFRC -- View this message in context: http://www.nabble.com/MLE-Constraints-tp19994553p19994553.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r

Re: [R] Help MLE

2008-10-10 Thread LFRC
regards, LFRC Ben Bolker wrote: LFRC feliperiehs at yahoo.com.br writes: Dear, I'm starting on R language. I would like some help to implement a MLE function. I wish to obtain the variables values (alpha12, w_g12, w_u12) that maximize the function LL = Y*ln(alpha12 + g*w_g12

[R] Help MLE

2008-10-09 Thread LFRC
Dear, I'm starting on R language. I would like some help to implement a MLE function. I wish to obtain the variables values (alpha12, w_g12, w_u12) that maximize the function LL = Y*ln(alpha12 + g*w_g12 + u*w_u12). Following the code: rm(list=ls()) ls() library(stats4) Model =