Demand Elasticity, Risk Classification and Loss Coverage: When Can Community Rating Work?