Skip to content
Back to formatted view

Raw Message

Message-ID: <51237A3F.1020006@statistik.tu-dortmund.de>
Date: 2013-02-19T13:12:31Z
From: Uwe Ligges
Subject: Using lm to estimate a parameter?
In-Reply-To: <CADXo224kwwZDXG92qdCA86Yin_AprreEBLPF56xk-U-kBV2Oew@mail.gmail.com>

On 19.02.2013 11:23, hellen wrote:
> Hi,
> 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.

Uwe Ligges



>
> Thanks!
> Hallen
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>