Learn R Programming

hierarchicalDS (version 3.0)

log_lambda_log_likelihood: compute the likelihood for nu parameters

Description

compute the likelihood for nu parameters

Usage

log_lambda_log_likelihood(Log.lambda, DM, Beta, Eta = 0, SD, N, Sampled,
  Area)

Arguments

Log.lambda

Log of poisson intensities for total areas sampled in each sampled strata

DM

the design matrix

Beta

linear predictor parameters for the log of abundance intensity

Eta

a vector of spatial random effects

SD

standard deviation of the overdispersion process

N

a vector giving the current iteration's number of groups in the area

Sampled

Index for which cells were actually sampled

Area

Total area sampled in each sampled cell

Value

the log likelihood associated with the data and the current set of parameters