CALC.LNLIKE: Function to calculate the log-likelihood using a lognormal...

View source: R/run_SIR.R

CALC.LNLIKER Documentation

Function to calculate the log-likelihood using a lognormal distribution

Description

Function to calculate the log-likelihood using a lognormal distribution

Usage

CALC.LNLIKE(Obs.N, Pred_N, CV, log = FALSE)

Arguments

Obs.N

Time series of observed abundance

Pred_N

Time series of estimated abundance

CV

coefficient of variation

log

whether to export as log-likelihood

Value

returns a scalar of the likelihood

Examples

Obs.N <- 2000
Pred_N <- 2340
CV <- 4
CALC.LNLIKE(Obs.N, Pred_N, CV)

antarctic-humpback-2019-assessment/HumpbackSIR documentation built on Nov. 6, 2023, 6:07 p.m.