Age and gender play a major role in how people respond to stress, according to a new study on 20- to 64-year-olds.