Hello list-members! Is there a function that automatically calculates the slope and the confidence intervals for the different explanatory variables from the glm output? Many thanks in advance for every hint. B. ============================Birgit Lemcke Institut of Systematic Botany University of Zurich Zollikerstrasse 107 CH-8008 Z?rich Switzerland Ph: +41 (0)44 634 8416 mail: birgit.lemcke at systbot.uzh.ch =============================
On Aug 3, 2009, at 9:58 AM, Birgit Lemcke wrote:> Hello list-members! > > Is there a function that automatically calculates the slope and the > confidence intervals for the different explanatory variables from > the glm output? > > Many thanks in advance for every hint.B.; meet ??"" ,the quick way to do help.search(""). e.g.: ??"confidence intervals" And for your purposes the confint function in the stats package is probably what you are looking for.> > B. >David Winsemius, MD Heritage Laboratories West Hartford, CT
On Aug 3, 2009, at 10:13 AM, David Winsemius wrote:> > On Aug 3, 2009, at 9:58 AM, Birgit Lemcke wrote: > >> Hello list-members! >> >> Is there a function that automatically calculates the slope and the >> confidence intervals for the different explanatory variables from >> the glm output? >> >> Many thanks in advance for every hint. > > B.; meet ??"" ,the quick way to do help.search(""). e.g.: > > ??"confidence intervals" > > And for your purposes the confint function in the stats package is > probably what you are looking for. >Looking once more at the list of hits for help topics matching "confidence intervals" I noticed that confint.glm has a separate heading. Since MASS is not loaded by default, you might need to do: require(MASS) ?confint.glm David Winsemius, MD Heritage Laboratories West Hartford, CT