Erasmus University Rotterdam (EUR)
Rcodes.txt (70.78 kB)

Clustering of characteristics associated with unplanned pregnancies: the generation R study (R script)

Download (70.78 kB)
posted on 2023-09-28, 11:18 authored by Clair EnthovenClair Enthoven

This item contains the code [R script] used to perform the analyses for the paper Enthoven et al (2022). Clustering of characteristics associated with unplanned pregnancies: the generation R study. BMC Public Health.

Unplanned or unintended pregnancies form a major public health concern because they are associated with unfavorable birth outcomes as well as social adversity, stress and depression among parents-to-be. Several risk factors for unplanned pregnancies in women have previously been identified, but studies usually take a unidimensional approach by focusing on only one or few factors, disregarding the possibility that predictors might cluster. Furthermore, data on predictors in men are largely overlooked. The purpose of this study is to determine predictors of unplanned versus planned pregnancy, to determine predictors of ambivalent feelings regarding pregnancy, and to investigate how characteristics of men and women with an unplanned pregnancy cluster together.

This study was embedded in Generation R, a multiethnic population-based prospective cohort from fetal life onwards. Pregnancy intention was reported by 7702 women and 5367 partners. Information on demographic, mental, physical, social, and sexual characteristics was obtained. Logistic regression, multinomial regression and cluster analyses were performed to determine characteristics that were associated with an unplanned pregnancy, with ambivalent feelings regarding the unplanned pregnancy and the co-occurrence of characteristics in women and men with unplanned pregnancy.

Twenty nine percent of the pregnancies were unplanned. Logistic regression analyses showed that 42 of 44 studied predictors were significantly associated with unplanned pregnancy. The most important predictors were young age, migration background, lower educational level, lower household income, financial difficulties, being single, lower cognitive ability, drug use prior to pregnancy, having multiple sexual partners in the year prior to the pregnancy, younger age of first sexual contact and a history of abortion. Multinomial regression analyses showed that a Turkish or Moroccan background, Islamic religion, little financial opportunities, being married, having ≥3 children, high educational level, more mental health and social problems and older age of first sexual contact were associated with prolonged ambivalent feelings regarding pregnancy. Different combinations of characteristics were observed in the four clusters of women and men with unplanned pregnancy.

Many predictors are related with unplanned pregnancies, ambivalent feelings toward the pregnancy, and we identified very heterogeneous groups of women and men with unplanned pregnancies. This calls for heterogeneous measures to prevent unplanned pregnancies.


ZonMw Unintended Pregnancy Research Program, grant number 554002008


Usage metrics

    Erasmus School of Social Science and Behavioural Science



    Ref. manager