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.1133230.004-27.235
dLK0.5220280.003153.076
dLM0.5276480.004145.577
R2 = 0.9997 R2b = 0.9997 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cKK-0.0613770.023-2.68
dKL0.5477430.02819.654
dKM0.3835650.02515.619
R2 = 0.9676 R2b = 0.9652 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cMM-0.1533760.037-4.202
dML0.4937360.04311.506
dMK0.4160220.03412.176
R2 = 0.9729 R2b = 0.971 # obs = 31

The three estimated factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/0.92) * [-0.1133 + 0.522 * (wK / wL)^(1/2) + 0.5276 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/0.92) * [-0.0614 + 0.5477 * (wL / wK)^(1/2) + 0.3836 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/0.92) * [-0.1534 + 0.4937 * (wL / wM)^(1/2) + 0.416 * (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.55210.32740.22481.087
0.3343-0.55110.21671.087
0.26870.3086-0.57731.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.11332 * wL + -0.06138 * wK + -0.15338 * wM + 1.06977 * (wL*wK)^(1/2) + 1.02138 * (wL*wM)^(1/2) + 0.79959 * (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.113640.025944-4.380145
dLK0.5318780.01878128.319699
dLM0.5135540.01718829.878588
cKK-0.0623280.018703-3.332602
dKL0.5318780.01878128.319699
dKM0.4017430.0159725.156822
cMM-0.153430.02161-7.100028
dML0.5135540.01718829.878588
dMK0.4017430.0159725.156822
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.1136 + 0.5319 * (wK / wL)^(1/2) + 0.5136 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/0.92) * [-0.0623 + 0.5319 * (wL / wK)^(1/2) + 0.4017 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/0.92) * [-0.1534 + 0.5136 * (wL / wM)^(1/2) + 0.4017 * (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.55230.33350.21881.087
0.3248-0.55190.22711.087
0.27940.2979-0.57731.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.11364 * wL + -0.06233 * wK + -0.15343 * wM + 1.06376 * (wL*wK)^(1/2) + 1.02711 * (wL*wM)^(1/2) + 0.80349 * (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.085730.027880.03962
0.02788-0.025510.02274
0.039620.02274-0.0955

The principal minors of H are H1 = -0.085735, H2 = 0.00141, 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.1306, e2 = -0.0762, 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.66 12.084.74 26.1812.41 25.310.90.790.830.924418418.2626.2312.8124.280.3550.370.2750.930.750.930.830.750.83 -0.169-0.0940
2195.78 12.17.66 30.7114.93 20.430.90.790.830.932514.65512.4730.6115.3419.580.3450.3620.2930.850.810.850.870.810.87 -0.141-0.0670
3205.34 11.725.34 30.8314.37 25.620.90.790.830.925469.89469.7230.8314.7424.790.350.3680.2820.90.770.90.850.770.85 -0.163-0.09-0
4216.98 13.485.74 29.8315.57 29.010.90.790.830.924584.58584.8829.8615.9428.150.3560.3670.2760.920.770.920.810.770.81 -0.136-0.0770
5227.52 14.564.4 29.1415.15 37.150.890.790.830.917603.24605.4229.3415.5735.940.3640.3740.2610.970.740.970.780.740.78 -0.18-0.076-0
6238.44 11.547.04 29.5921.02 28.470.90.790.830.929692.78691.7629.5221.3427.890.360.3560.2840.890.850.890.780.850.78 -0.104-0.070
7245.26 11.427.72 40.9419.56 24.630.90.790.830.93628.85627.7340.8919.924.020.3430.3620.2950.840.820.840.890.820.89 -0.156-0.067-0
8258.46 14.487.04 34.7620.37 33.130.90.790.830.923822.25822.5334.7520.6532.60.3570.3640.2790.910.80.910.80.80.8 -0.109-0.065-0
9268.46 11.887.46 34.524.12 31.430.90.790.830.927812.92812.5534.4824.3331.080.3590.3560.2850.890.850.890.790.850.79 -0.101-0.0680
10275.22 12.166.24 45.3320.44 31.850.90.790.830.923683.93684.2545.320.6431.540.3460.3670.2880.880.770.880.870.770.87 -0.161-0.08-0
11285.06 12.625.44 47.0720.01 35.870.890.790.830.92685.85686.5147.0920.1435.680.3470.370.2830.90.750.90.870.750.87 -0.172-0.089-0
12296.52 12.444.74 41.0722.03 43.070.890.790.830.917745.96746.8641.1622.1842.740.3590.3690.2710.940.760.940.80.760.8 -0.162-0.085-0
13307 136 43.7924.14 40.130.890.790.830.92861.17861.8943.8224.2340.030.3560.3650.2790.910.790.910.820.790.82 -0.131-0.0760
14316.74 11.227.72 46.7728.53 33.920.90.790.830.926897.26897.9246.8928.5533.880.3520.3570.2910.860.840.860.840.840.84 -0.118-0.069-0
15327.42 12.324.14 41.325.09 53.370.890.790.830.913836.45837.2141.3225.2353.080.3660.3710.2620.970.760.970.760.760.76 -0.187-0.078-0
16335.4 13.487.38 59.4525.56 36.870.90.790.830.921937.74938.6959.3525.5637.070.3410.3670.2910.860.780.860.890.780.89 -0.156-0.068-0
17347.32 14.387.92 53.8328.53 40.450.890.790.830.9211124.631125.7253.8728.4340.730.350.3630.2870.880.80.880.850.80.85 -0.113-0.063-0
18358.68 14.927.56 50.6830.17 45.390.890.790.830.9191233.131234.150.6830.0145.830.3560.3630.2810.90.80.90.810.80.81 -0.103-0.0620
19367.06 13.865.42 53.1228.15 52.410.890.790.830.9141049.191049.2553.1727.9552.860.3580.3690.2730.930.760.930.810.760.81 -0.143-0.0780
20377.12 12.866.72 55.6931.87 46.510.890.790.830.9191118.981119.955.7231.647.150.3540.3630.2830.90.80.90.820.80.82 -0.121-0.072-0
21385.38 154.32 64.0425.04 60.20.890.790.830.908980.26978.4564.3724.660.910.3540.3770.2690.950.690.950.850.690.85 -0.194-0.102-0
22397.7 14.264.18 52.929.53 68.690.890.790.830.9081115.471114.0353.0229.2868.950.3660.3750.2590.980.740.980.770.740.77 -0.191-0.074-0
23407.16 11.764.84 54.6834.04 59.550.890.790.830.9141079.981079.4154.5933.6560.50.3620.3670.2710.940.790.940.780.790.78 -0.155-0.080
24415.28 14.266.46 75.430.59 50.220.890.790.830.9151158.81158.6475.2330.1151.40.3430.3710.2870.890.750.890.890.750.89 -0.163-0.076-0
25426.14 12.364.44 62.6132.72 64.050.890.790.830.9111073.271071.4962.6532.1765.150.3590.3710.270.940.750.940.810.750.81 -0.175-0.09-0
26438.1 12.866.5 60.6939.16 57.30.890.790.830.9161367.591367.8460.6338.4958.740.3590.3620.2790.910.810.910.790.810.79 -0.115-0.07-0
27447.18 14.17.5 70.7138.02 53.610.890.790.830.9171445.841446.5470.7237.3155.020.3510.3640.2850.890.80.890.840.80.84 -0.117-0.066-0
28456.48 11.585.16 66.2238.61 62.520.890.790.830.9131198.841197.6966.1437.8364.160.3580.3660.2760.920.790.920.80.790.8 -0.148-0.0850
29468.42 11.245.54 59.1544.5 65.460.890.790.830.9151360.961360.2358.8743.6467.50.3640.3610.2750.930.830.930.750.830.75 -0.13-0.073-0
30475.28 13.466.56 86.1537.06 56.170.890.790.830.9141322.141321.4985.9236.2157.990.3430.3690.2880.880.760.880.880.760.88 -0.161-0.075-0
31488.32 13.526.72 69.0643.93 64.290.890.790.830.9141600.621599.7168.9542.8966.390.3590.3620.2790.910.810.910.80.810.8 -0.112-0.067-0
AVE:336.8 12.936.09 49.8726.82 44.70.890.790.830.919949.2949.1349.8726.8244.70.3550.3660.2790.910.780.910.820.780.82-0.145-0.076-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.0136680.09-0.151
cKK0.0095860.0440.22
cMM-0.0741320.059-1.253
2*dLK0.9353160.1029.2
2*dLM1.000840.1039.688
2*dKM0.7212460.0878.291
R2 = 0.9999 R2b = 0.9998 # 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.01367 * wL + 0.00959 * wK + -0.07413 * wM + 0.93532 * (wL*wK)^(1/2) + 1.00084 * (wL*wM)^(1/2) + 0.72125 * (wK*wM)^(1/2)]
        (***)

XII. Its three derived factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/0.92) * [-0.0137 + 0.4677 * (wK / wL)^(1/2) + 0.5004 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/0.92) * [0.0096 + 0.4677 * (wL / wK)^(1/2) + 0.3606 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/0.92) * [-0.0741 + 0.5004 * (wL / wM)^(1/2) + 0.3606 * (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.50630.29320.21311.087
0.287-0.4920.20491.087
0.2710.2662-0.53721.087

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

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

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

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

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

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

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

H = ∇2wwc =
-0.078610.024510.03861
0.02451-0.022620.02042
0.038610.02042-0.08928

The principal minors of H are H1 = -0.078615, H2 = 0.001178, 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.1229, e2 = -0.0676, 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.66 12.084.74 26.1812.41 25.310.90.790.830.924418418.0326.0912.8624.260.3530.3720.2750.820.740.820.740.740.74 -0.159-0.0830
2195.78 12.17.66 30.7114.93 20.430.90.790.830.932514.65512.8330.4115.2119.970.3430.3590.2980.760.780.760.780.780.78 -0.131-0.061-0
3205.34 11.725.34 30.8314.37 25.620.90.790.830.925469.89469.5430.6114.7624.930.3480.3680.2830.80.750.80.750.750.75 -0.152-0.08-0
4216.98 13.485.74 29.8315.57 29.010.90.790.830.924584.58584.5229.8315.9128.20.3560.3670.2770.810.750.810.730.750.73 -0.128-0.0680
5227.52 14.564.4 29.1415.15 37.150.890.790.830.917603.24605.2629.3615.6635.580.3650.3770.2590.850.730.850.70.730.7 -0.169-0.067-0
6238.44 11.547.04 29.5921.02 28.470.90.790.830.929692.78692.3829.9120.8828.260.3650.3480.2870.790.80.790.710.80.71 -0.099-0.0620
7245.26 11.427.72 40.9419.56 24.630.90.790.830.93628.85628.4940.5519.7324.60.3390.3580.3020.750.780.750.790.780.79 -0.145-0.0610
8258.46 14.487.04 34.7620.37 33.130.90.790.830.923822.25822.2234.8820.4632.80.3590.360.2810.810.770.810.720.770.72 -0.102-0.057-0
9268.46 11.887.46 34.524.12 31.430.90.790.830.927812.92813.2834.8823.8231.540.3630.3480.2890.790.80.790.720.80.72 -0.095-0.060
10275.22 12.166.24 45.3320.44 31.850.90.790.830.923683.93684.344.8520.6531.90.3420.3670.2910.780.750.780.770.750.77 -0.15-0.071-0
11285.06 12.625.44 47.0720.01 35.870.890.790.830.92685.85686.4846.5320.2935.830.3430.3730.2840.80.730.80.770.730.77 -0.16-0.08-0
12296.52 12.444.74 41.0722.03 43.070.890.790.830.917745.96746.3941.1622.1842.640.360.370.2710.820.740.820.720.740.72 -0.153-0.076-0
13307 136 43.7924.14 40.130.890.790.830.92861.17861.4343.8324.140.210.3560.3640.280.810.760.810.730.760.73 -0.123-0.068-0
14316.74 11.227.72 46.7728.53 33.920.90.790.830.926897.26898.847.0228.0534.610.3530.350.2970.770.80.770.750.80.75 -0.11-0.062-0
15327.42 12.324.14 41.325.09 53.370.890.790.830.913836.4583741.6425.1652.680.3690.370.2610.850.750.850.690.750.69 -0.176-0.069-0
16335.4 13.487.38 59.4525.56 36.870.90.790.830.921937.74939.2558.625.637.630.3370.3670.2960.770.760.770.790.760.79 -0.145-0.0610
17347.32 14.387.92 53.8328.53 40.450.890.790.830.9211124.631125.6553.728.2241.250.3490.3610.290.780.770.780.750.770.75 -0.106-0.056-0
18358.68 14.927.56 50.6830.17 45.390.890.790.830.9191233.131233.7350.8529.746.190.3580.3590.2830.80.770.80.730.770.73 -0.097-0.055-0
19367.06 13.865.42 53.1228.15 52.410.890.790.830.9141049.191048.5953.127.9752.780.3570.370.2730.820.740.820.730.740.73 -0.135-0.0690
20377.12 12.866.72 55.6931.87 46.510.890.790.830.9191118.981119.6155.7631.3147.60.3550.360.2860.790.770.790.740.770.74 -0.113-0.064-0
21385.38 154.32 64.0425.04 60.20.890.790.830.908980.26979.3263.3825.1960.290.3480.3860.2660.830.690.830.750.690.75 -0.182-0.09-0
22397.7 14.264.18 52.929.53 68.690.890.790.830.9081115.471113.8653.1729.4268.170.3680.3770.2560.850.730.850.70.730.7 -0.179-0.066-0
23407.16 11.764.84 54.6834.04 59.550.890.790.830.9141079.981078.9554.9733.460.460.3650.3640.2710.830.760.830.70.760.7 -0.146-0.0710
24415.28 14.266.46 75.430.59 50.220.890.790.830.9151158.81159.1174.0930.451.760.3380.3740.2880.790.730.790.780.730.78 -0.152-0.0690
25426.14 12.364.44 62.6132.72 64.050.890.790.830.9111073.271070.8862.5132.2864.880.3580.3730.2690.830.740.830.720.740.72 -0.165-0.08-0
26438.1 12.866.5 60.6939.16 57.30.890.790.830.9161367.591367.6461.063859.140.3620.3570.2810.810.780.810.720.780.72 -0.109-0.062-0
27447.18 14.17.5 70.7138.02 53.610.890.790.830.9171445.841446.2870.5137.0755.640.350.3610.2890.790.770.790.750.770.75 -0.109-0.059-0
28456.48 11.585.16 66.2238.61 62.520.890.790.830.9131198.841197.0466.2937.664.340.3590.3640.2770.810.760.810.720.760.72 -0.14-0.0750
29468.42 11.245.54 59.1544.5 65.460.890.790.830.9151360.961360.9659.8442.8467.80.370.3540.2760.820.790.820.690.790.69 -0.123-0.0640
30475.28 13.466.56 86.1537.06 56.170.890.790.830.9141322.141321.8884.7936.4158.550.3390.3710.2910.780.740.780.780.740.78 -0.15-0.0680
31488.32 13.526.72 69.0643.93 64.290.890.790.830.9141600.621599.3469.3842.3966.820.3610.3580.2810.810.780.810.720.780.72 -0.106-0.06-0
AVE:336.8 12.936.09 49.7926.69 44.880.890.790.830.919949.2949.1349.7926.6944.880.3540.3650.2810.80.760.80.740.760.74-0.136-0.068-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.124890.079-1.573
dLK0.7274880.06511.177
dLM0.6502530.0699.4
R2 = 0.9413 R2b = 0.9371 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cKK-0.0777470.077-1.005
dKL0.7819060.0948.303
dKM0.4667780.0835.625
R2 = 0.825 R2b = 0.8125 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cMM-0.2427850.01-24.347
dML0.7087490.01260.459
dMK0.5559830.00959.564
R2 = 0.9989 R2b = 0.9988 # obs = 31

The three estimated factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/1) * [-0.1249 + 0.7275 * (wK / wL)^(1/2) + 0.6503 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/1) * [-0.0777 + 0.7819 * (wL / wK)^(1/2) + 0.4668 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/1) * [-0.2428 + 0.7087 * (wL / wM)^(1/2) + 0.556 * (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.54250.33750.2051
0.3528-0.54780.1951
0.28540.3051-0.59051

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.12489 * wL + -0.07775 * wK + -0.24279 * wM + 1.50939 * (wL*wK)^(1/2) + 1.359 * (wL*wM)^(1/2) + 1.02276 * (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.147670.046934-3.146336
dLK0.7200370.03397621.192639
dLM0.6851250.03109422.0342
cKK-0.0932160.033833-2.755151
dKL0.7200370.03397621.192639
dKM0.5548510.02888919.206047
cMM-0.2158510.039093-5.521503
dML0.6851250.03109422.0342
dMK0.5548510.02888919.206047
R2 = 0.9944 R2b = 0.9938 # 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.1477 + 0.72 * (wK / wL)^(1/2) + 0.6851 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/1) * [-0.0932 + 0.72 * (wL / wK)^(1/2) + 0.5549 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/1) * [-0.2159 + 0.6851 * (wL / wM)^(1/2) + 0.5549 * (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.55030.33420.21611
0.3253-0.55740.23211
0.27590.3045-0.58051

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.14767 * wL + -0.09322 * wK + -0.21585 * wM + 1.44007 * (wL*wK)^(1/2) + 1.37025 * (wL*wM)^(1/2) + 1.1097 * (wK*wM)^(1/2)]
        (***)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

H = ∇2wwc =
-0.11540.037740.05286
0.03774-0.034820.03141
0.052860.03141-0.12973

The principal minors of H are H1 = -0.115396, H2 = 0.002594, 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.1759, e2 = -0.104, 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.66 12.084.74 26.1812.41 25.310.90.790.830.924418439.5127.5613.4525.530.3550.370.2750.930.740.930.840.740.84 -0.228-0.128-0
2195.78 12.17.66 30.7114.93 20.430.90.790.830.932514.65535.9831.9716.0720.460.3450.3630.2920.850.80.850.890.80.89 -0.189-0.092-0
3205.34 11.725.34 30.8314.37 25.620.90.790.830.925469.89489.132.0815.3525.830.350.3680.2820.90.760.90.870.760.87 -0.219-0.1230
4216.98 13.485.74 29.8315.57 29.010.90.790.830.924584.58606.4230.9616.5329.190.3560.3670.2760.920.760.920.830.760.83 -0.183-0.105-0
5227.52 14.564.4 29.1415.15 37.150.890.790.830.917603.24625.1330.3216.0437.160.3650.3740.2620.970.730.970.80.730.8 -0.243-0.103-0
6238.44 11.547.04 29.5921.02 28.470.90.790.830.929692.78711.530.3621.9928.630.360.3570.2830.890.840.890.80.840.8 -0.141-0.096-0
7245.26 11.427.72 40.9419.56 24.630.90.790.830.93628.85643.3241.8420.4424.590.3420.3630.2950.840.810.840.910.810.91 -0.209-0.0920
8258.46 14.487.04 34.7620.37 33.130.90.790.830.923822.25839.9735.4821.133.270.3570.3640.2790.910.790.910.820.790.82 -0.146-0.0880
9268.46 11.887.46 34.524.12 31.430.90.790.830.927812.92826.8735.0724.8131.560.3590.3560.2850.890.840.890.810.840.81 -0.136-0.093-0
10275.22 12.166.24 45.3320.44 31.850.90.790.830.923683.93694.1445.9120.95320.3450.3670.2880.880.770.880.890.770.89 -0.216-0.109-0
11285.06 12.625.44 47.0720.01 35.870.890.790.830.92685.85694.2247.620.3636.120.3470.370.2830.90.740.90.890.740.89 -0.231-0.122-0
12296.52 12.444.74 41.0722.03 43.070.890.790.830.917745.96752.9241.522.3543.110.3590.3690.2710.940.750.940.820.750.82 -0.219-0.116-0
13307 136 43.7924.14 40.130.890.790.830.92861.17866.3344.0424.3640.230.3560.3660.2790.910.780.910.830.780.83 -0.176-0.104-0
14316.74 11.227.72 46.7728.53 33.920.90.790.830.926897.26899.8546.9528.6833.890.3520.3580.2910.860.830.860.860.830.86 -0.159-0.095-0
15327.42 12.324.14 41.325.09 53.370.890.790.830.913836.45836.8241.3425.1953.070.3670.3710.2630.970.750.970.780.750.78 -0.254-0.1060
16335.4 13.487.38 59.4525.56 36.870.90.790.830.921937.74935.8159.125.5136.960.3410.3670.2910.860.770.860.910.770.91 -0.209-0.0930
17347.32 14.387.92 53.8328.53 40.450.890.790.830.9211124.631119.2753.5228.340.480.350.3640.2860.880.790.880.860.790.86 -0.152-0.0860
18358.68 14.927.56 50.6830.17 45.390.890.790.830.9191233.131223.9250.2529.7845.420.3560.3630.2810.910.790.910.830.790.83 -0.138-0.0850
19367.06 13.865.42 53.1228.15 52.410.890.790.830.9141049.191038.0652.6127.6452.320.3580.3690.2730.940.750.940.830.750.83 -0.193-0.106-0
20377.12 12.866.72 55.6931.87 46.510.890.790.830.9191118.981105.3154.9731.2146.510.3540.3630.2830.90.790.90.840.790.84 -0.162-0.0990
21385.38 154.32 64.0425.04 60.20.890.790.830.908980.26963.3163.424.1660.140.3540.3760.270.960.680.960.870.680.87 -0.262-0.139-0
22397.7 14.264.18 52.929.53 68.690.890.790.830.9081115.471094.4552.1428.7267.820.3670.3740.2590.980.730.980.790.730.79 -0.259-0.101-0
23407.16 11.764.84 54.6834.04 59.550.890.790.830.9141079.981058.1853.5432.9859.290.3620.3670.2710.940.780.940.80.780.8 -0.209-0.1090
24415.28 14.266.46 75.430.59 50.220.890.790.830.9151158.81133.4873.5329.4550.340.3430.3710.2870.890.740.890.910.740.91 -0.219-0.1050
25426.14 12.364.44 62.6132.72 64.050.890.790.830.9111073.271045.9361.1731.3763.650.3590.3710.270.950.740.950.820.740.82 -0.236-0.123-0
26438.1 12.866.5 60.6939.16 57.30.890.790.830.9161367.591332.4959.0537.5357.160.3590.3620.2790.910.80.910.810.80.81 -0.155-0.095-0
27447.18 14.17.5 70.7138.02 53.610.890.790.830.9171445.841406.3768.7136.3153.470.3510.3640.2850.890.790.890.860.790.86 -0.157-0.09-0
28456.48 11.585.16 66.2238.61 62.520.890.790.830.9131198.841162.1664.1836.7162.240.3580.3660.2760.920.780.920.820.780.82 -0.2-0.116-0
29468.42 11.245.54 59.1544.5 65.460.890.790.830.9151360.961317.3557.0442.365.280.3650.3610.2750.930.820.930.770.820.77 -0.176-0.0990
30475.28 13.466.56 86.1537.06 56.170.890.790.830.9141322.141277.5482.9835.0256.10.3430.3690.2880.880.750.880.90.750.9 -0.216-0.1030
31488.32 13.526.72 69.0643.93 64.290.890.790.830.9141600.621543.5466.5241.4164.010.3590.3630.2790.910.80.910.810.80.81 -0.151-0.092-0
AVE:336.8 12.936.09 49.5426.65 44.380.890.790.830.919949.2942.5649.5426.6544.380.3550.3660.2790.910.770.910.840.770.84-0.195-0.104-0




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

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

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

SVD Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cLL2.7125012.3231.168
cKK-0.0876961.121-0.078
cMM-1.9871011.522-1.306
2*dLK-1.620632.615-0.62
2*dLM-0.0705912.657-0.027
2*dKM4.4059042.2381.969
R2 = 0.9529 R2b = 0.9435 # obs = 31
Observation Matrix Rank: 6
The Diewert cost function as obtained by direct estimation is:

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

= q^(1/1) * [2.7125 * wL + -0.0877 * wK + -1.9871 * wM + -1.62063 * (wL*wK)^(1/2) + -0.07059 * (wL*wM)^(1/2) + 4.4059 * (wK*wM)^(1/2)]
        (***)

XXVI. Its three derived factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/1) * [2.7125 + -0.8103 * (wK / wL)^(1/2) + -0.0353 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/1) * [-0.0877 + -0.8103 * (wL / wK)^(1/2) + 2.203 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/1) * [-1.9871 + -0.0353 * (wL / wM)^(1/2) + 2.203 * (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.3608-0.3504-0.01041
-0.3651-0.55380.91891
-0.01571.3318-1.31611

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.84 = 57.84 = 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.08121-0.04247-0.00272
-0.04247-0.034690.12472
-0.002720.12472-0.26704

The principal minors of H are H1 = 0.081211, H2 = -0.004621, 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.3218, e2 = 0.1013, 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.66 12.084.74 26.1812.41 25.310.90.790.830.924418440.0626.9413.2826.840.3460.3640.289-1.09-0.04-1.093.24-0.043.24 -0.4220.1280
2195.78 12.17.66 30.7114.93 20.430.90.790.830.932514.65528.0228.492114.270.3120.4810.207-0.81-0.07-0.813.83-0.073.83 -0.2470.1240
3205.34 11.725.34 30.8314.37 25.620.90.790.830.925469.89490.0729.5317.0524.820.3220.4080.27-1-0.04-13.22-0.043.22 -0.3630.136-0
4216.98 13.485.74 29.8315.57 29.010.90.790.830.924584.58607.6132.6416.128.350.3750.3570.268-1.01-0.04-1.013.5-0.043.5 -0.3420.1020
5227.52 14.564.4 29.1415.15 37.150.890.790.830.917603.24622.1334.2811.943.430.4140.2790.307-1.3-0.03-1.33.64-0.033.64 -0.4910.0960
6238.44 11.547.04 29.5921.02 28.470.90.790.830.929692.78714.5339.8521.6218.280.4710.3490.18-0.78-0.05-0.785.08-0.055.08 -0.2660.0820
7245.26 11.427.72 40.9419.56 24.630.90.790.830.93628.85630.8335.4228.1715.910.2950.510.195-0.79-0.07-0.793.96-0.073.96 -0.2460.1370
8258.46 14.487.04 34.7620.37 33.130.90.790.830.923822.25842.2740.520.7228.340.4070.3560.237-0.92-0.04-0.923.91-0.043.91 -0.2720.0830
9268.46 11.887.46 34.524.12 31.430.90.790.830.927812.92825.5444.725.3319.640.4580.3640.177-0.77-0.05-0.775.05-0.055.05 -0.2510.0820
10275.22 12.166.24 45.3320.44 31.850.90.790.830.923683.93695.4638.825.9128.510.2910.4530.256-0.95-0.05-0.953.22-0.053.22 -0.3060.1410
11285.06 12.625.44 47.0720.01 35.870.890.790.830.92685.85699.8339.0923.6837.360.2830.4270.29-1.07-0.05-1.072.95-0.052.95 -0.3610.1480
12296.52 12.444.74 41.0722.03 43.070.890.790.830.917745.96754.5945.3319.8844.670.3920.3280.281-1.09-0.03-1.093.53-0.033.53 -0.4250.11-0
13307 136 43.7924.14 40.130.890.790.830.92861.17867.5847.2724.4336.520.3810.3660.253-0.96-0.04-0.963.64-0.043.64 -0.3220.1010
14316.74 11.227.72 46.7728.53 33.920.90.790.830.926897.26879.1850.5134.4619.710.3870.440.173-0.73-0.07-0.734.75-0.074.75 -0.2450.1020
15327.42 12.324.14 41.325.09 53.370.890.790.830.913836.45844.7852.5417.9456.510.4620.2620.277-1.22-0.03-1.224.11-0.034.11 -0.5030.0960
16335.4 13.487.38 59.4525.56 36.870.90.790.830.921937.74939.645.933.9731.680.2640.4870.249-0.94-0.06-0.943.18-0.063.18 -0.2570.1390
17347.32 14.387.92 53.8328.53 40.450.890.790.830.9211124.631112.1852.3632.9532.210.3450.4260.229-0.87-0.05-0.873.68-0.053.68 -0.2390.0970
18358.68 14.927.56 50.6830.17 45.390.890.790.830.9191233.131224.7156.630.1837.440.4010.3680.231-0.89-0.04-0.893.93-0.043.93 -0.2520.0810
19367.06 13.865.42 53.1228.15 52.410.890.790.830.9141049.191039.8255.6625.6253.830.3780.3410.281-1.08-0.04-1.083.45-0.043.45 -0.3690.102-0
20377.12 12.866.72 55.6931.87 46.510.890.790.830.9191118.981102.3858.833.3737.890.380.3890.231-0.88-0.05-0.883.82-0.053.82 -0.2820.0990
21385.38 154.32 64.0425.04 60.20.890.790.830.908980.26959.9350.4623.1578.980.2830.3620.355-1.41-0.03-1.412.73-0.032.73 -0.5090.1440
22397.7 14.264.18 52.929.53 68.690.890.790.830.9081115.471090.5661.7719.8779.320.4360.260.304-1.34-0.03-1.343.85-0.033.85 -0.5220.0930
23407.16 11.764.84 54.6834.04 59.550.890.790.830.9141079.981069.0465.827.7356.150.4410.3050.254-1.03-0.03-1.034.01-0.034.01 -0.4080.099-0
24415.28 14.266.46 75.430.59 50.220.890.790.830.9151158.81149.9555.0136.9851.410.2530.4590.289-1.08-0.05-1.082.85-0.052.85 -0.3010.1450
25426.14 12.364.44 62.6132.72 64.050.890.790.830.9111073.271045.8164.3827.7869.170.3780.3280.294-1.14-0.03-1.143.4-0.033.4 -0.4610.1170
26438.1 12.866.5 60.6939.16 57.30.890.790.830.9161367.591339.7471.3735.9246.10.4320.3450.224-0.89-0.04-0.894.19-0.044.19 -0.2930.0860
27447.18 14.17.5 70.7138.02 53.610.890.790.830.9171445.841400.0767.841.3943.950.3480.4170.235-0.88-0.05-0.883.63-0.053.63 -0.2530.0990
28456.48 11.585.16 66.2238.61 62.520.890.790.830.9131198.841166.3571.934.9557.310.3990.3470.254-0.98-0.04-0.983.73-0.043.73 -0.3760.1090
29468.42 11.245.54 59.1544.5 65.460.890.790.830.9151360.961350.7680.3934.8550.930.5010.290.209-0.92-0.04-0.924.89-0.044.89 -0.3440.0840
30475.28 13.466.56 86.1537.06 56.170.890.790.830.9141322.141289.1864.8344.3153.430.2660.4630.272-1.01-0.05-1.013-0.053 -0.2930.1430
31488.32 13.526.72 69.0643.93 64.290.890.790.830.9141600.621550.8379.139.8352.720.4240.3470.228-0.9-0.04-0.94.1-0.044.1 -0.2840.0840
AVE:336.8 12.936.09 51.2327.24 41.150.890.790.830.919949.2944.351.2327.2441.150.3720.3770.252-0.99-0.04-0.993.74-0.043.74-0.3390.1090



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