For women, three groups of independent factor, namely family, school and social characteristics, influenced the extent to which they were hopeful or happy. Conclusions: Students' mental health is not only affected by the quality of family and school environments but also by personal and social characteristics.