A constant elasticity of substitution function generating value sharing

ces.share(p, ces.exponent, share.weight)

Arguments

p

A vector of prices in the nest

ces.exponent

A numeric value of CES exponent

share.weight

Share-weights to be used in the function

Value

A vector of value shares from the logit sharing function