Health-GPS 3.0.0.0
Global Health Policy Simulation model (Health-GPS)
Loading...
Searching...
No Matches
hgps::LinearModelEvalOptions Struct Reference

#include <linear_model_eval_options.h>

Public Attributes

std::optional< double > capped_age
 When set, age/age2/Age/Age2 predictors use this value instead of person.age.
 
std::optional< core::Gendergender2_indicator
 When set, gender2 returns 1 for this sex and 0 for the other (reference category).
 
std::function< std::optional< double >(const core::Identifier &)> missing_predictor_fallback
 Optional fallback when a predictor cannot be resolved (e.g. expected mean lookup).
 

Member Data Documentation

◆ capped_age

std::optional<double> hgps::LinearModelEvalOptions::capped_age

When set, age/age2/Age/Age2 predictors use this value instead of person.age.

◆ gender2_indicator

std::optional<core::Gender> hgps::LinearModelEvalOptions::gender2_indicator

When set, gender2 returns 1 for this sex and 0 for the other (reference category).

◆ missing_predictor_fallback

std::function<std::optional<double>(const core::Identifier &)> hgps::LinearModelEvalOptions::missing_predictor_fallback

Optional fallback when a predictor cannot be resolved (e.g. expected mean lookup).


The documentation for this struct was generated from the following file: