A Markovian model of the educational system: Refinements and applications at sub-regional levels