Factors that influence the occurrence of teenage pregnancies