We assessed the association between maternal and pregnancy characteristics including cervical length measurement at 16 to 21 weeks ' gestation and time to delivery using multivariable Cox regression modelling .