Modeling Behavior in Public Goods Experiments