fitCauchy.internal | R Documentation |
Find the maximum likelihood, using numerical optimization with optim
.
fitCauchy.internal(
phy,
X,
y,
model = c("cauchy", "lambda"),
method = c("reml", "random.root", "fixed.root"),
starting.value = list(x0 = NULL, disp = NULL, lambda = NULL),
lower.bound = list(disp = 0, lambda = 0),
upper.bound = list(disp = Inf, lambda = 1),
root.edge = 100,
optim = c("local", "global"),
method.init.disp = "Qn",
...
)
phy |
a phylogenetic tree of class |
model |
a model for the trait evolution. One of |
method |
the method used to fit the process.
One of |
starting.value |
starting value for the parameters of the Cauchy.
This should be a named list, with |
lower.bound |
named list with lower bound values for the parameters. See Details for the default values. |
upper.bound |
named list with upper bound values for the parameters. See Details for the default values. |
root.edge |
multiplicative factor for the root dispersion, equal to the length of the root edge. Ignored if |
optim |
if "local", only a local optimization around the initial parameter values is performed (the default).
If "global", a global maximization is attempted using the "MLSL" approach (see |
method.init.disp |
the initialization method for the dispersion. One of "Qn", "Sn", "MAD", "IQR". Default to the "Qn" statistics. See Details. |
A list, with the maximum likelihood rate parameter, and the likelihood value.
Rothenberg T. J., Fisher F. M., Tilanus C. B. 1964. A Note on Estimation from a Cauchy Sample. Journal of the American Statistical Association. 59:460–463.
cauphylm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.