Displaying 1 result from an estimated 1 matches for "tp15359204p15359204".
2008 Feb 08
2
Applying lm to data with combn
...apply(combn(5, 1),1, FUN= function(y) mD[, y])# to
fg = lm( X.SSMII ~ X.GDAXI + X.FTSE + X.FCHI + X.IBEX, data = mDD )#
regress on combos
s = cbind(s, Residuals = residuals(fg))# take residuals
print(mD)
--
View this message in context: http://www.nabble.com/Applying-lm-to-data-with-combn-tp15359204p15359204.html
Sent from the R help mailing list archive at Nabble.com.