csep.utils.stats.poisson_joint_log_likelihood_ndarray

csep.utils.stats.poisson_joint_log_likelihood_ndarray(target_event_log_rates, target_observations, n_fore)[source]

Efficient calculation of joint log-likelihood of grid-based forecast.

Note: log(w!) = 0

Parameters:
  • target_event_log_rates – natural log of bin rates where target events occurred

  • target_observations – counts of target events

  • n_fore – expected number from the forecasts

Returns:

joint_log_likelihood