Learn R Programming

GE (version 0.1.1)

CES: CES Function

Description

CES function, e.g. alpha * (beta1 * (x1 / theta1)^sigma + beta2 * (x2 / theta2)^sigma)^(1 / sigma).

Usage

CES(sigma, alpha, beta, x, theta = NULL)

Arguments

sigma

the sigma coefficient.

alpha

the alpha coefficient.

beta

a vector consisting of the beta coefficients.

x

a vector consisting of the inputs.

theta

a vector consisting of the theta coefficients.

Value

The output or utility level.

Examples

Run this code
# NOT RUN {
CES(1, 1, c(0.4, 0.6), c(1, 1), c(0.4, 0.6))
# }

Run the code above in your browser using DataLab