[R] using optimize with two unknowns, e.g. to parameterize a distribution with given confidence interval

Ben Bolker bbolker at gmail.com
Sat Oct 16 22:10:35 CEST 2010


David LeBauer <dlebauer <at> illinois.edu> writes:

> 
> Hi,
> 
> I would like to write a function that finds parameters of a log-normal
> distribution with a 1-alpha CI of (x_lcl, x_ucl):
> 
> However, I don't know how to optimize for the two unknown parameters.
> 

  Try optim instead.



More information about the R-help mailing list