]> git.donarmstrong.com Git - mothur.git/blobdiff - calculator.cpp
*** empty log message ***
[mothur.git] / calculator.cpp
index 71aa99cfb1c6f4f887389e530c1ceeed9dbfeef3..c45ddbffae174303b07e47b94d5183a37339022a 100644 (file)
@@ -863,7 +863,7 @@ double TDTable::getConfLimit(int row, int col) //Rows are the degrees of freedom
                //Found on http://www.vgtu.lt/leidiniai/elektroniniai/Probability.pdf/Table%203.pdf
 
                //Confidence Level        .90    .95     .975     .99    .995     .999    .9995
-               double values[33][7] = {{3.078, 6.314,  12.706, 31.821, 63.656, 318.289, 636.578},
+               double values[30][7] = {{3.078, 6.314,  12.706, 31.821, 63.656, 318.289, 636.578},
                                                        {1.886, 2.920,  4.303,  6.965,  9.925,  22.328, 31.600},
                                                            {1.638,     2.353,  3.182,  4.541,  5.841,  10.214, 12.924},
                                                            {1.533,     2.132,  2.776,  3.747,  4.604,  7.173,  8.610},
@@ -892,10 +892,8 @@ double TDTable::getConfLimit(int row, int col) //Rows are the degrees of freedom
                                                                {1.314, 1.703,  2.052,  2.473,  2.771,  3.421,  3.689},
                                                                {1.313, 1.701,  2.048,  2.467,  2.763,  3.408,  3.674},
                                                                {1.311, 1.699,  2.045,  2.462,  2.756,  3.396,  3.660},
-                                                               {1.310, 1.697,  2.042,  2.457,  2.750,  3.385,  3.646},
-                                                               {1.296, 1.671,  2.000,  2.390,  2.660,  3.232,  3.460},
-                                                               {1.289, 1.658,  1.980,  2.358,  2.617,  3.160,  3.373},
-                                                               {1.282, 1.645,  1.960,  2.326,  2.576,  3.091,  3.291}};
+                                                               {1.310, 1.697,  2.042,  2.457,  2.750,  3.385,  3.646}};
+                                                               
                return values[row][col];
        }
        catch(exception& e) {