Prof Brian Ripley <[EMAIL PROTECTED]> writes:
> On Wed, 15 Jun 2005, Ajay Narottam Shah wrote:
>
> >>> I have a program which is doing a few thousand runs of lm(). Suppose
> >>> it is a simple model
> >>> y = a + bx1 + cx2 + e
> >>>
> >>> I have the R object "d" where
> >>> d <- summary(lm(y
On Wed, 15 Jun 2005, Ajay Narottam Shah wrote:
>>> I have a program which is doing a few thousand runs of lm(). Suppose
>>> it is a simple model
>>> y = a + bx1 + cx2 + e
>>>
>>> I have the R object "d" where
>>> d <- summary(lm(y ~ x1 + x2))
>>>
>>> I would like to obtain Var(x2) out of "d".
On 6/14/05, Ajay Narottam Shah <[EMAIL PROTECTED]> wrote:
> > > I have a program which is doing a few thousand runs of lm(). Suppose
> > > it is a simple model
> > > y = a + bx1 + cx2 + e
> > >
> > > I have the R object "d" where
> > > d <- summary(lm(y ~ x1 + x2))
> > >
> > > I would like to o
> > I have a program which is doing a few thousand runs of lm(). Suppose
> > it is a simple model
> > y = a + bx1 + cx2 + e
> >
> > I have the R object "d" where
> > d <- summary(lm(y ~ x1 + x2))
> >
> > I would like to obtain Var(x2) out of "d". How might I do it?
> >
> > I can, of course,
On 6/14/05, Ajay Narottam Shah <[EMAIL PROTECTED]> wrote:
> I have a program which is doing a few thousand runs of lm(). Suppose
> it is a simple model
> y = a + bx1 + cx2 + e
>
> I have the R object "d" where
> d <- summary(lm(y ~ x1 + x2))
>
> I would like to obtain Var(x2) out of "d". How
I have a program which is doing a few thousand runs of lm(). Suppose
it is a simple model
y = a + bx1 + cx2 + e
I have the R object "d" where
d <- summary(lm(y ~ x1 + x2))
I would like to obtain Var(x2) out of "d". How might I do it?
I can, of course, always do sd(x2). But it would be much