Factors involved in teenage pregnancy: a comparative study of factors concerning contraception