|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpal.statistics.ModelSupport
public class ModelSupport
Computes Akaike weights and expected Akaike weights (relative evidence, expected relative evidence) for a set of models and computes corresponding confidence sets
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
ModelSupport()
|
|
| Method Summary | |
|---|---|
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) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int[] likelihoodOrder
public int[] supportOrder
public double[] deltaL
public double[] posterior
public double[] support
public int numBootstraps
| Constructor Detail |
|---|
public ModelSupport()
| 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 | |||||||||