GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - oliviergimenez/multievent_jags_R: Fit multievent capture-recapture models in R (maximum-likelihood), Nimble and JAGS (Bayesian)

BranchesTags
Open more actions menu

Latest commit

 

History

7 Commits
7 Commits

Folders and files

NameName
Last commit message
Last commit date
README.md
README.md
 
 
cjs-nimble.R
cjs-nimble.R
 
 
cjs_R.R
cjs_R.R
 
 
cjs_jags.R
cjs_jags.R
 
 
dipper.txt
dipper.txt
 
 
titis2.txt
titis2.txt
 
 
uncertainty_R.R
uncertainty_R.R
 
 
uncertainty_jags.R
uncertainty_jags.R
 
 
uncertainty_nimble.R
uncertainty_nimble.R
 
 

Repository files navigation

Fitting multievent models in R, Nimble and JAGS

by Olivier Gimenez

August 12, 2016 and December 19, 2019.

What it does

Here I provide R codes to fit multievent capture-recapture models (Pradel et al. 2005). Multievent models are hidden Markov models that are helpful in lots of situations to analyse capture-recapture data (see this list of applications for example).

I show how to obtain maximum-likelihood estimates using R and Bayesian estimates using Nimble and JAGS. Two examples are considered. First a simple Cormack-Jolly-Seber model is illustrated with the classical Dipper dataset (Pradel 2005; Gimenez et al. 2007). Second, a multistate model with uncertainty in the state assignement is illustrated with a dataset on Sooty shearwaters (Pradel 2005; Gimenez et al. 2012).

What it contains

Cormack-Jolly-Seber example using the Dipper dataset

  • cjs_nimble.R: Bayesian fitting using R and Nimble
  • cjs_jags.R: Bayesian fitting using R and JAGS
  • cjs_R.R: maximum-likelihood fitting using R
  • dipper.txt: the Dipper dataset

Multistate with uncertain state example using the Sooty shearwater dataset

  • uncertainty_nimble.R: Bayesian fitting using R and Nimble
  • uncertainty_jags.R: Bayesian fitting using R and JAGS
  • uncertainty_R.R: maximum-likelihood fitting using R
  • titis2.txt: the Sooty shearwater dataset

References

Gimenez, O., Lebreton, J.-D., Gaillard, J.-M., Choquet, R. and R. Pradel (2012). Estimating demographic parameters using hidden process dynamic models. Theoretical Population Biology 82: 307-316.

Gimenez, O., V. Rossi, R. Choquet, C. Dehais, B. Doris, H. Varella, J.-P. Vila and R. Pradel (2007). State-space modelling of data on marked individuals. Ecological Modelling 206: 431-438.

Pradel, R. (2005). Multievent: an extension of multistate capture–recapture models to uncertain states. Biometrics 61: 442–447.

About

Fit multievent capture-recapture models in R (maximum-likelihood), Nimble and JAGS (Bayesian)

Topics

bayesian-inferencecapture-recapture-modelsjagsmaximum-likelihood-estimationmultievent-modelsmultistatenimblerstats

Resources

Readme
Activity

Stars

15 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.