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
Dear all,
I am fitting models to data with mle2 function of the bbmle package.In
specific, I want to fit a power-law distribution model, as defined here
(http://arxiv.org/pdf/cond-mat/0412004v3.pdf), to data.
However, one of the parameters - xmin -, must be necessarily greater than zero.
What ca
4 matches
Mail list logo