stat.bwss: Between and Within Group Sum of Squares Calculation

Description Usage Arguments Value Author(s) References See Also

Description

This function computes the between and within group sum of squares for each row of a matrix which may have NAs.

Usage

1

Arguments

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.

Value

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.

Author(s)

Sandrine Dudoit, sandrine@stat.berkeley.edu
Jane Fridlyand, janef@stat.berkeley.edu

References

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).

See Also

var.na, var, apply.


gnyamundanda/sma documentation built on May 3, 2019, 5:17 p.m.