[R] Using lm to estimate a parameter?
ligges at statistik.tu-dortmund.de
Tue Feb 19 14:12:31 CET 2013
On 19.02.2013 11:23, hellen wrote:
> I have a data with three variables (X,Y,Z) and I have an equation as
> Z=X/(1+L*X/Y) where L is a constant which need to be estimated from data.
> How should I write the formula in lm or is it possible to fit a linear
> model in this case?
Neither, it is nonlinear in the parameters. See ?nls or ?optim, for example.
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help