Re: [R] subset selection for glm

From: Thomas Schönhoff <>
Date: Sat 15 Oct 2005 - 20:55:50 EST

Hello Dhiren,

2005/10/15, Dhiren DSouza <>:
> Hello:
> Are there any libraries that will do a subset selection for glm's? I looked
> through leaps, but seems like it is specifically for linear regressions.

?subset should tell you. AFAIK, subset function is not depend on a special statistical procedure, but on types of datasets: vectors, matrices or data frames, as the related help page says.
>From ?glm help page:

 All of 'weights', 'subset', 'offset', 'etastart' and 'mustart' are

     evaluated in the same way as variables in 'formula', that is first
     in 'data' and then in the environment of 'formula'

If you want a more secific answer to your question it would be very helpful to see a toy example of yours.

The posting guide (at the bottom of every mail ) is very helpful to set up clear questions which likely increase your chance to get more helpful responses from the list.

Thomas mailing list PLEASE do read the posting guide! Received on Sat Oct 15 21:03:16 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 18:55:09 EST