Returns log-likelihood for an Ornstein-Uhlenbeck model where the optimum evolves as a Unbiased Random Walk. The movement of the optimum is not parameterized based on separate data.
Arguments
- p
parameters of the model to be optimized
- y
a paleoTS object
- opt.anc
logical, indicating if the ancestral trait value is at the optimum (TRUE) or displaced from the optimum (FALSE)
Details
In general, users will not be access these functions directly, but instead use the optimization functions, which use these functions to find the best-supported parameter values.