Intro -- Abstract -- Acknowledgments -- List of Essays -- Contents -- Introduction -- Preferences and Opportunities -- Preferences and School Choices -- Constrained Opportunities -- Cognitive Limitations -- Spatial Structure: Location -- Social Structure: Interpersonal Ties -- Population Structure -- Analytical Framework -- The Swedish Case -- Trends in School Segregation in Stockholm -- Data and Methods -- Data -- Ethical Considerations -- Methods -- Discrete Choice Conditional Logit Models -- Stochastic Actor-Oriented Models (SAOMs) -- Empirically Calibrated Agent-Based Models -- Appended Essays -- Discussion and Conclusions -- Bibliography -- Essays -- Essays.