A statistical duality for Random Matching of Agents