Calibrating share-weights to be used in relative cost logit sharing function

logit.sw.cali(q, p, logit.exponent, sw_relative = "sw_share")

Arguments

q

A vector of quantities in the nest

p

A vector of prices in the nest

logit.exponent

A numeric value of logit exponent

sw_relative

Options of scaling method in share-weights: "sw_share" returns share-weights summing to 1 and "sw_default" returns share-weights anchored to the first item

Value

Calibrated share-weights