Prevalence and associated factors in community-dwelling subjects - a population-based study