


I have created this plot using Matplotlib and the data on the 3.6 million births in the US in 2024 found here.
In the first plot, I have included a simple chart on the percent of children born to men and women of each age. The second and third plots show the distribution of partner ages of the mothers and fathers respectively in the form of box plots. The middle line in the box shows the median age of partners for the corresponding mother/father age on the x-axis. For example, the median age partner for a mother of age 30 is a father of age 31. The box region shows the upper and lower quartiles of the distribution of partner ages, i.e. the medians of the upper and lower portions of the dataset. This means that 50% of partner ages fall in the box. For example, 50% of partners for a mother of age 30 are between 30 and 34. Finally, the min and max of the dataset excluding outliers are the outer bars. For example, excluding outliers a mother of age 30 has a partner between 24 and 39. The outside circles are outliers in the dataset.
One interesting thing is in the third plot, the mother age distribution for each father age, we can see that the curve of upwards age is flattening as the man approaches 50. In fact, the boxes remain about horizontal with a median mother age of 37 as the father age increases. Strangely, the regions seem to widen as well. But I think this all makes sense, because men in relationships with their age peers are no longer conceiving, so those relationships are essentially dropping out of the dataset. On the other hand, what is left is men with partners who are young enough to be having children, which becomes rarer and rarer the older a man gets (which is reflected in the first chart). So the flattening is not caused by men having progressively younger partners, but more the fact that the dataset is more and more composed of men on the extreme end of age gap as peer relationships drop out.
by lorisaurus
2 Comments
great work! you are developing high quality data exploration skills!
The compression of the age range at 30 (for both sexes) is really interesting. So many people having children at age 30 do so with someone very close in age to themselves. Is this the college-educated contingent, who met their partner at college or soon after but don’t have children until 30?