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(f > n || f == 0) { f = n; }
22 for(int i = 1; i < rank->size(); i++){
23 sum += pow(-1., i+1) * pow(((double)f / n), i) * (double)(rank->get(i));
30 m->errorOut(e, "Efron", "getValues");
36 /***********************************************************************/