mnllCCRWdn: Numerical maximum likelihood estimation of the CCRW

Description Usage Arguments Details References See Also Examples

Description

Minimize the negative log-likelihood for the CCRW though numerical maximization.

Usage

1
mnllCCRWdn(SL, TA, TA_C, missL, SLmin)

Arguments

SL

numeric vector containing the step lengths

TA

numeric vector containing the turning angles

TA_C

circular object containing the turning angles

missL

integer vector containing the number of time step between two steps. If no missing location it will be 1.

SLmin

one numeric value representing the minimum step length

Details

This function uses the optim to numerically minimize the negative log-likelihood. Note that optim requires setting starting parameter values. To decrease the chances of having results associated with a local peak in the likelihood, the function mnllCCRW applies use set of different starting values combinations and choose the overall lowest negative log-likelihood estimate. To explore the effect of starting values, use directly the nllCCRWdn function.

References

Please refer to Auger-Methe, M., A.E. Derocher, M.J. Plank, E.A. Codling, M.A. Lewis (2015-In Press) Differentiating the Levy walk from a composite correlated random walk. Methods in Ecology and Evolution. Preprint available at http://arxiv.org/abs/1406.4355

See Also

mnllCCRW

Examples

1
2
3
4
simPath <- simmCCRW(500,0.9,0.9,0.1,0.01,5,1)
formPath <- movFormat(simPath)
mnllCCRWdn(formPath$SL, formPath$TA, formPath$TA_C, 
      formPath$missL, formPath$SLmin)

MarieAugerMethe/CCRWvsLW documentation built on May 7, 2019, 2:50 p.m.