1 Introduction

How does the gender composition in university affect students’ marriage market outcomes? Over the past decades, most Western societies have experienced a secular rise in the share of women attending university education (Goldin et al., 2006).Footnote 1 In some fields of study, for example medicine or law, this has substantially changed the student sex ratio. While until the 1970s, men were a majority among students in these fields, they became a minority in the 2000s. Given that students frequently meet classmates of similar age and ability right before marrying age, it is possible that this shift in student sex ratios has affected the marriage market (Blossfeld and Timm, 2003).Footnote 2 A higher share of women in university means that more women are competing for fewer men, which may change the search behavior of both genders. Imbalanced sex ratios typically favor the scarcer gender because of reduced partner search costs and increased bargaining power. Marriage market conditions, in turn, may affect labor force participation and working hours of women (Grossbard-Shechtman and Neideffer, 1997, Grossbard and Granger, 1998).

In this paper, I investigate how secular changes in the student sex ratio within fields of study affect the couple formation and marriage prospects of male and female university graduates using data from Germany. Different from the U.S., university teaching as well as students’ social environment in Germany are traditionally strongly segmented by fields of study. Almost 90% of German university students do not reside on campus, making it more unlikely to closely interact with students from other fields of study.Footnote 3 In addition, German universities are typically scattered across university cities instead of being concentrated at a single campus. Hence, departments of different disciplines, including teaching facilities, are usually located in different places within a city. Therefore, in this setting the field-specific gender composition of students should capture the frequency of meeting a potential spouse during education. In the empirical analysis, I use aggregate information on the student sex ratio for (West) Germany broken down by 41 detailed fields of study over the period from 1977 to 2011. The field-by-year data is matched with data from the German Microcensus waves from 2003 to 2011. Over this period, the Microcensus contains individual information on the year of graduation as well as the exact field of study for more than 30 cohorts of university graduates. This allows me to exploit variation in the field-specific student sex ratio at the time of graduation to estimate its effect on individual marriage market outcomes such as the marital status, spouses’ educational attainment and field of study as well as occupation and industry.

The main identification strategy employs field of study fixed effects capturing any unobserved field-specific and time-invariant characteristics of students enrolled in a given field. Thus, variation in the gender composition comes from within fields over time. The comparison underlying the regression analysis can be illustrated as follows. A female university student enrolled in a field with a generally high share of men (e.g., a field in Engineering) in the 1970s, when the female share of students was particularly low, encounters male students very frequently during her education. Obviously, the opposite is true for male students enrolled in Engineering fields who will have to direct marital search outside their field of study or even outside the university environment in order to find a spouse. While the female student share in Engineering is still rather low in the 2000s, a relative increase since the 1970s implies that for female Engineering students the frequency of meeting male students is nowadays relatively lower compared to older cohorts holding any specific characteristics of women choosing Engineering constant.

However, the identification of causal effects of the student gender composition by field of study on marriage market outcomes may still raise concerns of endogenous self-selection into fields driven by marriage market considerations. Students who are mainly interested in finding a university-educated spouse may deliberately choose fields where the own gender is relatively scarce. In that case, the resulting sex ratio would result from preferences for specific marriage market outcomes and reverse causality would be an issue.Footnote 4 To address this concern, I restrict the sample to admission-restricted fields in a robustness analysis. Enrolling in such a field is costly for students due to “waiting semesters” before actual admission, making it much more likely that the motivation for choosing a restricted field is primarily driven by labor market considerations. In addition, the student sex ratio within a field may be correlated with characteristics of its graduates which are expected to affect marriage market outcomes. For example, one may be worried about omitted variable bias resulting from the fact that graduates from a field with a high male share tend to earn higher salaries relative to graduates from female-dominated fields. These concerns are addressed by the field fixed effects strategy, as long as unobserved characteristics are time-invariant, as well as by the inclusion of time-varying controls for a field’s graduates’ average income and occupational prestige.

The results of this paper show that the student sex ratio by field of study at graduation significantly affects marriage market outcomes for students with distinct gender differences. First, a higher share of female students reduces marriage market opportunities for women. Female graduates are more likely to remain single and are less often married when women outnumber men in their field. For men, I find the exact opposite result. Surprisingly, a higher male share in the field increases the probability of being married for male students. Second, the student sex ratio significantly affects the composition of couples. Women who graduate from a predominately female field are less likely to have a partner from the same field than having a lower educated spouse. At the same time, when men are more numerous in their field of study, male students are more likely to “marry down” with respect to educational status. These results indicate that men’s partner search is more likely to be outside the peer group at university when the student male share is high while women tend to search primarily within the field or at least within the university environment more generally. This interpretation is supported by additional results showing that for female graduates the spouse’s graduation year is more likely to be very close when the student female share is lower. For men, a higher field-specific share of males increases the probability of having a partner working in the same industry but reduces the probability of the spouse working in the same occupation. This means that the student sex ratio is of great importance for marriage market opportunities for university-educated women while the work environment after graduation appears to be of additional relevance for men performing “partner search on the job” (McKinnish, 2007).

Previous studies on the effects of imbalanced sex ratios on marriage and labor market outcomes (see, e.g., Grossbard-Shechtman and Neideffer, 1997, Grossbard and Granger, 1998) have used segmentations of marriage markets by region, ethnicity or socio-economic status, especially the level of education.Footnote 5 Defining separate marriage markets for high- and low-educated individuals requires the implicit assumption that both men and women prefer spouses from the same educational class. This neglects potential heterogeneity in the preferences for same-education spouses. Indeed, in a closely related paper using occupation-specific sex ratios, Mansour and McKinnish (2018) show that disproportionate rates of within-occupation matching of couples are rather due to lower search costs within the workplace environment than preferences for a same-occupation spouse.

This paper contributes to the literature by showing that the marriage market effects stemming from variation in the student sex ratio by detailed fields of study are gender-specific. The results indicate that marriage market opportunities of female graduates are more sensitive to the gender composition of students during education since they are more likely to search within the university environment. At the same time, men’s potential partner search pool additionally expands to spouses with a lower level of education. Additionally, these results are consistent with findings from the literature on social norms regarding relative income within couple households, typically stipulating that the husband should be the main earner in the household. The finding that university-educated women are more likely to be married to a same-education spouse while men are more likely to “marry down” when the own gender is relatively scarce within the field is in line with these gender identity norms.Footnote 6 In the context of this study, an increase in the female share of students reduces women’s frequency of meeting men with the same level of education. Consequently, the chances of finding a spouse with the same or even higher earnings potential are more limited, making couple formation in line with gender identity norms more difficult and, hence, less likely.Footnote 7 In addition, gender compositions in educational settings more generally may have other impacts beyond direct effects on marriage market prospects, in particular students’ job choices and labor market outcomes. For example, gender composition in high school or during university education may affect major choice and labor market outcomes, such as earnings growth later on (Anelli and Peri, 2017, Zölitz and Feld, 2020). Also, the gender composition between elementary and high school education affects cognitive outcomes (Lavy and Schlosser, 2011).

The remainder of the paper is organized as follows: Section 2 describes the data. The empirical strategy and the results are presented in section 3. Section 4 concludes.

2 Data and descriptives

2.1 Data sources

The aim of this paper is to study whether secular changes in the sex ratio of students within fields of study drive observed differences in marriage market outcomes for university graduates. The data comes from two sources. The German Microcensus (2011) is an annual cross-sectional survey of private households in Germany covering 1% of the population and contains micro data on core socio-demographic variables on the individual and household level, in particular marital status and household composition as well as detailed information on education, occupation and industry. Since wave 2003, the Microcensus provides information on the field of study and the year of graduation for individuals holding a university degree. This allows me to merge aggregate information on the student gender composition by field of study with Microcensus waves 2003–2011. This administrative data was is retrieved from various volumes of the German Statistical Yearbook (Destatis, 1992, 2012), which report the annual total and gender-specific number of students enrolled in university education by field of study. Unfortunately, the data do not allow to assign the field-specific sex ratio on a more disaggregated regional level, ideally the exact university where the degree was obtained.Footnote 8

2.2 Marriage market outcomes by university education

Marriage market outcomes, in particular marital status of individuals as well as the composition of couple households, differ by university education. Figure 1 shows aggregate time-series of indicators of marital status over the period 2003–2011. Overall, there is a secular trend towards more singles and fewer individuals living in a (married) couple household. However, there are sizable level differences between individuals with and without university education. While for both males and females, among the group of university-educated individuals the share in single households is higher and the share in couple households is lower this difference is particularly pronounced for women: The educational gap for being single is more than ten percentage points over the period under investigation, while the gap for having ever been married is between 15 and 20 percentage points. This underlines that the marriage market behavior of university-educated individuals on average differs from individuals with a lower level of education.

Fig. 1
figure 1

Marital status by gender and university education. This graph shows the marital status among individuals aged 30–34 in Germany. Ever married includes currently married, divorced and widowed. Source: Microcensus 2003–2011, own calculations

Focusing on couple households, the left-hand side panel of Fig. 2 shows the share of couples where either one or both spouses hold a university degree for the full population. The share of households with one university-educated spouse has increased from about 15% in 2003 to almost 19% in 2011. The share of dual-educated couple households increased by more than half from below 10% to 15% over the same period, among which the share of university-educated couples from the very same field of study quadrupled from 1.1% to 4.4%. This means that the share of couples with at least one educated spouse increased from one fourth to about one third over the period 2003–2011. The increase in the importance of dual-educated couple households is even more pronounced when focusing on couples in the top decile of the income distribution. The share of couples where one spouse holds a university degree while the other spouse has a lower level of education has remained constant at around 30% among the richest couples. At the same time, the share of dual-educated couples increased substantially from 30% in 2003 to 45% in 2011, again an increase by one half. Among those, the share of same-field couples increased by more than ten percentage points from 3.6% to 14.6%. Overall, almost three quarters of couple households within the top income decile comprise at least one spouse with a university degree, with a significantly growing importance of dual-educated couples. This means that couple formation among highly-educated individuals plays an increasingly important role for household composition in society, in particular at the upper end of the income distribution.

Fig. 2
figure 2

Composition of couples by university education. This graph shows the share of couple households with either one or both spouses hold a university degree. The share of couples where both spouses hold a degree from the same field of study is a subgroup of the share where both spouses hold a university degree in any field of study. The sample is restricted to couple households where the household head is aged between 30 and 45. The left panel shows the composition of couples for the full population while the panel on the right-hand side is restricted to couple households within the top decile of the household income distribution. Source: Microcensus 2003–2011, own calculations

2.3 Gender composition of students by field of study

In the empirical analysis, I will test whether marriage market outcomes of individuals holding a university degree are affected by secular changes in the gender composition of students enrolled in the field of study at the time of university education. Figure 3 shows how the total number of university students enrolled in (West) Germany as well as the overall gender composition, indicated by the share of females, has evolved since the late-1970s.Footnote 9 Over this period, the number of students in Germany more than doubled from about 850,000 to more than two million individuals enrolled in university education, while the gender composition of students has considerably changed. In 1977, about one third of students were women and their share has been continuously increasing to 48% in 2011.Footnote 10

Fig. 3
figure 3

University students in Germany by gender. This bar chart shows the total number of university students in Germany by gender and over time (left axis) as well as the corresponding percentage of female students (right axis). Source: Statistical Yearbooks, own calculations

While an increasing share of female university students is observed for virtually all fields of study, the overall change in the gender composition is not uniformly distributed across fields. Figure 4 shows the change in the share of female students by 41 fields of study between 1977 and 2011. The substantial variation indicates that the social environment during university education in terms of the gender composition among fellow students has considerably shifted for older cohorts compared to younger cohorts of university students. A number of fields have actually switched from being predominantly male to predominantly female, for example in Architecture, Law and virtually all fields in Medical Sciences. Despite considerable increases in the share of enrolled women, fields in Engineering are still predominantly male, while fields in Humanities have become even more female. Other fields, like Economics and Business Administration or Agriculture, used to have a low female share and are nowadays rather balanced in terms of the gender composition. Only three fields have experienced very small decreases in the female share of students (Computer Sciences, Sports and Ecotrophology, a branch of nutritional science).

Fig. 4
figure 4

Gender composition of university students by field of study. This bar chart shows the percentage of female students by field of study in 1977 (darker bars) and its change between 1977 and 2011 (lighter bars). Adding the height of the two bars gives the percentage of female students in 2011. The horizontal line indicates a female share of 50%, where the gender composition is perfectly balanced. Source: Statistical Yearbooks, own calculations

2.4 Estimation sample of university graduates

The estimation sample retrieved from the Microcensus waves 2003–2011 comprises men and women holding a university degree and have non-missing information on the year of graduation and field of study. The sample is further restricted to individuals aged 30–45 (birth cohorts 1958–1981).Footnote 11 Individuals from East Germany are excluded since the information from the Statistical Yearbooks is limited to West Germany until 1992 and only comprises students at East German universities thereafter. In addition, individuals with a non-German nationality are dropped since the data do not allow to disentangle whether foreigners have received their degree at a university in Germany or in the country of origin. Individuals who graduated from university at age 35 or later are dropped, since their period of education may arguably not overlap as much with the age of partner search. Finally, I only use individual observations who either live in a single or couple household (both married and cohabiting), where no other household members other than the partner/spouse or dependent children are present.

Summary statistics are presented in Table 1. Overall, the full sample comprises 34,302 men and 28,165 women. The main outcome variables of interest are marital status and the characteristics of the partner with respect to university education and field of study. The share of individuals living in single households compared to couple households is very similar among the samples of men and women respectively. The share of singles is on average 28% and the share living in couple households is 67–70%. More than 60% of individuals have ever been married. Most of them are currently married at the time of the survey interview (83–87% among the subsample of individuals living in couple households), while about 4% are either divorced or widowed.

Table 1 Summary statistics

While marital status outcomes are very similar between the samples of men and women there are substantial differences regarding the partner’s characteristics among those who live in a couple household. The partners of male university graduates is in most cases a wife without a university degree (53%) while about 47% live with a partner who has obtained the same level of education. At the same time, female graduates are much more likely to live with a university-educated man (69%) while only 31% live with a lower-educated partner. Among those individuals living with a university-educated partner the fraction of partners having graduated in the very same field of study is about one third (16% for men and 24% for women).

The distinct gender patterns of selection into fields of study as shown on the aggregate level in Fig. 4 are reflected in the sample of university graduates from the Microcensus data shown in Appendix Table 6. Overall, there are 41 fields under consideration in the empirical analysis. About one third of both male and female university graduates have graduated in a field within Social Sciences (32% and 36% respectively). At the same time, men are substantially more likely to have a degree in an Engineering field (37%) or Natural Sciences (15%) than women (both 10%). About 33% of women have graduated in a field within Human Sciences with the number for men standing at 9%. Moreover, women are somewhat more likely to graduate in a medical field than men (8% vs. 5%). Only 2% of men and 4% of women graduate from Arts.

The observed differences in the choice of field of study are related to the percentage of the own gender among fellow students at the time of university education. Given that the German Microcensus contains individual information on the field and year of graduation, I am able to match the aggregate information on the male and female percentages of students from the Statistical Yearbooks with the micro data. On average, men experience a 69% male share among students within the field of study while women experience a female share of 52%. This variation in the gender composition across fields and within fields over time will be exploited in the regression analysis.Footnote 12

3 Estimation of marriage market effects

3.1 Empirical strategy

The empirical strategy exploits variation in the gender composition of university students over time and within field of study to estimate its impact on marriage market outcomes of university graduates. The empirical model reads:

$${y}_{itfg}=\alpha +\beta \times percent\,own\,gende{r}_{fg}+{X}_{it}^{\prime}\gamma +{W}_{fg}^{\prime}\delta +{Z}_{ft}^{\prime}\theta +{\mu }_{f}+{\mu }_{g}+{\varepsilon }_{itfg},$$
(1)

where yitcfg denotes a marriage market outcome of an individual i who was surveyed in year t and graduated in field of study f in year g. The outcomes are binary indicators of the marital status (single, in couple and ever married) or the composition of the couple regarding the spouse’s level of education and field of study (partner without university degree, partner with degree in same field, partner with degree in other field) as described in the previous section. The main variable of interest is percent own genderfg, i.e., the percentage of students of the own gender enrolled in field of study f in graduation year g indicating the gender composition experienced by individual i during university education.Footnote 13

A simple cross-sectional OLS estimate of the coefficient β would be biased if the selection into fields of study are explicitly driven by marriage market considerations. For example, individuals may choose a particular field of study exactly because of a favorable sex ratio in the field because the primary goal is to find a spouse during education. Another threat to the identification would be unobserved characteristics of university students enrolling in particular fields (e.g., personality traits, cognitive differences, differences in tastes and preferences, etc.) that may affect both the resulting gender composition of students by field as well as average marriage market outcomes of graduates from those fields. In order to rule out these threats to the identification, I employ a field fixed effects strategy. In Eq. (1) field fixed effects μf control for any unobserved time-invariant field of study characteristics that are related to the selection of individuals into fields of study and also take into account that some fields have been traditionally male- or female-dominated (e.g., fields in Engineering vs. fields in Humanities). Hence, I only exploit variation in the gender composition within fields over time, which rules out any endogeneity bias as long as unobserved factors characterizing selection into fields are constant over time.

There may, however, still be time-varying characteristics of a field of study that may arguably be correlated with both the sex ratio of students and marriage market outcomes of graduates and would imply omitted variable bias. For example, the gender composition of students may be correlated with graduates’ expected future salaries and occupational prestige which may affect marriage market outcomes. Therefore, the vector Zft controls for time-varying average full-time net income and average occupational prestige scores of graduates of field f surveyed in year t. Finally, graduation year fixed effects μg control for any impact common to cohorts graduating at the same time that may influence marriage market outcomes, most importantly the gender composition of students across all fields of study as well as changing social norms (e.g., gender roles) over time.Footnote 14 The set of individual controls Xit includes age, age squared, a binary indicator for living in an urban area at the time of the survey and state fixed effects, while Wfg controls for the log total number of students enrolled in field f in graduation year g. Eq. (1) is estimated separately for men and women using a linear probability model with standard errors εitfg clustered on the field level.

3.2 Main results: effects of student sex ratios

3.2.1 Effects on marital status

The analysis of marriage market effects of the gender composition among university students begins by examining the impact of the own-gender share on outcomes related to marital status, i.e., whether a university-educated individual is single, in a couple or has ever been married at the time of the survey interview. Overall, the results for marital status outcomes imply that for university-educated women a relative scarcity of male students within the field of study hampers couple formation, in particular regarding entering marriage. At the same time, a high male share does not impair men’s marriage market prospects.

The estimation results are displayed in Table 2. Panel A shows the results for the full sample of university-educated men. Overall, I find that a higher own-gender (i.e., male) share of students significantly improves marriage market prospects of men. Having experienced a higher male share among fellow students during university education reduces the probability of being single (columns (1)–(3)) and increases the probability of being in a couple relationship and of having been ever married (columns (4)–(9)). The results indicate that a one percentage point higher share of male students reduces the probability of being single by about 0.4 percentage points when including the full set of controls and fixed effects, corresponding to a 1.4% decrease at the mean value. At the same time, the probability of being in a couple is increased by 0.4 percentage points (0.1% at the mean), the effect on having been ever married is about 0.7 percentage point (about 1% at the mean). At first sight this pattern may be surprising since a relatively high own-gender share within the social environment is expected to be associated with higher competition as well as higher search costs on the marriage market. Note, however, that the marital status outcomes are not specific to the level or even field of the partner’s education. The result that a higher male share within the educational peer group improves educated men’s marriage market prospects implies that their partner search expands more broadly to the overall marriage market beyond the university environment. Nevertheless, the result of better marriage prospects for men from fields with a high male share is puzzling and could imply that high-educated men are attractive for women with a lower level of education.

Table 2 Effects of percent own gender in field on marital status

The results for the full sample of university-educated women are presented in Panel B of Table 2 and show the exact opposite pattern. Women who experienced a higher share of female peers within their field of study are significantly more likely to remain single, while the prospects of being ever married is significantly reduced. For women, a one percentage point increase in the own-gender share increases the probability of remaining single by 0.5 percentage points (1.8% at the mean) and reduces the probability of having been married by 0.7 percentage points (1.1% at the mean). The results for women are in line with the expectation that a higher own-gender share reduces marriage prospects due to higher competition and increased marital search costs within the relevant marriage market.

The regression results presented in Table 2 are based on a linear specification of Eq. (1). However, non-linear relationships between the gender composition in the field of study and the marriage market outcomes may be plausible as well. For example, the linear estimates may be driven by individuals who experienced extremely unbalanced gender compositions. For this purpose, I run specifications of Eq. (1) where the continuous own-gender share is replaced by a series of indicators for specific levels of the gender share. Results for this flexible specification of a non-linear relationship between the student sex ratio and marriage market outcomes are shown in Fig. 5 and reveal a fairly linear pattern, in particular for the outcomes of remaining single and having ever been married. This means that the results are not driven by graduates from fields with highly unbalanced sex ratios but that also moderate deviations from a perfectly gender-balanced environment affect the marriage prospects of students.

Fig. 5
figure 5

Non-linear effects of percent own gender on marital status. This graph shows estimation results for the coefficient β from six separate regressions of Eq. (1) replacing the linear effect of percent of own gender with a series of eleven dummies. Each scatter point indicates the point estimate for the respective bin dummy. The omitted category is percent own gender between 45 and 55. The vertical whiskers indicate 95% confidence intervals. Source: Statistical Yearbooks & Microcensus 2003–2011, own calculations

3.2.2 Effects on composition of couples

The results discussed in the previous paragraph show that the own-gender share among university students within the field of study affects couple formation in general. I now turn to outcomes related to the composition of couples with respect to the level of education, i.e., whether a university graduate’s partner has attained university education as well, and whether university-educated partners are from the same or from a different field of study.Footnote 15

The results are displayed in Table 3. The estimates in Panel A for university-educated men show that a higher own-gender share affects the margin of having a partner with completed university education (columns (1)–(3)). After including all controls and fixed effects a one percentage point higher male share on average significantly reduces the probability of having a partner holding a tertiary degree by 0.3 percentage points (0.8% at the mean). This finding is consistent with the interpretation that a higher percentage of the own gender among fellow students reduces the chances of meeting an opposite-gender partner within the university environment. Taking into account the partner’s field of study, the results in columns (4)–(9) show that this result tends to affect both margins of finding a university-educated wife from the same or from a different field of study.

Table 3 Effects of percent own gender in field on couple composition: education and field

The results for non-linear specifications shown in Fig. 6 show that the impact is mainly driven by men who experienced a rather low male share (less than 50% of male students) during university education having a significantly higher probability of a within-field match compared to men who experienced a more balanced or predominantly male student gender composition. Given that a higher share of male students improves male students’ overall success on the marriage market (see Table 2), the results on couple composition indicate that when men are more abundant within their field of study, they are apparently more likely to expand their search for a potential spouse outside the university environment. This implies that male graduates are also willing to “marry down” with respect to the level of education.

Fig. 6
figure 6

Non-linear effects of percent own gender on couple composition. This graph shows estimation results for the coefficient β from six separate regressions of Eq. (1) replacing the linear effect of percent of own gender with a series of eleven dummies. Each scatter point indicates the point estimate for the respective bin dummy. The omitted category is percent own gender between 45 and 55. The vertical whiskers indicate 95% confidence intervals. Source: Statistical Yearbooks & Microcensus 2003–2011, own calculations

The results for women holding a university degree are shown in Panel B of Table 3. A higher female share of students during education does not significantly change the probability of women having a partner holding a university degree (columns (1)–(3), but does significantly reduce the probability of having a partner from the same field of study (columns (4)–(6)). A one percentage point higher female share of students reduces the probability of a university-educated spouse (from the same field) by 0.3 percentage points (corresponding to 1.9% at the mean). The non-linear specification presented in Fig. 6 shows that women exposed to a very low own-gender share (below 25%) are more likely to have a same-field partner than women who have experienced a more balanced gender composition.

This means that university educated women’s partner search seems to be strongly affected by the gender composition of fellow students during university education. This is consistent with the notion that partner search costs on the marriage market are lower when being outnumbered by the opposite gender (Mansour and McKinnish, 2018). An increasing own-gender share implying reduced relative scarcity increases search costs and makes within-field mating less likely. In addition, these findings indicate that there are gender-specific preferences for marrying up or down the educational ladder. When the female share among fellow students is higher, making within-field partner search more costly and more difficult, an important alternative search pool seems to be the university environment more generally, including different fields of study. Hence, educated women seem to prefer to marry a spouse from the same educational level or remaining single over “marrying down” the educational ladder.Footnote 16 At the same time, men are more likely to search for partners outside the university environment. This interpretation is consistent results shown in Table 5 for individuals’ age at graduation and age at marriage among those in married couples. To the extent that the gender composition among fellow students affects partner search inside or outside the own field of study, the timing of graduation and consequently the age at marriage may at the margin be responsive to the length of partner search alongside other determinants of age at graduation and marriage. The results show that this relationship is different between men and women. While men graduate and leave earlier when the own-gender share is high women graduate later and stay for longer in the university environment (columns (1) to (3)). Also, a higher male share among fellow students slightly reduces age at marriage for men while women marry later when faced with a higher female share of students in the field of study.

3.2.3 Meeting of spouses at university or at work?

The interpretation of the results of the field-specific gender composition among university students so far relies on the idea that couples meet and match whilst at university, which is however not directly testable based on the available data. An alternative explanation could be forwarded with respect to work environments after graduation, given that graduating from a specific field of study typically prepares for careers in related occupations. Students of engineering will usually start careers as engineers while students of medicine will be working as doctors after having completed their university education. This means that work environments in specific occupations can be expected to be similarly gender-differentiated as the student gender composition of closely related fields of study. Hence, in addition to affecting the probability of encountering potential opposite-gender spouses at university the student gender composition may also have an effect on the frequency of meeting opposite-gender colleagues and co-workers. Lacking information on whether observed partnerships of university graduates have actually been initiated during university, I exploit the information on spouses’ year of graduation.

If the interpretation that the university environment represents an important marriage market is relevant this implies that the graduation year among university-educated spouses is the same or very close. On average, 44% of couples where both partners hold a university degree have graduated at about the same time, i.e., within at most 1 year (see Table 1). Indeed, the results in columns (1)–(3) of Table 4 show that a higher percentage of the own gender among students in the field significantly reduces the probability that the partner’s year of graduation is similar for women, but not for men. A one percentage point higher female share reduces the probability of the spouses’ similarity in the year of graduation by 0.5 percentage points, corresponding to an effect of about 1.9% at the mean.Footnote 17

Table 4 Effects of percent own gender in field on couple composition: graduation year, industry and occupation

While this result supports the interpretation that an unbalanced student gender composition enhances couple initiation at university for the scarcer gender, the related gender composition of work environments may be of additional relevance for “partner search on the job” (McKinnish, 2007). This mechanism would imply that spouses are similar with respect to the industry and occupation. The share of spouses working in the same industry or occupation is between 10% and 15%.Footnote 18 Columns (4)–(6) of Table 4 show that indeed a higher percentage of the own gender significantly increases the probability of having a partner working in the same industry sector for men while the estimate is negative and only marginally significant for women. This supports the notion that men graduating from male-dominated fields are more likely to meet their spouse at work. However, as shown in columns (7)–(9), at the same time the outcome of having a spouse working in the same occupation is not significantly affected by a higher share of male students. This result indicates that men are likely to meet their partner within their work environment but among women performing different tasks, arguably not requiring a university education given that the results on marital status and couple composition have shown that men are more more likely to live with a partner with a lower level of education (see Tables 2 and 3) (Table 5).

Table 5 Effects of percent own gender in field on age at graduation and marriage

3.3 Additional results and robustness checks

3.3.1 Choice of field of study driven by marriage market considerations?

In order to address potential concerns regarding selection into fields of study being mainly driven by marriage market rather than labor market considerations, I present estimation results exploiting field-specific information on admission restriction rules. Enrolling in university education in a field where admission is restricted may not fully rule out the possibility that the motivation for choosing the respective field is driven by marriage market considerations. However, I argue that this is much less likely since enrolling in a restricted field is costly from an individual’s point of view. First, some applicants may have to wait one or more semesters before they are actually admitted. Second, particularly the central level restriction typically implies that the choice of specific university is beyond the control of the individual applicant. Both aspects substantially increase the opportunity costs of choosing a restricted field of study, making it much more likely that the motivation is primarily (if not only) driven by labor market considerations. For this reason, I run regressions where the sample is restricted to individuals who graduated from a field of study where admission was restricted to large extent, indicated by the percentage of admission-restricted universities, 5 years prior to graduation. The results are shown in Figs. 7 and 8 and indicate that the effects of gender composition in restricted fields are very much in line with the baseline results.

Fig. 7
figure 7

Effects of percent own gender on marital status for admission-restricted fields. This graph shows estimation results for the coefficient β from 30 separate regressions of Eq. (1) for alternative sub-samples with respect to the extent of field-specific admission restrictions 5 years prior to individual graduation. The baseline estimates show the respective results from Table 2 and can be compared to the estimates for samples of individuals whose field was characterized by a level of admission restriction of more than 50%, 60%, 70%, or 80%. Each scatter point indicates the respective point estimate for percent of own gender in the field. The vertical whiskers indicate 95% confidence intervals. Source: Statistical Yearbooks & Microcensus 2003–2011, own calculations

Fig. 8
figure 8

Effects of percent own gender on couple composition for admission-restricted fields. This graph shows estimation results for the coefficient β from 30 separate regressions of Eq. (1) for alternative sub-samples with respect to the extent of field-specific admission restrictions 5 years prior to individual graduation. The baseline estimates shows the respective results from Table 3 and can be compared to the estimates for samples of individuals whose field was characterized by a level of admission restriction of more than 50%, 60%, 70%, or 80%. Each scatter point indicates the respective point estimate for percent of own gender in the field. The vertical whiskers indicate 95% confidence intervals. Source: Statistical Yearbooks & Microcensus 2003–2011, own calculations

In Germany, admission to university education in specific fields can either be restricted at the central (federal) level or at the local (university) level. Central restriction of admission implies that only applicants whose overall score in their secondary school leaving examination (Abitur) passes a minimum threshold, which differs across fields and over time.Footnote 19 The main purpose is to allocate applicants for a place at university in fields where demand exceeds available capacities which mainly, but not exclusively, applies to fields in Medical Sciences. In addition, individual universities may also define their own admission restriction rules for specific fields. For this purpose, I compile administrative information on annual field-specific admission restrictions from the German Rector’s Conference (Hochschulrektorenkonferenz), an umbrella organization of German universities. The dataset is based on annual publications listing the situation of admission restriction (free admission, local restriction or central restriction) for each field at each university in Germany. This allows me to compute an index of admission restriction ranging from zero (free admission) and 100% (admission fully restricted). Values in between give the percentage of German universities where admission to the respective field is restricted in a given year. Over the period under consideration between 1977 and 2011, the extent of admission restriction varies substantially both across fields and within fields over time, see Figs. 16 and 17.

3.3.2 Placebo gender composition by randomly assigning the field of study

In order to further corroborate the validity of the baseline estimation results, I run regressions with placebo treatments by randomly assigning the field of study while keeping the year of graduation fixed. This exercise is repeated 10,000 times for each outcome as well as for the samples of men and women separately and yields distributions of the coefficient estimates (β in Eq. (1)). The results are shown in Figs. 18 and 19. The vertical dashed lines indicate the point estimates from the baseline regression results presented in Tables 2 and 3. In almost all cases, the baseline point estimate is significantly different and more pronounced than the distribution of placebo treatment effects except for those outcomes where the baseline effect is anyway not significantly different from zero. What is reassuring for the analysis, is the fact that the baseline estimate is usually significantly outside the distribution of placebo effects. This indicates that the actually experienced gender composition during university education has more pronounced impacts on marriage market outcomes of university graduates.

3.3.3 Lagged gender composition with respect to graduation year

In the baseline specification, the gender composition assigned to each individual is based on the exact field of study and the year of graduation in that field. However, a university graduate’s field-specific gender composition reflecting marital search conditions may not be the one that prevailed in the year of graduation, i.e., at the end of education, but rather the one at the beginning of or during the course of study. Unfortunately, the year of starting university education is not available in the Microcensus data. That is why I present regression results assigning the gender composition of students between one and ten years before the year of graduation.Footnote 20 The results are presented in Figs. 9 and 10 and are very similar to the baseline specifications (equal to zero years before graduation). This is not surprising given the fact that, while the gender composition has changed substantially in some fields of study over several decades, the year-by-year levels are highly correlated. However, it turns out that those results assigning the gender composition between zero and 5 years before graduation are more pronounced than those assigning the gender composition more than 5 years prior to graduation. This is consistent with a typical duration of university education of about 5 years.

Fig. 9
figure 9

Effects of percent own gender on marital status for different lags of graduation year. This graph shows estimation results for the coefficient β from 96 separate regressions of Eq. (1) for alternative definitions of the field-specific gender composition’s timing, employing lags l ∈ {−10,...,+5} with respect to an individual’s year of graduation g. Zero years before graduation is the baseline specification shown in A of Table 2. Each scatter point indicates the respective point estimate for percent own gender. The vertical whiskers indicate 95% confidence intervals. Source: Statistical Yearbooks & Microcensus 2003–2011, own calculations

Fig. 10
figure 10

Effects of percent own gender on couple composition for different lags of graduation year. This graph shows estimation results for the coefficient β from 96 separate regressions of Eq. (1) for alternative definitions of the field-specific gender composition’s timing, employing lags l ∈ {−10,...,+5} with respect to an individual’s year of graduation g. Zero years before graduation is the baseline specification shown in A of Table 3. Each scatter point indicates the respective point estimate for percent own gender. The vertical whiskers indicate 95% confidence intervals. Source: Statistical Yearbooks & Microcensus 2003–2011, own calculations

4 Conclusions

This paper studies how the gender composition among university students by field of study affects marriage market outcomes of university graduates in Germany. Using rich data from the German Microcensus combined with aggregate information for more than 40 fields of study over the period 1977–2011, I exploit over-time variation in the gender composition within fields of study. The main findings of the paper show that the gender composition of fellow students within the field of study experienced during education has significant impacts on marriage market outcomes for university graduates with distinct gender differences. First, a higher own-gender share of students negatively affects marriage market opportunities for women by increasing the probability of remaining single and reducing marriage rates, while the opposite is true for men. Second, an imbalanced student sex ratio significantly affects the composition of couples in terms of education and the field of study. A higher share of the own gender increases the probability of having an opposite-sex partner from a different field of study for women. At the same time, men are more likely to marry down with respect to educational status, while women rather have a partner with the same level of education.

Overall, the results of this study are in line with gender identity norms with respect to couple formation, implying that women typically prefer to “marry up” the socio-economic ladder (Bertrand et al., 2015). These findings imply that changes in the gender composition of students may have implications for the socio-demographic composition of societies since we may expect increases in assortative mating of couples when the formation of same-field relationships is enhanced in male-dominated fields. This may have longer-run impacts on income inequality and intergenerational mobility. At the same time, further increases in the female share of students in fields already dominated by women may increase the number of university-educated women remaining single (longer), which may, in turn, have negative implications for fertility among high-skilled women.

Finally, the causal interpretation of the results presented in this paper should account for the necessary assumptions given the institutional setting as well as the availability of data. In particular, determinants of the student gender composition may also affect students’ marriage market prospects and preferences. For example, over the period under investigation, student gender composition has been changing alongside many cultural and social norms, particularly with respect to gender roles including women’s educational attainment and labor force participation. The empirical model in this study accounts for these factors by controlling for year of graduation fixed effects, which absorb any societal and institutional determinants of both student gender composition and marriage market prospects that are uniform for students of the same graduation cohorts across all fields of study, but not necessarily between fields. Similarly, conditioning on fixed effects for field of study takes into account differences in unobserved characteristics of students with respect to gender norms between fields of study. However, the interpretation of the results of this paper rely on the assumption that these are time-invariant, while gradual shifts in unobserved characteristics of marginal students entering fields may change the composition within field over time. Therefore, I acknowledge that absent quasi-experimental variation in student gender composition as well as data limitations, I cannot rule out that these factors may vary by field of study, such that the presented estimates may be biased upwards to some extent. Studying the role of these secular trends for marriage market outcomes among university-educated individuals should be addressed by future research.