logit.sw.cali: logit.sw.cali

View source: R/func.logit.CES.R

logit.sw.caliR Documentation

logit.sw.cali

Description

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

Usage

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


realxinzhao/tradecast documentation built on June 1, 2024, 3:37 a.m.