www.egwald.com Egwald Web Services

Egwald Web Services
Domain Names
Web Site Design

Egwald Website Search Twitter - Follow Elmer Wiens Radio 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 FunctionsGraduate EssaysReferences & Links
 

Egwald Economics: Microeconomics

Cost Functions

by

Elmer G. Wiens

Egwald's popular web pages are provided without cost to users.
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.103140.004-24.749
dLK0.5206040.003171.658
dLM0.5184710.004138.639
R2 = 0.9997 R2b = 0.9996 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cKK-0.0564660.022-2.559
dKL0.5159240.0317.122
dKM0.4103180.02814.881
R2 = 0.9693 R2b = 0.9672 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cMM-0.1675080.04-4.192
dML0.5212680.04312.196
dMK0.4059540.03113.196
R2 = 0.9713 R2b = 0.9692 # obs = 31

The three estimated factor demand functions are:

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

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

∂C/∂wM = M(q; wL, wK, wM) = q^(1/0.92) * [-0.1675 + 0.5213 * (wL / wM)^(1/2) + 0.406 * (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.54750.32650.22091.087
0.315-0.5470.2321.087
0.28350.3009-0.58431.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.10314 * wL + -0.05647 * wK + -0.16751 * wM + 1.03653 * (wL*wK)^(1/2) + 1.03974 * (wL*wM)^(1/2) + 0.81627 * (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.1028770.027173-3.785976
dLK0.5195590.01846128.143418
dLM0.5197780.01843728.191691
cKK-0.0569860.017376-3.27967
dKL0.5195590.01846128.143418
dKM0.4070090.01537626.470033
cMM-0.1674460.023405-7.154202
dML0.5197780.01843728.191691
dMK0.4070090.01537626.470033
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.1029 + 0.5196 * (wK / wL)^(1/2) + 0.5198 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/0.92) * [-0.057 + 0.5196 * (wL / wK)^(1/2) + 0.407 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/0.92) * [-0.1674 + 0.5198 * (wL / wM)^(1/2) + 0.407 * (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.54730.32590.22151.087
0.3173-0.54740.23011.087
0.28270.3016-0.58431.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.10288 * wL + -0.05699 * wK + -0.16745 * wM + 1.03912 * (wL*wK)^(1/2) + 1.03956 * (wL*wM)^(1/2) + 0.81402 * (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.084950.027230.0401
0.02723-0.02530.02304
0.04010.02304-0.09671

The principal minors of H are H1 = -0.084947, H2 = 0.001407, 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.1314, e2 = -0.0756, 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.98 13.145.9 27.4412.7 23.230.90.790.830.927467.98467.5327.3913.122.290.350.3680.2810.880.780.880.860.780.86 -0.146-0.0810
2196.84 14.846.44 28.6613.45 25.10.90.790.830.925557.24557.1228.6413.8424.20.3520.3690.280.890.770.890.850.770.85 -0.131-0.073-0
3206.04 12.95.04 29.3313.97 28.220.890.790.830.923499.58500.1229.3614.3527.320.3550.370.2750.910.760.910.840.760.84 -0.16-0.0870
4215.76 11.765.4 31.2915.57 27.330.90.790.830.925510.97510.931.2715.9426.540.3530.3670.2810.890.780.890.840.780.84 -0.154-0.0870
5227.74 12.385.32 28.3817.48 31.910.890.790.830.923605.75606.0828.3617.8631.10.3620.3650.2730.910.80.910.790.80.79 -0.141-0.074-0
6235.4 12.124.42 34.5415.88 33.370.890.790.830.919526.41527.3634.6116.1832.660.3540.3720.2740.910.750.910.840.750.84 -0.183-0.098-0
7248.42 12.145.9 30.320.55 33.40.890.790.830.924701.57701.6430.2520.8632.820.3630.3610.2760.90.820.90.780.820.78 -0.125-0.070
8257.9 11.124.6 30.1720.9 38.530.890.790.830.92648.04648.6530.121.2637.920.3670.3640.2690.930.810.930.760.810.76 -0.164-0.075-0
9265.94 12.864.3 37.9718.12 40.170.890.790.830.916631.27632.538.118.3439.60.3580.3730.2690.930.740.930.820.740.82 -0.185-0.092-0
10276.92 14.345.94 40.4920.15 37.260.890.790.830.919790.48791.3340.5120.3536.890.3540.3690.2770.90.770.90.840.770.84 -0.136-0.0750
11287.66 13.825.28 38.3721.56 42.160.890.790.830.917814.42815.4238.421.7541.790.3610.3690.2710.920.780.920.80.780.8 -0.146-0.0730
12298.04 14.324.04 37.1321.07 52.520.890.790.830.912812.45814.0937.2721.3251.770.3680.3750.2570.960.750.960.770.750.77 -0.203-0.070
13307 136 43.7924.14 40.130.890.790.830.92861.17861.8643.8124.2340.050.3560.3650.2790.890.790.890.830.790.83 -0.131-0.0760
14318.76 11.987.12 40.6329.33 39.030.90.790.830.924985.26986.0540.6729.339.160.3610.3560.2830.880.850.880.790.850.79 -0.103-0.0670
15328.42 13.324.12 39.5525.03 56.880.890.790.830.912900.81901.5339.5425.1956.550.3690.3720.2580.960.770.960.750.770.75 -0.196-0.0680
16338.22 12.267.42 45.7730.77 40.130.890.790.830.9231051.181052.2845.8730.6440.380.3580.3570.2850.870.850.870.810.850.81 -0.104-0.0670
17346.8 14.16.52 53.3426.92 44.120.890.790.830.9181029.931030.653.3326.8244.440.3520.3670.2810.880.780.880.850.780.85 -0.129-0.073-0
18357.4 11.325.1 46.3630.49 50.290.890.790.830.917944.68945.0946.3130.3450.780.3630.3630.2740.910.810.910.780.810.78 -0.146-0.0780
19366.88 11.645.52 51.0630.84 48.780.890.790.830.918979.53980.0551.0630.6249.350.3580.3640.2780.890.810.890.810.810.81 -0.138-0.08-0
20378.26 12.265.38 48.1932.62 54.520.890.790.830.9161091.291091.448.132.3755.260.3640.3640.2720.920.810.920.770.810.77 -0.139-0.07-0
21385.1 12.447.52 69.9830.98 40.420.890.790.830.9211046.261047.7269.8530.8740.880.340.3670.2930.830.80.830.910.80.91 -0.163-0.067-0
22397.22 11.27.42 57.237.56 44.570.890.790.830.9221164.371166.557.4537.0845.340.3560.3560.2880.850.850.850.830.850.83 -0.112-0.071-0
23408.2 11.425.78 52.2637.61 55.230.890.790.830.9171177.241177.7352.1937.0956.440.3630.360.2770.90.830.90.780.830.78 -0.127-0.072-0
24416.48 13.964.66 62.3230.64 64.050.890.790.830.911130.081127.9462.3230.1365.120.3580.3730.2690.930.740.930.820.740.82 -0.171-0.085-0
25428.8 14.16.08 57.4736.67 61.30.890.790.830.9141395.481394.4857.3636.0862.650.3620.3650.2730.910.80.910.790.80.79 -0.124-0.065-0
26435.66 13.764.2 68.8730.55 68.570.890.790.830.9071098.21094.7668.8829.8869.930.3560.3760.2680.930.720.930.840.720.84 -0.194-0.097-0
27445.98 11.266.8 71.0639.68 50.360.890.790.830.9191214.171215.7671.1939.0151.590.350.3610.2890.850.820.850.860.820.86 -0.136-0.0750
28457.94 14.54.66 62.635.69 75.540.890.790.830.9081366.631362.2262.534.98770.3640.3720.2630.950.760.950.780.760.78 -0.17-0.071-0
29467.66 14.586.22 69.5738.43 64.450.890.790.830.9121494.161491.969.4537.5766.260.3570.3670.2760.90.780.90.820.780.82 -0.126-0.070
30476.06 14.584.38 75.2733.86 76.060.890.790.830.9061283.011277.0475.2132.9177.940.3570.3760.2670.940.720.940.830.720.83 -0.186-0.091-0
31485.64 14.184.46 79.6734.56 74.680.890.790.830.9061272.521266.5779.5233.5376.810.3540.3750.270.930.720.930.850.720.85 -0.185-0.096-0
AVE:337.07 12.955.55 48.0326.57 47.450.890.790.830.917937.17936.9148.0326.5747.450.3580.3670.2750.90.790.90.820.790.82-0.15-0.077-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
cLL0.0339510.120.282
cKK0.0831090.0581.426
cMM-0.2260930.069-3.299
2*dLK0.7254510.1594.572
2*dLM1.1915620.09412.663
2*dKM0.7649640.17.681
R2 = 0.9998 R2b = 0.9997 # 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.03395 * wL + 0.08311 * wK + -0.22609 * wM + 0.72545 * (wL*wK)^(1/2) + 1.19156 * (wL*wM)^(1/2) + 0.76496 * (wK*wM)^(1/2)]
        (***)

XII. Its three derived factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/0.92) * [0.034 + 0.3627 * (wK / wL)^(1/2) + 0.5958 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/0.92) * [0.0831 + 0.3627 * (wL / wK)^(1/2) + 0.3825 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/0.92) * [-0.2261 + 0.5958 * (wL / wM)^(1/2) + 0.3825 * (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.48430.22890.25541.087
0.2185-0.43180.21331.087
0.32820.2871-0.61531.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.72 = 42.72 = 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.074710.019010.04597
0.01901-0.020230.02165
0.045970.02165-0.10054

The principal minors of H are H1 = -0.074707, H2 = 0.00115, 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.1357, e2 = -0.0598, 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.98 13.145.9 27.4412.7 23.230.90.790.830.927467.98467.6126.9313.5221.860.3440.380.2760.610.920.610.80.920.8 -0.147-0.0660
2196.84 14.846.44 28.6613.45 25.10.90.790.830.925557.24557.2828.1414.2723.770.3450.380.2750.610.920.610.790.920.79 -0.132-0.059-0
3206.04 12.95.04 29.3313.97 28.220.890.790.830.923499.58500.4428.7614.826.940.3470.3820.2710.630.910.630.770.910.77 -0.165-0.069-0
4215.76 11.765.4 31.2915.57 27.330.90.790.830.925510.97510.7430.916.3126.10.3480.3760.2760.610.930.610.790.930.79 -0.156-0.07-0
5227.74 12.385.32 28.3817.48 31.910.890.790.830.923605.75605.7528.417.8630.970.3630.3650.2720.640.920.640.740.920.74 -0.149-0.057-0
6235.4 12.124.42 34.5415.88 33.370.890.790.830.919526.41528.0733.7316.832.20.3450.3860.2690.630.90.630.770.90.77 -0.189-0.077-0
7248.42 12.145.9 30.320.55 33.40.890.790.830.924701.57701.3830.6320.6232.720.3680.3570.2750.630.940.630.740.940.74 -0.132-0.054-0
8257.9 11.124.6 30.1720.9 38.530.890.790.830.92648.04648.4730.392138.010.370.360.270.650.920.650.720.920.72 -0.173-0.0580
9265.94 12.864.3 37.9718.12 40.170.890.790.830.916631.27633.3337.0919.0139.20.3480.3860.2660.640.890.640.750.890.75 -0.193-0.072-0
10276.92 14.345.94 40.4920.15 37.260.890.790.830.919790.48791.539.8520.936.370.3480.3790.2730.620.910.620.780.910.78 -0.139-0.060
11287.66 13.825.28 38.3721.56 42.160.890.790.830.917814.42815.233822.0641.540.3570.3740.2690.640.910.640.750.910.75 -0.153-0.056-0
12298.04 14.324.04 37.1321.07 52.520.890.790.830.912812.45813.9736.5521.6951.870.3610.3820.2570.670.870.670.710.870.71 -0.213-0.0540
13307 136 43.7924.14 40.130.890.790.830.92861.17861.3343.5424.5639.530.3540.3710.2750.620.930.620.770.930.77 -0.136-0.060
14318.76 11.987.12 40.6329.33 39.030.90.790.830.924985.26985.7841.5928.7638.90.370.3490.2810.610.960.610.760.960.76 -0.109-0.0530
15328.42 13.324.12 39.5525.03 56.880.890.790.830.912900.81900.9639.2325.2756.810.3670.3740.260.670.880.670.70.880.7 -0.206-0.052-0
16338.22 12.267.42 45.7730.77 40.130.890.790.830.9231051.181051.2846.6530.3139.920.3650.3530.2820.60.960.60.780.960.78 -0.107-0.054-0
17346.8 14.16.52 53.3426.92 44.120.890.790.830.9181029.931030.3152.6527.4943.650.3480.3760.2760.610.930.610.790.930.79 -0.131-0.0590
18357.4 11.325.1 46.3630.49 50.290.890.790.830.917944.68944.5946.5930.1950.610.3650.3620.2730.630.930.630.740.930.74 -0.154-0.06-0
19366.88 11.645.52 51.0630.84 48.780.890.790.830.918979.53979.3151.130.7448.890.3590.3650.2760.620.930.620.760.930.76 -0.144-0.063-0
20378.26 12.265.38 48.1932.62 54.520.890.790.830.9161091.291090.9348.4532.1255.180.3670.3610.2720.640.920.640.730.920.73 -0.146-0.054-0
21385.1 12.447.52 69.9830.98 40.420.890.790.830.9211046.261046.0669.0331.9539.440.3370.380.2840.560.960.560.860.960.86 -0.154-0.059-0
22397.22 11.27.42 57.237.56 44.570.890.790.830.9221164.371164.758.4436.7744.60.3620.3540.2840.590.980.590.80.980.8 -0.113-0.058-0
23408.2 11.425.78 52.2637.61 55.230.890.790.830.9171177.241177.4853.0436.5356.290.3690.3540.2760.630.940.630.740.940.74 -0.134-0.056-0
24416.48 13.964.66 62.3230.64 64.050.890.790.830.911130.081129.3860.6831.2164.470.3480.3860.2660.640.890.640.750.890.75 -0.178-0.066-0
25428.8 14.16.08 57.4736.67 61.30.890.790.830.9141395.481393.757.4536.0962.380.3630.3650.2720.640.920.640.740.920.74 -0.13-0.05-0
26435.66 13.764.2 68.8730.55 68.570.890.790.830.9071098.21098.166.3631.4369.050.3420.3940.2640.650.870.650.760.870.76 -0.201-0.075-0
27445.98 11.266.8 71.0639.68 50.360.890.790.830.9191214.171213.5171.3639.4250.430.3520.3660.2830.580.960.580.820.960.82 -0.134-0.0630
28457.94 14.54.66 62.635.69 75.540.890.790.830.9081366.631362.2461.4435.6176.840.3580.3790.2630.660.890.660.730.890.73 -0.178-0.054-0
29467.66 14.586.22 69.5738.43 64.450.890.790.830.9121494.161491.4668.7438.2465.50.3530.3740.2730.620.920.620.770.920.77 -0.131-0.0550
30476.06 14.584.38 75.2733.86 76.060.890.790.830.9061283.011280.8372.4634.5977.020.3430.3940.2630.650.870.650.760.870.76 -0.193-0.070
31485.64 14.184.46 79.6734.56 74.680.890.790.830.9061272.521270.8776.5535.3875.670.340.3950.2660.640.880.640.770.880.77 -0.19-0.075-0
AVE:337.07 12.955.55 47.5726.95 46.990.890.790.830.917937.17936.9947.5726.9546.990.3550.3730.2720.630.920.630.760.920.76-0.155-0.061-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.1421940.085-1.676
dLK0.7154770.06211.59
dLM0.6851510.0769.001
R2 = 0.9268 R2b = 0.9215 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cKK-0.0790530.072-1.093
dKL0.6975480.0997.065
dKM0.5585220.096.182
R2 = 0.8442 R2b = 0.833 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cMM-0.2632580.014-19.334
dML0.7011480.01548.143
dMK0.5743880.0154.791
R2 = 0.9982 R2b = 0.9981 # obs = 31

The three estimated factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/1) * [-0.1422 + 0.7155 * (wK / wL)^(1/2) + 0.6852 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/1) * [-0.0791 + 0.6975 * (wL / wK)^(1/2) + 0.5585 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/1) * [-0.2633 + 0.7011 * (wL / wM)^(1/2) + 0.5744 * (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.54850.33230.21621
0.3151-0.54870.23361
0.28270.3156-0.59831

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.14219 * wL + -0.07905 * wK + -0.26326 * wM + 1.41302 * (wL*wK)^(1/2) + 1.3863 * (wL*wM)^(1/2) + 1.13291 * (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.1412240.048477-2.913207
dLK0.7068670.03293521.462534
dLM0.6972750.03289221.198636
cKK-0.0953760.030998-3.076784
dKL0.7068670.03293521.462534
dKM0.5729420.02743120.886312
cMM-0.256610.041755-6.145574
dML0.6972750.03289221.198636
dMK0.5729420.02743120.886312
R2 = 0.9945 R2b = 0.994 # 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.1412 + 0.7069 * (wK / wL)^(1/2) + 0.6973 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/1) * [-0.0954 + 0.7069 * (wL / wK)^(1/2) + 0.5729 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/1) * [-0.2566 + 0.6973 * (wL / wM)^(1/2) + 0.5729 * (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.54810.32820.21991
0.3192-0.55870.23951
0.2810.3147-0.59581

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.14122 * wL + -0.09538 * wK + -0.25661 * wM + 1.41373 * (wL*wK)^(1/2) + 1.39455 * (wL*wM)^(1/2) + 1.14588 * (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.114920.037050.0538
0.03705-0.034920.03244
0.05380.03244-0.13304

The principal minors of H are H1 = -0.114918, H2 = 0.00264, 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.1785, e2 = -0.1043, 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.98 13.145.9 27.4412.7 23.230.90.790.830.927467.98491.2728.7913.7823.410.350.3680.2810.890.770.890.890.770.89 -0.198-0.112-0
2196.84 14.846.44 28.6613.45 25.10.90.790.830.925557.24582.6829.9514.4825.30.3520.3690.280.90.770.90.890.770.89 -0.177-0.101-0
3206.04 12.95.04 29.3313.97 28.220.890.790.830.923499.58520.7230.5814.9328.470.3550.370.2760.910.760.910.870.760.87 -0.217-0.120
4215.76 11.765.4 31.2915.57 27.330.90.790.830.925510.97529.732.4216.5427.490.3530.3670.280.890.780.890.880.780.88 -0.208-0.12-0
5227.74 12.385.32 28.3817.48 31.910.890.790.830.923605.75625.8629.2818.4632.090.3620.3650.2730.920.80.920.820.80.82 -0.193-0.101-0
6235.4 12.124.42 34.5415.88 33.370.890.790.830.919526.41542.4435.6216.6233.650.3550.3710.2740.920.740.920.870.740.87 -0.249-0.1350
7248.42 12.145.9 30.320.55 33.40.890.790.830.924701.57719.0330.9921.4333.560.3630.3620.2750.910.820.910.810.820.81 -0.17-0.096-0
8257.9 11.124.6 30.1720.9 38.530.890.790.830.92648.04662.430.7421.7238.70.3670.3650.2690.940.810.940.790.810.79 -0.224-0.102-0
9265.94 12.864.3 37.9718.12 40.170.890.790.830.916631.27643.6638.7918.6240.40.3580.3720.270.940.740.940.860.740.86 -0.253-0.1270
10276.92 14.345.94 40.4920.15 37.260.890.790.830.919790.48802.7241.120.6437.430.3540.3690.2770.910.770.910.870.770.87 -0.184-0.104-0
11287.66 13.825.28 38.3721.56 42.160.890.790.830.917814.42824.5538.8421.9842.280.3610.3680.2710.930.770.930.830.770.83 -0.199-0.1-0
12298.04 14.324.04 37.1321.07 52.520.890.790.830.912812.45820.5637.621.4252.370.3680.3740.2580.970.740.970.80.740.8 -0.278-0.096-0
13307 136 43.7924.14 40.130.890.790.830.92861.17866.2844.0324.3840.20.3560.3660.2780.90.790.90.860.790.86 -0.179-0.1040
14318.76 11.987.12 40.6329.33 39.030.90.790.830.924985.26988.0440.7429.4739.060.3610.3570.2810.880.850.880.830.850.83 -0.141-0.0930
15328.42 13.324.12 39.5525.03 56.880.890.790.830.912900.81901.0439.5425.1356.650.3690.3710.2590.970.760.970.780.760.78 -0.268-0.093-0
16338.22 12.267.42 45.7730.77 40.130.890.790.830.9231051.181048.6845.6930.6640.050.3580.3580.2830.870.840.870.850.840.85 -0.141-0.093-0
17346.8 14.16.52 53.3426.92 44.120.890.790.830.9181029.931024.6753.0226.6944.130.3520.3670.2810.890.780.890.880.780.88 -0.175-0.101-0
18357.4 11.325.1 46.3630.49 50.290.890.790.830.917944.68937.2845.9230.1250.290.3630.3640.2740.920.810.920.820.810.82 -0.2-0.107-0
19366.88 11.645.52 51.0630.84 48.780.890.790.830.918979.53969.5650.530.3348.740.3580.3640.2770.90.80.90.840.80.84 -0.188-0.11-0
20378.26 12.265.38 48.1932.62 54.520.890.790.830.9161091.291077.1847.4631.9854.470.3640.3640.2720.920.810.920.810.810.81 -0.189-0.097-0
21385.1 12.447.52 69.9830.98 40.420.890.790.830.9211046.261031.4668.7630.540.070.340.3680.2920.830.80.830.950.80.95 -0.221-0.094-0
22397.22 11.27.42 57.237.56 44.570.890.790.830.9221164.371145.5956.436.644.270.3550.3580.2870.850.850.850.870.850.87 -0.151-0.099-0
23408.2 11.425.78 52.2637.61 55.230.890.790.830.9171177.241154.4351.1436.4555.170.3630.3610.2760.90.830.90.810.830.81 -0.173-0.099-0
24416.48 13.964.66 62.3230.64 64.050.890.790.830.911130.081103.2860.9929.4163.850.3580.3720.270.940.740.940.860.740.86 -0.233-0.116-0
25428.8 14.16.08 57.4736.67 61.30.890.790.830.9141395.481361.2355.9935.2561.10.3620.3650.2730.920.80.920.820.80.82 -0.169-0.089-0
26435.66 13.764.2 68.8730.55 68.570.890.790.830.9071098.21066.2867.152968.360.3560.3740.2690.940.710.940.870.710.87 -0.265-0.133-0
27445.98 11.266.8 71.0639.68 50.360.890.790.830.9191214.171181.7169.1838.0649.920.350.3630.2870.850.820.850.90.820.9 -0.184-0.105-0
28457.94 14.54.66 62.635.69 75.540.890.790.830.9081366.631321.760.6733.8674.890.3640.3710.2640.950.750.950.820.750.82 -0.232-0.097-0
29467.66 14.586.22 69.5738.43 64.450.890.790.830.9121494.161444.8667.2736.464.140.3570.3670.2760.910.780.910.860.780.86 -0.171-0.097-0
30476.06 14.584.38 75.2733.86 76.060.890.790.830.9061283.011234.2372.7631.775.620.3570.3740.2680.950.710.950.870.710.87 -0.254-0.1250
31485.64 14.184.46 79.6734.56 74.680.890.790.830.9061272.521221.9176.7832.2474.360.3540.3740.2710.940.710.940.880.710.88 -0.252-0.132-0
AVE:337.07 12.955.55 47.726.41 47.110.890.790.830.917937.17930.4847.726.4147.110.3580.3670.2750.910.780.910.850.780.85-0.204-0.106-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
cLL-0.2147152.958-0.073
cKK1.9899771.4311.39
cMM3.0238721.6831.796
2*dLK0.6121993.8970.157
2*dLM2.8181372.3111.219
2*dKM-4.3029262.446-1.759
R2 = 0.9308 R2b = 0.9169 # 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) * [-0.21471 * wL + 1.98998 * wK + 3.02387 * wM + 0.6122 * (wL*wK)^(1/2) + 2.81814 * (wL*wM)^(1/2) + -4.30293 * (wK*wM)^(1/2)]
        (***)

XXVI. Its three derived factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/1) * [-0.2147 + 0.3061 * (wK / wL)^(1/2) + 1.4091 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/1) * [1.99 + 0.3061 * (wL / wK)^(1/2) + -2.1515 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/1) * [3.0239 + 1.4091 * (wL / wM)^(1/2) + -2.1515 * (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.57120.13840.43281
0.14920.8214-0.97061
0.5518-1.14830.59641

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.22 = 57.22 = 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.122980.016040.10871
0.016040.04758-0.1218
0.10871-0.12180.13708

The principal minors of H are H1 = -0.122978, H2 = -0.006108, 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.179, e2 = 0.2407, 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.98 13.145.9 27.4412.7 23.230.90.790.830.927467.98485.7229.513.5922.170.3630.3680.2690.381.590.38-3.551.59-3.55 -0.2090.2530
2196.84 14.846.44 28.6613.45 25.10.90.790.830.925557.24576.5230.4614.8322.990.3610.3820.2570.371.660.37-3.541.66-3.54 -0.1820.2310
3206.04 12.95.04 29.3313.97 28.220.890.790.830.923499.58517.4230.417.0922.490.3550.4260.2190.351.930.35-3.591.93-3.59 -0.2030.292-0
4215.76 11.765.4 31.2915.57 27.330.90.790.830.925510.97524.1633.3315.6727.390.3660.3520.2820.391.520.39-3.461.52-3.46 -0.2170.2730
5227.74 12.385.32 28.3817.48 31.910.890.790.830.923605.75620.7729.4918.0831.710.3680.360.2720.41.60.4-3.161.6-3.16 -0.1640.2590
6235.4 12.124.42 34.5415.88 33.370.890.790.830.919526.41541.6834.9320.5923.430.3480.4610.1910.332.20.33-3.82.2-3.8 -0.2260.3370
7248.42 12.145.9 30.320.55 33.40.890.790.830.924701.57715.8531.9817.8838.90.3760.3030.3210.451.380.45-3.141.38-3.14 -0.1540.2330
8257.9 11.124.6 30.1720.9 38.530.890.790.830.92648.04657.3430.5921.6138.130.3680.3650.2670.411.650.41-31.65-3 -0.1660.2880
9265.94 12.864.3 37.9718.12 40.170.890.790.830.916631.27647.7637.324.824.940.3420.4920.1660.322.520.32-3.942.52-3.94 -0.2030.3440
10276.92 14.345.94 40.4920.15 37.260.890.790.830.919790.48795.5741.3522.0832.450.360.3980.2420.361.760.36-3.491.76-3.49 -0.1790.2470
11287.66 13.825.28 38.3721.56 42.160.890.790.830.917814.42820.0538.2624.8634.730.3570.4190.2240.361.910.36-3.351.91-3.35 -0.1620.2670
12298.04 14.324.04 37.1321.07 52.520.890.790.830.912812.45837.7634.5931.2227.870.3320.5340.1340.323.120.32-3.953.12-3.95 -0.150.35-0
13307 136 43.7924.14 40.130.890.790.830.92861.17858.3345.2122.5941.370.3690.3420.2890.41.50.4-3.361.5-3.36 -0.1790.2410
14318.76 11.987.12 40.6329.33 39.030.90.790.830.924985.261000.5743.8218.3955.680.3840.220.3960.581.130.58-3.531.13-3.53 -0.150.201-0
15328.42 13.324.12 39.5525.03 56.880.890.790.830.912900.81907.6136.9933.1837.430.3430.4870.170.342.510.34-3.42.51-3.4 -0.1490.328-0
16338.22 12.267.42 45.7730.77 40.130.890.790.830.9231051.181062.0649.4318.7157.470.3830.2160.4010.581.110.58-3.681.11-3.68 -0.1570.1980
17346.8 14.16.52 53.3426.92 44.120.890.790.830.9181029.931013.7654.625.1444.170.3660.350.2840.391.510.39-3.481.51-3.48 -0.1840.2270
18357.4 11.325.1 46.3630.49 50.290.890.790.830.917944.68930.3346.6827.7753.060.3710.3380.2910.421.510.42-3.131.51-3.13 -0.1730.2690
19366.88 11.645.52 51.0630.84 48.780.890.790.830.918979.53962.3652.0426.7753.020.3720.3240.3040.431.440.43-3.281.44-3.28 -0.1840.2570
20378.26 12.265.38 48.1932.62 54.520.890.790.830.9161091.291069.0447.9330.1956.320.370.3460.2830.421.550.42-3.081.55-3.08 -0.1560.2520
21385.1 12.447.52 69.9830.98 40.420.890.790.830.9211046.261030.1975.0319.553.850.3710.2350.3930.511.10.51-4.151.1-4.15 -0.260.2120
22397.22 11.27.42 57.237.56 44.570.890.790.830.9221164.371173.1462.218.969.050.3830.180.4370.661.030.66-4.141.03-4.14 -0.1790.2050
23408.2 11.425.78 52.2637.61 55.230.890.790.830.9171177.241152.3753.1828.7567.120.3780.2850.3370.481.320.48-3.161.32-3.16 -0.160.2380
24416.48 13.964.66 62.3230.64 64.050.890.790.830.911130.081110.4158.6139.1839.430.3420.4930.1650.322.530.32-3.932.53-3.93 -0.1860.3170
25428.8 14.16.08 57.4736.67 61.30.890.790.830.9141395.481350.1756.4534.460.590.3680.3590.2730.41.60.4-3.161.6-3.16 -0.1440.2270
26435.66 13.764.2 68.8730.55 68.570.890.790.830.9071098.21087.8463.4842.932.910.330.5430.1270.33.240.3-4.693.24-4.69 -0.2110.3660
27445.98 11.266.8 71.0639.68 50.360.890.790.830.9191214.171189.2375.1523.8169.380.3780.2250.3970.551.110.55-3.891.11-3.89 -0.2150.225-0
28457.94 14.54.66 62.635.69 75.540.890.790.830.9081366.631331.1757.5344.8648.060.3430.4890.1680.332.510.33-3.642.51-3.64 -0.1530.3030
29467.66 14.586.22 69.5738.43 64.450.890.790.830.9121494.161431.6567.9637.159.510.3640.3780.2590.381.660.38-3.371.66-3.37 -0.1620.2320
30476.06 14.584.38 75.2733.86 76.060.890.790.830.9061283.011261.7168.5347.3835.530.3290.5480.1230.33.330.3-4.743.33-4.74 -0.1960.3510
31485.64 14.184.46 79.6734.56 74.680.890.790.830.9061272.521242.3973.1446.8737.060.3320.5350.1330.33.090.3-4.643.09-4.64 -0.2130.3470
AVE:337.07 12.955.55 48.0726.73 42.520.890.790.830.917937.17932.4248.0726.7342.520.360.3790.260.41.860.4-3.631.86-3.63-0.1810.270



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