openquake.hme.model_test_frameworks.gem.gem_statsΒΆ

Functions

calc_mag_bin_empirical_likelihood(n_eqs, ...)

Calculation of the likelihood of observing a certain number of earthquakes in a magnitude bin based on an empirical distribution of earthquake occurrences, e.g. as aggregated from many iterations a Monte Carlo simulation, or another instance in which earthquake occurrence may not be Poissonian.

calc_mag_bin_likelihood(n_eqs, bin_rate[, ...])

Shell function to calculate the likelihood of a magnitude bin given the observed earthquakes within the bin.

calc_mag_bin_poisson_likelihood(n_eqs, bin_rate)

Calculation of the likelihood of observing a certain number of earthquakes using a poisson calculation.

calc_mfd_log_likelihood_independent(obs_eqs, mfd)

Calculation of the log-likelihood of observing earthquakes of a range of sizes in a spatial bin (containing many magnitude bins).