I know this is a mixed effect model email list and I apologize if I annoy
anyone.  I figured since I was already a member of this list I could try my
question here first.  Also, I have received VERY helpful responses from this
list in the past and I am hoping to repeat this.  

 

Here is my situation in a simple description: 

I have an equation that has one parameter and 3 data variables.  I need to
get R to determine the parameter value that maximizes the sum calculated
from the equation.  

 

I know this is simple problem but my search into functions of R got me
confused.  I think I should use the optim function but I also read about the
trust function.  I found some very useful examples for the optim function
but they related to specific distributions (i.e. normal, poisson)  

 

Any advice would be greatly appreciated.  

 

Mike  


	[[alternative HTML version deleted]]


