There was a positive association between a higher number of favorable psychosocial factors in youth and greater ideal cardiovascular health index in adulthood ( = @ ; P < @ ) that persisted after adjustment for age , sex , medication use , and cardiovascular risk factors in childhood ( = @ ; P < @ ) .