Skip to content
Prev 1912 / 21307 Next

[Bioc-devel] rfc - rowttests in genefilter package

Hi Wolfgang, 

Two issues:

1) The style of the formula you show below is known
to have numerical accuracy problems.

Why not just use the R var() function
on the data that you used to calculate
ss and s with? (or the C code that 
implements it?)  I believe this issue
has been adequately handled there, though
I haven't read the source code.

2) Is that the correct formula?
An unbiased variance calculation would be

(ss - s * s / n)/(n-1)
 

 

Steven McKinney, Ph.D.

Statistician
Molecular Oncology and Breast Cancer Program
British Columbia Cancer Research Centre

email: smckinney at bccrc.ca
tel: 604-675-8000 x7561

BCCRC
Molecular Oncology
675 West 10th Ave, Floor 4
Vancouver B.C. 
V5Z 1L3

Canada