Re: [R] Constraint on one of parameters.

2012-02-11 Thread Petr Savicky
On Fri, Feb 10, 2012 at 11:40:57PM -0600, FU-WEN LIANG wrote: > Thanks for your suggestion. > I did read the manual but it seems those examples set boundaries for every > parameter. I have no idea how to set bound for only one parameter(in my > case, only for theta[21]). I tried adding > "method='L

Re: [R] Constraint on one of parameters.

2012-02-11 Thread FU-WEN LIANG
> HTH > Rubén > > -Mensaje original- > De: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] En > nombre de FU-WEN LIANG > Enviado el: jueves, 09 de febrero de 2012 23:56 > Para: r-help@r-project.org > Asunto: [R] Constraint on one of parameters. &

Re: [R] Constraint on one of parameters.

2012-02-09 Thread Rubén Roa
ves, 09 de febrero de 2012 23:56 Para: r-help@r-project.org Asunto: [R] Constraint on one of parameters. Dear all, I have a function to optimize for a set of parameters and want to set a constraint on only one parameter. Here is my function. What I want to do is estimate the parameters of a

[R] Constraint on one of parameters.

2012-02-09 Thread FU-WEN LIANG
Dear all, I have a function to optimize for a set of parameters and want to set a constraint on only one parameter. Here is my function. What I want to do is estimate the parameters of a bivariate normal distribution where the correlation has to be between -1 and 1. Would you please advise how to