Re: [R] constrained optimisation in R.

2009-07-02 Thread Ravi Varadhan
02, 2009 3:32 PM To: 'Iason Christodoulou' Cc: r-help@r-project.org Subject: Re: [R] constrained optimisation in R. Hi, I know nothing about neither your model nor the Skellam distribution. I will assume that it is a sensible model and that the parameters are identifiable from the data.

Re: [R] constrained optimisation in R.

2009-07-02 Thread Ravi Varadhan
h/People/Faculty_personal_pages/Varadhan.h tml _ From: Iason Christodoulou [mailto:c_iaso...@hotmail.com] Sent: Thursday, July 02, 2009 2:58 PM To: rvarad...@jhmi.edu Subject: RE: [R] constrained optimisation in R. $B&3(Bhe actual problem is: Log ($B&K(

Re: [R] constrained optimisation in R.

2009-07-02 Thread Ravi Varadhan
ursday, July 02, 2009 11:56 AM To: r-help@r-project.org Subject: [R] constrained optimisation in R. i want to estimate parameters with maximum likelihood method with contraints (contant numbers). for example sum(Ai)=0 and sum(Bi)=0 i have done it without the constraints but i realised that i have

[R] constrained optimisation in R.

2009-07-02 Thread Iason Christodoulou
i want to estimate parameters with maximum likelihood method with contraints (contant numbers). for example sum(Ai)=0 and sum(Bi)=0 i have done it without the constraints but i realised that i have to use the contraints. Without constraints(just a part-not complete): skellamreg_LL=function(pa