Re: [R] a prolem with constrOptim

2009-11-02 Thread Ravi Varadhan
ct.org] On Behalf Of Davidov, Ori (NIH/NIEHS) [V] Sent: Monday, November 02, 2009 11:36 AM To: r-help@r-project.org Subject: [R] a prolem with constrOptim Hi, I apologize for the long message but the problem I encountered can't be stated in a few lines. I am having some problems with the func

Re: [R] a prolem with constrOptim

2009-11-02 Thread Ravi Varadhan
ject.org] On Behalf Of Davidov, Ori (NIH/NIEHS) [V] Sent: Monday, November 02, 2009 11:36 AM To: r-help@r-project.org Subject: [R] a prolem with constrOptim Hi, I apologize for the long message but the problem I encountered can't be stated in a few lines. I am having some problems with the

[R] a prolem with constrOptim

2009-11-02 Thread Davidov, Ori (NIH/NIEHS) [V]
Hi, I apologize for the long message but the problem I encountered can't be stated in a few lines. I am having some problems with the function constrOptim. My goal is to maximize the likelihood of product of K multinomials, each with four catagories under linear constraints on the parameter va