[R] What does it mean by initial value not available?

2007-09-09 Thread Yuchen Luo
Dear friends. I use ConstrOptim( ) and got error message initial value not available. My understanding of initial value not available is that one of the following 3 cases happens: 1.The objective function is not well defined at the point of the initial value. 2. The differentiation of the

Re: [R] What does it mean by initial value not available?

2007-09-09 Thread Duncan Murdoch
On 09/09/2007 7:01 AM, Yuchen Luo wrote: Dear friends. I use ConstrOptim( ) and got error message initial value not available. My understanding of initial value not available is that one of the following 3 cases happens: 1.The objective function is not well defined at the point of the

Re: [R] What does it mean by initial value not available?

2007-09-09 Thread Yuchen Luo
Dear Professor Mordoch. Thank you very much for your help! Your time is highly appreciated! I do intend to optimize over 3 parameters and the way I did it is constrOptim(c(0.5,0.3,0.5), fit.error, fit.error.grr, ui=ui,ci=ci). Also, There is a missing value for both sigmae and ss. (The last 3rd