Education#
- class Education(pars=None, location=None, data=None, **kwargs)[source]#
Bases:
ConnectorAttributes
auto_state_listList of "automatic" states with boolean type (ss.BoolState) that were added via define_states()
dtGet the current module timestep
nowShortcut to self.t.now()
state_dictReturn a flat dictionary (objdict) of all states
state_listReturn a flat list of all states (ss.Arr objects)
tiGet the current module timestep
timevecShortcut to self.t.timevec
Methods
- set_objective_dists(objective_data)[source]#
Return an educational objective distribution based on provided data. The data should be provided in the form of a pandas DataFrame with
“edu” and “percent” as columns.
- Returns:
An
ss.Distinstance that returns an educational objective for newly created agents
- start_education()[source]#
Begin education. TODO, this assumes everyone starts, but in reality, some may not start school or start later
- interrupt_education()[source]#
Interrupt education due to pregnancy. This method hinders education progression if a woman is pregnant and towards the end of the first trimester