Evaluating the impact of state variation on gender and race through campaign finance