tracts.driver_utils.has_free_sex_bias_parameters#
- has_free_sex_bias_parameters(parameter_handler, sex_bias_param_names)#
Checks whether any sex-bias parameters are free (not fixed by ancestry proportions or value) in the demographic model.
- Parameters:
parameter_handler (
FixedParametersHandler) – The parameter handler for the demographic model.sex_bias_param_names (
list[str]) – A list of parameter names corresponding to sex-bias parameters
- Returns:
True if any sex-bias parameters are free, False otherwise.
- Return type:
bool