stat.bwss {sma} | R Documentation |
This function computes the between and within group sum of squares for each row of a matrix which may have NAs.
stat.bwss(x, cl)
x |
a matrix, NAs allowed. In the microarray context, the rows
of X could correspond to genes and the columns to different
hybridizations. |
cl |
column labels, must be consecutive integers. |
List containing the following components
wn |
matrix with class sizes for each row of X ; |
BW |
vector of BSS/WSS for each row of X ; |
BSS |
between group sum of squares for each row of X ; |
WSS |
within group sum of squares for each row of X ; |
TSS |
total sum of squares for each row of X ; |
tvar |
variance for each row of X . |
Sandrine Dudoit, sandrine@stat.berkeley.edu
Jane Fridlyand, janef@stat.berkeley.edu
S. Dudoit, J. Fridlyand, and T. P. Speed. Comparison of Discrimination Methods for the Classification of Tumors Using Gene Expression Data. June 2000. (Statistics, UC Berkeley, Tech Report # 576).