Jolly-Seber model with transience: fits model, formats inference, and simulates from fitted model. This model inherits all the functions of the JsModel class. Functions that are different or additional are documented here.
form: a named list of formulae for each parameter (~1 for constant)
scr_data: a ScrData object
start: a named list of starting values
num_cores (optional, default = 1): number of processors cores to use in parallelised code
print (defualt = TRUE): if TRUE then helpful output is printed to the screen
Methods include:
calc_initial_distribution(): computes initial distribution over life states (unborn, alive, dead)
calc_D_llk(): computes the likelihood of the D parameter
calc_pdet(): compute probability of being detected at least once during the survey
calc_llk(): compute log-likelihood at current parameter values
fit(nsims = 99): fit the model by obtaining the maximum likelihood estimates. Estimates of density are obtained from parametric boostrap with nsim resamples.
simulate(): simulate ScrData object from fitted model
1 |
An object of class R6ClassGenerator
of length 24.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.