Re: [R] box-constrained

From: Gustave Lefou <gustave5000_at_gmail.com>
Date: Mon, 10 Mar 2008 17:02:13 +0100

Hello Paul,

It is just a negative log-likelihood with two parameters belonging to [0,1] and [0,Inf].

constrOptim is valid for all linear inequality constraints. My constraints (box-constrained) are as simple as possible, but maybe the methods used by constrOptim are useful too. My question is whether constrOptim is useful for boundary problems, or if optim is sufficient for box-constrained optimization.

Thank you.

2008/3/10, Paul Smith <phhs80_at_gmail.com>:
>
> On Sun, Mar 9, 2008 at 9:10 PM, Gustave Lefou <gustave5000@gmail.com>
> wrote:
> > I have another question.
> >
> > I have seen there is a function called "constrOptim" in R.
> >
> > Is it better than "optim", for example to optimize a function f of two
> > parameters belonging to [0,1] and [0,Infinity] ? Do the methods
> > supplied like Nelder-Mead are better than those of optim ?
>
> Could you please give us a concrete example of what you are trying to
> optimize?
>
> Paul
>
> ______________________________________________
> R-help_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

        [[alternative HTML version deleted]]



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Mon 10 Mar 2008 - 16:06:27 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 10 Mar 2008 - 21:30:21 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive