openquake.hme.model_test_frameworks.relm.relm_statsΒΆ

Functions

bin_observance_likelihood(num_events, bin_rate)

bin_observance_log_likelihood(num_events, ...)

Calculates the log-likelihood of observing num_events in a bin given the rate of those events occuring in the observation time period, bin_rate.

bin_observance_log_likelihood_zero_rate(...)

model_log_likelihood(bin_event_counts, bin_rates)

Calculates the log-likelihood of a hazard model given the number of event counts in each bin (a bin is a magnitude bin inside of a spatial bin or cell) given the occurrence rates of earthquakes for that bin.