traveler.steps.simple_choice.analytic_share#
- simple_choice.analytic_share(store, *, choosers=None, param=None)[source]#
Calculate the analytic share of each alternative.
- Parameters:
choosers (JaxTable) – A table containing choosers data.
store (AttrPyTree) – A store containing additional data such as skims.
param (dict[str, float]) – A dictionary of parameters for the utility function.
- Returns:
An array of analytic shares for each alternative.
- Return type:
jax.Array