Thanks, Rolf and Ben,
Both solutions worked, but I finished by contraining parameters values using
optim().
Best,Bernardo Niebuhr
Em Segunda-feira, 8 de Dezembro de 2014 18:36, Rolf Turner
escreveu:
I know nothing about the bbmle package and its mle2() function, but it
is a gene
Rolf Turner auckland.ac.nz> writes:
>
>
> I know nothing about the bbmle package and its mle2() function, but it
> is a general truth that if you need to constrain a parameter to be
> positive in an optimisation procedure a simple and effective approach is
> to reparameterize using exp().
I know nothing about the bbmle package and its mle2() function, but it
is a general truth that if you need to constrain a parameter to be
positive in an optimisation procedure a simple and effective approach is
to reparameterize using exp().
I.e. represent xmin as exp(lxmin) (say) and use l
3 matches
Mail list logo