Report
public class KishinoHasegawaTest extends java.lang.Object implements Report
Modifier and Type | Field | Description |
---|---|---|
int |
bestH |
number of maximum likelihood hypothesis
|
double[] |
delta |
log-likelihood difference to maximum likelihood hypothesis
|
double[] |
deltaSE |
estimated error of log-likelihood differences
|
double[] |
pval |
corresponding p-value (two-sided test on normal distribution)
|
Constructor | Description |
---|---|
KishinoHasegawaTest() |
Modifier and Type | Method | Description |
---|---|---|
void |
compare(double[][] sLogL) |
Compare all given hypotheses to the best (ML) hypothesis
and store results in public arrays delta, deltaSE, pval
(which will automatically be created by this procedure).
|
void |
compare(double[][] pLogL,
int[] alias) |
Compare all given hypotheses to the best (ML) hypothesis
and store results in public arrays delta, deltaSE, 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)
|
public int bestH
public double[] delta
public double[] deltaSE
public double[] pval
public void compare(double[][] sLogL)
sLogL
- log-likelihoods of each sitepublic void compare(double[][] pLogL, int[] alias)
pLogL
- log-likelihoods of each patternalias
- map of patterns to sites in sequence