Which large American cities are the most family friendly? Generally speaking, according to a recent study by the rental listings site Zumper, you are probably better off living in the Midwest or the South if you have children.

Higher mortgage rates, more expensive child care and longer commutes were among the reasons Northeastern cities didn’t fare as well in the study. Not surprisingly, New York City ranked low — 84th out of 94.

So which cities were the best? After weighing various factors important to family life — including median incomes, housing costs, unemployment and crime rates, and the percentage of the population under 45 — the study ranked Madison, Wis., in first place, followed by Lincoln, Neb., and Lexington, Ky. (Sources included the United States Census Bureau, the F.B.I. and the Bureau of Labor Statistics.)

Six of the country’s 100 largest cities were eliminated because of incomplete data or because they overlapped in census reporting. The 10 best and worst of the remaining 94 are listed below, along with the primary factors that contributed to their rankings. Read the full story here.