www.egwald.com Egwald Web Services

Egwald Web Services
Domain Names
Web Site Design

Egwald Website Search JOIN US AS A FACEBOOK FAN Twitter - Follow Elmer WiensRadio Podcasts - Geraldos Hour

 

Statistics Programs - Econometrics and Probability Economics - Microeconomics & Macroeconomics Operations Research - Linear Programming and Game Theory Egwald's Mathematics Egwald's Optimal Control
Egwald HomeEconomics Home PageOligopoly/Public Firm ModelRun Oligopoly ModelDerive Oligopoly ModelProduction FunctionsCost FunctionsDuality Production Cost FunctionsReferences & Links
 

Egwald Economics: Microeconomics

Cost Functions

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: JOIN US AS A FACEBOOK FAN
Follow Elmer Wiens on Twitter: Twitter - Follow Elmer Wiens

Cost Functions:  Cobb-Douglas Cost | Normalized Quadratic Cost | Translog Cost | Diewert Cost | Generalized CES-Translog Cost | Generalized CES-Diewert Cost | References and Links

N. Generalized CES-Diewert (Generalized Leontief) Cost Function

This web page replicates the procedures used to estimate the parameters of a Diewert cost function to approximate a CES cost function. To determine the Diewert cost function's efficacy in estimating varying elasticities of substitution among pairs of inputs, on this web page we approximate a Generalized CES cost function with the Diewert cost function.

Unlike the CES cost function, the Generalized CES cost function is not necessarily homothetic, while the Diewert cost function is homothetic by construction. Moreover, the Generalized CES's elasticity of scale is a function of its factor inputs, i.e. its elasticity of scale, εLKM, varies with factor prices and with output.

Consequently, when we estimate the Diewert cost function, we need to estimate the parameter nu1 of its returns to scale function separately, as we did when we approximated the CES production function by the Diewert production function.

The three factor Diewert (Generalized Leontief) (total) cost function is:

C(q;wL,wK,wM) = h(q) * c(wL,wK,wM)         (**)

where the returns to scale function is:

h(q) = q^(1/nu1)

a continuous, increasing function of q (q >= 1), with h(0) = 0 and h(1) = 1, where nu1 is a measure of the returns to scale,

and the unit cost function is:

c(wL,wK,wM) = cLL * wL + cKK * wK + cMM * wM + (dLK+dKL) * (wL*wK)^(1/2) + (dLM +dML) * (wL*wM)^(1/2) + (dKM+dMK) * (wK*wM)^(1/2)

linear in its parameters cLL, cKK, cMM, dLK, dKL, dLM, dML, dKM, and dMK.

We shall use two methods to obtain estimates of the parameters:

          À1: Estimate the parameters the cost function by way of its factor share functions — requires data relating output quantities to (cost minimizing) factor inputs, and input prices,

          À2: Estimate the parameters of the cost function directly — requires data relating output quantities to total (minimum) cost and input prices.

We shall use the three factor Generalized CES production function to generate the required cost data, yielding a data set relating output, q, and factor prices, wL, wK, and wM, [randomized about the base prices (wL*, wK*, wM*)]   to the Generalized CES cost minimizing factor inputs, L, K, and M.

For methods À1, and À2, we shall set nu1 = εLKM where q = 30 units of output, i.e. at the elasticity of scale of the Generalized CES cost function for q = 30.

To illustrate what can happen when nu1 is set incorrectly, we shall repeat methods À1, and À2 as methods À3, and À4, with nu1 = 1, i.e. under the assumption of constant returns to scale along the domain of q.

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.

Generalized CES Elasticity of Scale of Production:

εLKM = ε(L,K,M) = (nu / rho) * (alpha * rhoL * L^-rhoL + beta * rhoK * K^-rhoK + gamma * rhoM * M^-rhoM) / (alpha * L^-rhoL + beta * K^-rhoK + gamma * M^-rhoM).

See the Generalized CES production function.



À1:   Estimate the factor demand equations separately.

Assuming dLK = dKL, dLM = dML, and dKM = dMK, the Diewert unit cost function becomes:

c(wL,wK,wM) = cLL * wL + cKK * wK + cMM * wM + 2 * dLK * (wL*wK)^(1/2) + 2 * dLM * (wL*wM)^(1/2) + 2 * dKM * (wK*wM)^(1/2)

Taking the partial derivative of the cost function with respect to an input price, we get the factor demand function for that input:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/nu1) * [cLL + dLK * (wK / wL)^(1/2) + dLM * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/nu1) * [cKK + dKL * (wL / wK)^(1/2) + dKM * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/nu1) * [cMM + dML * (wL / wM)^(1/2) + dMK * (wK / wM)^(1/2)]

Since it is likely that, as measured numerically, dLK != dKL, dLM != dML, and dKM != dMK, these distinctions are maintained in the factor demand equations.

After dividing each factor demand equation by q(1/nu1), we can estimate the parameters of these three linear in parameters equations using linear multiple regression.

Having obtained the unrestricted estimates of the coefficients of the factor demand functions, we shall compute the restricted least squares estimates with dLK = dKL, dLM = dML, and dKM = dMK.

The substituted values of the estimated parameters determine the Diewert cost function.

I. Stage 1. Generate cost data with the Generalized CES production function, yielding a data set relating output, q, and factor prices, wL, wK, and wM, [randomized about the base prices (wL*, wK*, wM*)]   to the Generalized CES cost minimizing factor inputs, L, K, and M. The base factor prices and the randomizing distribution are specified in the form below.

   Stage 2. Obtain the Diewert cost function by substituting the estimates (obtained via linear multiple regression) of the parameters of the three factor demand equations into the cost function.

II. The estimated coefficients of the Diewert cost function 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.

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.

Generalized CES elasticity of scale at q = 30:     εLKM = nu1 = 0.92

III. For these coefficients of the CES Generalized production function, I generated a sequence (displayed in the "Generalized CES-Diewert Cost Function" table) of factor prices, outputs, and the corresponding cost minimizing inputs. Then I used these data to estimate the coefficients of each factor share equation separately:

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cLL-0.1182710.005-23.843
dLK0.5256260.003158.007
dLM0.5266480.004125.991
R2 = 0.9996 R2b = 0.9995 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cKK-0.0950160.021-4.436
dKL0.5351030.03316.328
dKM0.4469260.02816.221
R2 = 0.9748 R2b = 0.973 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cMM-0.2422650.041-5.903
dML0.5205380.0510.485
dMK0.4565930.03313.969
R2 = 0.9711 R2b = 0.969 # obs = 31

The three estimated factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/0.92) * [-0.1183 + 0.5256 * (wK / wL)^(1/2) + 0.5266 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/0.92) * [-0.095 + 0.5351 * (wL / wK)^(1/2) + 0.4469 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/0.92) * [-0.2423 + 0.5205 * (wL / wM)^(1/2) + 0.4566 * (wK / wM)^(1/2)]

As estimated, generally dLK != dKL, dLM != dML, and dKM != dMK: Young's Theorem doesn't hold without constraints across equations. Consequently, I use the sum of the cross parameters in the Diewert cost function.

    The estimated factor demand elasticities are obtained by:

εL,wL = ∂ln(L(q;wL,wK,wM))/∂ln(wL) = -.5 * (q^1/nu1) / L(q;wL,wK,wM)) * (dLK * (wK/wL)^1/2 + dLM * (wM/wL)^1/2),

εL,wK = ∂ln(L(q;wL,wK,wM))/∂ln(wK) = .5 * (q^1/nu1) / L(q;wL,wK,wM)) * dLK * (wK/wL)^1/2,

εL,wM = ∂ln(L(q;wL,wK,wM))/∂ln(wM) = .5 * (q^1/nu1) / L(q;wL,wK,wM)) * dLM * (wM/wL)^1/2,

εL,q = ∂ln(L(q;wL,wK,wM))/∂ln(q) = 1/nu1, etc.

      For example, with wL = 7, wK = 13, wM = 6, and q = 30:

εL,wLεL,wKεL,wMεL,q
εK,wLεK,wKεK,wMεK,q
εM,wLεM,wKεM,wMεM,q
-0.55450.32990.22461.087
0.3265-0.5790.25251.087
0.28340.3387-0.62211.087

IV. The Diewert cost function as obtained from the unrestricted factor demand equations is:

C(q;wL,wK,wM) = q^(1/nu1) * [cLL * wL + cKK * wK + cMM * wM + (dLK+dKL) * (wL*wK)^(1/2) + (dLM +dML) * (wL*wM)^(1/2) + (dKM+dMK) * (wK*wM)^(1/2)]

= q^(1/0.92) * [-0.11827 * wL + -0.09502 * wK + -0.24227 * wM + 1.06073 * (wL*wK)^(1/2) + 1.04719 * (wL*wM)^(1/2) + 0.90352 * (wK*wM)^(1/2)]
        (***)

V. The Restricted Factor Demand Equations.

Having obtained the unrestricted estimates of the coefficients of the factor demand functions, we compute the restricted least squares estimates with dLK = dKL, dLM = dML, and dKM = dMK.

QR Restricted Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cLL-0.1183370.029267-4.043306
dLK0.5272030.01864628.275075
dLM0.5243870.01973326.573578
cKK-0.0941860.017264-5.455514
dKL0.5272030.01864628.275075
dKM0.4540860.01559329.121265
cMM-0.2426440.023372-10.381869
dML0.5243870.01973326.573578
dMK0.4540860.01559329.121265
R2 = 0.9971 R2b = 0.9968 # obs = 93

dLK = dKL, dLM = dML, and dKM = dMK

The three estimated, restricted factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/0.92) * [-0.1183 + 0.5272 * (wK / wL)^(1/2) + 0.5244 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/0.92) * [-0.0942 + 0.5272 * (wL / wK)^(1/2) + 0.4541 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/0.92) * [-0.2426 + 0.5244 * (wL / wM)^(1/2) + 0.4541 * (wK / wM)^(1/2)]

    The estimated factor demand elasticities are obtained by:

εL,wL = ∂ln(L(q;wL,wK,wM))/∂ln(wL) = -.5 * (q^1/nu1) / L(q;wL,wK,wM)) * (dLK * (wK/wL)^1/2 + dLM * (wM/wL)^1/2),

εL,wK = ∂ln(L(q;wL,wK,wM))/∂ln(wK) = .5 * (q^1/nu1) / L(q;wL,wK,wM)) * dLK * (wK/wL)^1/2,

εL,wM = ∂ln(L(q;wL,wK,wM))/∂ln(wM) = .5 * (q^1/nu1) / L(q;wL,wK,wM)) * dLM * (wM/wL)^1/2,

εL,wq = ∂ln(L(q;wL,wK,wM))/∂ln(q) = 1/nu, etc.

      For example, with wL = 7, wK = 13, wM = 6, and q = 30:

εL,wLεL,wKεL,wMεL,q
εK,wLεK,wKεK,wMεK,q
εM,wLεM,wKεM,wMεM,q
-0.55450.33090.22361.087
0.3218-0.57830.25661.087
0.28540.3368-0.62231.087

VI. The Diewert cost function as obtained from the restricted factor demand equations is:

C(q;wL,wK,wM) = q^(1/nu) * [cLL * wL + cKK * wK + cMM * wM + (dLK+dKL) * (wL*wK)^(1/2) + (dLM +dML) * (wL*wM)^(1/2) + (dKM+dMK) * (wK*wM)^(1/2)]

= q^(1/0.92) * [-0.11834 * wL + -0.09419 * wK + -0.24264 * wM + 1.05441 * (wL*wK)^(1/2) + 1.04877 * (wL*wM)^(1/2) + 0.90817 * (wK*wM)^(1/2)]
        (***)

VII. Note:
      1. C(q;wL,wK,wM) linear homogeneous in factor prices requires for any t > 0 that the unit cost function c(wL,wK,wM) obey:

c(t*wL,t*wK,t*wM) = t * c(wL,wK,wM).

        For example, with wL = 7, wK = 13, wM = 6, and t = 2:

2 * c(7, 13, 6) = 42.73 = 42.73 = c(14, 26,12).

      2. The matrix ∇2C of second order partial derivatives of the cost function C(q;wL,wK,wM) = h(q)*c(wL,wK,wM) is symmetric:

2C/∂q∂wL = h'(q) * ∂c/∂wL = ∂2C/∂wL∂q,

2C/∂q∂wK = h'(q) * ∂c/∂wK = ∂2C/∂wK∂q,

2C/∂q∂wM = h'(q) * ∂c/∂wM = ∂2C/∂wM∂q,

2c/∂wL∂wK = .25 * (dLK+dKL)/(wL*wK)^(1/2) = ∂2c/∂wK∂wL,

2c/∂wL∂wM = .25 * (dLM+dML)/(wL*wM)^(1/2) = ∂2c/∂wM∂wL,

2c/∂wK∂wM = .25 * (dKM+dMK)/(wL*wK)^(1/2) = ∂2c/∂wM∂wK, and

2c/∂wL∂wL = -.25((dLK+dKL)*wK^(1/2) + (dLM+dML)*wM^(1/2))/wL^(3/2),

2c/∂wK∂wK = -.25((dKL+dLK)*wL^(1/2) + (dKM+dMK)*wM^(1/2))/wK^(3/2),

2c/∂wM∂wM = -.25((dML+dLM)*wL^(1/2) + (dMK+dKM)*wK^(1/2))/wM^(3/2).

      3. The cost function C(q;wL,wK,wM) is a concave in factor prices if the Hessian matrix H = ∇2wwc(wL,wK,wM) of second order partial derivatives with respect to factor prices is negative semidefinite.   The values of the second order partial derivatives depend on factor prices. As an example, consider the case where wL = 7, wK = 13, and wM = 6:

H = ∇2wwc =
-0.0860.027630.04046
0.02763-0.026740.02571
0.040460.02571-0.1029

The principal minors of H are H1 = -0.085996, H2 = 0.001536, and H3 = 0.

If these principal minors alternate in sign, starting with negative, with H3 <= 0, the matrix H is negative (semi)definite,
and the cost function C(q;wL,wK,wM) is a concave function in factor prices at wL = 7, wK = 13, and wM = 6.

The eigenvalues of H are e1 = -0.1358, e2 = -0.0798, and e3 = 0.
H3 = e1 * e2 * e3 = 0.

VIII. The factor share functions are:

sL(q;wL,wK,wM) = wL * L(q; wL, wK, wM) / C(q;wL,wK,wM) = wL * ∂C/∂wL / C(q;wL,wK,wM) ,

sK(q;wL,wK,wM)= wK * K(q; wL, wK, wM) / C(q;wL,wK,wM) = wK * ∂C/∂wK / C(q;wL,wK,wM),

sM(q;wL,wK,wM)= wM * M(q; wL, wK, wM) / C(q;wL,wK,wM) = wM * ∂C/∂wM / C(q;wL,wK,wM).

IX. Uzawa Partial Elasticities of Substitution:

uLK = C(q;wL,wK,wM) * ∂L(q;wL,wK,wM)/∂wK / (L(q;wL,wK,wM) * K(q;wL,wK,wM)),

uLM = C(q;wL,wK,wM) * ∂L(q;wL,wK,wM)/∂wM / (L(q;wL,wK,wM) * M(q;wL,wK,wM)),

uKL = C(q;wL,wK,wM) * ∂K(q;wL,wK,wM)/∂wL / (K(q;wL,wK,wM) * L(q;wL,wK,wM)),

uKM = C(q;wL,wK,wM) * ∂K(q;wL,wK,wM)/∂wM / (K(q;wL,wK,wM) * M(q;wL,wK,wM)),

uML = C(q;wL,wK,wM) * ∂M(q;wL,wK,wM)/∂wL / (M(q;wL,wK,wM) * L(q;wL,wK,wM)),

uMK = C(q;wL,wK,wM) * ∂M(q;wL,wK,wM)/∂wK / (M(q;wL,wK,wM) * M(q;wL,wK,wM)),

Imposing the dLK = dKL, dLM = dML, and dKM = dMK restrictions in the factor demand functions, we get (approximate?) equality of the cross partial elasticities of substitution:

uLK = uKL,    uLM = uML,  and    uKM = uMK.

as seen in the following table.

X. Table of Results: check that the estimated Diewert cost function and input amounts for a given level of output agree with the Generalized CES production function's minimized cost and inputs. Also, compare the Allen partial elasticities of substitution, sLK, sLM, and sMK, with the Uzawa partial elasticities of substitution, uLK, uLM, and uKM.

Generalized CES-Diewert Cost Function
À1: Estimate the Translog cost function using restricted factor shares
Parameters: rho = 0.17647, rhoL = 0.17647, rhoK = 0.11823, rhoM = 0.26339
 nu = 1
  —   Generalized CES Cost Data   —  
nu1 = 0.92
  —   Diewert Cost Data   —  
Factor SharesUzawa Elasticities2wwc(w)
obs #qwLwKwM LK MsLKsLMsKMεLKMcostest costest Lest Kest MsLsKsMuLKuLMuKLuKMuMLuMKe1e2e3
1185.64 11.484 24.8312.25 27.490.890.790.830.922390.6391.1424.8912.5826.60.3590.3690.2720.950.750.950.910.750.91 -0.206-0.1020
2196.06 12.025.96 28.1314.29 23.830.90.790.830.928484.29483.3628.0814.7222.850.3520.3660.2820.890.810.890.950.810.95 -0.145-0.086-0
3206.86 14.224.42 27.4213.37 32.530.890.790.830.919522.09523.3227.5513.6331.790.3610.370.2690.970.740.970.90.740.9 -0.19-0.084-0
4215.24 14.15.38 34.9313.66 28.180.890.790.830.922527.32527.8234.9713.8927.640.3470.3710.2820.910.740.910.980.740.98 -0.175-0.096-0
5228.8 13.965.18 27.3516.94 34.860.890.790.830.92657.78658.5127.2917.334.150.3650.3670.2690.950.790.950.860.790.86 -0.156-0.067-0
6237.12 14.665.84 33.616.66 32.470.890.790.830.921673.02673.6133.6316.9131.90.3550.3680.2770.920.770.920.930.770.93 -0.141-0.0780
7246.42 14.264.7 35.1816.34 37.080.890.790.830.917633.11634.135.3116.4636.740.3580.370.2720.950.740.950.920.740.92 -0.178-0.089-0
8258.48 13.887.92 35.1821.47 30.580.90.790.830.926838.4837.5835.1621.8629.80.3560.3620.2820.880.850.880.920.850.92 -0.103-0.066-0
9266.88 14.56.1 39.3619.27 35.370.890.790.830.92765.92766.4839.3819.4535.010.3530.3680.2790.910.780.910.940.780.94 -0.138-0.079-0
10276.8 157.38 43.5620.58 33.130.90.790.830.922849.39849.643.5520.8332.660.3490.3680.2840.880.80.880.970.80.97 -0.127-0.0710
11285.48 11.346.26 44.922.5 32.720.90.790.830.924706.08705.9844.9122.8132.140.3490.3660.2850.860.820.860.970.820.97 -0.153-0.0860
12298.38 12.527.62 39.8826.57 35.10.90.790.830.925934.3293439.8826.8734.560.3580.360.2820.870.860.870.910.860.91 -0.104-0.070
13307 136 43.7924.14 40.130.890.790.830.92861.17861.6243.7824.2440.010.3560.3660.2790.90.80.90.920.80.92 -0.136-0.080
14315.88 12.97.46 52.3525.1 34.740.90.790.830.923890.73890.852.3725.3734.270.3460.3670.2870.850.820.850.990.820.99 -0.142-0.073-0
15325.58 11.284.26 47.124.16 47.070.890.790.830.915735.92736.0947.1224.0447.430.3570.3680.2740.930.770.930.910.770.91 -0.192-0.102-0
16336.42 11.326.94 50.3129.26 380.90.790.830.923917.98918.1750.429.4537.640.3520.3630.2850.860.850.860.950.850.95 -0.129-0.0790
17346.32 12.365.32 50.8426.97 46.780.890.790.830.917903.57903.7850.8226.8347.170.3550.3670.2780.910.790.910.920.790.92 -0.154-0.088-0
18357.16 12.464.48 47.3927.8 55.40.890.790.830.913933.9933.447.327.5556.150.3630.3680.2690.950.780.950.870.780.87 -0.181-0.0820
19367.06 13.167.84 56.6431.54 41.540.890.790.830.9221140.671141.2356.7431.5841.460.3510.3640.2850.860.840.860.960.840.96 -0.117-0.07-0
20375.44 12.24.08 56.9426.89 56.960.890.790.830.911870.16868.895726.3658.150.3570.370.2730.950.740.950.920.740.92 -0.205-0.1050
21388.4 12.447.74 53.4636.46 45.630.890.790.830.9221255.81256.6753.5336.3545.850.3580.360.2820.870.870.870.910.870.91 -0.103-0.07-0
22395.02 12.964.78 66.5627.94 54.530.890.790.830.912956.84955.4866.5327.3455.910.350.3710.280.920.740.920.970.740.97 -0.188-0.105-0
23405.3 13.046.22 70.4830.97 48.740.890.790.830.9161080.641080.670.3830.6349.550.3450.370.2850.880.780.880.990.780.99 -0.163-0.085-0
24416.92 12.325.54 59.8134.8 56.620.890.790.830.9151156.341155.6959.734.2857.790.3570.3650.2770.910.80.910.910.80.91 -0.145-0.0830
25428.18 11.747.9 59.6142.05 48.660.890.790.830.9221365.781367.1759.7941.7649.090.3580.3590.2840.860.880.860.910.880.91 -0.102-0.071-0
26438.42 12.486.08 58.0139.7 59.720.890.790.830.9161347.031346.3757.7939.1161.130.3610.3630.2760.910.830.910.880.830.88 -0.127-0.072-0
27446.4 14.665.06 70.1332.85 66.330.890.790.830.9091266.011261.8870.0631.8568.480.3550.370.2750.940.740.940.930.740.93 -0.166-0.088-0
28456.58 12.55.16 67.3737.22 64.30.890.790.830.9121240.391238.0667.2136.3566.180.3570.3670.2760.920.780.920.910.780.91 -0.157-0.086-0
29467.46 13.166.56 68.9940.78 60.050.890.790.830.9151445.261444.468.94061.590.3560.3640.280.890.820.890.920.820.92 -0.124-0.075-0
30475.5 14.17.56 88.2737.83 53.040.890.790.830.9161419.841419.6488.0637.2854.180.3410.370.2890.850.790.851.020.791.02 -0.155-0.072-0
31488.28 12.367.14 68.1146.71 60.260.890.790.830.9171571.481571.7668.0745.8761.80.3590.3610.2810.880.860.880.90.860.9 -0.11-0.071-0
AVE:336.76 12.986.03 5026.89 44.180.890.790.830.919946.51946.365026.8944.180.3550.3660.2790.90.80.90.930.80.93-0.149-0.082-0




À2:   Estimate the Diewert cost function directly.

XI. If we have a data set relating the input (factor) prices, wL, wK, and wM, to the total (minimum) cost of producing output for varying levels output, but do not have data on the required levels of inputs, we can estimate the Diewert cost function directly. We will use the same sequence (displayed in the "Diewert Cost Function" table) of factor prices, outputs, and total (minimum) cost as used in À1. The estimated coefficients of the cost function will vary with the parameters nu, rho, rhoL, rhoK, rhoM, alpha, beta and gamma of the Generalized CES production function used to generate these data.

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cLL-0.1657380.098-1.69
cKK-0.1334690.05-2.674
cMM-0.4116720.09-4.568
2*dLK1.0344270.1248.353
2*dLM1.1750550.10810.857
2*dKM1.0484590.09910.579
R2 = 0.9999 R2b = 0.9999 # obs = 31

The Diewert cost function as obtained by direct estimation is:

C(q;wL,wK,wM) = q^(1/nu1) * [cLL * wL + cKK * wK + cMM * wM + 2 * dLK * (wL*wK)^(1/2) + 2 * dLM * (wL*wM)^(1/2) + 2 * dKM * (wK*wM)^(1/2)]

= q^(1/0.92) * [-0.16574 * wL + -0.13347 * wK + -0.41167 * wM + 1.03443 * (wL*wK)^(1/2) + 1.17506 * (wL*wM)^(1/2) + 1.04846 * (wK*wM)^(1/2)]
        (***)

XII. Its three derived factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/0.92) * [-0.1657 + 0.5172 * (wK / wL)^(1/2) + 0.5875 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/0.92) * [-0.1335 + 0.5172 * (wL / wK)^(1/2) + 0.5242 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/0.92) * [-0.4117 + 0.5875 * (wL / wM)^(1/2) + 0.5242 * (wK / wM)^(1/2)]

    The derived factor demand elasticities are obtained by:

εL,wL = ∂ln(L(q;wL,wK,wM))/∂ln(wL) = -.5 * (q^1/nu1) / L(q;wL,wK,wM)) * (dLK * (wK/wL)^1/2 + dLM * (wM/wL)^1/2),

εL,wK = ∂ln(L(q;wL,wK,wM))/∂ln(wK) = .5 * (q^1/nu1) / L(q;wL,wK,wM)) * dLK * (wK/wL)^1/2,

εL,wM = ∂ln(L(q;wL,wK,wM))/∂ln(wM) = .5 * (q^1/nu1) / L(q;wL,wK,wM)) * dLM * (wM/wL)^1/2,

εL,q = ∂ln(L(q;wL,wK,wM))/∂ln(q) = 1/nu, etc.

      For example, with wL = 7, wK = 13, wM = 6, and q = 30:

εL,wLεL,wKεL,wMεL,q
εK,wLεK,wKεK,wMεK,q
εM,wLεM,wKεM,wMεM,q
-0.57650.32540.25111.087
0.3151-0.61080.29571.087
0.3190.3879-0.7071.087

XIII. Notes:
      1. As derived, dLK = dKL, dLM = dML, and dKM = dMK: Young's Theorem holds by construction.

      2. C(q;wL,wK,wM) linear homogeneous in factor prices requires for any t > 0 that the unit cost function c(wL,wK,wM) obey:

c(t*wL,t*wK,t*wM) = t * c(wL,wK,wM).

        For example, with wL = 7, wK = 13, wM = 6, and t = 2:

2 * c(7, 13, 6) = 42.75 = 42.75 = c(14, 26,12).

      3. The matrix ∇2C of second order partial derivatives of the cost function C(q;wL,wK,wM) = h(q)*c(wL,wK,wM) is symmetric.

      4. The cost function C(q;wL,wK,wM) is a concave in factor prices if the Hessian matrix H = ∇2wwc(wL,wK,wM) of second order partial derivatives with respect to factor prices is negative semidefinite.   The values of the second order partial derivatives depend on factor prices. As an example, consider the case where wL = 7, wK = 13, and wM = 6:

H = ∇2wwc =
-0.08920.027110.04533
0.02711-0.02830.02968
0.045330.02968-0.11719

The principal minors of H are H1 = -0.089199, H2 = 0.001789, and H3 = 0.

If these principal minors alternate in sign, starting with negative, with H3 <= 0, the matrix H is negative (semi)definite,
and the cost function C(q;wL,wK,wM) is a concave function in factor prices at wL = 7, wK = 13, and wM = 6.

The eigenvalues of H are e1 = -0.1512, e2 = -0.0835, and e3 = 0.
H3 = e1 * e2 * e3 = 0.

XIV. Table of Results: check that the estimated Diewert cost function and input amounts for a given level of output agree with the Generalized CES production function's minimized cost and inputs. Also, compare the Allen partial elasticities of substitution, sLK, sLM, and sMK, with the Uzawa partial elasticities of substitution, uLK, uLM, and uKM.

Generalized CES-Diewert Cost Function
À2: Estimate the Diewert cost function directly
Parameters: rho = 0.17647, rhoL = 0.17647, rhoK = 0.11823, rhoM = 0.26339
 nu = 1
  —   Generalized CES Cost Data   —  
nu1 = 0.92
  —   Diewert Cost Data   —  
Factor SharesUzawa Elasticities2wwc(w)
obs #qwLwKwM LK MsLKsLMsKMεLKMcostest costest Lest Kest MsLsKsMuLKuLMuKLuKMuMLuMKe1e2e3
1185.64 11.484 24.8312.25 27.490.890.790.830.922390.6391.0324.6912.4627.170.3560.3660.2780.950.830.951.030.831.03 -0.232-0.1050
2196.06 12.025.96 28.1314.29 23.830.90.790.830.928484.29483.5828.1114.822.710.3520.3680.280.860.910.861.090.911.09 -0.159-0.0920
3206.86 14.224.42 27.4213.37 32.530.890.790.830.919522.09522.7927.2613.4432.710.3580.3660.2770.970.810.971.020.811.02 -0.214-0.086-0
4215.24 14.15.38 34.9313.66 28.180.890.790.830.922527.32528.0634.9713.8427.830.3470.3690.2830.90.820.91.130.821.13 -0.191-0.103-0
5228.8 13.965.18 27.3516.94 34.860.890.790.830.92657.78658.0226.9617.1734.960.360.3640.2750.950.870.950.970.870.97 -0.177-0.0690
6237.12 14.665.84 33.616.66 32.470.890.790.830.921673.02673.8433.4916.8532.250.3540.3670.280.910.860.911.060.861.06 -0.158-0.082-0
7246.42 14.264.7 35.1816.34 37.080.890.790.830.917633.11633.8535.0516.2837.590.3550.3660.2790.950.810.951.050.811.05 -0.2-0.0920
8258.48 13.887.92 35.1821.47 30.580.90.790.830.926838.4837.6835.1822.0529.450.3560.3650.2780.850.960.851.070.961.07 -0.114-0.07-0
9266.88 14.56.1 39.3619.27 35.370.890.790.830.92765.92766.8639.2919.4335.220.3520.3670.280.90.870.91.080.871.08 -0.153-0.083-0
10276.8 157.38 43.5620.58 33.130.90.790.830.922849.39849.9543.6720.9532.350.3490.370.2810.860.90.861.120.91.12 -0.137-0.077-0
11285.48 11.346.26 44.922.5 32.720.90.790.830.924706.08706.0145.1323.0331.560.350.370.280.830.930.831.130.931.13 -0.165-0.094-0
12298.38 12.527.62 39.8826.57 35.10.90.790.830.925934.32933.9139.927.1534.060.3580.3640.2780.850.980.851.050.981.05 -0.116-0.073-0
13307 136 43.7924.14 40.130.890.790.830.92861.17862.0343.6724.2840.110.3550.3660.2790.890.90.891.060.91.06 -0.151-0.0830
14315.88 12.97.46 52.3525.1 34.740.90.790.830.923890.73890.4752.7425.6733.40.3480.3720.280.820.940.821.160.941.16 -0.151-0.0810
15325.58 11.284.26 47.124.16 47.070.890.790.830.915735.92736.1846.8423.948.180.3550.3660.2790.930.850.931.050.851.05 -0.216-0.105-0
16336.42 11.326.94 50.3129.26 380.90.790.830.923917.98917.950.6329.8136.810.3540.3680.2780.830.970.831.110.971.11 -0.14-0.086-0
17346.32 12.365.32 50.8426.97 46.780.890.790.830.917903.57904.1950.6626.8147.480.3540.3660.2790.90.880.91.060.881.06 -0.172-0.092-0
18357.16 12.464.48 47.3927.8 55.40.890.790.830.913933.9932.8546.7927.3257.470.3590.3650.2760.950.860.950.990.860.99 -0.205-0.0840
19367.06 13.167.84 56.6431.54 41.540.890.790.830.9221140.671140.9957.0131.9540.560.3530.3690.2790.830.960.831.120.961.12 -0.127-0.076-0
20375.44 12.24.08 56.9426.89 56.960.890.790.830.911870.16868.6556.6126.0959.420.3550.3660.2790.950.820.951.050.821.05 -0.231-0.1080
21388.4 12.447.74 53.4636.46 45.630.890.790.830.9221255.81256.4353.5836.7645.10.3580.3640.2780.840.990.841.060.991.06 -0.114-0.0730
22395.02 12.964.78 66.5627.94 54.530.890.790.830.912956.84955.8366.4327.1856.510.3490.3690.2830.910.820.911.110.821.11 -0.207-0.111-0
23405.3 13.046.22 70.4830.97 48.740.890.790.830.9161080.641081.0170.6730.7849.050.3470.3710.2820.850.880.851.150.881.15 -0.175-0.093-0
24416.92 12.325.54 59.8134.8 56.620.890.790.830.9151156.341156.1459.4634.358.140.3560.3650.2790.90.90.91.040.91.04 -0.162-0.0860
25428.18 11.747.9 59.6142.05 48.660.890.790.830.9221365.781366.3759.9542.3447.970.3590.3640.2770.831.010.831.061.011.06 -0.112-0.0760
26438.42 12.486.08 58.0139.7 59.720.890.790.830.9161347.031346.5957.4439.261.470.3590.3630.2780.90.930.910.931 -0.143-0.074-0
27446.4 14.665.06 70.1332.85 66.330.890.790.830.9091266.011261.8169.6731.5769.790.3530.3670.280.940.820.941.070.821.07 -0.186-0.091-0
28456.58 12.55.16 67.3737.22 64.30.890.790.830.9121240.391238.4566.8836.2566.90.3550.3660.2790.910.870.911.040.871.04 -0.176-0.09-0
29467.46 13.166.56 68.9940.78 60.050.890.790.830.9151445.261445.0168.840.1861.440.3550.3660.2790.880.920.881.060.921.06 -0.137-0.0790
30475.5 14.17.56 88.2737.83 53.040.890.790.830.9161419.841419.2788.7637.6752.910.3440.3740.2820.820.90.821.190.91.19 -0.164-0.079-0
31488.28 12.367.14 68.1146.71 60.260.890.790.830.9171571.481571.896846.2661.210.3580.3640.2780.860.970.861.040.971.04 -0.122-0.075-0
AVE:336.76 12.986.03 49.9526.96 44.250.890.790.830.919946.51946.3849.9526.9644.250.3540.3670.2790.890.890.891.070.891.07-0.165-0.086-0



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).

À3:   Estimate the factor demand equations separately, with nu1 = 1.

XVI. For these coefficients of the CES Generalized production function, I generated a sequence (displayed in the "Generalized CES-Diewert Cost Function" table) of factor prices, outputs, and the corresponding cost minimizing inputs. Then I used these data to estimate the coefficients of each factor share equation separately:

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cLL-0.1629450.092-1.779
dLK0.6348810.06110.337
dLM0.8262560.07710.706
R2 = 0.9238 R2b = 0.9184 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cKK-0.1962370.071-2.759
dKL0.7440080.1096.837
dKM0.6827110.0917.463
R2 = 0.8821 R2b = 0.8737 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cMM-0.2191940.011-20.864
dML0.7050960.01355.481
dMK0.5417720.00864.747
R2 = 0.9988 R2b = 0.9987 # obs = 31

The three estimated factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/1) * [-0.1629 + 0.6349 * (wK / wL)^(1/2) + 0.8263 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/1) * [-0.1962 + 0.744 * (wL / wK)^(1/2) + 0.6827 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/1) * [-0.2192 + 0.7051 * (wL / wM)^(1/2) + 0.5418 * (wK / wM)^(1/2)]

As estimated, generally dLK != dKL, dLM != dML, and dKM != dMK: Young's Theorem doesn't hold without constraints across equations. Consequently, I use the sum of the cross parameters in the Diewert cost function.

    The estimated factor demand elasticities are obtained by:

εL,wL = ∂ln(L(q;wL,wK,wM))/∂ln(wL) = -.5 * (q^1/nu1) / L(q;wL,wK,wM)) * (dLK * (wK/wL)^1/2 + dLM * (wM/wL)^1/2),

εL,wK = ∂ln(L(q;wL,wK,wM))/∂ln(wK) = .5 * (q^1/nu1) / L(q;wL,wK,wM)) * dLK * (wK/wL)^1/2,

εL,wM = ∂ln(L(q;wL,wK,wM))/∂ln(wM) = .5 * (q^1/nu1) / L(q;wL,wK,wM)) * dLM * (wM/wL)^1/2,

εL,q = ∂ln(L(q;wL,wK,wM))/∂ln(q) = 1/nu1, etc.

      For example, with wL = 7, wK = 13, wM = 6, and q = 30:

εL,wLεL,wKεL,wMεL,q
εK,wLεK,wKεK,wMεK,q
εM,wLεM,wKεM,wMεM,q
-0.55550.29480.26071
0.3355-0.62060.28511
0.28420.2976-0.58181

XVII. The Diewert cost function as obtained from the unrestricted factor demand equations is:

C(q;wL,wK,wM) = q^(1/nu1) * [cLL * wL + cKK * wK + cMM * wM + (dLK+dKL) * (wL*wK)^(1/2) + (dLM +dML) * (wL*wM)^(1/2) + (dKM+dMK) * (wK*wM)^(1/2)]

= q^(1/1) * [-0.16295 * wL + -0.19624 * wK + -0.21919 * wM + 1.37889 * (wL*wK)^(1/2) + 1.53135 * (wL*wM)^(1/2) + 1.22448 * (wK*wM)^(1/2)]
        (***)

XVIII. The Restricted Factor Demand Equations.

Having obtained the unrestricted estimates of the coefficients of the factor demand functions, we compute the restricted least squares estimates with dLK = dKL, dLM = dML, and dKM = dMK.

QR Restricted Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cLL-0.1617220.055444-2.916833
dLK0.6932460.03532219.626391
dLM0.738650.03738319.75896
cKK-0.074480.032706-2.277269
dKL0.6932460.03532219.626391
dKM0.5573370.02953918.867639
cMM-0.2782420.044276-6.284288
dML0.738650.03738319.75896
dMK0.5573370.02953918.867639
R2 = 0.9942 R2b = 0.9936 # obs = 93

dLK = dKL, dLM = dML, and dKM = dMK

The three estimated, restricted factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/1) * [-0.1617 + 0.6932 * (wK / wL)^(1/2) + 0.7386 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/1) * [-0.0745 + 0.6932 * (wL / wK)^(1/2) + 0.5573 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/1) * [-0.2782 + 0.7386 * (wL / wM)^(1/2) + 0.5573 * (wK / wM)^(1/2)]

    The estimated factor demand elasticities are obtained by:

εL,wL = ∂ln(L(q;wL,wK,wM))/∂ln(wL) = -.5 * (q^1/nu1) / L(q;wL,wK,wM)) * (dLK * (wK/wL)^1/2 + dLM * (wM/wL)^1/2),

εL,wK = ∂ln(L(q;wL,wK,wM))/∂ln(wK) = .5 * (q^1/nu1) / L(q;wL,wK,wM)) * dLK * (wK/wL)^1/2,

εL,wM = ∂ln(L(q;wL,wK,wM))/∂ln(wM) = .5 * (q^1/nu1) / L(q;wL,wK,wM)) * dLM * (wM/wL)^1/2,

εL,wq = ∂ln(L(q;wL,wK,wM))/∂ln(q) = 1/nu, etc.

      For example, with wL = 7, wK = 13, wM = 6, and q = 30:

εL,wLεL,wKεL,wMεL,q
εK,wLεK,wKεK,wMεK,q
εM,wLεM,wKεM,wMεM,q
-0.55510.3220.23311
0.3129-0.54580.23291
0.29770.3061-0.60381

XIX. The Diewert cost function as obtained from the restricted factor demand equations is:

C(q;wL,wK,wM) = q^(1/nu) * [cLL * wL + cKK * wK + cMM * wM + (dLK+dKL) * (wL*wK)^(1/2) + (dLM +dML) * (wL*wM)^(1/2) + (dKM+dMK) * (wK*wM)^(1/2)]

= q^(1/1) * [-0.16172 * wL + -0.07448 * wK + -0.27824 * wM + 1.38649 * (wL*wK)^(1/2) + 1.4773 * (wL*wM)^(1/2) + 1.11467 * (wK*wM)^(1/2)]
        (***)

XX. Note:
      1. C(q;wL,wK,wM) linear homogeneous in factor prices requires for any t > 0 that the unit cost function c(wL,wK,wM) obey:

c(t*wL,t*wK,t*wM) = t * c(wL,wK,wM).

        For example, with wL = 7, wK = 13, wM = 6, and t = 2:

2 * c(7, 13, 6) = 57.75 = 57.75 = c(14, 26,12).

      2. The matrix ∇2C of second order partial derivatives of the cost function C(q;wL,wK,wM) = h(q)*c(wL,wK,wM) is symmetric:

2C/∂q∂wL = h'(q) * ∂c/∂wL = ∂2C/∂wL∂q,

2C/∂q∂wK = h'(q) * ∂c/∂wK = ∂2C/∂wK∂q,

2C/∂q∂wM = h'(q) * ∂c/∂wM = ∂2C/∂wM∂q,

2c/∂wL∂wK = .25 * (dLK+dKL)/(wL*wK)^(1/2) = ∂2c/∂wK∂wL,

2c/∂wL∂wM = .25 * (dLM+dML)/(wL*wM)^(1/2) = ∂2c/∂wM∂wL,

2c/∂wK∂wM = .25 * (dKM+dMK)/(wL*wK)^(1/2) = ∂2c/∂wM∂wK, and

2c/∂wL∂wL = -.25((dLK+dKL)*wK^(1/2) + (dLM+dML)*wM^(1/2))/wL^(3/2),

2c/∂wK∂wK = -.25((dKL+dLK)*wL^(1/2) + (dKM+dMK)*wM^(1/2))/wK^(3/2),

2c/∂wM∂wM = -.25((dML+dLM)*wL^(1/2) + (dMK+dKM)*wK^(1/2))/wM^(3/2).

      3. The cost function C(q;wL,wK,wM) is a concave in factor prices if the Hessian matrix H = ∇2wwc(wL,wK,wM) of second order partial derivatives with respect to factor prices is negative semidefinite.   The values of the second order partial derivatives depend on factor prices. As an example, consider the case where wL = 7, wK = 13, and wM = 6:

H = ∇2wwc =
-0.116330.036340.05699
0.03634-0.034130.03155
0.056990.03155-0.13485

The principal minors of H are H1 = -0.116328, H2 = 0.00265, and H3 = 0.

If these principal minors alternate in sign, starting with negative, with H3 <= 0, the matrix H is negative (semi)definite,
and the cost function C(q;wL,wK,wM) is a concave function in factor prices at wL = 7, wK = 13, and wM = 6.

The eigenvalues of H are e1 = -0.1833, e2 = -0.102, and e3 = -0.
H3 = e1 * e2 * e3 = -0.

XXI. The factor share functions are:

sL(q;wL,wK,wM) = wL * L(q; wL, wK, wM) / C(q;wL,wK,wM) = wL * ∂C/∂wL / C(q;wL,wK,wM) ,

sK(q;wL,wK,wM)= wK * K(q; wL, wK, wM) / C(q;wL,wK,wM) = wK * ∂C/∂wK / C(q;wL,wK,wM),

sM(q;wL,wK,wM)= wM * M(q; wL, wK, wM) / C(q;wL,wK,wM) = wM * ∂C/∂wM / C(q;wL,wK,wM).

XXII. Uzawa Partial Elasticities of Substitution:

uLK = C(q;wL,wK,wM) * ∂L(q;wL,wK,wM)/∂wK / (L(q;wL,wK,wM) * K(q;wL,wK,wM)),

uLM = C(q;wL,wK,wM) * ∂L(q;wL,wK,wM)/∂wM / (L(q;wL,wK,wM) * M(q;wL,wK,wM)),

uKL = C(q;wL,wK,wM) * ∂K(q;wL,wK,wM)/∂wL / (K(q;wL,wK,wM) * L(q;wL,wK,wM)),

uKM = C(q;wL,wK,wM) * ∂K(q;wL,wK,wM)/∂wM / (K(q;wL,wK,wM) * M(q;wL,wK,wM)),

uML = C(q;wL,wK,wM) * ∂M(q;wL,wK,wM)/∂wL / (M(q;wL,wK,wM) * L(q;wL,wK,wM)),

uMK = C(q;wL,wK,wM) * ∂M(q;wL,wK,wM)/∂wK / (M(q;wL,wK,wM) * M(q;wL,wK,wM)),

Imposing the dLK = dKL, dLM = dML, and dKM = dMK restrictions in the factor demand functions, we get (approximate?) equality of the cross partial elasticities of substitution:

uLK = uKL,    uLM = uML,  and    uKM = uMK.

as seen in the following table.

XXIII. Table of Results: check that the estimated Diewert cost function and input amounts for a given level of output agree with the Generalized CES production function's minimized cost and inputs. Also, compare the Allen partial elasticities of substitution, sLK, sLM, and sMK, with the Uzawa partial elasticities of substitution, uLK, uLM, and uKM.

Generalized CES-Diewert Cost Function
À3: Estimate the Translog cost function using restricted factor shares
Parameters: rho = 0.17647, rhoL = 0.17647, rhoK = 0.11823, rhoM = 0.26339
 nu = 1
  —   Generalized CES Cost Data   —  
nu1 = 1
  —   Diewert Cost Data   —  
Factor SharesUzawa Elasticities2wwc(w)
obs #qwLwKwM LK MsLKsLMsKMεLKMcostest costest Lest Kest MsLsKsMuLKuLMuKLuKMuMLuMKe1e2e3
1185.64 11.484 24.8312.25 27.490.890.790.830.922390.6411.2426.0913.3327.770.3580.3720.270.920.790.920.820.790.82 -0.275-0.1310
2196.06 12.025.96 28.1314.29 23.830.90.790.830.928484.29505.6429.415.3923.90.3520.3660.2820.860.840.860.860.840.86 -0.197-0.11-0
3206.86 14.224.42 27.4213.37 32.530.890.790.830.919522.09545.3528.5914.3632.830.360.3740.2660.930.780.930.810.780.81 -0.252-0.109-0
4215.24 14.15.38 34.9313.66 28.180.890.790.830.922527.32547.5836.214.5428.410.3460.3740.2790.880.780.880.890.780.89 -0.237-0.121-0
5228.8 13.965.18 27.3516.94 34.860.890.790.830.92657.78680.1628.1217.9435.190.3640.3680.2680.930.830.930.780.830.78 -0.207-0.0880
6237.12 14.665.84 33.616.66 32.470.890.790.830.921673.02693.1534.5517.4932.670.3550.370.2750.90.810.90.840.810.84 -0.19-0.101-0
7246.42 14.264.7 35.1816.34 37.080.890.790.830.917633.11650.3636.0817.0637.340.3560.3740.270.920.780.920.830.780.83 -0.238-0.115-0
8258.48 13.887.92 35.1821.47 30.580.90.790.830.926838.4855.6835.9822.2130.60.3570.360.2830.860.880.860.840.880.84 -0.14-0.084-0
9266.88 14.56.1 39.3619.27 35.370.890.790.830.92765.92780.3140.0519.8835.50.3530.3690.2780.880.810.880.850.810.85 -0.187-0.101-0
10276.8 157.38 43.5620.58 33.130.90.790.830.922849.3986244.2121.1533.080.3490.3680.2830.850.830.850.880.830.88 -0.172-0.09-0
11285.48 11.346.26 44.922.5 32.720.90.790.830.924706.08714.0445.52332.560.3490.3650.2850.840.850.840.880.850.88 -0.209-0.109-0
12298.38 12.527.62 39.8826.57 35.10.90.790.830.925934.32942.140.3126.935.110.3590.3570.2840.850.890.850.830.890.83 -0.142-0.0890
13307 136 43.7924.14 40.130.890.790.830.92861.17866.2544.0124.3940.20.3560.3660.2780.880.840.880.840.840.84 -0.183-0.102-0
14315.88 12.97.46 52.3525.1 34.740.90.790.830.923890.73893.0252.6125.3434.420.3460.3660.2880.830.850.830.90.850.9 -0.193-0.093-0
15325.58 11.284.26 47.124.16 47.070.890.790.830.915735.92736.0547.0224.1847.170.3560.3710.2730.910.80.910.830.80.83 -0.258-0.131-0
16336.42 11.326.94 50.3129.26 380.90.790.830.923917.98915.6950.3829.1737.750.3530.3610.2860.840.880.840.860.880.86 -0.176-0.1010
17346.32 12.365.32 50.8426.97 46.780.890.790.830.917903.57898.8350.5126.7546.80.3550.3680.2770.890.820.890.840.820.84 -0.208-0.113-0
18357.16 12.464.48 47.3927.8 55.40.890.790.830.913933.9926.0446.827.4855.480.3620.370.2680.920.810.920.790.810.79 -0.241-0.1060
19367.06 13.167.84 56.6431.54 41.540.890.790.830.9221140.671129.4756.2731.0841.210.3520.3620.2860.840.870.840.870.870.87 -0.16-0.0880
20375.44 12.24.08 56.9426.89 56.960.890.790.830.911870.16858.2456.126.356.920.3560.3740.2710.920.780.920.840.780.84 -0.274-0.135-0
21388.4 12.447.74 53.4636.46 45.630.890.790.830.9221255.81238.252.8635.5245.520.3590.3570.2850.850.90.850.830.90.83 -0.14-0.0880
22395.02 12.964.78 66.5627.94 54.530.890.790.830.912956.84939.3665.2427.1254.460.3490.3740.2770.890.780.890.880.780.88 -0.255-0.133-0
23405.3 13.046.22 70.4830.97 48.740.890.790.830.9161080.641059.5369.0330.148.420.3450.370.2840.850.820.850.90.820.9 -0.221-0.108-0
24416.92 12.325.54 59.8134.8 56.620.890.790.830.9151156.341130.7758.3933.5756.520.3570.3660.2770.890.840.890.820.840.82 -0.194-0.106-0
25428.18 11.747.9 59.6142.05 48.660.890.790.830.9221365.781335.758.5840.3848.420.3590.3550.2860.840.910.840.830.910.83 -0.139-0.0910
26438.42 12.486.08 58.0139.7 59.720.890.790.830.9161347.031311.9256.3338.0159.750.3620.3620.2770.890.870.890.790.870.79 -0.17-0.093-0
27446.4 14.665.06 70.1332.85 66.330.890.790.830.9091266.011227.7167.9531.2866.050.3540.3740.2720.910.780.910.850.780.85 -0.223-0.1130
28456.58 12.55.16 67.3737.22 64.30.890.790.830.9121240.391201.6765.1535.464.050.3570.3680.2750.90.820.90.830.820.83 -0.211-0.1110
29467.46 13.166.56 68.9940.78 60.050.890.790.830.9151445.261399.1966.7838.6859.750.3560.3640.280.870.850.870.840.850.84 -0.167-0.096-0
30475.5 14.17.56 88.2737.83 53.040.890.790.830.9161419.841372.4585.2736.0352.310.3420.370.2880.830.830.830.920.830.92 -0.211-0.090
31488.28 12.367.14 68.1146.71 60.260.890.790.830.9171571.481517.2965.8243.9960.020.3590.3580.2820.860.890.860.820.890.82 -0.148-0.0910
AVE:336.76 12.986.03 49.6826.71 43.880.890.790.830.919946.51940.1649.6826.7143.880.3550.3670.2790.880.830.880.840.830.84-0.201-0.104-0




À4:   Estimate the Diewert cost function directly, with nu1 = 1.

XXIV. If we have a data set relating the input (factor) prices, wL, wK, and wM, to the total (minimum) cost of producing output for varying levels output, but do not have data on the required levels of inputs, we can estimate the Diewert cost function directly. We will use the same sequence (displayed in the "Diewert Cost Function" table) of factor prices, outputs, and total (minimum) cost as used in À1. The estimated coefficients of the cost function will vary with the parameters nu, rho, rhoL, rhoK, rhoM, alpha, beta and gamma of the Generalized CES production function used to generate these data.

Under these circumstances, with nu1 = 1, the Diewert cost function may fail to be concave in factor prices, depending on the generated sequence of random factor prices, as one or more of the eigenvalues of the Hessian matrix H = ∇2wwc(wL,wK,wM) turn positive.

SVD Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cLL2.8778182.9490.976
cKK0.7616571.5010.507
cMM-2.3451922.71-0.865
2*dLK-3.4637343.724-0.93
2*dLM2.2364173.2540.687
2*dKM3.5585642.981.194
R2 = 0.9578 R2b = 0.9493 # obs = 31
Observation Matrix Rank: 6
The Diewert cost function as obtained by direct estimation is:

C(q;wL,wK,wM) = q^(1/nu1) * [cLL * wL + cKK * wK + cMM * wM + 2 * dLK * (wL*wK)^(1/2) + 2 * dLM * (wL*wM)^(1/2) + 2 * dKM * (wK*wM)^(1/2)]

= q^(1/1) * [2.87782 * wL + 0.76166 * wK + -2.34519 * wM + -3.46373 * (wL*wK)^(1/2) + 2.23642 * (wL*wM)^(1/2) + 3.55856 * (wK*wM)^(1/2)]
        (***)

XXVI. Its three derived factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/1) * [2.8778 + -1.7319 * (wK / wL)^(1/2) + 1.1182 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/1) * [0.7617 + -1.7319 * (wL / wK)^(1/2) + 1.7793 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/1) * [-2.3452 + 1.1182 * (wL / wM)^(1/2) + 1.7793 * (wK / wM)^(1/2)]

    The derived factor demand elasticities are obtained by:

εL,wL = ∂ln(L(q;wL,wK,wM))/∂ln(wL) = -.5 * (q^1/nu1) / L(q;wL,wK,wM)) * (dLK * (wK/wL)^1/2 + dLM * (wM/wL)^1/2),

εL,wK = ∂ln(L(q;wL,wK,wM))/∂ln(wK) = .5 * (q^1/nu1) / L(q;wL,wK,wM)) * dLK * (wK/wL)^1/2,

εL,wM = ∂ln(L(q;wL,wK,wM))/∂ln(wM) = .5 * (q^1/nu1) / L(q;wL,wK,wM)) * dLM * (wM/wL)^1/2,

εL,q = ∂ln(L(q;wL,wK,wM))/∂ln(q) = 1/nu, etc.

      For example, with wL = 7, wK = 13, wM = 6, and q = 30:

εL,wLεL,wKεL,wMεL,q
εK,wLεK,wKεK,wMεK,q
εM,wLεM,wKεM,wMεM,q
0.4266-0.75990.33331
-0.90830.04440.86391
0.40760.8838-1.29141

XXVII. Notes:
      1. As derived, dLK = dKL, dLM = dML, and dKM = dMK: Young's Theorem holds by construction.

      2. C(q;wL,wK,wM) linear homogeneous in factor prices requires for any t > 0 that the unit cost function c(wL,wK,wM) obey:

c(t*wL,t*wK,t*wM) = t * c(wL,wK,wM).

        For example, with wL = 7, wK = 13, wM = 6, and t = 2:

2 * c(7, 13, 6) = 57.71 = 57.71 = c(14, 26,12).

      3. The matrix ∇2C of second order partial derivatives of the cost function C(q;wL,wK,wM) = h(q)*c(wL,wK,wM) is symmetric.

      4. The cost function C(q;wL,wK,wM) is a concave in factor prices if the Hessian matrix H = ∇2wwc(wL,wK,wM) of second order partial derivatives with respect to factor prices is negative semidefinite.   The values of the second order partial derivatives depend on factor prices. As an example, consider the case where wL = 7, wK = 13, and wM = 6:

H = ∇2wwc =
0.09463-0.090770.08627
-0.090770.002390.10073
0.086270.10073-0.3189

The principal minors of H are H1 = 0.094634, H2 = -0.008014, and H3 = -0.

If these principal minors alternate in sign, starting with negative, with H3 <= 0, the matrix H is negative (semi)definite,
and the cost function C(q;wL,wK,wM) is a concave function in factor prices at wL = 7, wK = 13, and wM = 6.

The eigenvalues of H are e1 = -0.3733, e2 = 0.1515, and e3 = 0.
H3 = e1 * e2 * e3 = -0.

XXVIII. Table of Results: check that the estimated Diewert cost function and input amounts for a given level of output agree with the Generalized CES production function's minimized cost and inputs. Also, compare the Allen partial elasticities of substitution, sLK, sLM, and sMK, with the Uzawa partial elasticities of substitution, uLK, uLM, and uKM.

Generalized CES-Diewert Cost Function
À4: Estimate the Diewert cost function directly
Parameters: rho = 0.17647, rhoL = 0.17647, rhoK = 0.11823, rhoM = 0.26339
 nu = 1
  —   Generalized CES Cost Data   —  
nu1 = 1
  —   Diewert Cost Data   —  
Factor SharesUzawa Elasticities2wwc(w)
obs #qwLwKwM LK MsLKsLMsKMεLKMcostest costest Lest Kest MsLsKsMuLKuLMuKLuKMuMLuMKe1e2e3
1185.64 11.484 24.8312.25 27.490.890.790.830.922390.6404.2724.2810.7635.940.3390.3060.356-30.98-32.470.982.47 -0.5990.199-0
2196.06 12.025.96 28.1314.29 23.830.90.790.830.928484.29505.6929.4114.9124.870.3520.3540.293-2.221.22-2.222.721.222.72 -0.370.1720
3206.86 14.224.42 27.4213.37 32.530.890.790.830.919522.09530.4725.6411.0244.790.3320.2950.373-3.290.94-3.292.410.942.41 -0.5620.1670
4215.24 14.15.38 34.9313.66 28.180.890.790.830.922527.32552.2424.5716.934.420.2330.4320.335-2.811.44-2.812.041.442.04 -0.4250.2160
5228.8 13.965.18 27.3516.94 34.860.890.790.830.92657.78677.1334.210.3544.730.4440.2130.342-3.290.81-3.293.370.813.37 -0.4650.1280
6237.12 14.665.84 33.616.66 32.470.890.790.830.921673.02688.1732.3315.5939.30.3340.3320.333-2.661.08-2.662.481.082.48 -0.3940.154-0
7246.42 14.264.7 35.1816.34 37.080.890.790.830.917633.11638.1830.0814.9149.460.3030.3330.364-3.091.05-3.092.261.052.26 -0.5150.1770
8258.48 13.887.92 35.1821.47 30.580.90.790.830.926838.4861.5543.5718.829.180.4290.3030.268-2.11.16-2.13.331.163.33 -0.2750.120
9266.88 14.56.1 39.3619.27 35.370.890.790.830.92765.92777.3436.8318.7941.230.3260.3510.324-2.531.15-2.532.471.152.47 -0.3720.157-0
10276.8 157.38 43.5620.58 33.130.90.790.830.922849.39863.6939.722.7834.150.3130.3960.292-2.211.36-2.212.531.362.53 -0.2970.154-0
11285.48 11.346.26 44.922.5 32.720.90.790.830.924706.08714.0944.2924.6330.680.340.3910.269-2.011.4-2.012.791.42.79 -0.3470.1850
12298.38 12.527.62 39.8826.57 35.10.90.790.830.925934.32955.0352.9921.2532.140.4650.2790.256-2.081.14-2.083.691.143.69 -0.2850.122-0
13307 136 43.7924.14 40.130.890.790.830.92861.17865.6646.5920.9944.450.3770.3150.308-2.411.08-2.412.81.082.8 -0.3730.1510
14315.88 12.97.46 52.3525.1 34.740.90.790.830.923890.73892.9948.7429.3130.610.3210.4230.256-1.931.57-1.932.81.572.8 -0.290.17-0
15325.58 11.284.26 47.124.16 47.070.890.790.830.915735.92728.0344.5620.3858.560.3420.3160.343-2.81.02-2.82.51.022.5 -0.5490.1980
16336.42 11.326.94 50.3129.26 380.90.790.830.923917.98916.1857.4428.0733.090.4030.3470.251-1.91.33-1.93.271.333.27 -0.3110.1550
17346.32 12.365.32 50.8426.97 46.780.890.790.830.917903.57895.4350.3823.4853.910.3560.3240.32-2.521.08-2.522.641.082.64 -0.4260.170
18357.16 12.464.48 47.3927.8 55.40.890.790.830.913933.9914.4351.7218.0571.250.4050.2460.349-3.140.86-3.142.960.862.96 -0.5380.1560
19367.06 13.167.84 56.6431.54 41.540.890.790.830.9221140.671128.6860.931.1936.760.3810.3640.255-1.921.36-1.923.11.363.1 -0.2760.1410
20375.44 12.24.08 56.9426.89 56.960.890.790.830.911870.16843.7446.3523.4674.840.2990.3390.362-3.051.07-3.052.241.072.24 -0.590.2090
21388.4 12.447.74 53.4636.46 45.630.890.790.830.9221255.81255.5570.0628.240.870.4690.2790.252-2.051.16-2.053.751.163.75 -0.280.1210
22395.02 12.964.78 66.5627.94 54.530.890.790.830.912956.84941.246.2629.8167.490.2470.410.343-2.861.34-2.862.061.342.06 -0.4840.2260
23405.3 13.046.22 70.4830.97 48.740.890.790.830.9161080.641067.6554.9135.4650.530.2730.4330.294-2.281.5-2.282.351.52.35 -0.3530.20
24416.92 12.325.54 59.8134.8 56.620.890.790.830.9151156.341130.3864.2726.9363.870.3930.2940.313-2.511.02-2.512.91.022.9 -0.4080.1540
25428.18 11.747.9 59.6142.05 48.660.890.790.830.9221365.781354.9579.8832.5740.390.4820.2820.235-1.931.23-1.9341.234 -0.2730.1230
26438.42 12.486.08 58.0139.7 59.720.890.790.830.9161347.031331.7573.9424.9865.360.4670.2340.298-2.620.93-2.623.580.933.58 -0.370.128-0
27446.4 14.665.06 70.1332.85 66.330.890.790.830.9091266.011211.8655.0429.1685.40.2910.3530.357-2.971.11-2.972.211.112.21 -0.470.1770
28456.58 12.55.16 67.3737.22 64.30.890.790.830.9121240.391194.966.6529.1775.910.3670.3050.328-2.641.02-2.642.691.022.69 -0.4450.1650
29467.46 13.166.56 68.9940.78 60.050.890.790.830.9151445.261402.8574.832.8462.90.3980.3080.294-2.31.1-2.32.991.12.99 -0.3370.14-0
30475.5 14.17.56 88.2737.83 53.040.890.790.830.9161419.841386.3566.5546.1948.810.2640.470.266-2.081.74-2.082.491.742.49 -0.2860.1870
31488.28 12.367.14 68.1146.71 60.260.890.790.830.9171571.481539.9786.4133.4357.60.4650.2680.267-2.191.08-2.193.641.083.64 -0.3060.1250
AVE:336.76 12.986.03 50.4324.01 48.50.890.790.830.919946.51940.9850.4324.0148.50.3620.3320.306-2.51.17-2.52.821.172.82-0.3960.1630



Mathematical Notes

1. The Diewert (Generalized Leontief) cost function

C(q;wL,wK,wM) = h(q) * c(wL,wK,wM)         (**)

where the returns to scale function is: h(q) = q^(1/nu), a continuous, increasing function of q (q >= 1), with h(0) = 0 and h(1) = 1,

and the unit cost function is: c(wL,wK,wM) = cLL * wL + cKK * wK + cMM * wM + (dLK+dKL) * (wL*wK)^(1/2) + (dLM +dML) * (wL*wM)^(1/2) + (dKM+dMK) * (wK*wM)^(1/2),

linear in its parameters cLL, cKK, cMM, dLK, dKL, dLM, dML, dKM, and dMK.

2. The Factor Demand Functions:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/nu) * [cLL + dLK * (wK / wL)^(1/2) + dLM * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/nu) * [cKK + dKL * (wL / wK)^(1/2) + dKM * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/nu) * [cMM + dML * (wL / wM)^(1/2) + dMK * (wK / wM)^(1/2)]

3. The Factor Share Functions:

sL(q;wL,wK,wM) = wL * L(q; wL, wK, wM) / C(q;wL,wK,wM) = wL * ∂C/∂wL / C(q;wL,wK,wM) ,

sK(q;wL,wK,wM)= wK * K(q; wL, wK, wM) / C(q;wL,wK,wM) = wK * ∂C/∂wK / C(q;wL,wK,wM),

sM(q;wL,wK,wM)= wM * M(q; wL, wK, wM) / C(q;wL,wK,wM) = wM * ∂C/∂wM / C(q;wL,wK,wM).

4. The Factor Demand Elasticities:

εL,wL = ∂ln(L(q;wL,wK,wM))/∂ln(wL) = -.5 * (q^1/nu) / L(q;wL,wK,wM)) * (dLK * (wK/wL)^1/2 + dLM * (wM/wL)^1/2),

εL,wK = ∂ln(L(q;wL,wK,wM))/∂ln(wK) = .5 * (q^1/nu) / L(q;wL,wK,wM)) * dLK * (wK/wL)^1/2,

εL,wM = ∂ln(L(q;wL,wK,wM))/∂ln(wM) = .5 * (q^1/nu) / L(q;wL,wK,wM)) * dLM * (wM/wL)^1/2,

εL,q = ∂ln(L(q;wL,wK,wM))/∂ln(q) = 1/nu, etc.

5. Cost Function C(q;wL,wK,wM) Concave in Factor Prices:

2c/∂wL∂wL = -.25((dLK+dKL)*wK^(1/2) + (dLM+dML)*wM^(1/2))/wL^(3/2),

2c/∂wL∂wK = .25 * (dLK+dKL)/(wL*wK)^(1/2) = ∂2c/∂wK∂wL,

2c/∂wL∂wM = .25 * (dLM+dML)/(wL*wM)^(1/2) = ∂2c/∂wM∂wL,

2c/∂wK∂wK = -.25((dKL+dLK)*wL^(1/2) + (dKM+dMK)*wM^(1/2))/wK^(3/2),

2c/∂wK∂wM = .25 * (dKM+dMK)/(wL*wK)^(1/2) = ∂2c/∂wM∂wK, and

2c/∂wM∂wM = -.25((dML+dLM)*wL^(1/2) + (dMK+dKM)*wK^(1/2))/wM^(3/2).

 

 
   

      Copyright © Elmer G. Wiens:   Egwald Web Services       All Rights Reserved.    Inquiries