Skip to content
Prev 306539 / 398506 Next

Running different Regressions using for loops

On Sep 28, 2012, at 4:35 AM, Krunal Nanavati wrote:

            
Perhaps (and that is a really large 'perhaps'):
lm.means <- list()
lm.means[[i]]  <- mean(lm.list2[[i]]$coefficients[c("Price1", "Media1")]
            }
One generally want ones methods to be determinate while allowing the results to be approximate.

Had you followed the posting guide a offered a reproducible example it would have been much more "understandable".
David Winsemius, MD
Alameda, CA, USA