By CBS13 Staff

STOCKTON (CBS13) — A new study has given Stockton a poor rating in terms of people’s happiness.

On Monday, WalletHub released a new study that rated America’s cities by “happiness.” The study weighted three dimensions to make the list: emotional and physical well-being, income and employment, and community and environment.

READ MORE: Researchers: ‘Solar Canals' In California Could Save Water, Fight For Climate Change

Factors that went into the emotional and physical well-being dimension included metrics like depression rate, life expectancy and food insecurity rate, among others. Income and employment took into account factors like income-growth rate, job satisfaction and commute time. A city’s community and environment were rated by factors like the divorce rate, hate crime incidents per capita, ideal weather, and acres of parkland.

READ MORE: Shock G, Off-Kilter Leader Of Bay Area's Digital Underground, Dead At 57

Stockton’s score placed it in the lower-third of cities at 150 out of 182, with its community and environment score being its worst rating.

Notably, the East Bay city of Fremont – which is just over an hour away from Stockton – took the top spot in WalletHub’s study.

Several other Northern California cities placed within the top 20, including San Jose (5), Santa Rosa (10), and San Francisco (13).

Sacramento also managed a ranking (57) just within the upper third of cities.

MORE NEWS: 'The Damage Is Bad': Sacramento Neighbors Fed Up After Wayward Golf Balls Keep Hitting Homes, Cars

Detroit, MI got the study’s lowest score.