Economic—Demographic Modeling with Endogenously Determined Birth and Migration Rates: Theory and Prospects · Study