View source: R/evaluate_model.R
calc_likelihood_cowbird | R Documentation |
Calculate the likelihood of observations at each site given MCMC samples of parameter estimates.
calc_likelihood_cowbird(Y, theta_samples, psi_samples)
Y |
matrix of host detection data, number of sites by number of visits (J x K) |
theta_samples |
matrix of MCMC samples for theta parameters, number of sites by by number of visits by number of iterations (J x K x S) |
psi_samples |
matrix of MCMC samples for eta parameters, number of sites by number of iterations |
matrix containing the likelihood of the detection data given parameter values at each MCMC iteration
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.