[R] Simple linear regression

Ko-Kang Kevin Wang kwan022 at stat.auckland.ac.nz
Thu Jul 10 13:00:00 CEST 2003


Try:
  ?lm

On 10 Jul 2003, Gorazd Brumen wrote:

> Date: 10 Jul 2003 12:54:46 +0200
> From: Gorazd Brumen <gbrumen at student.ethz.ch>
> To: R-help at stat.math.ethz.ch
> Subject: [R] Simple linear regression
> 
> Dear all,
> 
> My friend wants to fit a model of the type
> 
> z = a x^n y^m + b,
> 
> where x, y, z are data and a, b, n, m are unknown parameters. 
> 
> How can he transform this to fit in the linear regression framework? 
> Any help would be appreciated.

-- 
Cheers,

Kevin

------------------------------------------------------------------------------
"On two occasions, I have been asked [by members of Parliament],
'Pray, Mr. Babbage, if you put into the machine wrong figures, will
the right answers come out?' I am not able to rightly apprehend the
kind of confusion of ideas that could provoke such a question."

-- Charles Babbage (1791-1871) 
---- From Computer Stupidities: http://rinkworks.com/stupid/

--
Ko-Kang Kevin Wang
Master of Science (MSc) Student
SLC Tutor and Lab Demonstrator
Department of Statistics
University of Auckland
New Zealand
Homepage: http://www.stat.auckland.ac.nz/~kwan022
Ph: 373-7599
    x88475 (City)
    x88480 (Tamaki)




More information about the R-help mailing list