In a pocket of Portland’s West End, the fates of the haves and have-nots born around 1980 diverged the most in the state, according to a study connecting where people grew up to their later earnings and quality of life.

There, people who grew up in middle-income households were twice as likely as their lower-income neighbors to end up among the top fifth of earners in their peer group nationally.

The research project, called The Opportunity Atlas, delivers a nationwide picture of how people born between 1978 and 1983 were faring economically in their 30s, based on where they grew up and the dynamics of their neighborhood.

The dataset is unique for tracking those children from the places where they grew up to where they live now. For instance, a child who grew up in Bangor during that time but now lives in New York City would be mapped and included in data for Bangor.

The study looked at a number of different outcomes, including the chance that children born to homes at specific income levels would bring in higher earnings later in life.

For instance, children born to low-income families in Falmouth, Scarborough and Gray had roughly as good a chance at high earnings in their 30s as children born to high-income families in Bangor during that time.

The study defines income categories in 2015 dollars, with low-income families bringing in the equivalent of $25,000 a year, middle-income as about $55,000 and high-income as about $95,000.

The researchers focused on people’s incomes in their 30s because they have found that earnings in a person’s 30s are a reliable baseline for lifetime earnings. And while the research focuses on neighborhoods during a specific sliver in time, they said they found underlying neighborhood conditions remain relatively stable.