The Savannah Theory of Happiness, expanded upon here, indicates happiness declines as population density increases, except among the intelligent, for whom that matters little.
Happiness also generally increases with more interaction with close friends, unless you happen to be very smart, in which case less interaction is better for happiness.