|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpal.eval.DemographicValue
public class DemographicValue
estimates demographic parameters by maximising the coalescent prior for a tree with given branch lengths.
| Field Summary | |
|---|---|
protected CoalescentIntervals |
intervals
|
double |
logL
Log-Likelihood |
protected DemographicModel |
model
|
| Constructor Summary | |
|---|---|
DemographicValue()
|
|
| Method Summary | |
|---|---|
double |
compute()
compute log-likelihood for current model return negative log-likelihood |
protected void |
computeLogLikelihood()
|
double |
evaluate(double[] params)
compute function value |
CoalescentIntervals |
getCoalescentIntervals()
Returns the coalescent tree of this likelihood value. |
DemographicModel |
getDemographicModel()
Returns the demographic model of this likelihood value |
double |
getLowerBound(int n)
get lower bound of argument n |
int |
getNumArguments()
get number of arguments |
OrthogonalHints |
getOrthogonalHints()
|
double |
getUpperBound(int n)
get upper bound of argument n |
double |
optimize()
optimize log-likelihood using default optimizer return minimum negative log-likelihood |
double |
optimize(MultivariateMinimum givenMvm)
optimize log-likelihood value and compute corresponding SEs given an optimizer |
void |
setCoalescentIntervals(CoalescentIntervals ci)
define coalescent tree. |
void |
setDemographicModel(DemographicModel m)
define model |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public double logL
protected CoalescentIntervals intervals
protected DemographicModel model
| Constructor Detail |
|---|
public DemographicValue()
| Method Detail |
|---|
public void setDemographicModel(DemographicModel m)
m - model of demographicpublic DemographicModel getDemographicModel()
public CoalescentIntervals getCoalescentIntervals()
public void setCoalescentIntervals(CoalescentIntervals ci)
t - treepublic double compute()
public double optimize()
public double optimize(MultivariateMinimum givenMvm)
public double evaluate(double[] params)
MultivariateFunction
evaluate in interface MultivariateFunctionparams - function argument (vector)
public int getNumArguments()
MultivariateFunction
getNumArguments in interface MultivariateFunctionpublic double getLowerBound(int n)
MultivariateFunction
getLowerBound in interface MultivariateFunctionn - argument number
public double getUpperBound(int n)
MultivariateFunction
getUpperBound in interface MultivariateFunctionn - argument number
protected void computeLogLikelihood()
public OrthogonalHints getOrthogonalHints()
getOrthogonalHints in interface MultivariateFunction
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||