Skip to content
Prev 140128 / 398506 Next

scaling problems in "optim"

kathie wrote:
Well, the gist is that optim is happiest when the function values 
f(beta) are not too large and not too small, and ditto for df/dbeta. You 
may e.g. get convergence issues if your data or your "covariates" are 
Molar concentrations when the actual values are on the order of 
microMolar.  "Covariates" in quotes because this is not linear, but the 
gradient df/dbeta plays the part in the local linearization. So you get 
the opportunity to rescale function values and parameters.