Message-ID: <139ef1c20508250543788f3439@mail.gmail.com>
Date: 2005-08-25T12:43:27Z
From: Krishna Kumar
Subject: help on retrieving output from by( ) for regression
Hi all
I used a function
> qtrregr <- by(AB, AB$qtr, function(AB) lm(AB$X~AB$Y))
objective is to run a regression on quartery subsets in the data set
AB, having variables X and Y, grouped by variable qtr.
Now i retrieved the output using qtrregr, however it only showed the
coefficients (intercept and B) with out significant levels and
residuals for each qtr. Can some on help me on how can retrieve the
detailed regression output.
rgds
snvk