Socioeconomic and demographic factors are associated with worldwide patterns of stunting and wasting of children.