Voter Transition Rates - Instructions

We suppose that the election results are known for a district and the precincts from which the district is consisted off.Suppose that political parties 1, 2, …,r run for the fist election, (e1) and collected f=(f1,f2, … ,fr ) of the votes correspondingly and parties 1, 2,…,c run for the second election (e2) and collected s=(s1,s2, … ,sc ) of the votes correspondingly.