Association of hypertension with risk factors using logistic regression