Displaying 1 result from an estimated 1 matches for "monret".
Did you mean:
monnet
2011 Apr 29
1
Regression Summary for a List
Hi,
I am trying to run a regression on two matrices with 10 columns. I have
been able to run the regression with the following code:
fit=list()
for(i in 1:10) {
fit[[i]]=lm(monret[,i]~janret[,i])
}
However, I can't get the regression to spit out more than the coefficients
(summary(fit) does not work). I really need the full summary for each of
the 10 regressions, including the R-squared values. I'm sure there's a
simple way to do this I just can't seem to...