Message-ID: <4297064A.1040103@vanderbilt.edu>
Date: 2005-05-27T11:36:42Z
From: Frank E Harrell Jr
Subject: Power set
In-Reply-To: <BAY10-F8C0AD26CC102059B45367D6000@phx.gbl>
Laura Holt wrote:
> Hi again!
>
> I have a data.frame with the columns y, x1, x2, x3.
>
> I would like to fit linear models with one variable at a time,
> then 2 variables at a time, and then 3.
>
> Makes me think of a power set.
Makes me think of irreproducible results if you use the output to select
a single model :-)
Frank Harrell
>
> Anyhow, is there a function to produce the right hand side of the
> formulas, please?
>
> thanks,
> Laura Holt
> mailto: lauraholt_983 at hotmail.com
> R Version 2.1.0 Windows
--
Frank E Harrell Jr Professor and Chair School of Medicine
Department of Biostatistics Vanderbilt University