The Household
class aggregates information about
a household and its members.
Active bindings
expected_income
Set of rules that are used to generate streams of expected income
expected_spending
Set of rules that are used to generate streams of expected spending
risk_tolerance
Risk tolerance of the household
consumption_impatience_preference
Consumption impatience preference of the household - subjective discount rate (rho). Higher values indicate a stronger preference for consumption today versus in the future.
smooth_consumption_preference
Smooth consumption preference of the household - Elasticity of Intertemporal Substitution (EOIS) (eta). Higher values indicate more flexibility and a lower preference for smooth consumption.
Methods
Method add_member()
Adding a member to the household It will fail if a member with the same name already exists.
Method set_member()
Setting a member of the household If a member already exists, it will be overwritten.
Method get_lifespan()
Getting a lifespan of the household If not set, it will be calculated based on the members' lifespans.
Usage
Household$get_lifespan(current_date = get_current_date())
Method calc_survival()
Calculating a survival rate of the household based on its members' parameters of the Gompertz model.
Usage
Household$calc_survival(current_date = get_current_date())
Method get_min_age()
Calculating a minimum age of the household members.
Usage
Household$get_min_age(current_date = get_current_date())