5 * Created by Thomas Ryabin on 5/13/09.
6 * Copyright 2009Schloss Lab UMASS Amherst. All rights reserved.
12 /***********************************************************************/
13 EstOutput Efron::getValues(SAbundVector* rank){
18 double n = (double)rank->getNumSeqs();
19 if(m > n || m == 0) { m = n; }
22 for(int i = 1; i < rank->size(); i++){
23 sum += pow(-1., i+1) * pow(((double)m / n), i) * (double)(rank->get(i));
30 errorOut(e, "Efron", "getValues");
36 /***********************************************************************/