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.0947060.005-19.69
dLK0.5185210.003149.641
dLM0.5126470.004120.564
R2 = 0.9995 R2b = 0.9995 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cKK-0.0589670.024-2.507
dKL0.5621250.03117.847
dKM0.3636220.02812.912
R2 = 0.966 R2b = 0.9636 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cMM-0.1037760.04-2.585
dML0.4556670.04510.2
dMK0.4111460.03312.314
R2 = 0.9656 R2b = 0.9631 # obs = 31

The three estimated factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/0.92) * [-0.0947 + 0.5185 * (wK / wL)^(1/2) + 0.5126 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/0.92) * [-0.059 + 0.5621 * (wL / wK)^(1/2) + 0.3636 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/0.92) * [-0.1038 + 0.4557 * (wL / wM)^(1/2) + 0.4111 * (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.54360.32520.21841.087
0.3434-0.54910.20571.087
0.24770.3045-0.55221.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.09471 * wL + -0.05897 * wK + -0.10378 * wM + 1.08065 * (wL*wK)^(1/2) + 0.96831 * (wL*wM)^(1/2) + 0.77477 * (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.0883120.029434-3.000332
dLK0.5322870.01990726.738257
dLM0.4851640.01959124.765027
cKK-0.0564990.018972-2.978071
dKL0.5322870.01990726.738257
dKM0.3926990.016723.515552
cMM-0.1087180.024002-4.529491
dML0.4851640.01959124.765027
dMK0.3926990.016723.515552
R2 = 0.9968 R2b = 0.9965 # 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.0883 + 0.5323 * (wK / wL)^(1/2) + 0.4852 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/0.92) * [-0.0565 + 0.5323 * (wL / wK)^(1/2) + 0.3927 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/0.92) * [-0.1087 + 0.4852 * (wL / wM)^(1/2) + 0.3927 * (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.54060.33390.20681.087
0.325-0.5470.2221.087
0.26380.291-0.55471.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.08831 * wL + -0.0565 * wK + -0.10872 * wM + 1.06457 * (wL*wK)^(1/2) + 0.97033 * (wL*wM)^(1/2) + 0.7854 * (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.75 = 42.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.08390.02790.03743
0.0279-0.025280.02223
0.037430.02223-0.09184

The principal minors of H are H1 = -0.083897, H2 = 0.001343, 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.1256, e2 = -0.0755, 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.86 11.285.4 25.8913.45 23.230.90.790.830.928428.87428.1925.8313.8622.320.3530.3650.2810.910.740.910.810.740.81 -0.145-0.087-0
2196.66 14.525.4 27.7412.94 27.410.890.790.830.923520.69521.4927.8513.3426.360.3560.3710.2730.930.710.930.810.710.81 -0.142-0.080
3206.06 13.166.26 30.9614.57 25.060.90.790.830.926536.29535.9730.8614.9424.340.3490.3670.2840.90.730.90.830.730.83 -0.137-0.076-0
4217.96 12.165.02 26.0816.67 31.580.890.790.830.923568.87569.4126.1317.1430.470.3650.3660.2690.940.750.940.750.750.75 -0.142-0.073-0
5228.02 14.927.82 32.2317.46 27.240.90.790.830.927731.97731.4632.1517.7926.630.3520.3630.2850.90.750.90.810.750.81 -0.102-0.062-0
6238.06 12.627.78 31.9420.18 27.230.90.790.830.929723.93722.9731.8520.4626.740.3550.3570.2880.880.790.880.790.790.79 -0.099-0.0650
7248.34 13.166.18 31.5719.79 33.20.890.790.830.923728.99729.2931.5820.1332.520.3610.3630.2760.920.760.920.770.760.77 -0.115-0.068-0
8255.68 12.45.8 39.3818.68 31.650.90.790.830.923638.95639.3939.3118.9331.280.3490.3670.2840.90.730.90.830.730.83 -0.146-0.0820
9266.66 11.785.02 35.8620.44 36.880.890.790.830.92664.74665.4735.9220.7136.30.360.3670.2740.930.740.930.780.740.78 -0.145-0.0830
10276.48 12.446.66 41.1321.94 32.780.90.790.830.924757.76758.1441.0322.1232.60.3510.3630.2860.890.750.890.820.750.82 -0.125-0.0730
11285.38 12.864.42 43.7319.24 41.440.890.790.830.916665.81666.8843.9419.3841.020.3540.3740.2720.940.690.940.820.690.82 -0.177-0.099-0
12298.9 14.746.28 38.9623.65 41.980.890.790.830.919959.05960.0739.0323.8441.60.3620.3660.2720.930.750.930.770.750.77 -0.114-0.064-0
13307 136 43.7924.14 40.130.890.790.830.92861.17861.9443.824.2340.060.3560.3650.2790.910.740.910.80.740.8 -0.126-0.075-0
14318.18 14.77.74 45.926.12 38.770.890.790.830.9221059.511060.4745.8526.1438.910.3540.3620.2840.90.760.90.80.760.8 -0.101-0.0620
15326.92 14.866.4 50.1124.43 42.830.890.790.830.918983.9984.7250.124.42430.3520.3680.2790.910.720.910.820.720.82 -0.125-0.072-0
16338.28 12.87.2 45.9129.9 41.460.890.790.830.9221061.331062.4345.8929.7941.830.3580.3590.2830.90.780.90.780.780.78 -0.102-0.066-0
17348.36 12.367.76 47.4332.2 40.590.90.790.830.9231109.491111.0647.4231.9941.140.3570.3560.2870.890.790.890.780.790.78 -0.096-0.065-0
18358.64 12.37.54 47.6933.5 42.840.890.790.830.9231147.11148.7147.6833.2443.490.3590.3560.2850.890.790.890.770.790.77 -0.096-0.066-0
19365.68 14.224.14 57.0124.39 58.320.890.790.830.909912.16911.6657.4324.1858.370.3580.3770.2650.960.670.960.810.670.81 -0.189-0.098-0
20377.3 12.967.76 56.8733.09 43.170.890.790.830.9211178.921180.856.7832.7644.030.3510.360.2890.880.770.880.810.770.81 -0.108-0.065-0
21387.14 13.347.04 58.5432.59 47.060.890.790.830.9191183.971185.1458.4532.2347.990.3520.3630.2850.890.750.890.810.750.81 -0.114-0.069-0
22396.04 14.145.16 62.9228.74 56.390.890.790.830.9121077.311076.4262.9928.3557.180.3530.3720.2740.930.70.930.820.70.82 -0.153-0.0860
23407.46 14.547.04 62.1733.43 51.530.890.790.830.9161312.621313.1362.0832.9752.650.3530.3650.2820.90.740.90.810.740.81 -0.113-0.067-0
24417.48 14.465 59.1831.97 64.670.890.790.830.911228.311226.759.3731.5665.260.3620.3720.2660.950.710.950.780.710.78 -0.149-0.075-0
25425.52 13.346.74 74.5533.39 49.770.890.790.830.9161192.321193.2574.1332.8551.320.3430.3670.290.880.730.880.850.730.85 -0.148-0.0720
26436.38 11.384.24 60.6235.24 66.440.890.790.830.9111069.421067.8560.7234.6967.370.3630.370.2680.940.730.940.770.730.77 -0.172-0.088-0
27446.46 11.55.5 65.4638.28 58.660.890.790.830.9151185.721185.4665.437.5460.220.3560.3640.2790.910.750.910.790.750.79 -0.136-0.083-0
28456.04 11.044.1 64.5236.82 69.240.890.790.830.911080.081077.8964.636.1270.460.3620.370.2680.940.720.940.770.720.77 -0.179-0.093-0
29467.62 135 64.1338.91 70.730.890.790.830.9111348.151345.4364.1738.1572.090.3630.3690.2680.940.730.940.760.730.76 -0.145-0.075-0
30478.72 114.74 57.1345.13 73.710.890.790.830.9121343.961341.9756.9744.3575.380.370.3640.2660.950.770.950.720.770.72 -0.15-0.0710
31488.84 14.864.44 63.3338.91 86.380.890.790.830.9061521.631516.0763.5638.2286.990.3710.3750.2550.970.710.970.740.710.74 -0.173-0.065-0
AVE:337.17 13.095.99 48.1626.98 46.130.890.790.830.919960.74960.6448.1626.9846.130.3570.3660.2770.920.740.920.790.740.79-0.134-0.075-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.0831510.08-1.04
cKK-0.0936960.045-2.105
cMM0.0923930.0821.12
2*dLK1.2467510.1111.362
2*dLM0.6963970.1076.485
2*dKM0.7026360.0848.366
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.08315 * wL + -0.0937 * wK + 0.09239 * wM + 1.24675 * (wL*wK)^(1/2) + 0.6964 * (wL*wM)^(1/2) + 0.70264 * (wK*wM)^(1/2)]
        (***)

XII. Its three derived factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/0.92) * [-0.0832 + 0.6234 * (wK / wL)^(1/2) + 0.3482 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/0.92) * [-0.0937 + 0.6234 * (wL / wK)^(1/2) + 0.3513 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/0.92) * [0.0924 + 0.3482 * (wL / wM)^(1/2) + 0.3513 * (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.53820.39010.1481.087
0.3797-0.57780.19811.087
0.19080.2623-0.45311.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.73 = 42.73 = 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.083710.032670.02686
0.03267-0.026770.01989
0.026860.01989-0.07444

The principal minors of H are H1 = -0.083706, H2 = 0.001174, 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.1088, e2 = -0.0761, 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.86 11.285.4 25.8913.45 23.230.90.790.830.928428.87427.9825.8313.8622.280.3540.3650.2811.060.531.060.720.530.72 -0.129-0.085-0
2196.66 14.525.4 27.7412.94 27.410.890.790.830.923520.69521.3928.2513.3225.90.3610.3710.2681.080.511.080.740.510.74 -0.121-0.083-0
3206.06 13.166.26 30.9614.57 25.060.90.790.830.926536.29535.6930.8714.8324.510.3490.3640.2861.060.521.060.740.520.74 -0.126-0.0730
4217.96 12.165.02 26.0816.67 31.580.890.790.830.923568.87569.7526.3817.4129.490.3680.3720.261.080.551.080.680.550.68 -0.114-0.08-0
5228.02 14.927.82 32.2317.46 27.240.90.790.830.927731.97731.1331.9817.7826.780.3510.3630.2861.050.541.050.720.540.72 -0.093-0.059-0
6238.06 12.627.78 31.9420.18 27.230.90.790.830.929723.93722.5231.3920.5527.010.350.3590.2911.050.571.050.70.570.7 -0.09-0.061-0
7248.34 13.166.18 31.5719.79 33.20.890.790.830.923728.99729.0431.6320.3531.940.3620.3670.2711.070.551.070.690.550.69 -0.095-0.072-0
8255.68 12.45.8 39.3818.68 31.650.90.790.830.923638.95639.0439.3518.831.440.350.3650.2851.060.521.060.740.520.74 -0.134-0.0780
9266.66 11.785.02 35.8620.44 36.880.890.790.830.92664.74665.4336.1820.8635.610.3620.3690.2691.070.541.070.710.540.71 -0.12-0.0880
10276.48 12.446.66 41.1321.94 32.780.90.790.830.924757.76757.8840.7622.0532.940.3490.3620.2891.050.541.050.720.540.72 -0.115-0.069-0
11285.38 12.864.42 43.7319.24 41.440.890.790.830.916665.81666.6544.7519.2840.250.3610.3720.2671.080.491.080.750.490.75 -0.152-0.101-0
12298.9 14.746.28 38.9623.65 41.980.890.790.830.919959.05960.1939.3224.140.620.3640.370.2661.070.541.070.70.540.7 -0.093-0.068-0
13307 136 43.7924.14 40.130.890.790.830.92861.17861.5843.924.2939.740.3570.3670.2771.060.531.060.720.530.72 -0.109-0.0760
14318.18 14.77.74 45.926.12 38.770.890.790.830.9221059.511059.9445.626.1739.050.3520.3630.2851.060.541.060.710.540.71 -0.091-0.060
15326.92 14.866.4 50.1124.43 42.830.890.790.830.918983.9984.1750.424.3242.810.3540.3670.2781.070.521.070.740.520.74 -0.111-0.0710
16338.28 12.87.2 45.9129.9 41.460.890.790.830.9221061.331061.5645.4730.0241.780.3550.3620.2831.050.561.050.690.560.69 -0.089-0.066-0
17348.36 12.367.76 47.4332.2 40.590.90.790.830.9231109.491110.0946.6832.2241.450.3520.3590.291.050.571.050.690.570.69 -0.087-0.062-0
18358.64 12.37.54 47.6933.5 42.840.890.790.830.9231147.11147.4547.0133.5643.570.3540.360.2861.050.581.050.680.580.68 -0.085-0.064-0
19365.68 14.224.14 57.0124.39 58.320.890.790.830.909912.1691259.0224.0856.60.3680.3750.2571.090.481.090.750.480.75 -0.157-0.1040
20377.3 12.967.76 56.8733.09 43.170.890.790.830.9211178.921180.6356.0432.7244.780.3470.3590.2941.050.551.050.710.550.71 -0.101-0.060
21387.14 13.347.04 58.5432.59 47.060.890.790.830.9191183.971184.6358.1232.248.310.350.3630.2871.050.541.050.720.540.72 -0.104-0.0660
22396.04 14.145.16 62.9228.74 56.390.890.790.830.9121077.311075.963.9528.2156.350.3590.3710.271.080.51.080.750.50.75 -0.133-0.087-0
23407.46 14.547.04 62.1733.43 51.530.890.790.830.9161312.621312.4862.0432.9352.690.3530.3650.2831.060.531.060.720.530.72 -0.101-0.0650
24417.48 14.465 59.1831.97 64.670.890.790.830.911228.311227.9560.4931.7863.180.3680.3740.2571.080.521.080.720.520.72 -0.121-0.0810
25425.52 13.346.74 74.5533.39 49.770.890.790.830.9161192.321192.9973.8632.3852.420.3420.3620.2961.050.511.050.760.510.76 -0.141-0.0660
26436.38 11.384.24 60.6235.24 66.440.890.790.830.9111069.421068.7461.6235.0465.310.3680.3730.2591.080.531.080.70.530.7 -0.14-0.096-0
27446.46 11.55.5 65.4638.28 58.660.890.790.830.9151185.721184.965.4237.6959.790.3570.3660.2781.060.541.060.710.540.71 -0.117-0.0830
28456.04 11.044.1 64.5236.82 69.240.890.790.830.911080.081078.6965.5736.4368.390.3670.3730.261.080.531.080.710.530.71 -0.145-0.101-0
29467.62 135 64.1338.91 70.730.890.790.830.9111348.151346.4865.0138.669.870.3680.3730.2591.080.541.080.70.540.7 -0.117-0.081-0
30478.72 114.74 57.1345.13 73.710.890.790.830.9121343.961342.9357.3945.4572.250.3730.3720.2551.080.581.080.650.580.65 -0.119-0.077-0
31488.84 14.864.44 63.3338.91 86.380.890.790.830.9061521.631521.8165.3238.9282.430.3790.380.241.090.531.090.690.530.69 -0.139-0.0710
AVE:337.17 13.095.99 48.3727.1 45.470.890.790.830.919960.74960.748.3727.145.470.3580.3670.2751.070.531.070.710.530.71-0.116-0.076-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.0280650.09-0.311
dLK0.7058150.06510.864
dLM0.5748220.087.21
R2 = 0.907 R2b = 0.9004 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cKK-0.080620.08-1.011
dKL0.8507050.1077.968
dKM0.3929970.0954.117
R2 = 0.8191 R2b = 0.8062 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cMM-0.2762920.013-20.648
dML0.7317380.01549.143
dMK0.5610730.01150.416
R2 = 0.9982 R2b = 0.998 # obs = 31

The three estimated factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/1) * [-0.0281 + 0.7058 * (wK / wL)^(1/2) + 0.5748 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/1) * [-0.0806 + 0.8507 * (wL / wK)^(1/2) + 0.393 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/1) * [-0.2763 + 0.7317 * (wL / wM)^(1/2) + 0.5611 * (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.50960.32810.18151
0.385-0.54970.16471
0.29490.3082-0.60311

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.02807 * wL + -0.08062 * wK + -0.27629 * wM + 1.55652 * (wL*wK)^(1/2) + 1.30656 * (wL*wM)^(1/2) + 0.95407 * (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.103140.0557-1.851713
dLK0.6978380.03767218.524217
dLM0.6688030.03707218.040418
cKK-0.0865730.035901-2.411442
dKL0.6978380.03767218.524217
dKM0.5695560.03160118.02311
cMM-0.2194720.045421-4.831957
dML0.6688030.03707218.040418
dMK0.5695560.03160118.02311
R2 = 0.9938 R2b = 0.9932 # 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.1031 + 0.6978 * (wK / wL)^(1/2) + 0.6688 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/1) * [-0.0866 + 0.6978 * (wL / wK)^(1/2) + 0.5696 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/1) * [-0.2195 + 0.6688 * (wL / wM)^(1/2) + 0.5696 * (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.53520.32410.2111
0.3151-0.55330.23811
0.26930.3125-0.58181

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.10314 * wL + -0.08657 * wK + -0.21947 * wM + 1.39568 * (wL*wK)^(1/2) + 1.33761 * (wL*wM)^(1/2) + 1.13911 * (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.76 = 57.76 = 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.112160.036580.0516
0.03658-0.034580.03224
0.05160.03224-0.13006

The principal minors of H are H1 = -0.112156, H2 = 0.00254, 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.1735, e2 = -0.1033, 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.86 11.285.4 25.8913.45 23.230.90.790.830.928428.87449.9327.1314.5923.410.3530.3660.2810.880.760.880.870.760.87 -0.199-0.119-0
2196.66 14.525.4 27.7412.94 27.410.890.790.830.923520.69545.3829.0613.9327.690.3550.3710.2740.910.720.910.860.720.86 -0.197-0.109-0
3206.06 13.166.26 30.9614.57 25.060.90.790.830.926536.29558.0632.115.625.290.3490.3680.2840.870.750.870.890.750.89 -0.186-0.106-0
4217.96 12.165.02 26.0816.67 31.580.890.790.830.923568.87590.3327.117.7231.690.3650.3650.2690.920.760.920.80.760.8 -0.2-0.0980
5228.02 14.927.82 32.2317.46 27.240.90.790.830.927731.97755.2433.218.4227.380.3530.3640.2840.870.770.870.870.770.87 -0.14-0.085-0
6238.06 12.627.78 31.9420.18 27.230.90.790.830.929723.93743.4532.8221.1227.290.3560.3590.2860.850.810.850.850.810.85 -0.135-0.09-0
7248.34 13.166.18 31.5719.79 33.20.890.790.830.923728.99747.432.3820.6233.330.3610.3630.2760.890.770.890.820.770.82 -0.161-0.092-0
8255.68 12.45.8 39.3818.68 31.650.90.790.830.923638.95652.9640.0919.3831.880.3490.3680.2830.870.740.870.890.740.89 -0.2-0.114-0
9266.66 11.785.02 35.8620.44 36.880.890.790.830.92664.74677.2436.5521.0637.010.3590.3660.2740.90.750.90.840.750.84 -0.202-0.113-0
10276.48 12.446.66 41.1321.94 32.780.90.790.830.924757.76768.9541.6322.5132.90.3510.3640.2850.860.770.860.880.770.88 -0.17-0.1020
11285.38 12.864.42 43.7319.24 41.440.890.790.830.916665.81674.2944.319.5641.720.3530.3730.2730.910.70.910.870.70.87 -0.246-0.134-0
12298.9 14.746.28 38.9623.65 41.980.890.790.830.919959.05967.8239.352442.030.3620.3650.2730.910.760.910.820.760.82 -0.16-0.0860
13307 136 43.7924.14 40.130.890.790.830.92861.17866.3644.0124.3740.240.3560.3660.2790.890.760.890.850.760.85 -0.173-0.103-0
14318.18 14.77.74 45.926.12 38.770.890.790.830.9221059.511062.7845.9726.2738.840.3540.3630.2830.870.780.870.860.780.86 -0.138-0.0860
15326.92 14.866.4 50.1124.43 42.830.890.790.830.918983.9984.2750.0124.43430.3520.3690.280.890.740.890.880.740.88 -0.172-0.10
16338.28 12.87.2 45.9129.9 41.460.890.790.830.9221061.331058.9545.8129.7641.490.3580.360.2820.870.80.870.840.80.84 -0.14-0.0910
17348.36 12.367.76 47.4332.2 40.590.90.790.830.9231109.491104.3747.2531.9140.580.3580.3570.2850.850.810.850.840.810.84 -0.132-0.09-0
18358.64 12.37.54 47.6933.5 42.840.890.790.830.9231147.11139.0147.433.0542.840.360.3570.2840.860.810.860.830.810.83 -0.132-0.09-0
19365.68 14.224.14 57.0124.39 58.320.890.790.830.909912.16901.5956.5923.8258.30.3570.3760.2680.930.680.930.870.680.87 -0.264-0.1320
20377.3 12.967.76 56.8733.09 43.170.890.790.830.9211178.921165.0756.132.4843.110.3520.3610.2870.850.790.850.870.790.87 -0.147-0.090
21387.14 13.347.04 58.5432.59 47.060.890.790.830.9191183.971166.8757.5631.8347.050.3520.3640.2840.870.770.870.870.770.87 -0.156-0.0950
22396.04 14.145.16 62.9228.74 56.390.890.790.830.9121077.311057.5361.7327.8356.430.3530.3720.2750.910.710.910.880.710.88 -0.211-0.118-0
23407.46 14.547.04 62.1733.43 51.530.890.790.830.9161312.621287.2360.8332.3851.50.3530.3660.2820.880.760.880.870.760.87 -0.154-0.0920
24417.48 14.465 59.1831.97 64.670.890.790.830.911228.311199.6857.9730.7664.250.3610.3710.2680.930.720.930.830.720.83 -0.208-0.101-0
25425.52 13.346.74 74.5533.39 49.770.890.790.830.9161192.321164.7972.2732.2249.860.3420.3690.2880.850.740.850.910.740.91 -0.2-0.101-0
26436.38 11.384.24 60.6235.24 66.440.890.790.830.9111069.421040.0959.0933.6965.960.3620.3690.2690.920.740.920.820.740.82 -0.242-0.119-0
27446.46 11.55.5 65.4638.28 58.660.890.790.830.9151185.721152.4963.5836.5358.470.3560.3650.2790.880.770.880.850.770.85 -0.187-0.113-0
28456.04 11.044.1 64.5236.82 69.240.890.790.830.911080.081045.7362.6134.9568.710.3620.3690.2690.920.740.920.830.740.83 -0.251-0.125-0
29467.62 135 64.1338.91 70.730.890.790.830.9111348.151302.8462.136.8470.130.3630.3680.2690.920.750.920.820.750.82 -0.204-0.1-0
30478.72 114.74 57.1345.13 73.710.890.790.830.9121343.961297.2955.1742.7173.10.3710.3620.2670.920.790.920.770.790.77 -0.211-0.0950
31488.84 14.864.44 63.3338.91 86.380.890.790.830.9061521.631461.9161.2336.6284.780.370.3720.2570.950.720.950.790.720.79 -0.244-0.0860
AVE:337.17 13.095.99 47.8426.81 45.810.890.790.830.919960.74954.5147.8426.8145.810.3570.3660.2770.890.760.890.850.760.85-0.186-0.103-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.2533272.4110.935
cKK0.7034211.3410.524
cMM4.6377142.4871.865
2*dLK1.6745663.3080.506
2*dLM-4.1211363.237-1.273
2*dKM-1.5209842.532-0.601
R2 = 0.96 R2b = 0.952 # 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.25333 * wL + 0.70342 * wK + 4.63771 * wM + 1.67457 * (wL*wK)^(1/2) + -4.12114 * (wL*wM)^(1/2) + -1.52098 * (wK*wM)^(1/2)]
        (***)

XXVI. Its three derived factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/1) * [2.2533 + 0.8373 * (wK / wL)^(1/2) + -2.0606 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/1) * [0.7034 + 0.8373 * (wL / wK)^(1/2) + -0.7605 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/1) * [4.6377 + -2.0606 * (wL / wM)^(1/2) + -0.7605 * (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.25790.3838-0.64161
0.3834-0.061-0.32241
-0.8609-0.4331.29391

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.15 = 57.15 = 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.054760.04389-0.15898
0.04389-0.00376-0.04305
-0.15898-0.043050.27876

The principal minors of H are H1 = 0.054764, H2 = -0.002132, 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.0406, e2 = 0.3704, 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.86 11.285.4 25.8913.45 23.230.90.790.830.928428.87445.3925.8714.0525.060.340.3560.3041.14-2.271.14-1.11-2.27-1.11 -0.0460.4130
2196.66 14.525.4 27.7412.94 27.410.890.790.830.923520.69542.4431.0515.3320.940.3810.410.2080.92-2.720.92-1.38-2.72-1.38 -0.0460.4170
3206.06 13.166.26 30.9614.57 25.060.90.790.830.926536.29554.2127.8614.9430.150.3050.3550.3411.25-2.211.25-1.03-2.21-1.03 -0.0410.360
4217.96 12.165.02 26.0816.67 31.580.890.790.830.923568.87594.5534.6918.7418.050.4640.3830.1520.82-3.250.82-1.8-3.25-1.8 -0.0440.45-0
5228.02 14.927.82 32.2317.46 27.240.90.790.830.927731.97749.8829.9316.8733.010.320.3360.3441.25-2.171.25-1.04-2.17-1.04 -0.0320.2860
6238.06 12.627.78 31.9420.18 27.230.90.790.830.929723.93742.9929.3617.8436.150.3190.3030.3791.35-2.091.35-1.02-2.09-1.02 -0.0310.2860
7248.34 13.166.18 31.5719.79 33.20.890.790.830.923728.99742.8336.7520.3727.220.4130.3610.2260.95-2.560.95-1.36-2.56-1.36 -0.0380.3590
8255.68 12.45.8 39.3818.68 31.650.90.790.830.923638.95648.0235.2118.7537.170.3090.3590.3331.22-2.221.22-1.04-2.22-1.04 -0.0440.3880
9266.66 11.785.02 35.8620.44 36.880.890.790.830.92664.74672.9341.0321.7528.580.4060.3810.2130.93-2.660.93-1.39-2.66-1.39 -0.0470.444-0
10276.48 12.446.66 41.1321.94 32.780.90.790.830.924757.76765.6335.7620.2842.280.3030.330.3681.33-2.141.33-1.01-2.14-1.01 -0.0370.3380
11285.38 12.864.42 43.7319.24 41.440.890.790.830.916665.81672.9247.0422.3829.880.3760.4280.1960.9-2.830.9-1.42-2.83-1.42 -0.0580.512-0
12298.9 14.746.28 38.9623.65 41.980.890.790.830.919959.05965.2446.424.8729.570.4280.380.1920.89-2.810.89-1.5-2.81-1.5 -0.0370.3560
13307 136 43.7924.14 40.130.890.790.830.92861.17857.3244.624.0338.780.3640.3640.2711.05-2.361.05-1.19-2.36-1.19 -0.0410.370
14318.18 14.77.74 45.926.12 38.770.890.790.830.9221059.511054.4842.5124.0645.610.330.3350.3351.22-2.181.22-1.06-2.18-1.06 -0.0320.2880
15326.92 14.866.4 50.1124.43 42.830.890.790.830.918983.9974.3947.9624.8242.760.3410.3790.2811.08-2.351.08-1.15-2.35-1.15 -0.040.350
16338.28 12.87.2 45.9129.9 41.460.890.790.830.9221061.331051.7445.326.6146.660.3570.3240.3191.17-2.191.17-1.11-2.19-1.11 -0.0330.3060
17348.36 12.367.76 47.4332.2 40.590.90.790.830.9231109.491103.4343.7326.8452.330.3310.3010.3681.32-2.11.32-1.04-2.1-1.04 -0.0310.2850
18358.64 12.37.54 47.6933.5 42.840.890.790.830.9231147.11135.4646.4628.3451.120.3540.3070.3391.23-2.141.23-1.08-2.14-1.08 -0.0320.292-0
19365.68 14.224.14 57.0124.39 58.320.890.790.830.909912.16914.2965.4829.629.330.4070.460.1330.79-3.640.79-1.88-3.64-1.88 00.557-0.0614
20377.3 12.967.76 56.8733.09 43.170.890.790.830.9211178.921168.1446.0427.561.280.2880.3050.4071.47-2.11.47-0.97-2.1-0.97 -0.0310.2910
21387.14 13.347.04 58.5432.59 47.060.890.790.830.9191183.971159.2651.3629.0157.60.3160.3340.351.27-2.161.27-1.03-2.16-1.03 -0.0350.318-0
22396.04 14.145.16 62.9228.74 56.390.890.790.830.9121077.311051.5863.5630.8644.830.3650.4150.220.95-2.660.95-1.32-2.66-1.32 -0.050.4370
23407.46 14.547.04 62.1733.43 51.530.890.790.830.9161312.621274.9356.8230.9656.950.3320.3530.3141.17-2.241.17-1.09-2.24-1.09 -0.0350.317-0
24417.48 14.465 59.1831.97 64.670.890.790.830.911228.311209.2871.0435.233.790.4390.4210.140.8-3.480.8-1.86-3.48-1.86 -0.0460.4570
25425.52 13.346.74 74.5533.39 49.770.890.790.830.9161192.321171.453.6829.4671.530.2530.3360.4121.52-2.161.52-0.94-2.16-0.94 -0.0380.3450
26436.38 11.384.24 60.6235.24 66.440.890.790.830.9111069.421045.5172.7537.2437.160.4440.4050.1510.82-3.290.82-1.78-3.29-1.78 00.535-0.0534
27446.46 11.55.5 65.4638.28 58.660.890.790.830.9151185.721140.7264.6435.4257.410.3660.3570.2771.06-2.341.06-1.18-2.34-1.18 -0.0440.4030
28456.04 11.044.1 64.5236.82 69.240.890.790.830.911080.081049.5675.9438.67400.4370.4070.1560.82-3.220.82-1.73-3.22-1.73 00.553-0.0558
29467.62 135 64.1338.91 70.730.890.790.830.9111348.151309.6177.1840.1539.910.4490.3990.1520.82-3.260.82-1.77-3.26-1.77 -0.0450.4530
30478.72 114.74 57.1345.13 73.710.890.790.830.9121343.961329.7378.744.6432.170.5160.3690.1150.76-3.960.76-2.29-3.96-2.29 -0.0440.483-0
31488.84 14.864.44 63.3338.91 86.380.890.790.830.9061521.631535.290.1744.8116.270.5190.4340.0470.67-8.260.67-4.73-8.26-4.73 00.542-0.0447
AVE:337.17 13.095.99 50.2926.92 39.150.890.790.830.919960.74955.9150.2926.9239.150.3730.3670.2591.06-2.781.06-1.43-2.78-1.43-0.0350.393-0.007



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