Pregnancy was assessed as a time-varying exposure, with
each participant’s time divided into quarterly intervals
corresponding to a period between study visits and
each interval coded as pregnancy exposed or unexposed.
We compared participant characteristics during pregnancy-exposed versus unexposed intervals using generalized estimating equations.
We calculated pregnancy
incidence by dividing the number of incident pregnancies
by follow-up time when women were at risk to become
pregnant.