Private versus public consumption within groups: testing the nature of goods from aggregate data