powered by
CES function, e.g. alpha * (beta1 * (x1 / theta1)^sigma + beta2 * (x2 / theta2)^sigma)^(1 / sigma).
CES(sigma = 1 - 1/es, alpha, beta, x, theta = rep(1, length(beta)), es = NA)
A scalar indicating the output or utility level.
a scalar not greater than one.
a nonnegative scalar.
a nonnegative n-vector.
a nonnegative n-vector consisting of the inputs.
the all-ones n-vector (default) or a positive n-vector.
the elasticity of substitution. If es is not NA, the value of sigma (i.e. 1 - 1 / es) will be ignored.
# \donttest{ CES(0.5, 1, c(0.4, 0.6), c(1, 1), c(0.4, 0.6)) CES(0.5, 1, c(0.4, 0.6), c(1, 2)) # }
Run the code above in your browser using DataLab