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.0993520.005-21.577
dLK0.5163890.004128.109
dLM0.5212960.005114.462
R2 = 0.9996 R2b = 0.9996 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cKK-0.0438890.023-1.919
dKL0.5037750.02520.08
dKM0.4042860.02516.028
R2 = 0.9659 R2b = 0.9634 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cMM-0.166610.034-4.859
dML0.5406590.03415.904
dMK0.3911450.03112.708
R2 = 0.979 R2b = 0.9775 # obs = 31

The three estimated factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/0.92) * [-0.0994 + 0.5164 * (wK / wL)^(1/2) + 0.5213 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/0.92) * [-0.0439 + 0.5038 * (wL / wK)^(1/2) + 0.4043 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/0.92) * [-0.1666 + 0.5407 * (wL / wM)^(1/2) + 0.3911 * (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.54570.32370.2221.087
0.3078-0.53650.22871.087
0.2940.2899-0.58391.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.09935 * wL + -0.04389 * wK + -0.16661 * wM + 1.02016 * (wL*wK)^(1/2) + 1.06195 * (wL*wM)^(1/2) + 0.79543 * (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.0997080.022341-4.462897
dLK0.5095560.01658430.725217
dLM0.5318270.01525534.863365
cKK-0.0436550.017339-2.517725
dKL0.5095560.01658430.725217
dKM0.3976810.01538825.843729
cMM-0.166760.020656-8.073241
dML0.5318270.01525534.863365
dMK0.3976810.01538825.843729
R2 = 0.9971 R2b = 0.9969 # 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.0997 + 0.5096 * (wK / wL)^(1/2) + 0.5318 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/0.92) * [-0.0437 + 0.5096 * (wL / wK)^(1/2) + 0.3977 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/0.92) * [-0.1668 + 0.5318 * (wL / wM)^(1/2) + 0.3977 * (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.54590.31940.22651.087
0.3114-0.53640.2251.087
0.28920.2947-0.5841.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.09971 * wL + -0.04366 * wK + -0.16676 * wM + 1.01911 * (wL*wK)^(1/2) + 1.06365 * (wL*wM)^(1/2) + 0.79536 * (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.084770.026710.04103
0.02671-0.024770.02251
0.041030.02251-0.09665

The principal minors of H are H1 = -0.08477, H2 = 0.001387, 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.1322, e2 = -0.074, 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
1188.44 11.065.22 20.9415.18 26.140.90.790.830.927481.07480.3420.8715.6125.190.3670.360.2740.90.850.90.740.850.74 -0.142-0.071-0
2195.28 13.184.92 29.9112.41 26.340.90.790.830.923451.09451.7429.9112.8125.410.350.3740.2770.880.760.880.840.760.84 -0.176-0.093-0
3207.76 11.886.92 26.7817.11 24.60.90.790.830.93581.31579.8826.8117.4323.810.3590.3570.2840.850.860.850.80.860.8 -0.112-0.069-0
4216.96 11.827.26 30.2517.72 24.340.90.790.830.93596.73595.2330.3118.0323.570.3540.3580.2880.840.850.840.820.850.82 -0.118-0.069-0
5228.9 11.94.5 25.0618 36.240.890.790.830.921600.3601.0824.9818.4735.340.370.3660.2650.930.820.930.720.820.72 -0.172-0.066-0
6235.16 14.564.16 37.1313.96 36.120.890.790.830.915545.07547.0237.2714.2735.330.3520.380.2690.910.720.910.840.720.84 -0.204-0.1030
7245.54 14.17.34 42.0617.45 27.380.90.790.830.925680.05679.9141.9317.826.780.3420.3690.2890.830.80.830.880.80.88 -0.152-0.067-0
8257.56 11.845.78 33.1520.98 33.90.890.790.830.923694.93695.1733.1721.2133.430.3610.3610.2780.880.830.880.780.830.78 -0.13-0.073-0
9267.24 13.97.88 4021.31 30.530.90.790.830.926826.4826.2640.0821.5230.070.3510.3620.2870.840.830.840.840.830.84 -0.114-0.063-0
10276.54 13.825.68 40.8519.99 37.220.890.790.830.919754.9755.7440.8720.236.830.3540.3690.2770.880.790.880.820.790.82 -0.144-0.0780
11285.36 12.65 44.7219.99 38.270.890.790.830.918682.92683.7344.7120.1737.980.3510.3720.2780.880.770.880.840.770.84 -0.171-0.091-0
12298.82 12.764.26 34.3923.41 50.460.890.790.830.915817.01818.0634.3123.750.010.370.370.260.940.80.940.720.80.72 -0.187-0.0650
13307 136 43.7924.14 40.130.890.790.830.92861.17861.8743.8424.2140.040.3560.3650.2790.870.810.870.810.810.81 -0.132-0.0740
14318.1 11.486.6 41.1228.77 39.390.890.790.830.923923.37924.2641.2428.6639.570.3610.3560.2830.860.860.860.780.860.78 -0.113-0.07-0
15325.34 13.087.42 57.3625.04 35.20.90.790.830.923894.98895.6957.325.1535.140.3420.3670.2910.820.810.820.880.810.88 -0.157-0.067-0
16335.42 13.47.66 59.7225.91 36.060.90.790.830.922947.08947.9259.6525.9936.080.3410.3670.2920.820.810.820.890.810.89 -0.154-0.065-0
17346.56 12.25.24 49.4427.39 47.510.890.790.830.917907.48907.9449.4627.2947.820.3570.3670.2760.890.80.890.80.80.8 -0.149-0.0810
18355 11.864.96 57.9926.07 46.430.890.790.830.916829.39829.7157.9225.9646.830.3490.3710.280.870.780.870.840.780.84 -0.178-0.094-0
19367.7 13.567.52 54.0231.57 440.890.790.830.9211751176.2254.1831.2944.510.3550.3610.2850.850.840.850.820.840.82 -0.11-0.064-0
20376.54 13.124.36 53.5127.82 59.010.890.790.830.911972.24971.6253.527.6259.480.360.3730.2670.920.770.920.790.770.79 -0.181-0.083-0
21385.68 12.885.14 61.2628.75 52.550.890.790.830.914988.2998861.1928.4653.280.3520.3710.2770.880.780.880.830.780.83 -0.163-0.0870
22395.8 14.26.14 66.9129.45 50.390.890.790.830.9151115.661115.5766.7629.1551.210.3470.3710.2820.860.780.860.850.780.85 -0.151-0.077-0
23408.96 12.865.94 52.0936.49 57.80.890.790.830.9161279.251279.2652.0335.9459.070.3640.3610.2740.90.840.90.760.840.76 -0.125-0.064-0
24417.4 13.76.32 61.4434.57 55.160.890.790.830.9151276.891276.7461.4534.0356.30.3560.3650.2790.870.810.870.810.810.81 -0.125-0.070
25428.88 14.846.8 59.5636.67 58.430.890.790.830.9151470.361469.9359.5536.0259.790.360.3640.2770.880.820.880.790.820.79 -0.112-0.061-0
26438.4 14.884.74 58.4734.14 73.130.890.790.830.9081345.781342.2558.3233.6174.30.3650.3730.2620.930.780.930.760.780.76 -0.168-0.066-0
27446.44 11.527.46 70.1640.99 49.040.890.790.830.921289.931292.2870.5740.1950.230.3520.3580.290.820.860.820.840.860.84 -0.125-0.0690
28457.58 12.327.82 67.943.15 52.130.890.790.830.921453.921456.5668.342.1653.630.3550.3570.2880.840.860.840.820.860.82 -0.108-0.0650
29467.1 14.885.96 72.3636.76 65.130.890.790.830.9111448.871445.9872.2135.9466.870.3550.370.2760.890.790.890.820.790.82 -0.135-0.073-0
30478.7 14.984.1 61.6136.99 88.540.890.790.830.9051453.121446.1661.3636.3189.870.3690.3760.2550.950.770.950.740.770.74 -0.203-0.0640
31486.66 13.466.24 76.6740.35 63.010.890.790.830.9131446.931445.2276.5839.3564.980.3530.3670.2810.870.810.870.820.810.82 -0.133-0.074-0
AVE:336.99 13.095.98 49.3826.73 45.570.890.790.830.919961.02960.8849.3826.7345.570.3560.3660.2780.880.810.880.810.810.81-0.147-0.073-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.2653830.081-3.295
cKK-0.1516550.058-2.598
cMM-0.1166910.073-1.608
2*dLK1.328540.12110.992
2*dLM0.9759050.08411.609
2*dKM0.7829440.1037.607
R2 = 0.9997 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.26538 * wL + -0.15166 * wK + -0.11669 * wM + 1.32854 * (wL*wK)^(1/2) + 0.9759 * (wL*wM)^(1/2) + 0.78294 * (wK*wM)^(1/2)]
        (***)

XII. Its three derived factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/0.92) * [-0.2654 + 0.6643 * (wK / wL)^(1/2) + 0.488 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/0.92) * [-0.1517 + 0.6643 * (wL / wK)^(1/2) + 0.3915 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/0.92) * [-0.1167 + 0.488 * (wL / wM)^(1/2) + 0.3915 * (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.62160.41460.20691.087
0.405-0.6260.2211.087
0.26710.292-0.55911.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.77 = 42.77 = 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.096930.034820.03765
0.03482-0.028980.02216
0.037650.02216-0.09194

The principal minors of H are H1 = -0.096929, H2 = 0.001596, 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.1334, e2 = -0.0844, 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
1188.44 11.065.22 20.9415.18 26.140.90.790.830.927481.07479.920.3416.1424.850.3580.3720.271.160.811.160.710.810.71 -0.135-0.085-0
2195.28 13.184.92 29.9112.41 26.340.90.790.830.923451.09451.3130.8112.4725.270.360.3640.2751.150.681.150.850.680.85 -0.182-0.103-0
3207.76 11.886.92 26.7817.11 24.60.90.790.830.93581.31579.726.417.7523.690.3530.3640.2831.110.81.110.770.80.77 -0.114-0.0780
4216.96 11.827.26 30.2517.72 24.340.90.790.830.93596.73595.2830.0618.1923.550.3520.3610.2871.090.791.090.80.790.8 -0.125-0.0750
5228.9 11.94.5 25.0618 36.240.890.790.830.921600.3601.1924.4619.134.720.3620.3780.261.20.791.20.70.790.7 -0.163-0.08-0
6235.16 14.564.16 37.1313.96 36.120.890.790.830.915545.07545.838.9313.6935.020.3680.3650.2671.190.641.190.870.640.87 -0.205-0.12-0
7245.54 14.17.34 42.0617.45 27.380.90.790.830.925680.05679.1442.917.3126.890.350.3590.2911.090.711.090.890.710.89 -0.167-0.07-0
8257.56 11.845.78 33.1520.98 33.90.890.790.830.923694.93695.2732.8321.5933.130.3570.3680.2751.140.781.140.760.780.76 -0.128-0.086-0
9267.24 13.97.88 4021.31 30.530.90.790.830.926826.4826.4440.1821.4930.060.3520.3610.2871.090.761.090.830.760.83 -0.122-0.0670
10276.54 13.825.68 40.8519.99 37.220.890.790.830.919754.9755.9341.532036.590.3590.3660.2751.140.721.140.820.720.82 -0.146-0.0880
11285.36 12.65 44.7219.99 38.270.890.790.830.918682.92683.4145.819.7637.780.3590.3640.2761.140.71.140.840.70.84 -0.177-0.102-0
12298.82 12.764.26 34.3923.41 50.460.890.790.830.915817.01819.1133.9224.3649.080.3650.3790.2551.210.761.210.710.760.71 -0.178-0.079-0
13307 136 43.7924.14 40.130.890.790.830.92861.17862.2744.0224.2639.780.3570.3660.2771.130.751.130.80.750.8 -0.133-0.0840
14318.1 11.486.6 41.1228.77 39.390.890.790.830.923923.37923.5440.3629.3839.290.3540.3650.2811.120.811.120.750.810.75 -0.112-0.081-0
15325.34 13.087.42 57.3625.04 35.20.90.790.830.923894.98895.0658.3724.5535.340.3480.3590.2931.070.731.070.890.730.89 -0.172-0.069-0
16335.42 13.47.66 59.7225.91 36.060.90.790.830.922947.08947.2160.7925.3536.30.3480.3590.2941.070.731.070.890.730.89 -0.17-0.067-0
17346.56 12.25.24 49.4427.39 47.510.890.790.830.917907.48908.5149.7427.3547.430.3590.3670.2741.150.741.150.790.740.79 -0.148-0.094-0
18355 11.864.96 57.9926.07 46.430.890.790.830.916829.39829.2159.325.446.660.3580.3630.2791.130.71.130.850.70.85 -0.187-0.103-0
19367.7 13.567.52 54.0231.57 440.890.790.830.9211751176.475431.4944.380.3530.3630.2841.110.771.110.80.770.8 -0.115-0.07-0
20376.54 13.124.36 53.5127.82 59.010.890.790.830.911972.24972.7154.3927.558.750.3660.3710.2631.180.71.180.790.70.79 -0.175-0.10
21385.68 12.885.14 61.2628.75 52.550.890.790.830.914988.29987.8362.5227.9952.970.3590.3650.2761.140.71.140.840.70.84 -0.168-0.0980
22395.8 14.26.14 66.9129.45 50.390.890.790.830.9151115.661114.5768.4428.4451.10.3560.3620.2821.120.71.120.860.70.86 -0.16-0.0840
23408.96 12.865.94 52.0936.49 57.80.890.790.830.9161279.251279.0951.1436.8758.360.3580.3710.2711.160.791.160.730.790.73 -0.12-0.077-0
24417.4 13.76.32 61.4434.57 55.160.890.790.830.9151276.891277.3461.6934.1155.930.3570.3660.2771.130.751.130.80.750.8 -0.126-0.08-0
25428.88 14.846.8 59.5636.67 58.430.890.790.830.9151470.361470.6359.3136.4659.250.3580.3680.2741.140.761.140.770.760.77 -0.11-0.072-0
26438.4 14.884.74 58.4734.14 73.130.890.790.830.9081345.781344.6458.7633.973.140.3670.3750.2581.20.721.20.750.720.75 -0.16-0.08-0
27446.44 11.527.46 70.1640.99 49.040.890.790.830.921289.931292.5470.2140.3650.330.350.360.291.080.791.080.820.790.82 -0.135-0.073-0
28457.58 12.327.82 67.943.15 52.130.890.790.830.921453.921456.4367.4942.6953.580.3510.3610.2881.090.81.090.80.80.8 -0.115-0.07-0
29467.1 14.885.96 72.3636.76 65.130.890.790.830.9111448.871446.4873.3735.6166.380.360.3660.2741.150.711.150.820.710.82 -0.136-0.083-0
30478.7 14.984.1 61.6136.99 88.540.890.790.830.9051453.121449.9161.8336.7588.180.3710.380.2491.220.711.220.730.710.73 -0.193-0.0780
31486.66 13.466.24 76.6740.35 63.010.890.790.830.9131446.931445.5977.3839.1364.680.3560.3640.2791.130.731.130.820.730.82 -0.138-0.0820
AVE:336.99 13.095.98 49.7226.76 45.240.890.790.830.919961.02961.0549.7226.7645.240.3580.3660.2761.140.741.140.80.740.8-0.149-0.083-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.123560.068-1.824
dLK0.6962890.05911.739
dLM0.6949770.06710.37
R2 = 0.9556 R2b = 0.9525 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cKK-0.0269490.077-0.349
dKL0.6500510.0857.669
dKM0.5316270.0856.238
R2 = 0.8074 R2b = 0.7936 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cMM-0.2556060.015-17.19
dML0.7156380.01548.542
dMK0.5593210.01341.903
R2 = 0.9979 R2b = 0.9977 # obs = 31

The three estimated factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/1) * [-0.1236 + 0.6963 * (wK / wL)^(1/2) + 0.695 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/1) * [-0.0269 + 0.6501 * (wL / wK)^(1/2) + 0.5316 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/1) * [-0.2556 + 0.7156 * (wL / wM)^(1/2) + 0.5593 * (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.54210.3230.2191
0.294-0.51660.22261
0.28830.307-0.59531

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.12356 * wL + -0.02695 * wK + -0.25561 * wM + 1.34634 * (wL*wK)^(1/2) + 1.41062 * (wL*wM)^(1/2) + 1.09095 * (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.1156030.041489-2.78638
dLK0.6773350.03079721.993258
dLM0.7145930.02832825.225536
cKK-0.0624880.032199-1.94067
dKL0.6773350.03079721.993258
dKM0.5547710.02857619.414081
cMM-0.2476310.038358-6.455739
dML0.7145930.02832825.225536
dMK0.5547710.02857619.414081
R2 = 0.9946 R2b = 0.9941 # 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.1156 + 0.6773 * (wK / wL)^(1/2) + 0.7146 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/1) * [-0.0625 + 0.6773 * (wL / wK)^(1/2) + 0.5548 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/1) * [-0.2476 + 0.7146 * (wL / wM)^(1/2) + 0.5548 * (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.53930.31420.22521
0.3063-0.53850.23221
0.28780.3045-0.59231

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.1156 * wL + -0.06249 * wK + -0.24763 * wM + 1.35467 * (wL*wK)^(1/2) + 1.42919 * (wL*wM)^(1/2) + 1.10954 * (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.113190.03550.05513
0.0355-0.033610.03141
0.055130.03141-0.13237

The principal minors of H are H1 = -0.113188, H2 = 0.002544, 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.1788, e2 = -0.1004, 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
1188.44 11.065.22 20.9415.18 26.140.90.790.830.927481.07504.8221.9916.3926.430.3680.3590.2730.880.840.880.770.840.77 -0.193-0.095-0
2195.28 13.184.92 29.9112.41 26.340.90.790.830.923451.09472.4831.2413.426.610.3490.3740.2770.870.760.870.870.760.87 -0.237-0.1260
3207.76 11.886.92 26.7817.11 24.60.90.790.830.93581.31603.7427.9518.1724.720.3590.3570.2830.840.850.840.820.850.82 -0.151-0.0940
4216.96 11.827.26 30.2517.72 24.340.90.790.830.93596.73617.0531.4418.7324.360.3550.3590.2870.820.850.820.850.850.85 -0.158-0.095-0
5228.9 11.94.5 25.0618 36.240.890.790.830.921600.3620.8125.8719.0236.510.3710.3650.2650.910.820.910.750.820.75 -0.235-0.0880
6235.16 14.564.16 37.1313.96 36.120.890.790.830.915545.07562.6338.2714.6636.480.3510.3790.270.90.710.90.860.710.86 -0.277-0.140
7245.54 14.17.34 42.0617.45 27.380.90.790.830.925680.05696.8442.918.327.410.3410.370.2890.820.80.820.910.80.91 -0.204-0.0920
8257.56 11.845.78 33.1520.98 33.90.890.790.830.923694.93709.9433.9221.6634.090.3610.3610.2780.860.830.860.810.830.81 -0.177-0.099-0
9267.24 13.97.88 4021.31 30.530.90.790.830.926826.4840.8440.7821.9530.530.3510.3630.2860.820.830.820.860.830.86 -0.153-0.086-0
10276.54 13.825.68 40.8519.99 37.220.890.790.830.919754.9766.6341.4420.537.380.3540.3690.2770.870.780.870.850.780.85 -0.194-0.105-0
11285.36 12.65 44.7219.99 38.270.890.790.830.918682.92691.445.1720.4138.440.350.3720.2780.870.770.870.860.770.86 -0.231-0.124-0
12298.82 12.764.26 34.3923.41 50.460.890.790.830.915817.01824.7734.6823.8150.480.3710.3680.2610.920.80.920.750.80.75 -0.256-0.087-0
13307 136 43.7924.14 40.130.890.790.830.92861.17866.344.0724.3440.220.3560.3650.2790.860.810.860.830.810.83 -0.179-0.1-0
14318.1 11.486.6 41.1228.77 39.390.890.790.830.923923.37926.3641.4128.7439.550.3620.3560.2820.850.860.850.810.860.81 -0.153-0.095-0
15325.34 13.087.42 57.3625.04 35.20.90.790.830.923894.98895.2557.1825.2235.050.3410.3680.290.810.810.810.910.810.91 -0.21-0.0920
16335.42 13.47.66 59.7225.91 36.060.90.790.830.922947.08944.9259.362635.880.3410.3690.2910.80.810.80.920.810.92 -0.207-0.089-0
17346.56 12.25.24 49.4427.39 47.510.890.790.830.917907.48902.7449.1927.1247.550.3570.3670.2760.870.80.870.830.80.83 -0.202-0.109-0
18355 11.864.96 57.9926.07 46.430.890.790.830.916829.39822.9157.3825.7646.470.3490.3710.280.860.780.860.870.780.87 -0.24-0.128-0
19367.7 13.567.52 54.0231.57 440.890.790.830.9211751163.653.623143.940.3550.3610.2840.840.830.840.840.830.84 -0.148-0.088-0
20376.54 13.124.36 53.5127.82 59.010.890.790.830.911972.24958.952.8127.2158.830.360.3720.2670.90.760.90.810.760.81 -0.247-0.112-0
21385.68 12.885.14 61.2628.75 52.550.890.790.830.914988.29972.960.228.0452.510.3510.3710.2770.870.770.870.860.770.86 -0.22-0.1190
22395.8 14.26.14 66.9129.45 50.390.890.790.830.9151115.661096.0965.528.6750.330.3470.3710.2820.850.780.850.880.780.88 -0.202-0.106-0
23408.96 12.865.94 52.0936.49 57.80.890.790.830.9161279.251254.251.1135.257.850.3650.3610.2740.880.830.880.780.830.78 -0.17-0.087-0
24417.4 13.76.32 61.4434.57 55.160.890.790.830.9151276.891248.9260.1233.355.040.3560.3650.2790.860.810.860.830.810.83 -0.169-0.0950
25428.88 14.846.8 59.5636.67 58.430.890.790.830.9151470.361434.9258.1835.1558.320.360.3640.2760.870.820.870.810.820.81 -0.152-0.083-0
26438.4 14.884.74 58.4734.14 73.130.890.790.830.9081345.781307.556.8832.6672.520.3650.3720.2630.920.770.920.780.770.78 -0.229-0.089-0
27446.44 11.527.46 70.1640.99 49.040.890.790.830.921289.931256.1368.6139.1848.650.3520.3590.2890.810.850.810.870.850.87 -0.168-0.094-0
28457.58 12.327.82 67.943.15 52.130.890.790.830.921453.921413.1166.3240.9951.850.3560.3570.2870.820.860.820.850.860.85 -0.145-0.089-0
29467.1 14.885.96 72.3636.76 65.130.890.790.830.9111448.871400.3969.9134.864.810.3540.370.2760.870.780.870.840.780.84 -0.183-0.098-0
30478.7 14.984.1 61.6136.99 88.540.890.790.830.9051453.121397.7359.434.9687.130.370.3750.2560.940.760.940.760.760.76 -0.277-0.085-0
31486.66 13.466.24 76.6740.35 63.010.890.790.830.9131446.931394.4873.873862.660.3530.3670.280.850.80.850.850.80.85 -0.18-0.101-0
AVE:336.99 13.095.98 49.0626.56 45.240.890.790.830.919961.02953.8549.0626.5645.240.3560.3660.2780.860.80.860.840.80.84-0.198-0.1-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-5.7120091.575-3.626
cKK-3.0962991.142-2.712
cMM0.5869261.4190.414
2*dLK10.2700322.3644.344
2*dLM0.3043411.6440.185
2*dKM0.6818562.0130.339
R2 = 0.9572 R2b = 0.9486 # 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) * [-5.71201 * wL + -3.0963 * wK + 0.58693 * wM + 10.27003 * (wL*wK)^(1/2) + 0.30434 * (wL*wM)^(1/2) + 0.68186 * (wK*wM)^(1/2)]
        (***)

XXVI. Its three derived factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/1) * [-5.712 + 5.135 * (wK / wL)^(1/2) + 0.1522 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/1) * [-3.0963 + 5.135 * (wL / wK)^(1/2) + 0.3409 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/1) * [0.5869 + 0.1522 * (wL / wM)^(1/2) + 0.3409 * (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
-2.50182.45240.04941
2.0855-2.21370.12821
0.06560.2002-0.26581

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) = 58.5 = 58.5 = 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.509910.269150.01174
0.26915-0.153830.0193
0.011740.0193-0.05552

The principal minors of H are H1 = -0.509909, H2 = 0.006001, 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.6546, e2 = -0.0647, 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
1188.44 11.065.22 20.9415.18 26.140.90.790.830.927481.07486.635.1529.2322.980.0890.6640.24715.480.8515.480.290.850.29 -0.559-0.075-0
2195.28 13.184.92 29.9112.41 26.340.90.790.830.923451.09468.0548.416.8824.750.5460.1940.268.220.118.221.110.111.11 -0.905-0.0810
3207.76 11.886.92 26.7817.11 24.60.90.790.830.93581.31599.4515.7126.2823.90.2030.5210.2767.770.337.770.360.330.36 -0.594-0.0540
4216.96 11.827.26 30.2517.72 24.340.90.790.830.93596.73620.2923.8423.3424.590.2680.4450.2886.630.246.630.420.240.42 -0.659-0.051-0
5228.9 11.94.5 25.0618 36.240.890.790.830.921600.3606.447.3534.1929.820.1080.6710.22113.250.7313.250.30.730.3 -0.527-0.0930
6235.16 14.564.16 37.1313.96 36.120.890.790.830.915545.07543.2670.163.2932.070.6660.0880.24616.050.0916.052.60.092.6 -0.953-0.1040
7245.54 14.17.34 42.0617.45 27.380.90.790.830.925680.05687.6463.738.8428.60.5130.1810.3058.510.118.511.090.111.09 -0.868-0.0510
8257.56 11.845.78 33.1520.98 33.90.890.790.830.923694.93709.1721.1831.1331.220.2260.520.2547.30.317.30.380.310.38 -0.607-0.067-0
9267.24 13.97.88 4021.31 30.530.90.790.830.926826.4850.0140.6122.5330.830.3460.3680.2866.180.186.180.520.180.52 -0.635-0.048-0
10276.54 13.825.68 40.8519.99 37.220.890.790.830.919754.9775.4351.1517.6834.610.4310.3150.2546.250.156.250.660.150.66 -0.709-0.07-0
11285.36 12.65 44.7219.99 38.270.890.790.830.918682.92691.3764.6313.09360.5010.2390.267.150.127.150.880.120.88 -0.88-0.079-0
12298.82 12.764.26 34.3923.41 50.460.890.790.830.915817.01825.216.5339.7340.480.1770.6140.2098.820.448.820.340.440.34 -0.524-0.1020
13307 136 43.7924.14 40.130.890.790.830.92861.17877.4942.827.137.590.3410.4020.2576.110.196.110.50.190.5 -0.655-0.0650
14318.1 11.486.6 41.1228.77 39.390.890.790.830.923923.37906.9216.745.7437.360.1490.5790.2729.80.479.80.320.470.32 -0.575-0.0570
15325.34 13.087.42 57.3625.04 35.20.90.790.830.923894.98890.1780.1314.1337.40.4810.2080.3127.730.117.730.930.110.93 -0.894-0.050
16335.42 13.47.66 59.7225.91 36.060.90.790.830.922947.08938.4883.9214.138.470.4850.2010.3147.890.117.890.960.110.96 -0.882-0.048-0
17346.56 12.25.24 49.4427.39 47.510.890.790.830.917907.48916.0448.5130.3543.430.3470.4040.2486.070.196.070.50.190.5 -0.698-0.0750
18355 11.864.96 57.9926.07 46.430.890.790.830.916829.39821.1182.1816.0444.340.50.2320.2687.270.127.270.90.120.9 -0.946-0.079-0
19367.7 13.567.52 54.0231.57 440.890.790.830.9211751173.1745.136.9843.150.2960.4270.2776.360.226.360.450.220.45 -0.595-0.050
20376.54 13.124.36 53.5127.82 59.010.890.790.830.911972.24980.2662.3626.8550.490.4160.3590.22560.1660.60.160.6 -0.703-0.0970
21385.68 12.885.14 61.2628.75 52.550.890.790.830.914988.29977.6282.2820.1148.890.4780.2650.2576.740.136.740.790.130.79 -0.825-0.0770
22395.8 14.26.14 66.9129.45 50.390.890.790.830.9151115.661087.8196.6915.9848.880.5160.2090.2767.770.117.770.990.110.99 -0.821-0.063-0
23408.96 12.865.94 52.0936.49 57.80.890.790.830.9161279.251236.3922.5556.8751.020.1630.5910.2459.220.459.220.330.450.33 -0.518-0.066-0
24417.4 13.76.32 61.4434.57 55.160.890.790.830.9151276.89126558.0437.2851.40.340.4040.2576.110.196.110.50.190.5 -0.619-0.0610
25428.88 14.846.8 59.5636.67 58.430.890.790.830.9151470.361446.0144.4946.4853.110.2730.4770.256.570.256.570.420.250.42 -0.515-0.058-0
26438.4 14.884.74 58.4734.14 73.130.890.790.830.9081345.781341.3353.1841.0359.920.3330.4550.2126.070.226.070.480.220.48 -0.543-0.0920
27446.44 11.527.46 70.1640.99 49.040.890.790.830.921289.931267.7758.0744.7750.690.2950.4070.2986.40.216.40.450.210.45 -0.712-0.05-0
28457.58 12.327.82 67.943.15 52.130.890.790.830.921453.921414.2544.5154.1452.410.2390.4720.297.020.277.020.390.270.39 -0.606-0.048-0
29467.1 14.885.96 72.3636.76 65.130.890.790.830.9111448.871418.2585.6230.6659.420.4290.3220.256.210.156.210.650.150.65 -0.652-0.067-0
30478.7 14.984.1 61.6136.99 88.540.890.790.830.9051453.121444.4953.1446.7868.630.320.4850.1956.140.246.140.460.240.46 -0.524-0.1120
31486.66 13.466.24 76.6740.35 63.010.890.790.830.9131446.931410.8283.335.959.750.3930.3420.2646.140.166.140.590.160.59 -0.693-0.062-0
AVE:336.99 13.095.98 50.7128.95 41.810.890.790.830.919961.02957.350.7128.9541.810.3510.3890.267.850.257.850.650.250.65-0.69-0.069-0



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