A Model for Migration Analysis