Data driven analysis of fertility optimization