|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpal.statistics.ShimodairaHasegawaTest
public class ShimodairaHasegawaTest
Shimodaira-Hasegawa-Test (1999) to compare a set of evolutionary hypotheses
| Field Summary | |
|---|---|
int |
bestH
number of maximum likelihood hypothesis |
double[] |
delta
log-likelihood difference to maximum likelihood hypothesis |
int |
numBootstraps
number of bootstrap replicates |
double[] |
pval
corresponding p-value |
| Constructor Summary | |
|---|---|
ShimodairaHasegawaTest()
|
|
| Method Summary | |
|---|---|
void |
compare(double[][] sLogL,
int numBoot)
Compare all given hypotheses to the best (ML) hypothesis and store results in public arrays delta, pval (which will automatically be created by this procedure). |
void |
compare(double[][] pLogL,
int[] alias,
int numBoot)
Compare all given hypotheses to the best (ML) hypothesis and store results in public arrays delta, pval (which will automatically be created by this procedure). |
void |
report(java.io.PrintWriter out)
print human readable report (e.g., on parameters and associated model) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int bestH
public double[] delta
public double[] pval
public int numBootstraps
| Constructor Detail |
|---|
public ShimodairaHasegawaTest()
| Method Detail |
|---|
public void compare(double[][] sLogL,
int numBoot)
sLogL - log-likelihoods of each sitenumBoot - number of bootstraps
public void compare(double[][] pLogL,
int[] alias,
int numBoot)
pLogL - log-likelihoods of each patternalias - map of patterns to sites in sequencenumBoot - number of bootstrapspublic void report(java.io.PrintWriter out)
Report
report in interface Reportout - output stream
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||