util_ces: Constant elasticity of substitution (CES) utility function

View source: R/util-ces.R

util_cesR Documentation

Constant elasticity of substitution (CES) utility function

Description

Constant elasticity of substitution (CES) utility function

Usage

util_ces(
  substitution,
  homogeneity = 1,
  efficiency = NA_real_,
  weights = double(),
  homothetic = homogeneity == 1
)

util_ces2(
  elasticity_of_substitution,
  homogeneity = 1,
  efficiency = NA_real_,
  weights = double(),
  homothetic = homogeneity == 1
)

Arguments

substitution

A scalar numeric of substitution parameter.

homogeneity

A scalar numeric of degree of homogeneity. By default, 1. When homothetic = TRUE, homogeneity must be equal to 1.

efficiency

A scalar numeric of efficiency parameter.

weights

A numeric vector of weights.

homothetic

A logical scalar. By default, homogeneity == 1.

elasticity_of_substitution

A scalar numeric of elasticity of substitution.

Value

A util_ces object.


UchidaMizuki/econgoods documentation built on Oct. 23, 2024, 8:10 a.m.