I am trying to find the age distribution of the subset of married people of a population. However, I realise that just visualising the married count by age (Figure 1) is highly dependent on the original distribution of ages in the population, as shown in Figure 2.
How can I determine the distribution of a boolean feature like isMarried = True based on the original distribution?