Skip to content
Prev 180535 / 398503 Next

Optimization algorithm to be applied to S4 classes - specifically sparse matrices

I suggest you try to translate your constraints into an 
unconstrained constrained problem using logarithms, then do "nonlinear 
mixed effects modeling" as described in chapters 6-8 of Pinheiro and 
Bates (2000).  To do this, I would first start with the simpler linear 
estimation problem to get starting values for the nonlinear estimation.  
You should be able to do this using the "nlme" function in the "nlme" 
package.  If you have trouble with this, you might consider the "nlmer" 
function in the "lme4" package.  The latter is newer and better in many 
ways but not as well documented. 


      Hope this helps. 
      Spencer Graves
Avraham.Adler at guycarp.com wrote: