The Trivers and Willard model predicts that offspring of dominant mothers will be biased toward males and offspring of subordinate mothers towards females, whereas a local-resource-competition hypothesis predicts the reverse. Available data bearing upon these alternative predictions are inconsistent. It has been suggested that the local-resource-competition hypothesis will predominate when resources are scarce, and the Trivers-Willard hypothesis when resources are abundant. The relationship between maternal dominance and secondary sex ratio for 214 offspring of 61 females was examined using four troops of wild yellow baboons living in Mikumi National Park, where the population was increasing in a resource-rich habitat. For all troops combined, no significant relationship was found between offspring sex ratio and maternal rank. The four troops separately showed inconsistent trends, and in no case did the relationship reach conventional levels of statistical significance. In contrast, the local resource-competition hypothesis was supported by a study of yellow baboons done with one troop and 80 offspring in Amboseli National Park, where a massive population decline had occurred. The contrasting Amboseli and Mikumi results may be due to differences in resource-competition at the two study sites, or to stochastic variation. © 1992 Wiley-Liss, Inc.