pal.statistics
public class ModelSupport extends java.lang.Object implements Report
Modifier and Type | Field and Description |
---|---|
double[] |
deltaL
log-likelihood differences to the best tree
|
int[] |
likelihoodOrder
likelhood order of the tree hypotheses
|
int |
numBootstraps
number of bootstrap replicates
|
double[] |
posterior
posterior probabilities for each hypothesis
|
double[] |
support
support in each hypothesis
|
int[] |
supportOrder
support order of the tree hypotheses
|
Constructor and Description |
---|
ModelSupport() |
Modifier and Type | Method and Description |
---|---|
void |
compare(double[][] sLogL,
int numBoot)
Determine posterior probabilties and support values
for each hypothesis and store results in public arrays
posterior, support etc which will automatically be
created by this procedure.
|
void |
compare(double[][] pLogL,
int[] alias,
int numBoot)
Determine posterior probabilties and support values
for each hypothesis and store results in public arrays
posterior, support etc 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[] likelihoodOrder
public int[] supportOrder
public double[] deltaL
public double[] posterior
public double[] support
public int numBootstraps
public void compare(double[][] sLogL, int numBoot)
sLogL
- log-likelihoods of each sitenumBoot
- number of bootstrapspublic void compare(double[][] pLogL, int[] alias, int numBoot)
pLogL
- log-likelihoods of each patternalias
- map of patterns to sites in sequencenumBoot
- number of bootstraps