Description Usage Arguments Value
Type II Maximum Likelihood Estimation of hyperparameters for n_samples realisations of a Phylogenetic Ornstein-Uhlenbeck Process with given hyperparameters
1 2 3 4 | pou_simulation_study(ln_hyperparameters, phylogenetic_tree, n_samples,
logl_function = pou_logl_slow, optim_function = "optim",
optim_method = "Nelder-Mead", lower_initialisation = c(0, 0, 0),
upper_initialisation = c(1, 1, 1), n_restarts = 1)
|
ln_hyperparameters |
Vector of the natural logarithm of hyperparameters for an Ornstein-Uhlenbeck kernel in order log(phylogenetic noise, phylogenetic length-scale, non-phylogenetic noise) |
phylogenetic_tree |
Phylogenetic tree of relationships between observations |
logl_function |
function calculating the negative log likelihood of the observations to be minimised. Either 'pou_logl_slow' or 'pou_logl_fast'. |
optim_function |
String indicating which optimising function to use, 'optim' or 'uobyqa' from the minqa package. |
optim_method |
Method to be used with the optim optimiser. |
lower_initialisation |
Lower bound for the uniform random variable used to generate initial values. |
upper_initialisation |
Upper bound for the uniform random variable used to generate initial values. |
n_restarts |
Number of different initialisation values to test. |
A 4 x n_samples matrix. Hyperparameters are ordered in the rows as (phylogenetic noise, phylogenetic length-scale, non-phylogenetic noise). Each column is a separate sample.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.