Currently, the SimPaths considers all individuals aged 18+ whose AdultChildFlag = True:
|
if (demAge == Parameters.AGE_TO_BECOME_RESPONSIBLE) { |
|
setupNewBenefitUnit(true); |
|
considerLeavingHome(); |
|
} else if (demAge > Parameters.AGE_TO_BECOME_RESPONSIBLE && Indicator.True.equals(demAdultChildFlag)) { |
|
considerLeavingHome(); |
|
} |
However, the estimation files also check for the education spell:
|
* Leave the parental home |
|
global p1_if_condition "ded == 0 & dag >= ${age_leave_parental_home}" |
I will adjust this filtering condition to include the check for education spell.
Also, I will remove Leaving Parental Home process from aging() and schedule it as its own Person.Processes.ConsiderLeavingHome event after education level alignment.
Additionaly, I'll introduce MAX_AGE_ADULT_CHILD and MIN_AGE_LEAVE_PH parameters to have additional flexibility for future configuration.
Currently, the SimPaths considers all individuals aged 18+ whose AdultChildFlag = True:
SimPaths/src/main/java/simpaths/model/Person.java
Lines 1002 to 1007 in 4a18a23
However, the estimation files also check for the education spell:
SimPaths/input/InitialPopulations/compile/RegressionEstimates/00_master_conditions.do
Lines 149 to 150 in 4a18a23
I will adjust this filtering condition to include the check for education spell.
Also, I will remove Leaving Parental Home process from aging() and schedule it as its own Person.Processes.ConsiderLeavingHome event after education level alignment.
Additionaly, I'll introduce MAX_AGE_ADULT_CHILD and MIN_AGE_LEAVE_PH parameters to have additional flexibility for future configuration.