Skip to content

A new model for quantifying animal populations from scat located by detection dogs.

Notifications You must be signed in to change notification settings

awong234/population_from_scat_model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Population estimation from unstructured scat surveys

Author: Alec Wong

Compiled: 09-19-2018

Statistical Model

This model is intended to be used with broad-scale scat searches, where it is inefficient or impossible to perform clearing of standing crops of scats, and where distance sampling is not easily performed, such as with detection dog searches.

Three parameters are estimated - , , and .

For the moment, consider these parameters with respect to a single grid cell among many visited over the course of a survey.

describes the mean initial deposition of scats before any sampling is performed.

represents the mean daily accumulation rate of scats, such that:

where, is the intervening days between visits on occasions t and t+1.

Finally, p is derived from visitation of a grid cell multiple times within a single occasion t. That is to say, if the grid cell is observed more than once, we can construct a probability statement conditional on the latent variables and .

Here, the observations are indexed by occasion t and replicate observation r. The observations are conditional on the population of scats available to be sampled

The population of scats has the following model:

where is deterministically reduced by observations and increased by accumulation .

This model is applied to all grid cells observed, assuming independence between them.

Analysis

NOTICE: YOU WILL NEED TO INSTALL THE VERSION OF JAGS IN MY FORK IN ORDER TO RUN THIS ANALYSIS.

Run this to install. devtools::install_github(repo = 'awong234/jagsUI').

Included are files to carry out an analysis using data from a survey of the Adirondacks moose population, collected in 2016. The file to run this will be analysis.R; it loads the files data_cleaned.Rdata and metadata.Rdata. The data object contains the observation data y, the visit array vis, the days between visits days, the number of grid cells visited nSites, the number of primary occasions (including initial deposition) maxT, and the maximum number of grid cell replicates maxV.

The metadata object contains information on the grid cells visited visitedGridInfo, the temporal information of transect visitation roundVisits, and the grid cells overlaid upon each transect grids.

See the article referenced for details on these structures.

There are several models, each defined and elaborated upon in the text files within this directory, including:

  • model_cov_full.txt
  • model_cov_full_tl_shared.txt
  • model_cov_no_temp.txt
  • model_cov_no_temp_no_dcov.txt
  • model_cov_reduced_continuous
  • model_cov_reduced_continuous_tl_shared.txt
  • model_cov_reduced_crit.txt
  • model_cov_reduced_crit_tl_shared.txt
  • model_cov_reduced_Dcov_only.txt
  • model_null.txt

Data cleaning

The order of operations for cleaning and formatting the data are the following:

  1. trackDataCleaning.R
  2. dataFormatting.R

Not all of the files are available, so these scripts will NOT develop the final data products included. Much of the files required to run these scripts are larger than the file size limit permits. The scripts are included for transparency reasons alone, and missing files will need to be obtained upon request.

Simulation

Included are files to perform simulations -- scatCounting.R -- testing the viability of the method described herein. The simulation uses the null model; view model_null.txt.

In short, the output describes an ability to identify parameters of the model, provided 25/100 grid cells were replicated once; that is, visited twice.

Parameter estimation

Figure 1: Parameter estimates across a gradient of lambda -- initial scat deposition -- and the proportion of sites that were replicated. Probability of detection was held at 50%, and theta was held at 1, representing a mean deposition rate of 1 scat per visit per grid cell. These numbers were deemed reasonable given experience at sites of heavy moose density.

Note that estimation improves dramatically after approximately 25% of the sites are revisited. Following this result, we proceeded with the analysis.

About

A new model for quantifying animal populations from scat located by detection dogs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published