Charge compensation weakening ionized impurity scattering and assessing the minority carrier contribution to the Seebeck coefficient in Pb-doped Mg3Sb2 compounds.