Displaying 2 results from an estimated 2 matches for "fchi".
Did you mean:
chi
2008 Feb 08
2
Applying lm to data with combn
...:5])# only first five used in combinations
#X.SSMII = head(fruit[, 6])# Keep it for referebce
nmax = NULL
n = ncol(mD)# dont take the last column for reference purpose
if(is.null(nmax)) nmax = n
mDD = 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.
2008 Feb 11
0
Testing for differecnes between groups, need help to find the right test in R. (Kes Knave)
...eferebce
> > nmax = NULL
> > n = ncol(mD)# dont take the last column for reference purpose
> > if(is.null(nmax)) nmax = n
> >
> > mDD = 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-tp15359204p15391159...