Skip to content

nls, restrict parameter values

2 messages · Angel Lopez, Spencer Graves

#
Hi,
I posted a question (bellow) a few weeks ago and had a reply (thanks 
Christian) that partly solves the problem, but I still would like to be able 
to restrict some of the independent variables in a nls model to be always 
 >0, (is there a way to do it)??
Thanks,
Angel
_________________________________________________________________
Use MSN Messenger to send music and pics to your friends 
http://www.msn.co.uk/messenger
#
If I have a parameter I want to be positive, I replace it by its 
logaritm.  That sends 0 to (-Inf).  Often when I do this, I also get a 
log(likelihood) that is more closely parabolic, which reduces parameter 
effects and makes the standard normal approximations more accurate.

hth.  spencer graves
Angel - wrote: