MyNixOS website logo
Description

Maximum Likelihood Analysis of Circular Data.

A series of wrapper functions to implement the 10 maximum likelihood models of animal orientation described by Schnute and Groot (1992) <DOI:10.1016/S0003-3472(05)80068-5>. The functions also include the ability to use different optimizer methods and calculate various model selection metrics (i.e., AIC, AICc, BIC). The ability to perform variants of the Hermans-Rasson test and Pycke test is also included as described in Landler et al. (2019) <DOI:10.1186/s12898-019-0246-8>. The latest version also includes a new method to calculate circular-circular and circular-linear distance correlations.

CircMLE

Maximum Likelihood Analysis of Circular Data

Description

A series of wrapper functions to implement the 10 maximum likelihood models of animal orientation described by Schnute and Groot (1992) doi: 10.1016/S0003-3472(05)80068-5. The functions also include the ability to use different optimizer methods and calculate various model selection metrics (i.e., AIC, AICc, BIC). This framework is designed for modeling any dataset represented by angles (e.g, orientation, periodic, etc) using the above models. Main features are listed as follows.

  • Calculate the likelihood of any one or all of the 10 models of orientation
  • Compare any two nested models using a likelihood ratio test
  • Plot the observed dataset and any of the model-fitted results
  • Calculate the Hermans-Rasson test or Pycke test for directionality

Install CircMLE (from an R console)

  • To install from CRAN
    • First install the R package 'circular' from CRAN using the command install.packages("circular")
    • Then install the CircMLE package using install.packages("CircMLE")
    • Load the package into your working R environment using library(CircMLE)

Version History

  • Version 3.0.0 2020/2/9

    • Added the circular distance correlation function. Thanks Matt Robinson for the great ideas and discussion!
    • the model fitting function now includes the hessian matrix, and a function ci_circmle to calculate 95% confidence intervals for the MLE parameters.
      • Thanks Oliver Mitesser (University of Wörzburg) for the recommendation!
  • Version 0.2.3 2020/1/29

    • Added the ability to perform the Hermans-Rasson and Pycke tests using code kindly provided by Lukas Landler, Graeme Ruxton, and E. Pascal Malkemper.
  • Version 0.2.2 2019/10/17

    • Improved communication between CircMLE and R 'circular' objects, especially for improved plotting when using 'template = "geographics"'.
  • Version 0.2.1 2018/02/20

    • Added support for data vectors with the "geographics" template set when plotting the modeled results.
    • Added publication information
    • Added the README.md file
  • Version 0.2.0 2017/06/29

    • Added a plotting function to visualize the observed and modeled results
  • Version 0.1, 2017/05/13

    • Released the first version

Citation

Fitak, R. R. and Johnsen, S. (2017) Bringing the analysis of animal orientation data full circle: model-based approaches with maximum likelihood. Journal of Experimental Biology 220: 3878-3882; doi: 10.1242/jeb.167056

If using the Hermans-Rasson or Pycke tests then cite:
Landler, L., Ruxton, G. D., and Malkemper, E. P. (2019) The Hermans–Rasson test as a powerful alternative to the Rayleigh test for circular statistics in biology. BMC Ecology 19: 30; doi: 10.1186/s12898-019-0246-8

  • Or enter the command citation("CircMLE") into your R console

Contact

Robert Fitak
Department of Biology
University of Central Florida
USA
[email protected].

Metadata

Version

0.3.0

License

Unknown

Platforms (77)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-freebsd
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64-windows
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows