     Egwald Economics: Microeconomics

Duality and the Translog Production / Cost Functions
Non-Homothetic Generalized CES Technology

by

Elmer G. Wiens

Egwald's popular web pages are provided without cost to users.
Please show your support by joining Egwald Web Services as a Facebook Fan: Follow Elmer Wiens on Twitter: Duality: Production / Cost Functions:   Cobb-Douglas Duality | CES Duality | Theory of Duality | Translog Duality - CES | Translog Duality - Generalized CES | References and Links

S. Translog (Transcendental Logarithmic) Duality and the Generalized CES Technology

I. Profit (Wealth) Maximizing Firm.

Production and cost functions (and profit functions) can be used to model how a profit (wealth) maximizing firm hires or purchases inputs (factors), such as labour, capital (structures and machinery), and materials and supplies, and combines these inputs through its production process to produce the products (outputs) that the firm sells (supplies) to its customers. The theory of duality links the production function models to the cost function models by way of a minimization or maximization framework. The cost function is derived from the production function by choosing the combination of factor quantities that minimize the cost of producing levels of output at given factor prices. Conversely, the production function is derived from the cost function by calculating the maximum level of output that can be obtained from specified combinations of inputs.

II. The Production and Cost Functions.

The Translog production function:

ln(q) = ln(A) + aL*ln(L) + aK*ln(K) + aM*ln(M) + bLL*ln(L)*ln(L) + bKK*ln(K)*ln(K) + bMM*ln(M)*ln(M)
+ bLK*ln(L)*ln(K) + bLM*ln(L)*ln(M) + bKM*ln(K)*ln(M)   =   f(L, K, M).

q = exp(f(L, K, M)) = F(L, K, M).

an equation in 10 parameters, A, aL, aK, aM, bLL, bKK, bMM, bLK, bLM, bKM, where L = labour, K = capital, M = materials and supplies, and q = product.

The Translog (total) cost function:

 ln(C(q;wL,wK,wM)) = c + cq * ln(q) + cL * ln(wL) + cK * ln(wK) + cM * log(wM)                                 + .5 * [dqq * ln(q)^2 + dLL * ln(wL)^2 + dKK * ln(wK)^2 + dMM * ln(wM)^2]                   + .5 * [(dLK + dKL) * ln(wL)*ln(wK) + (dLM + dML) * ln(wL)*ln(wM) + (dKM + dMK) * ln(wK)*log(wM)]                   + dLq * ln(wL)*ln(q) + dKq * ln(wK)*ln(q) + dMq * ln(wM)*ln(q)

an equation in 18 parameters, c, cq, cL, cK, cM, dqq, dLL, dKK, dMM, dLK, dKL, dLM, dML, dKM, dMK, dLq, dKq, and dMq, where wL, wK, and wM are the factor prices of L, K, and M respectively.

III. Duality between Production and Cost Functions.

Mathematically, the duality between a production function, q = F(L, K, M), and a cost function, C(q; wL, wK, wM), is expressed:

C*(q; wL, wK, wM) = minL,K,M{ wL * L + wK * K + wM * M   :   q - F(L,K,M) = 0,   q > 0, wL > 0; wK > 0, and wM > 0,   L > 0, K > 0, M > 0}     (*)

F*(L, K, M) = maxq {q   :   C(q; wL, wK, wM)   <=   wL * L + wK * K + wM * M,   L > 0, K > 0, M > 0,   for all wL >= 0 , wK >= 0, wM >= 0}     (**),

with the questions, F == F*, and C == C*?

The dual functions C*, and F* will be derived from the estimated functions F, and C.

If the functions F(L, K, M), and C(q; wL, wK, wM) obey sufficient conditions, the above minimization and maximization problems can be solved by nonlinear optimization techniques, such as Newton's Method. Furthermore, the implicit function theorem can be exploited to facilitate such calculations.

IV. Constrained Optimization.

The (*) minimization problems are solved for the Generalized CES production function, the Translog production function, and for the Diewert (Generalized Leontief) production function.

The maximization problem (**) is somewhat more difficult than the minimization problem (*), since as specified, the requirements   —   for all wL >= 0 , wK >= 0, wM >= 0   —   imply an infinite number of constraints.

This difficulty is overcome with cost functions that factor:

C(q; wL, wK, wM) = q^1/nu * c(wL, wK, wM)

by solving the reduced dimension problem:

F*(L, K, M)^1/nu = 1 / maxwL,wK,wM {c(wL, wK, wM)   :   wL * L + wK * K + wM * M = 1,   wL >= 0, wK >= 0, wM >= 0)

However, with cost functions that do not factor, such as the Translog cost function, the following method can be used to reduce the dimensionality of the constraints of (**), if the cost function is linear homogeneous in factor prices.

Cost Function Linear Homogeneous in Factor Prices.

When (L, K, M) is the least cost combination of inputs at the specific combination of factor prices (wL, wK, wM):

C(q; wL, wK, wM)   =   wL * L + wK * K + wM * M.

With the cost function, C(q; wL, wK, wM), linear homogeneous in factor prices:

C(q; wL / wM, wK / wM, 1)   =   wL / wM * L + wK / wM * K + M,

assuming that wM > 0. Writing vL = wL / wM, and vK = wK / wM, the maximization problem (**) becomes the minimization problem:

F*(L, K, M) = minq, vL, vK {q   :   C(q; vL, vK, 1)   >=   vL * L + vK * K + M,   L > 0, K > 0, M > 0,   for all vL >= 0 , vK >= 0}     (***),

an optimization problem with one constraint.

V. Cost Function to Production Function: The Method of Langrange.

Using the Method of Lagrange, define the Langrangian function, H, of the minimization problem (***):

H(L, K, M, q, vL, vK, λ) = q + λ * (vL * L + vK * K + M - C(q; vL, vK, 1)),

where the new variable, λ, is called the Lagrange multiplier.

a.   First Order Necessary Conditions:

 0.   Hλ(L, K, M, q, vL, vK, λ) = vL * L + vK * K + M - C(q; vL, vK, 1) = 0 1.   Hq(L, K, M, q, vL, vK, λ) = 1 - λ * ∂C(q; vL, vK, 1)/∂q = 0 2.   HvL(L, K, M, q, vL, vK, λ) = λ * (L - ∂C(q; vL, vK, 1)/∂vL) = 0 3.   HvK(L, K, M, q, vL, vK, λ) = λ * (K - ∂C(q; vL, vK, 1)/∂vK) = 0

b.   Solution Functions:

We want to solve, simultaneously, these four equations for the variables λ, q, vL, and vK as functions of the variables L, K, and M, and the parameters of the cost function.

λ = λ(L, K, M)
q = q(L, K, M)
vL = vL(L, K, M)
vK = vK(L, K, M)

c.   Jacobian Matrices:

The Jacobian matrix (bordered Hessian of H) of the four functions, Hλ, Hq, HvL, HvK, with respect to the choice variables, λ, q, vL, vK :

J3   =

 Hλλ Hλq HλvL HλvK Hqλ Hqq HqvL HqvK HvLλ HvLq HvLvL HvLvK HvKλ HvKq HvKvL HvKvK
=
 0 -Cq L - CvL K - CvK -Cq -λ*Cqq -λ*CqvL -λ*CqvK L - CvL C-λ*CqvL -λ*CvLvL -λ*CvLvK K - CvK -λ*CqvK -λ*CvKvL -λ*CvKvK

=   Jλ, q, vL, vK

The bordered principal minor of the bordered Hessian of the Langrangian function, H:

J2   =

 0 -Cq L - CvL -Cq -λ*Cqq -λ*CqvL L - CvL -λ*CqvL -λ*CvLvL

d.   Second Order Necessary Conditions:

The second order necessary conditions require that the Jacobian matrix (bordered Hessian of H) be positive definite at the solution vector W = (L, K, M, q, vL, vK, λ). The Jacobian matrix, J3, is a positive definite matrix if the determinant of J2 is negative, and the determinant of J3 is negative.

e.   Sufficient Conditions:

If the second order necessary conditions are satisfied, then the first order necessary conditions are sufficient for a minimum at W.

f. The Solution Functions' Comparative Statics.

The Jacobian matrix of the four functions, Hλ, Hq, HvL, HvK, with respect to the variables, L, K, M:

JL, K, M   =

 Hλ,L; Hλ,K Hλ,M Hq,L Hq,K Hq,M HvL,L HvL,K HvL,M HwK,L HwK,K HvK,M
=
 vL vK 1 0 0 0 λ 0 0 0 λ 0

The Jacobian matrix of the four solution functions, Φ = {λ, q, vL, vK}, with respect to the variables, L, K, and M:

JΦ   =

 λL λK λM qL qK qM vLL vLK vLM vKL vKK vKM

From the Implicit Function Theorem:

JL, K, M;   +   Jλ, q, vL, vM   * JΦ   =   0 (zero matrix)   →

JΦ   =   - (Jλ, q, vL, vK)-1   *   JL, K, M

for points (L, K, M) in a neighborhood of the point (L, K, M), and wL = wL(L, K, M), wK = wK(L, K, M), wM = wM(L, K, M), and λ = λ(L, K, M),

with:

 F*(L, K, M) = q(L, K, M), F*L(L, K, M) = qL(L, K, M), F*K(L, K, M) = qK(L, K, M), and F*M(L, K, M) = qM(L, K, M),

VI. Question: F == F*?

The obtained values for F*(L, K, M), F*L(L, K, M), F*K(L, K, M), and F*M(L, K, M) can be compared with the values of F(L, K, M), FL(L, K, M), FK(L, K, M), and FM(L, K, M), and with the corresponding values from the Generalized CES production function.

VII. Duality.  The Plan:

1. Specify the parameters of a Generalized CES production function, and obtain the derived Generalized CES cost function using Newton's Method.

2. Generate the Generalized CES data displayed in the table below, and estimate the parameters of a Translog production function, and the parameters of a Translog cost function.

3. Using Newton's Method with the implicit function theorem, obtain the production function that is dual to the estimated Translog cost function. Check that the derived Translog production function corresponds with the estimated Translog production function, and the underlying Generalized CES production function.

4. Using Newton's Method with the implicit function theorem, obtain the cost function that is dual to the estimated Translog production function. Check that the derived cost function corresponds with the estimated Translog cost function, and the underlying derived Generalized CES cost function.

VIII. Generate Generalized CES production / cost data.

The three factor Generalized CES production function is:

q = A * [alpha * L^-rhoL + beta * K^-rhoK + gamma *M^-rhoM]^(-nu/rho) = f(L,K,M).

where L = labour, K = capital, M = materials and supplies, and q = product.

The parameter nu permits one to adjust the returns to scale, while the parameter rho is the geometric mean of rhoL, rhoK, and rhoM:

rho = (rhoL * rhoK * rhoM)^1/3.

If rho = rhoL = rhoK = rhoM, we get the standard CES production function. If also, rho = 0, ie sigma = 1/(1+rho) = 1, we get the Cobb-Douglas production function.

The estimated coefficients of the Translog production and cost functions and will vary with the parameters nu, rho, rhoL, rhoK, rhoM, alpha, beta and gamma of the Generalized CES production function.

Set the parameters below to re-run with your own Generalized CES parameters.

The restrictions ensure that the least-cost problems can be solved to obtain the underlying Generalized CES cost function, using the parameters as specified.
Intermediate (and other) values of the parameters also work. The program might "time-out" for values of rho >> 0 and rho << 0, yielding "NAN" values.

Restrictions:
.8 < nu < 1.1;
-.6 < rhoL = rho < .6;
-.6 < rho < -.2 → rhoK = .95 * rho, rhoM = rho/.95;
-.2 <= rho < -.1 → rhoK = .9 * rho, rhoM = rho / .9;
-.1 <= rho < 0 → rhoK = .87 * rho, rhoM = rho / .87;
0 <= rho < .1 → rhoK = .7 * rho, rhoM = rho / .7;
.1 <= rho < .2 → rhoK = .67 * rho, rhoM = rho / .67;
.2 <= rho < .6 → rhoK = .6 * rho, rhoM = rho / .6;
rho = 0 → nu = alpha + beta + gamma (Cobb-Douglas)
4 <= wL* <= 11,   7<= wK* <= 16,   4 <= wM* <= 10

Generalized CES Production Function Parameters
nu:
rho:
Base Factor Prices
 wL* wK* wM*
Distribution to Randomize Factor Prices
 Use [-2, 2] Uniform distribution     Use .25 * Normal (μ = 0, σ2 = 1)

The Generalized CES production function as specified:

q = 1 * [0.35 * L^- 0.17647 + 0.4 * K^- 0.11823 + 0.25 *M^- 0.26339]^(-1/0.17647) = f(L,K,M).

 The factor prices are distributed about the base factor prices by adding a random number distributed uniformly in the [-2, 2] domain.

The Generalized CES cost function as derived from the Generalized CES production function:

Unlike the homothetic CES technology, the non-homothetic Generalized CES technology does not admit a closed form cost function. Consequently, the Generalized CES cost function is derived from the Generalized CES production function as demonstrated on the Generalized CES Production Function web page.

IX. Estimate the Translog Production and Cost Functions.

Estimating the Translog production function from the Generalized CES data using SVD least squares yields the coefficient estimates:

Generalized CES
Translog Production Function

SVD Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
lnA0.0070660.00111.935
aL0.3580140884.813
aK0.2701950.001396.815
aM0.3576590797.183
bLL-0.0194340-148.444
bKK-0.009970-42.721
bMM-0.0271370-131.92
bLK0.019948056.026
bLM0.014291063.291
bKM0.014405039.891
 R2 = 1 R2b = 1 # obs = 28 Observation Matrix Rank: 10
 aL + aK + aM = 0.986-2*bLL = 0.038868 =~ 0.034239 = bLK + bLM-2*bKK = 0.019941 =~ 0.034353 = bLK + bKLM-2*bMM = 0.054274 =~ 0.028696 = bLM + bKM

The estimated Translog production function:

ln(q) = 0.007066 + 0.358014 * ln(L) + 0.270195 * ln(K) + 0.357659 * ln(M) + -0.019434 * ln(L)*ln(L) + -0.00997 * ln(K)*ln(K) + -0.027137 * ln(M)*ln(M)
+ 0.019948 * ln(L)*ln(K) + 0.014291 * ln(L)*ln(M) + 0.014405 * ln(K)*ln(M)   =   f(L,K,M).

The Translog cost factor share functions are:

 sL(q;wL,wK,wM) = cL + dLq * ln(q) + dLL * ln(wL) + dLK * ln(wK) + dLM * ln(wM), sK(q;wL,wK,wM) = cK + dKq * ln(q) + dKL * ln(wL) + dKK * ln(wK) + dKM * ln(wM), sM(q;wL,wK,wM) = cM + dMq * ln(q) + dML * ln(wL) + dMK * ln(wK) + dMM * ln(wM),

three linear equations in their 15 parameters.

Estimating the Translog factor share functions simultaneously with the specified constraints, from the Generalized CES data using QR least squares, yields the coefficient estimates:

QR Restricted Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cL0.3610030.0002161670.194195
dLq5.9E-56.4E-50.917185
dLL0.0343948.7E-5396.036188
dLK-0.0136878.9E-5-153.383528
dLM-0.0207066.7E-5-309.615415
cK0.2726310.000221240.805958
dKq0.0206826.5E-5318.109457
dKL-0.0136878.9E-5-153.383528
dKK0.030490.00014217.387772
dKM-0.0168039.3E-5-181.464557
cM0.3663660.0002181683.282297
dMq-0.0207416.4E-5-324.343131
dML-0.0207066.7E-5-309.615415
dMK-0.0168039.3E-5-181.464557
dMM0.0375099.0E-5416.345063
 R2 = 1 R2b = 1 # obs = 84
 dLK = dKL, dLM = dML, dKM = dMK 1 = cL + cK + cM 0 = dLL + dLK + dLM 0 = dKL + dKK + dKM 0 = dML + dMK + dMM 0 = dLq + dKq + dMq

The first three constraints are the usual across equation constraints on the factor share functions. The last five constraints are necessary conditions for the estimated Translog cost function to be linear homogeneous in factor prices. See the Generalized CES-Translog Cost Function for more details.

To obtain estimates of the remaining three parameters, c, cq, and dqq, of the Translog cost function write:

ln(C(q;wL,wK,wM)) - {cL * ln(wL) + cK * ln(wK) + cM * log(wM) + .5 * [dLL * ln(wL)^2 + dKK * ln(wK)^2 + dMM * ln(wM)^2]
+ .5 * [(dLK + dKL) * ln(wL)*ln(wK) + (dLM + dML) * ln(wL)*ln(wM) + (dKM + dMK) * ln(wK)*log(wM)]
+ dLq * ln(wL)*ln(q) + dKq * ln(wK)*ln(q) + dMq * ln(wM)*ln(q)}
= R(q;wL,wK,wM) = c + cq * ln(q) + .5 * dqq * ln(q)^2

Estimate the linear equation:

R(q;wL,wK,wM) = c + cq * ln(q) + .5 * dqq * ln(q)^2

to obtain c, cq, and dqq.

QR Restricted Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
c1.1149090.0001477581.437043
cq101000
dqq0.0210112.5E-5832.51077
 R2 = 1 R2b = 1 # obs = 28

1 = cq

The estimated Translog cost function:

ln(C(q;wL,wK,wM)) = 1.114909 + 1 * ln(q) + 0.361003 * ln(wL) + 0.272631 * ln(wK) + 0.366366 * log(wM)
+ .5 * [0.021011 * ln(q)^2 + 0.034394 * ln(wL)^2 + 0.03049 * ln(wK)^2 + 0.037509 * ln(wM)^2]
+ .5 * [-0.027375 * ln(wL)*ln(wK) + -0.041413 * ln(wL)*ln(wM) + -0.033606 * ln(wK)*log(wM)]
+ 5.9E-5 * ln(wL)*ln(q) + 0.020682 * ln(wK)*ln(q) + -0.020741 * ln(wM)*ln(q)

X. Example: Cost Function to Production Function:

The dual Translog production function, F*, is obtained from the estimated Translog cost function, C, by:

F*(L, K, M) = minq, vL, vK {q   :   C(q; vL, vK, 1)   >=   vL * L + vK * K + M,   L > 0, K > 0, M > 0,   for all vL >= 0 , vK >= 0}     (***).

With L = 39.05, K = 21.4, and M = 36.07, (***) becomes:

F*(39.05, 21.4, 36.07) = minq, vL, vK {q   :   C(q; vL, vK, 1)   >=   vL * 39.05 + vK * 21.4 + 36.07,   for all vL >= 0 , vK >= 0}     (***).

XI. Constrained Optimization (Minimum): The Method of Lagrange:

H(39.05, 21.4, 36.07, q, vL, vK, λ) = q + λ * (vL * 39.05 + vK * 21.4 + 36.07 - C(q; vL, vK, 1)),

where λ is the Lagrange multiplier.

a. First Order Necessary Conditions:

 0.   Hλ(39.05, 21.4, 36.07, q, vL, vK, λ) = vL * 39.05 + vK * 21.4 + 36.07 - C(q; vL, vK, 1) = 0 1.   Hq(39.05, 21.4, 36.07, q, vL, vK, λ) = 1 - λ * ∂C(q; vL, vK, 1)/∂q = 0 2.   HvL(39.05, 21.4, 36.07, q, vL, vK, λ) = λ * (39.05 - ∂C(q; vL, vK, 1)/∂vL) = 0 3.   HvK(39.05, 21.4, 36.07, q, vL, vK, λ) = λ * (21.4 - ∂C(q; vL, vK, 1)/∂vK) = 0

b.   Solution Functions:

Solve these four equations simultaneously (using Newton's Method) for λ, q, vL, and vK as functions of the variables L, K, and M, and the parameters of the cost function, so that:

λ = λ(39.05, 21.4, 36.07)
q = q(39.05, 21.4, 36.07)
vL = vL(39.05, 21.4, 36.07)
vK = vK(39.05, 21.4, 36.07)

We know that the ranges of factor prices are: 4 <= wL <= 11, 7 <= wK <= 16, and 4 <= wM <= 10. Estimating wL = 7.5, wK = 11.5, and wM = 7 yields vL = wL / wM = 7.5 / 7, and vK = wK / wM = 11.5/7. With a range of 20 to 45 for output, estimate q = 33. From the first order condition 1., estimate λ = 1 / ∂C(33; 7.5/7, 11.5/7, 1)/∂q = 0.218.

Newton's Method:

Using these estimates, Newton's Method provides:

Nonlinear Optimization: Newton's Method
Parameter Estimates
Iter #λqvLvK
0   0.218 331.0714 1.6429
10.2122 26.791.0601 1.8586
20.1956 26.991.1517 2.1162
30.1945 271.166 2.165
40.1944 271.1664 2.1664
50.1944 271.1664 2.1664

c. Solution Vector:

W = (L, K, M, q, vL, vK, λ) = (39.05, 21.4, 36.07, 27, 1.16639, 2.16637, 0.19441)

With λ = 0.19441, q = 27, vL = 1.16639, and vK = 2.16637, the first order conditions are:

 0.   Hλ(39.05, 21.4, 36.07, q, vL, vK, λ) = 1.16639 * 39.05 + 2.16637 * 21.4 + 36.07 - C(q; 1.16639, 2.16637, 1) = 0 1.   Hq(39.05, 21.4, 36.07, q, vL, vK, λ) = 1 - 0.19441 * ∂C(q; 1.16639, 2.16637, 1)/∂q = 0 2.   HvL(39.05, 21.4, 36.07, q, vL, vK, λ) = 0.19441 * (39.05 - ∂C(q; 1.16639, 2.16637, 1)/∂vL) = 0 3.   HvK(39.05, 21.4, 36.07, q, vL, vK, λ) = 0.19441 * (21.4 - ∂C(q; 1.16639, 2.16637, 1)/∂vK) = -0

d. Second Order Necessary Conditions:

The second order necessary conditions require that the Jacobian matrix (bordered Hessian of H) be positive definite at the solution vector W = (L, K, M, q, vL, vK, λ). The Jacobian matrix, J3, is a positive definite matrix if the determinant of J2 is negative, and the determinant of J3 is negative.

Jλ, q, vL, vK =

J3   =

 0 -Cq L - CvL K - CvK -Cq -λ*Cqq -λ*CqvL -λ*CqvK L - CvL C-λ*CqvL -λ*CvLvL -λ*CvLvK K - CvK -λ*CqvK -λ*CvKvL -λ*CvKvK
=
 0 -5.144 0 -0 -5.144 -0.004 -0.305 -0.176 0 -0.305 3.564 -1.135 -0 -0.176 -1.135 1.063

Determinant(J3) = -66.17357

J2   =

 0 -5.144 0 -5.144 -0.004 -0.305 0 -0.305 3.564

Determinant(J2) = -94.28762

e. Maximum Output:

With L = 39.05, K = 21.4, M = 36.07,

Dual Translog production function:

F*(39.05, 21.4, 36.07) = q(39.05, 21.4, 36.07) = 27,

Estimated Translog production function:

F(39.05, 21.4, 36.07) = 27.

Specified Generalized CES production function:

f(39.05, 21.4, 36.07) = 27.

f. The Solution Functions' Comparative Statics.

JL, K, M   =

 vL vK 1 0 0 0 λ 0 0 0 λ 0
=
 1.16639 2.16637 1 0 0 0 0.1944 0 0 0 0.1944 0

From the Implicit Function Theorem:

JΦ   =   - (Jλ, wL, wK, wM, q)-1   *   JL, K, M

JΦ   =

 λL λK λM qL qK qM vLL vLK vLM vKL vKK vKM
=
 0.001911 0.003548 -0.005154 0.22676 0.42117 0.19441 -0.03512 6e-05 0.04075 6e-05 -0.11306 0.07568

g. Comparing Partial Derivatives:

Partial Derivates of the dual Translog production function F*(L,K,M):

F*L(L,K,M) = F*(39.05, 21.4, 36.07) = qL(39.05, 21.4, 36.07) = 0.227,
F*K(L,K,M) = F*(39.05, 21.4, 36.07) = qK(39.05, 21.4, 36.07) = 0.421,
F*M(L,K,M) = F*(39.05, 21.4, 36.07) = qM(39.05, 21.4, 36.07) = 0.194.

Partial Derivatives of the estimated Translog production function F(L,K,M):

FL(39.05, 21.4, 36.07) = 0.227,
FK(39.05, 21.4, 36.07) = 0.421,
FM(39.05, 21.4, 36.07) = 0.194.

Partial Derivatives of the specified Generalized CES production function f(L,K,M):

fL(39.05, 21.4, 36.07) = 0.227,
fK(39.05, 21.4, 36.07) = 0.421,
fM(39.05, 21.4, 36.07) = 0.194.

XII. Table of Results.

Check that the derived dual production function corresponds with the estimated Translog production function by comparing the values for output, q, and the partial derivatives of the production function.

Translog Production / Cost Function Duality
Cost Function to Production Function
Generalized CES: Returns to Scale = 1, rho = 0.17647, rhoL = 0.17647, rhoK = 0.11823, rhoM = 0.26339
—       Generalized CES Data   —    —    Estimated Translog Cost   —   — Derived Dual Production — — Estimated Translog Production —
obs #qwLwKwM LK Mcost LKMcostqF*LF*KF*MqFLFKFM
1178.4 12.16.86 21.6114.42 21.6504.1821.6414.4121.61504.3716.9940.2650.380.216170.2640.380.215
2185.92 13.526.78 28.7612.89 21.57490.8428.7812.921.55490.9417.9970.2020.4610.231180.2020.4610.23
3198.34 12.55.06 23.0614.9 29.04525.4923.0614.929.06525.5718.9970.2790.4180.169190.2780.4180.169
4207.92 11.264.6 23.7516.1 30.89511.4823.7416.130.91511.5219.9990.2860.4070.166200.2860.4070.166
5217.88 14.067.9 30.4417.07 25.27679.4630.4617.0725.25679.46210.2260.4040.227210.2260.4040.226
6227.32 13.684.14 28.615.33 37.5574.3528.5915.3337.51574.3222.0010.2570.4810.146220.2570.480.146
7238.04 13.446.22 31.0118.45 31.56693.483118.4431.56693.4323.0010.2460.4120.191230.2460.4120.191
8247.68 13.484.96 31.718.07 37.16671.3831.6918.0737.17671.3124.0030.2520.4430.163240.2520.4430.163
9255.8 14.97.38 43.6818.01 29.28737.843.6618.0229.27737.7125.0030.1820.4670.231250.1820.4670.231
10268.58 11.564.22 29.9521.57 43.72690.7929.9321.5743.73690.6626.0040.2960.40.146260.2960.3990.146
11278.28 11.224.66 32.1723.14 42.01721.7532.1523.1442.02721.6227.0040.2850.3860.16270.2850.3860.16
12288.5 14.87.34 39.8523.16 36.54949.7839.8523.1636.54949.6428.0040.2310.4020.2280.2310.4020.199
13296.92 12.65.94 41.9523.49 38.51814.9941.9423.4838.51814.8729.0040.2270.4130.195290.2270.4130.195
14307 136 43.7924.14 40.13861.1743.7824.1440.13861.0530.0040.2240.4160.192300.2240.4170.192
15316.36 14.34.5 46.3821.61 49.27825.7346.3821.649.27825.631.0050.2180.490.154310.2180.490.154
16325.44 14.67.4 58.8223.69 36.65937.0758.7923.736.65936.9932.0030.1710.4590.233320.1710.460.232
17337.58 14.427.86 51.0827.78 39.831100.9251.0727.7839.831100.8133.0030.2090.3980.217330.2090.3980.217
18347.88 13.044.7 44.727.35 54.5964.9844.727.3554.48964.8934.0030.2540.420.151340.2540.420.151
19358.4 14.386.16 48.7529.07 50.171136.548.7429.0650.171136.4235.0020.2370.4050.174350.2370.4060.174
20366.06 12.16.1 56.6729.68 44.92976.5156.6629.6844.93976.4836.0010.2050.4090.206360.2050.410.207
21378.18 13.146.34 51.3332.49 50.391166.2351.3332.4950.391166.2137.0010.2380.3820.184370.2380.3820.185
22388.98 11.486.38 48.1537.25 50.851184.4348.1337.2650.861184.43380.2650.3380.188380.2650.3390.188
23398.02 13.086.6 55.3534.69 51.541237.8855.3534.751.551237.9438.9980.2320.3780.191390.2320.3780.191
24405.1 12.865.68 70.2530.19 50.651034.2470.2430.1950.691034.3339.9970.180.4540.201400.180.4550.201
25415.66 114.22 60.6632.66 60.69958.6760.6832.6560.7958.7740.9960.2210.4280.164410.2210.4290.165
26428.34 13.664.02 53.7633.52 76.611214.1453.8233.5476.481214.4241.9910.2620.4280.126420.2620.4290.126
27436.54 11.54.62 61.135.99 63.781108.1661.133663.781108.3742.9930.2310.4060.163430.2320.4070.164
28445.64 11.584.34 67.234.63 65.121062.6967.2434.6365.141062.9243.9910.2120.4360.163440.2130.4370.164

XIII. Production Function to Cost Function: The Method of Langrange

The dual cost function, C*(q; wL, wK, wM), is obtained from a production function, q = F(L, K, M), by the constrained optimization:

C*(q; wL, wK, wM) = minL,K,M{ wL * L + wK * K + wM * M   :   q - F(L,K,M) = 0,   q > 0, wL > 0; wK > 0, and wM > 0,   L > 0, K > 0, M > 0 }     (*)

Define the Langrangian function, G, of the least-cost problem (*):

G(q; wL, wK, wM, L, K, M, μ) = wL * L + wK * K + wM * M + μ * (q - F(L,K,M))

where the new variable, μ, is called the Lagrange multiplier.

a.   First Order Necessary Conditions:

 0.   Gµ(q; wL, wK, wM, L, K, M, μ) = q - F(L, K, M) = 0 1.   GL(q; wL, wK, wM, L, K, M, μ) = wL - µ * FL(L, K, M) = 0 2.   GK(q; wL, wK, wM, L, K, M, μ) = wK - µ * FK(L, K, M) = 0 3.   GM(q; wL, wK, wM, L, K, M, μ) = wM - µ * FM(L, K, M) = 0

b.   Solution Functions:

We want to solve, simultaneously, these four equations for the variables µ, L, K, and M as functions of the variables q, wL, wK, and wM, and the parameters of the production function.

µ = µ(q; wL, wK, wM)
L = L(q; wL, wK, wM)
K = K(q; wL, wK, wM)
M = M(q; wL, wK, wM)

c.   Jacobian Matrices:

The Jacobian matrix (bordered Hessian of G) of the four functions, Gµ, GL, GK, GM, with respect to the choice variables, μ, L, K, and M:

J3   =

 Gµµ GµL GµK GµM GLµ GLL GLK GLM GKµ GKL GKK GKM GMµ GML GMK GMM
=
 0 -FL -FK -FM -FL -µ * FLL -µ * FLK -µ * FLM -FK -µ * FKL -µ * FKK -µ * FKM -FM -µ * FML -µ * FMK -µ * FMM

=   Jµ, L, K, M

The bordered principal minor of the bordered Hessian of the Langrangian function, G:

J2   =

 0 -FL -FK -fL -µ * FLL -µ * FLK -fK -µ * FKL -µ * FKK

d.   Second Order Necessary Conditions:

The second order necessary conditions require that the Jacobian matrix (bordered Hessian of G) be positive definite at the solution vector Z = (q, wL, wK, wM, L, K, M, µ). The Jacobian matrix, J3, is a positive definite matrix if the determinants of J2 and J3 are both negative.

e.   Sufficient Conditions:

If the second order necessary conditions are satisfied, then the first order necessary conditions are sufficient for a minimum at Z.

f. The Solution Functions' Comparative Statics.

The Jacobian matrix of the four functions, Gµ, GL, GK, GM, with respect to the variables, q, wL, wK, and wM:

Jq, wL, wK, wM;   =

 Gµq GµwL GµwK GµwM GLq GLwL GLwK GLwM GKq GKwL GKwK GKwM GMq GMwL GMwK GMwM
=
 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1

The Jacobian matrix of the four solution functions, Φ = {µ, L, K, M}, with respect to the variables, q, wL, wK, and wM:

JΦ   =

 µq µwL µwK µwM Lq LwL LwK LwM Kq KwL KwK KwM Mq MwL MwK MwM

From the Implicit Function Theorem:

Jq, wL, wK, wM;   +   Jµ, L, K, M   * JΦ   =   0 (zero matrix)   →

JΦ   =   - (Jµ, L, K, M)-1

for points (q; wL, wK, wM) in a neighborhood of the point (q; wL, wK, wM), and L = L(q; wL, wK, wM), K = K(q; wL, wK, wM), M = M(q; wL, wK, wM), and µ = µ(q; wL, wK, wM).

XIV. Question C == C*?

The obtained values of the solution functions at q, wL, wK, and wM:

µ = µ(q; wL, wK, wM)
L = L(q; wL, wK, wM)
K = K(q; wL, wK, wM)
M = M(q; wL, wK, wM),

and the calculated value of the dual Translog cost function:

C*(q; wL, wK, wM) = wL * L + wK * K + wM * M

can be compared with the corresponding values of the estimated Translog cost function, and the underlying CES cost function. Moreover, these functions' corresponding comparative static values can also be compared.

XV. Example: Production Function to Cost Function:

The dual Translog cost function, C*, is obtained from the estimated Translog production function, F, by:

C*(q; wL, wK, wM) = minL,K,M{ wL * L + wK * K + wM * M   :   q - F(L,K,M) = 0,   q > 0, wL > 0; wK > 0, and wM > 0,   L > 0, K > 0, M > 0 }     (*)

With q = 30, wL = 7, wK = 13, and wM = 6, (*) becomes:

C*(30; 7, 13, 6) = minL,K,M{ 7 * L + 13 * K + 6 * M   :   30 - F(L,K,M) = 0,     L > 0, K > 0, M > 0 }     (*)

The Langrangian function, G, of the least-cost problem (*):

G(30; 7, 13, 6, L, K, M, μ) = 7 * L + 13 * K + 6 * M + μ * (30 - F(L,K,M))

where the new variable, μ, is called the Lagrange multiplier.

a.   First Order Necessary Conditions:

 0.   Gµ(30; 7, 13, 6, L, K, M, μ) = 30 - F(L, K, M) = 0 1.   GL(30; 7, 13, 6, L, K, M, μ) = 7 - µ * FL(L, K, M) = 0 2.   GK(30; 7, 13, 6, L, K, M, μ) = 13 - µ * FK(L, K, M) = 0 3.   GM(30; 7, 13, 6, L, K, M, μ) = 13 - µ * FM(L, K, M) = 0

b.   Solution Functions:

We want to solve, simultaneously, these four equations for the variables µ, L, K, and M as functions of the variables q, wL, wK, and wM, and the parameters of the production function, so that.

µ = µ(30; 7, 13, 6)
L = L(30; 7, 13, 6)
K = K(30; 7, 13, 6)
M = M(30; 7, 13, 6)

Suppose we think that the factor inputs for q = 30 are about 20 units. Estimate L = 20, K = 20, and M = 20, and guess µ = 10 to start Newton's Method.

Newton's Method:

Using these estimates, Newton's Method provides:

Nonlinear Optimization: Newton's Method
Parameter Estimates
Iter #µLKM
0   10 2020 20
131.7474 48.758.3321 45.3428
236.9448 48.1316.9438 43.3215
332.0664 45.1922.0398 41.3734
431.2725 43.8523.9762 40.1782
531.2084 43.7924.1452 40.1272
631.2081 43.7924.1463 40.1268
731.2081 43.7924.1463 40.1268

c. Solution Vector:

Z = (q, wL, wK, wM, L, K, M, µ) = (30, 7, 13, 6, 43.79, 24.15, 40.13, 31.21)

With µ = 31.21, L = 43.79, K = 24.15, and M = 40.13, the first order conditions are:

 0.   Gµ(30; 7, 13, 6, L, K, M, μ) = 30 - F(43.79, 24.15, 40.13) = -0 1.   GL(30; 7, 13, 6, L, K, M, μ) = 7 - µ * FL(43.79, 24.15, 40.13) = -0 2.   GK(30; 7, 13, 6, L, K, M, μ) = 13 - µ * FK(43.79, 24.15, 40.13) = 0 3.   GM(30; 7, 13, 6, L, K, M, μ) = 13 - µ * FM(43.79, 24.15, 40.13) = -0

d. Second Order Necessary Conditions:

The second order necessary conditions require that the Jacobian matrix (bordered Hessian of G) be positive definite at the solution vector Z = (q, wL, wK, wM, L, K, M, µ). The Jacobian matrix, J3, is a positive definite matrix if the determinants of J2 and J3 are both negative.

Jµ, L, K, M   =

J3   =

 0 -FL -FK -FM -FL -µ * FLL -µ * FLK -µ * FLM -FK -µ * FKL -µ * FKK -µ * FKM -FM -µ * FML -µ * FMK -µ * FMM
=
 0 -0.224 -0.417 -0.192 -0.224 0.126 -0.115 -0.052 -0.417 -0.115 0.39 -0.097 -0.192 -0.052 -0.097 0.143

Determinant(J3) = -0.01599

J2   =

 0 -0.224 -0.417 -0.224 0.126 -0.115 -0.417 -0.115 0.39

Determinant(J2) = -0.06303

e. The Solution Functions' Comparative Statics:

JΦ   =

 C*q,q C*q,wL C*q,wK C*q,wM C*wL,q C*wL,wL C*wL,wK C*wL,wM C*wK,q C*wK,wL C*wK,wK C*wK,wM C*wM,q C*wM,wL C*wM,wK C*wM,wM
=
 µq µwL µwK µwM Lq LwL LwK LwM Kq KwL KwK KwM Mq MwL MwK MwM
=
 0.107 1.588 0.92 1.356 1.588 -3.423 1.093 1.626 0.92 1.093 -1.024 0.944 1.356 1.626 0.944 -3.942

The estimated Translog cost function's comparative statics.

 Cq,q Cq,wL Cq,wK Cq,wM CwL,q CwL,wL CwL,wK CwL,wM CwK,q CwK,wL CwK,wK CwK,wM CwM,q CwM,wL CwM,wK CwM,wM
=
 0.111 1.587 0.921 1.355 1.587 -3.424 1.098 1.616 0.921 1.098 -1.025 0.94 1.355 1.616 0.94 -3.921

The underlying specified Generalized CES cost function's comparative statics:

 Cq,q Cq,wL Cq,wK Cq,wM CwL,q CwL,wL CwL,wK CwL,wM CwK,q CwK,wL CwK,wK CwK,wM CwM,q CwM,wL CwM,wK CwM,wM
=
 0.107 1.587 0.921 1.355 1.587 -3.424 1.098 1.616 0.921 1.098 -1.024 0.937 1.355 1.616 0.937 -3.915

f. Comparing Least-Cost Combinations of Inputs:

With q = 30, wL = 7, wK = 13, and wM = 6,

Derived Dual Translog cost function factor demands: (L, K, M) = (43.79, 24.15, 40.13)

Estimated Translog cost function factor demands: (L, K, M) = (43.78, 24.14, 40.13)

Specified Generalized CES cost function factor demands: (L, K, M) = (43.79, 24.14, 40.13)

g. Comparing total costs and marginal costs:

Derived Dual Translog cost function: total cost = 861.19; marginal cost = µ = 31.21.

Estimated Dual Translog cost function: total cost = 861.05; marginal cost = 31.21.

Specified Generalized CES cost function: total cost = 861.17; marginal cost = 31.21.

XVI. Table of Results.

Check that the derived dual cost function corresponds with the estimated Translog cost function by comparing the values of the inputs, L, K, and M.

Translog Production / Cost Function Duality
Production Function to Cost Function
Generalized CES: Returns to Scale = 1, rho = 0.17647, rhoL = 0.17647, rhoK = 0.11823, rhoM = 0.26339
—   Generalized CES Data   — — Est. Translog Production — — Derived Dual Translog Cost —   — Estimated Translog Cost —
obs #qwLwKwMLKMcost q LK ML KMcostLKMcost
117 8.4 12.16.86 21.6114.42 21.6504.18 1721.6114.4221.6 21.6314.43 21.57504.17 21.6414.4121.61504.37
218 5.92 13.526.78 28.7612.89 21.57490.84 1828.7612.8921.57 28.7812.92 21.51490.83 28.7812.921.55490.94
319 8.34 12.55.06 23.0614.9 29.04525.49 1923.0614.929.04 23.0514.9 29.06525.5 23.0614.929.06525.57
420 7.92 11.264.6 23.7516.1 30.89511.48 2023.7516.130.89 23.7316.1 30.91511.49 23.7416.130.91511.52
521 7.88 14.067.9 30.4417.07 25.27679.46 2130.4417.0725.27 30.4617.09 25.22679.44 30.4617.0725.25679.46
622 7.32 13.684.14 28.615.33 37.5574.35 2228.615.3337.5 28.5815.33 37.54574.34 28.5915.3337.51574.32
723 8.04 13.446.22 31.0118.45 31.56693.48 2331.0118.4531.56 3118.45 31.55693.5 3118.4431.56693.43
824 7.68 13.484.96 31.718.07 37.16671.38 2431.718.0737.16 31.6818.07 37.19671.39 31.6918.0737.17671.31
925 5.8 14.97.38 43.6818.01 29.28737.8 2543.6818.0129.28 43.6818.04 29.23737.81 43.6618.0229.27737.71
1026 8.58 11.564.22 29.9521.57 43.72690.79 2629.9521.5743.72 29.9321.56 43.76690.76 29.9321.5743.73690.66
1127 8.28 11.224.66 32.1723.14 42.01721.75 2732.1723.1442.01 32.1623.13 42.04721.74 32.1523.1442.02721.62
1228 8.5 14.87.34 39.8523.16 36.54949.78 2839.8523.1636.54 39.8623.17 36.53949.8 39.8523.1636.54949.64
1329 6.92 12.65.94 41.9523.49 38.51814.99 2941.9523.4938.51 41.9523.49 38.51815 41.9423.4838.51814.87
1430 7 136 43.7924.14 40.13861.17 3043.7924.1440.13 43.7924.15 40.13861.19 43.7824.1440.13861.05
1531 6.36 14.34.5 46.3821.61 49.27825.73 3146.3821.6149.27 46.3621.61 49.3825.72 46.3821.649.27825.6
1632 5.44 14.67.4 58.8223.69 36.65937.07 3258.8223.6936.65 58.8123.72 36.6937.08 58.7923.736.65936.99
1733 7.58 14.427.86 51.0827.78 39.831100.92 3351.0827.7839.83 51.0927.79 39.81100.9 51.0727.7839.831100.81
1834 7.88 13.044.7 44.727.35 54.5964.98 3444.727.3554.5 44.6927.34 54.52964.96 44.727.3554.48964.89
1935 8.4 14.386.16 48.7529.07 50.171136.5 3548.7529.0750.17 48.7529.06 50.181136.5 48.7429.0650.171136.42
2036 6.06 12.16.1 56.6729.68 44.92976.51 3656.6729.6844.92 56.6729.68 44.9976.51 56.6629.6844.93976.48
2137 8.18 13.146.34 51.3332.49 50.391166.23 3751.3332.4950.39 51.3432.48 50.391166.23 51.3332.4950.391166.21
2238 8.98 11.486.38 48.1537.25 50.851184.43 3848.1537.2550.85 48.1637.24 50.851184.44 48.1337.2650.861184.43
2339 8.02 13.086.6 55.3534.69 51.541237.88 3955.3534.6951.54 55.3634.69 51.541237.88 55.3534.751.551237.94
2440 5.1 12.865.68 70.2530.19 50.651034.24 4070.2530.1950.65 70.2330.2 50.651034.24 70.2430.1950.691034.33
2541 5.66 114.22 60.6632.66 60.69958.67 4160.6632.6660.69 60.6632.65 60.7958.65 60.6832.6560.7958.77
2642 8.34 13.664.02 53.7633.52 76.611214.14 4253.7633.5276.61 53.7933.53 76.511214.19 53.8233.5476.481214.42
2743 6.54 11.54.62 61.135.99 63.781108.16 4361.135.9963.78 61.1235.98 63.771108.15 61.133663.781108.37
2844 5.64 11.584.34 67.234.63 65.121062.69 4467.234.6365.12 67.2134.63 65.121062.67 67.2434.6365.141062.92

Mathematical Notes

1. The Translog (Transcendental Logarithmic) Production Function:

 ln(q) = ln(A) + aL * ln(L) + aK * ln(K) + aM * ln(M)               + bLL * ln(L) * ln(L) + bKK * ln(K) * ln(K) + bMM * ln(M) * ln(M)                   + bLK * ln(L) * ln(K) + bLM * ln(L) * ln(M) + bKM * ln(K) * ln(M)   =   f(L,K,M).

an equation in 10 parameters, A, aL, aK, aM, bLL, bKK, bMM, bLK, bLM, bKM, where L = labour, K = capital, M = materials and supplies, and q = product.

2. The partial derivatives of f(L,K,M):

 fL(L,K,M) = (1/L) * [aL + 2 * bLL * ln(L) + bLK * ln(K) + bLM * ln(M)] = (1/L) * vL , fK(L,K,M) = (1/K) * [aK + 2 * bKK * ln(K) + bLK * ln(L) + bKM * ln(M)] = (1/K) * vK, fM(L,K,M) = (1/M) * [aM + 2 * bMM * ln(M) + bLM * ln(L) + bKM * ln(K)] = (1/M)* vM, fLL = (1/L^2) * [2 * bLL - vL],   fLK = bLK / (L*K),   fLM = bLM / (L*M),   fKK = (1/K^2) * [2 * bKK - vK],   fKL = bLK / (L*K),   fKM = bKM / (K*M), fMM = (1/M^2) * [2 * bMM - vM],   fML = bLM / (L*M),   fMK = bKM / (K*M).

3. The partial derivatives of F(L,K,M) = exp(f(L,K,M)):

 FL = fL * exp(f(L,K,M)),   FK = fK * exp(f(L,K,M)),   FM = fM * exp(f(L,K,M)), FLL = [fLL + fL * fL] * exp(f(L,K,M)),   FLK = [fLK + fL * fK] * exp(f(L,K,M)),   FLM = [fLM + fL * fM] * exp(f(L,K,M)),   FKL = FLK,   FKK = [fKK + fK * fK] * exp(f(L,K,M)),   FKM = [fKM + fK * fM] * exp(f(L,K,M)),   FML = FLM,   FMK = FKM,   FMM = [fMM + fM * fM] * exp(f(L,K,M)),

4. The Translog Cost Function:

 ln(C(q;wL,wK,wM)) = c + cq * ln(q) + cL * ln(wL) + cK * ln(wK) + cM * log(wM)                                 + .5 * [dqq * ln(q)^2 + dLL * ln(wL)^2 + dKK * ln(wK)^2 + dMM * ln(wM)^2]                   + .5 * [(dLK + dKL) * ln(wL)*ln(wK) + (dLM + dML) * ln(wL)*ln(wM) + (dKM + dMK) * ln(wK)*log(wM)]                   + dLq * ln(wL)*ln(q) + dKq * ln(wK)*ln(q) + dMq * ln(wM)*ln(q)   =   C(q;wL,wK,wM)

an equation in 18 parameters, c, cq, cL, cK, cM, dqq, dLL, dKK, dMM, dLK, dKL, dLM, dML, dKM, dMK, dLq, dKq, and dMq, where wL, wK, and wM are the factor prices of L, K, and M respectively.

Note: C(q; wL, wK, wM) = exp(C(q; wL, wK, wM)), a change in the notation above where C = CES cost function.

5. The Factor Share Functions:

 ∂ln(C)/∂ln(wL) = (∂ln(C)/∂wL )/ (∂ln(wL)/∂wL) = (1 / C(q;wL,wK,wM)) * ∂ln(C)/∂wL * wL = wL * L(q; wL, wK, wM) / C(q;wL,wK,wM) = sL(q;wL,wK,wM), ∂ln(C)/∂ln(wK) = (∂ln(C)/∂wK )/ (∂ln(wK)/∂wK) = (1 / C(q;wL,wK,wM)) * ∂ln(C)/∂wK * wK = wK * K(q; wL, wK, wM) / C(q;wL,wK,wM) = sK(q;wL,wK,wM), ∂ln(C)/∂ln(wM) = (∂ln(C)/∂wM )/ (∂ln(wM)/∂wM) = (1 / C(q;wL,wK,wM)) * ∂ln(C)/∂wM * wM = wM * M(q; wL, wK, wM) / C(q;wL,wK,wM) = sM(q;wL,wK,wM).

 sL(q;wL,wK,wM) = cL + dLq * ln(q) + dLL * ln(wL) + dLK * ln(wK) + dLM * ln(wM), sK(q;wL,wK,wM) = cK + dKq * ln(q) + dKL * ln(wL) + dKK * ln(wK) + dKM * ln(wM), sM(q;wL,wK,wM) = cM + dMq * ln(q) + dML * ln(wL) + dMK * ln(wK) + dMM * ln(wM),

6. The Factor Demand Functions:

 L(q;wL,wK,wM) = sL(q;wL,wK,wM) * C(q;wL,wK,wM) / wL, K(q;wL,wK,wM) = sK(q;wL,wK,wM) * C(q;wL,wK,wM) / wK, M(q;wL,wK,wM) = sM(q;wL,wK,wM) * C(q;wL,wK,wM) / wM.

7. The partial derivatives of C(q; wL, wK, wM) = exp(C(q; wL, wK, wM)):

 CwL(q;wL,wK,wM) = L(q;wL,wK,wM) = sL(q;wL,wK,wM) * C(q;wL,wK,wM) / wL, CwK(q;wL,wK,wM) = K(q;wL,wK,wM) = sK(q;wL,wK,wM) * C(q;wL,wK,wM) / wK, CwM(q;wL,wK,wM) = M(q;wL,wK,wM) = sM(q;wL,wK,wM) * C(q;wL,wK,wM) / wM,

Writing:

 Cq(q;wL,wK,wM) = (ecq + edqq * log(q) + edLq * log(wL) + edKq * log(wK) + edMq * log(wM) ) / q, Cq,q(q;wL,wK,wM) = (edqq - (ecq + edqq * log(q) + edLq * log(wL) + edKq * log(wK) + edMq * log(wM) )) / (q * q), Cq(q;wL,wK,wM) = Cq(q;wL,wK,wM) * C(q;wL,wK,wM), Cq,q(q;wL,wK,wM) = ( Cq,q(q;wL,wK,wM) + Cq(q;wL,wK,wM) * Cq(q;wL,wK,wM) ) * C(q;wL,wK,wM);

then:

 CwL,q(q;wL,wK,wM) = ( edLq * C(q; wL, wK, wM) / q + sL(q,wL,wK,wM) * Cq(q;wL,wK,wM) ) / wL, CwL,wL(q;wL,wK,wM) = ( L(q;wL,wK,wM) / wL ) * (-1 + sL(q,wL,wK,wM) + edLL / sL(q,wL,wK,wM)), CwL,wK(q;wL,wK,wM) = ( L(q,wL,wK,wM) / wK ) * (sK(q,wL,wK,wM) + edLK / sL(q,wL,wK,wM)), CwL,wM(q;wL,wK,wM) = ( L(q,wL,wK,wM) / wM ) * (sM(q,wL,wK,wM) + edLM / sL(q,wL,wK,wM)), CwK,q(q;wL,wK,wM) = ( edKq * C(q; wL, wK, wM) / q + sK(q,wL,wK,wM) * Cq(q;wL,wK,wM) ) / wK, CwK,wL(q;wL,wK,wM) = ( K(q;wL,wK,wM) / wL ) * (sL(q,wL,wK,wM) + edKL / sK(q,wL,wK,wM)), CwK,wK(q;wL,wK,wM) = ( K(q,wL,wK,wM) / wK ) * (-1 + sK(q,wL,wK,wM) + edKK / sK(q,wL,wK,wM)), CwK,wM(q;wL,wK,wM) = ( K(q,wL,wK,wM) / wM ) * (sM(q,wL,wK,wM) + edKM / sK(q,wL,wK,wM)), CwM,q(q;wL,wK,wM) = ( edMq * C(q; wL, wK, wM) / q + sM(q,wL,wK,wM) * Cq(q;wL,wK,wM) ) / wM, CwM,wL(q;wL,wK,wM) = ( M(q;wL,wK,wM) / wL ) * (sL(q,wL,wK,wM) + edML / sM(q,wL,wK,wM)), CwM,wK(q;wL,wK,wM) = ( M(q,wL,wK,wM) / wK ) * (sK(q,wL,wK,wM) + edMK / sM(q,wL,wK,wM)), CwM,wM(q;wL,wK,wM) = ( M(q,wL,wK,wM) / wM ) * (-1 + sM(q,wL,wK,wM) + edMM / sM(q,wL,wK,wM)), Copyright © Elmer G. Wiens:   Egwald Web Services All Rights Reserved.    Inquiries 