Factors influencing population density and distribution