[R] Multiple linear regression

Jim Lindsey james.lindsey at luc.ac.be
Thu Apr 19 11:40:57 CEST 2001


> 
> Dear R-users,
> I've a question regardiing multiple linear regression.
> Is it possible to regress a function of the type
> y=b0+b1*x1+b2*x2
> constraining the partial derivatives dy/dx1 and dy/dx2 to be greater
> than 0 ???

One easy possibility is to fit it as a nonlinear regression:
y=b0+exp(b1)*x1+exp(b2)*x2
  Jim

> 
> Thank you very much for any possible suggestion.
> Best regards
> Marco
> 
> 
> --
> Marco Pagani - PhD Student
> Dipartimento di Scienze della Terra - Sezione Geofisica
> Universita' degli Studi di Milano
> c/o
> CSGAQ - CNR
> via Bassini, 15 - I-20133 Milano - Italia
> tel: +39-02-23699455
> fax: +39-02-26680987 / +39-02-2362946
> 
> 
> 
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> Send "info", "help", or "[un]subscribe"
> (in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
> 

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list