| To: | s-news@wubios.wustl.edu |
|---|---|
| Subject: | using transform.poly for multifactorial polynomial regression-solution |
| From: | Andrew Czarn <aczarn@csse.uwa.edu.au> |
| Date: | Fri, 25 Oct 2002 17:38:00 +0800 (WST) |
| Cc: | dmck@u.washington.edu |
| In-reply-to: | <Pine.LNX.4.44.0210231842010.5411-100000@server02> |
the solution to my recently posted question can be found from the following URLs: http://www.biostat.harvard.edu/~cwager/eeb99/node4.html http://www.biostat.wustl.edu/mailinglists/s-news/200001/msg00189.html in my case it necessitated using "c" to extract the necessary coefficients including the intercept, viz: ***************************************************************************** print(poly.transform(poly(muValuePooledON,2),coef(tempPooled2.lm)[c(1,3,4)])) x^0 x^1 x^2 124.3585 -1294.637 9419.399 ***************************************************************************** hope this helps anyone else andrew Dr AST Czarn |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: which C++ works with S+ 6.1 for Windows?, David Janota |
|---|---|
| Next by Date: | Multiple surface plots, roger gill |
| Previous by Thread: | using transform.poly for multifactorial polynomial regression, Andrew Czarn |
| Next by Thread: | not constant predictor in lme part 2, Bernd Puschner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |