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.105890.004-24.674
dLK0.5125960.004137.805
dLM0.5336420.004124.804
R2 = 0.9997 R2b = 0.9996 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cKK-0.0793370.024-3.358
dKL0.509270.02719.14
dKM0.4513580.02816.365
R2 = 0.9668 R2b = 0.9645 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cMM-0.2480770.04-6.162
dML0.5445230.03913.841
dMK0.4425080.03313.525
R2 = 0.9732 R2b = 0.9713 # obs = 31

The three estimated factor demand functions are:

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

∂C/∂wK = K(q; wL, wK, wM) = q^(1/0.92) * [-0.0793 + 0.5093 * (wL / wK)^(1/2) + 0.4514 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/0.92) * [-0.2481 + 0.5445 * (wL / wM)^(1/2) + 0.4425 * (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.54870.32140.22731.087
0.3109-0.5660.25511.087
0.29660.3285-0.62511.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.10589 * wL + -0.07934 * wK + -0.24808 * wM + 1.02187 * (wL*wK)^(1/2) + 1.07817 * (wL*wM)^(1/2) + 0.89387 * (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.1071210.02429-4.410142
dLK0.5100380.01797528.375344
dLM0.53880.01723231.267885
cKK-0.0765750.018405-4.160442
dKL0.5100380.01797528.375344
dKM0.4463980.01660126.890179
cMM-0.247680.023838-10.390185
dML0.53880.01723231.267885
dMK0.4463980.01660126.890179
R2 = 0.997 R2b = 0.9968 # obs = 93

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

The three estimated, restricted factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/0.92) * [-0.1071 + 0.51 * (wK / wL)^(1/2) + 0.5388 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/0.92) * [-0.0766 + 0.51 * (wL / wK)^(1/2) + 0.4464 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/0.92) * [-0.2477 + 0.5388 * (wL / wM)^(1/2) + 0.4464 * (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.54930.31980.22951.087
0.3114-0.56370.25231.087
0.29350.3314-0.62491.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.10712 * wL + -0.07657 * wK + -0.24768 * wM + 1.02008 * (wL*wK)^(1/2) + 1.0776 * (wL*wM)^(1/2) + 0.8928 * (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.74 = 42.74 = 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.085280.026730.04157
0.02673-0.026060.02527
0.041570.02527-0.10325

The principal minors of H are H1 = -0.085278, H2 = 0.001508, 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.1369, e2 = -0.0777, 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 Elasticities∇2wwc(w)
obs #qwLwKwM LK MsLKsLMsKMεLKMcostest costest Lest Kest MsLsKsMuLKuLMuKLuKMuMLuMKe1e2e3
1186.96 14.644.88 25.0311.99 27.950.890.790.830.921486.19487.1225.0812.3327.050.3580.3710.2710.920.770.920.890.770.89 -0.171-0.08-0
2197.56 14.426.48 26.9214.13 25.50.90.790.830.926572.45571.9826.914.5324.550.3560.3660.2780.880.820.880.910.820.91 -0.127-0.072-0
3208.74 13.645.62 25.0215.65 29.910.890.790.830.924600.23600.3724.9716.0429.060.3630.3650.2720.910.830.910.850.830.85 -0.142-0.0660
4216.24 11.384 27.7115.16 32.980.890.790.830.92477.37478.1427.7215.4832.240.3620.3680.270.920.790.920.870.790.87 -0.205-0.091-0
5226.18 12.447.44 34.7117.59 24.70.90.790.830.929617.2615.4934.7618.0823.620.3490.3650.2860.820.860.820.960.860.96 -0.134-0.0730
6237.04 12.286.5 32.7218.79 28.840.90.790.830.926648.5647.8732.7519.1627.990.3560.3630.2810.860.850.860.910.850.91 -0.127-0.0760
7247.38 11.35.18 30.8919.88 33.970.890.790.830.923628.54628.6730.8620.1833.370.3620.3630.2750.890.840.890.860.840.86 -0.152-0.0790
8257.94 13.584.34 31.7118.5 42.410.890.790.830.916687.08688.1831.6918.7142.030.3660.3690.2650.940.780.940.840.780.84 -0.194-0.0720
9266.94 11.345.12 34.7921.25 36.470.890.790.830.921669.13669.4634.7821.4836.030.3610.3640.2760.890.830.890.870.830.87 -0.155-0.082-0
10275.44 14.264.38 43.1517.46 41.590.890.790.830.914665.94666.7543.2317.4741.650.3530.3740.2740.920.730.920.930.730.93 -0.199-0.101-0
11285.84 14.284.18 42.7718.42 45.280.890.790.830.913702.02702.6942.8818.3745.430.3560.3730.270.930.740.930.910.740.91 -0.206-0.096-0
12295.44 13.27.24 50.8822.26 32.580.90.790.830.923806.47806.3850.8722.631.950.3430.370.2870.820.830.820.990.830.99 -0.155-0.0740
13307 136 43.7924.14 40.130.890.790.830.92861.17861.6543.8224.2339.980.3560.3660.2780.870.820.870.910.820.91 -0.137-0.078-0
14318.28 13.686.48 42.8226.18 42.230.890.790.830.92986.34986.8642.8426.2242.20.3590.3630.2770.880.840.880.880.840.88 -0.123-0.0690
15327.26 11.366.08 44.2128.42 41.230.890.790.830.921894.47894.9244.2928.4541.150.3590.3610.280.860.860.860.890.860.89 -0.13-0.0790
16335.18 12.464.12 52.0822.99 50.030.890.790.830.913762.34762.1652.0822.7650.660.3540.3720.2740.910.750.910.920.750.92 -0.208-0.1060
17345.6 14.927.94 63.2825.75 37.960.890.790.830.9211039.931040.3663.1625.9437.730.340.3720.2880.820.810.821.010.811.01 -0.153-0.067-0
18355.18 146.26 63.2825.43 43.080.890.790.830.917953.43953.7863.1125.3743.390.3430.3720.2850.850.790.850.980.790.98 -0.169-0.083-0
19367.34 11.925.42 49.4830.95 50.590.890.790.830.9171006.331006.549.4530.7151.190.3610.3640.2760.890.830.890.870.830.87 -0.146-0.078-0
20378.82 12.964.84 46.3331.58 60.190.890.790.830.9131109.291108.2846.131.2561.290.3670.3650.2680.930.820.930.830.820.83 -0.169-0.066-0
21387.3 156.3 58.6730 52.410.890.790.830.9151208.491208.0558.6329.6453.240.3540.3680.2780.880.80.880.920.80.92 -0.133-0.073-0
22398.7 12.87.62 54.2637.25 48.160.890.790.830.921315.861316.9954.4836.9248.620.360.3590.2810.850.880.850.890.880.89 -0.104-0.0660
23407.92 156.8 60.3333.23 540.890.790.830.9151343.451343.0260.3132.7854.950.3560.3660.2780.880.820.880.910.820.91 -0.121-0.068-0
24418.74 11.345.92 52.0139.87 56.750.890.790.830.9171242.691243.0251.9439.2858.030.3650.3580.2760.880.870.880.840.870.84 -0.129-0.0710
25428.58 13.46.3 57.7337.69 58.660.890.790.830.9151369.981369.4257.6637.07600.3610.3630.2760.890.840.890.870.840.87 -0.125-0.0670
26436.24 13.825.36 68.8133.18 61.020.890.790.830.9121214.931212.6868.6632.4562.650.3530.370.2770.890.780.890.920.780.92 -0.159-0.0860
27445.46 11.74.34 68.6534.09 64.740.890.790.830.911054.59105268.4733.2566.620.3550.370.2750.90.780.90.910.780.91 -0.193-0.1-0
28456.82 12.76.18 69.0238.87 58.660.890.790.830.9151326.941326.1569.0338.1360.040.3550.3650.280.860.830.860.910.830.91 -0.135-0.078-0
29465.48 11.087.14 78.7241.47 49.740.890.790.830.9191245.981246.6279.1341.150.080.3480.3650.2870.80.870.80.980.870.98 -0.149-0.0770
30476.54 12.685.98 73.5140.06 61.760.890.790.830.9141358.021356.4973.4639.1763.440.3540.3660.280.870.820.870.920.820.92 -0.141-0.0810
31486.02 13.827.62 85.4540.36 54.930.890.790.830.9161490.731490.3485.4839.7655.950.3450.3690.2860.820.830.820.980.830.98 -0.14-0.070
AVE:336.91 13.055.87 49.6326.74 45.040.890.790.830.918946.65946.5349.6326.7445.040.3560.3670.2770.880.820.880.910.820.91-0.153-0.078-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.1818990.06-3.021
cKK-0.1485270.041-3.638
cMM-0.3414880.066-5.147
2*dLK1.1099920.08812.559
2*dLM1.0982950.07315.041
2*dKM1.0106090.08511.937
R2 = 0.9999 R2b = 0.9999 # obs = 31

The Diewert cost function as obtained by direct estimation is:

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

= q^(1/0.92) * [-0.1819 * wL + -0.14853 * wK + -0.34149 * wM + 1.10999 * (wL*wK)^(1/2) + 1.0983 * (wL*wM)^(1/2) + 1.01061 * (wK*wM)^(1/2)]
        (***)

XII. Its three derived factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/0.92) * [-0.1819 + 0.555 * (wK / wL)^(1/2) + 0.5491 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/0.92) * [-0.1485 + 0.555 * (wL / wK)^(1/2) + 0.5053 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/0.92) * [-0.3415 + 0.5491 * (wL / wM)^(1/2) + 0.5053 * (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.5840.34920.23481.087
0.3382-0.62340.28511.087
0.29790.3736-0.67151.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.76 = 42.76 = 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.090340.029090.04237
0.02909-0.028870.02861
0.042370.02861-0.11141

The principal minors of H are H1 = -0.090339, H2 = 0.001762, 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.1448, e2 = -0.0859, 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 Elasticities∇2wwc(w)
obs #qwLwKwM LK MsLKsLMsKMεLKMcostest costest Lest Kest MsLsKsMuLKuLMuKLuKMuMLuMKe1e2e3
1186.96 14.644.88 25.0311.99 27.950.890.790.830.921486.19486.9525.0612.1727.530.3580.3660.2761.020.771.021.010.771.01 -0.183-0.088-0
2197.56 14.426.48 26.9214.13 25.50.90.790.830.926572.45572.2726.8314.5324.680.3540.3660.2790.960.830.961.020.831.02 -0.135-0.079-0
3208.74 13.645.62 25.0215.65 29.910.890.790.830.924600.23600.2624.716.0929.340.360.3660.27510.8410.950.840.95 -0.151-0.0730
4216.24 11.384 27.7115.16 32.980.890.790.830.92477.37478.0127.5615.3832.750.360.3660.2741.020.81.020.970.80.97 -0.22-0.099-0
5226.18 12.447.44 34.7117.59 24.70.90.790.830.929617.2615.6934.7718.2323.380.3490.3680.2830.880.880.881.090.881.09 -0.141-0.0810
6237.04 12.286.5 32.7218.79 28.840.90.790.830.926648.5648.1432.5919.3127.930.3540.3660.280.930.870.931.030.871.03 -0.134-0.0850
7247.38 11.35.18 30.8919.88 33.970.890.790.830.923628.54628.6630.5320.3233.550.3580.3650.2760.970.860.970.960.860.96 -0.161-0.087-0
8257.94 13.584.34 31.7118.5 42.410.890.790.830.916687.08687.5831.4218.5742.840.3630.3670.271.040.791.040.940.790.94 -0.208-0.078-0
9266.94 11.345.12 34.7921.25 36.470.890.790.830.921669.13669.5834.4921.5836.240.3570.3650.2770.970.850.970.980.850.98 -0.165-0.0910
10275.44 14.264.38 43.1517.46 41.590.890.790.830.914665.94666.0443.4917.0642.520.3550.3650.281.020.731.021.060.731.06 -0.212-0.1120
11285.84 14.284.18 42.7718.42 45.280.890.790.830.913702.02701.8443.0417.9546.450.3580.3650.2771.030.731.031.030.731.03 -0.22-0.105-0
12295.44 13.27.24 50.8822.26 32.580.90.790.830.923806.47806.6851.1522.6231.750.3450.370.2850.890.840.891.130.841.13 -0.163-0.082-0
13307 136 43.7924.14 40.130.890.790.830.92861.17862.0843.6624.2840.140.3550.3660.2790.950.840.951.020.841.02 -0.145-0.0860
14318.28 13.686.48 42.8226.18 42.230.890.790.830.92986.34987.1342.5126.3742.350.3570.3650.2780.960.860.960.990.860.99 -0.13-0.0750
15327.26 11.366.08 44.2128.42 41.230.890.790.830.921894.47895.0343.928.7641.060.3560.3650.2790.940.890.9410.891 -0.138-0.0870
16335.18 12.464.12 52.0822.99 50.030.890.790.830.913762.34761.7952.2722.3651.570.3550.3660.2791.010.751.011.040.751.04 -0.221-0.117-0
17345.6 14.927.94 63.2825.75 37.960.890.790.830.9211039.931040.5963.6625.8837.530.3430.3710.2860.890.830.891.150.831.15 -0.161-0.074-0
18355.18 146.26 63.2825.43 43.080.890.790.830.917953.43953.9963.6125.1343.570.3450.3690.2860.930.790.931.120.791.12 -0.178-0.093-0
19367.34 11.925.42 49.4830.95 50.590.890.790.830.9171006.331006.6849.0330.8651.470.3570.3650.2770.970.850.970.980.850.98 -0.155-0.086-0
20378.82 12.964.84 46.3331.58 60.190.890.790.830.9131109.291107.4445.4631.3162.130.3620.3660.2721.020.831.020.920.830.92 -0.18-0.0720
21387.3 156.3 58.6730 52.410.890.790.830.9151208.491208.5958.5929.5253.670.3540.3660.280.970.810.971.030.811.03 -0.141-0.081-0
22398.7 12.87.62 54.2637.25 48.160.890.790.830.921315.861316.6953.9137.4848.280.3560.3640.2790.920.910.9210.911 -0.109-0.0730
23407.92 156.8 60.3333.23 540.890.790.830.9151343.451343.760.1332.855.220.3540.3660.2790.960.830.961.020.831.02 -0.128-0.076-0
24418.74 11.345.92 52.0139.87 56.750.890.790.830.9171242.691242.1451.0939.8558.050.3590.3640.2770.960.910.960.940.910.94 -0.138-0.0770
25428.58 13.46.3 57.7337.69 58.660.890.790.830.9151369.981369.5457.137.3260.240.3580.3650.2770.970.860.970.970.860.97 -0.133-0.074-0
26436.24 13.825.36 68.8133.18 61.020.890.790.830.9121214.931212.9768.7632.1563.360.3540.3660.280.980.790.981.040.791.04 -0.168-0.0950
27445.46 11.74.34 68.6534.09 64.740.890.790.830.911054.591052.168.4932.9267.510.3550.3660.2780.990.780.991.030.781.03 -0.205-0.11-0
28456.82 12.76.18 69.0238.87 58.660.890.790.830.9151326.941326.8668.8138.2660.140.3540.3660.280.940.850.941.030.851.03 -0.142-0.087-0
29465.48 11.087.14 78.7241.47 49.740.890.790.830.9191245.981246.6979.1941.5549.350.3480.3690.2830.870.90.871.110.91.11 -0.157-0.086-0
30476.54 12.685.98 73.5140.06 61.760.890.790.830.9141358.021357.2673.3139.2263.630.3530.3660.280.940.840.941.040.841.04 -0.149-0.09-0
31486.02 13.827.62 85.4540.36 54.930.890.790.830.9161490.73149185.8239.8555.590.3460.3690.2840.890.850.891.110.851.11 -0.147-0.0780
AVE:336.91 13.055.87 49.5126.76 45.280.890.790.830.918946.65946.5849.5126.7645.280.3550.3660.2790.960.830.961.020.831.02-0.162-0.086-0



The Generalized CES production function as specified:

q = 1 * [0.35 * L^- 0.17647 + 0.4 * K^- 0.11823 + 0.25 *M^- 0.26339]^(-1/0.17647) = f(L,K,M).

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

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

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cLL-0.1926320.071-2.701
dLK0.646970.06210.465
dLM0.8435130.07111.87
R2 = 0.9559 R2b = 0.9528 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cKK-0.1500530.079-1.911
dKL0.660930.0887.473
dKM0.7042010.0927.682
R2 = 0.8411 R2b = 0.8297 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cMM-0.2143680.01-21.668
dML0.6929160.0171.667
dMK0.547510.00868.095
R2 = 0.9989 R2b = 0.9989 # obs = 31

The three estimated factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/1) * [-0.1926 + 0.647 * (wK / wL)^(1/2) + 0.8435 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/1) * [-0.1501 + 0.6609 * (wL / wK)^(1/2) + 0.7042 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/1) * [-0.2144 + 0.6929 * (wL / wM)^(1/2) + 0.5475 * (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.56550.29990.26561
0.2981-0.59220.29411
0.27930.3007-0.581

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.19263 * wL + -0.15005 * wK + -0.21437 * wM + 1.3079 * (wL*wK)^(1/2) + 1.53643 * (wL*wM)^(1/2) + 1.25171 * (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.1706620.045147-3.780118
dLK0.6968380.0334120.857452
dLM0.7451560.03202923.265287
cKK-0.0712090.03421-2.081508
dKL0.6968380.0334120.857452
dKM0.547410.03085617.740866
cMM-0.2714320.044308-6.1261
dML0.7451560.03202923.265287
dMK0.547410.03085617.740866
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.1707 + 0.6968 * (wK / wL)^(1/2) + 0.7452 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/1) * [-0.0712 + 0.6968 * (wL / wK)^(1/2) + 0.5474 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/1) * [-0.2714 + 0.7452 * (wL / wM)^(1/2) + 0.5474 * (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.55810.32330.23481
0.3149-0.54380.2291
0.30050.3008-0.60131

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.17066 * wL + -0.07121 * wK + -0.27143 * wM + 1.39368 * (wL*wK)^(1/2) + 1.49031 * (wL*wM)^(1/2) + 1.09482 * (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.117110.036520.05749
0.03652-0.033970.03099
0.057490.03099-0.13422

The principal minors of H are H1 = -0.117108, H2 = 0.002644, 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.1838, e2 = -0.1015, 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 Elasticities∇2wwc(w)
obs #qwLwKwM LK MsLKsLMsKMεLKMcostest costest Lest Kest MsLsKsMuLKuLMuKLuKMuMLuMKe1e2e3
1186.96 14.644.88 25.0311.99 27.950.890.790.830.921486.19512.1526.3513.0628.20.3580.3730.2690.920.790.920.810.790.81 -0.227-0.106-0
2197.56 14.426.48 26.9214.13 25.50.90.790.830.926572.45598.328.1515.2125.650.3560.3660.2780.890.840.890.830.840.83 -0.171-0.094-0
3208.74 13.645.62 25.0215.65 29.910.890.790.830.924600.23625.1825.9516.7630.210.3630.3660.2720.920.850.920.770.850.77 -0.187-0.088-0
4216.24 11.384 27.7115.16 32.980.890.790.830.92477.37495.9228.7116.1633.230.3610.3710.2680.930.810.930.790.810.79 -0.271-0.121-0
5226.18 12.447.44 34.7117.59 24.70.90.790.830.929617.2635.7635.9818.5524.540.350.3630.2870.830.870.830.870.870.87 -0.183-0.093-0
6237.04 12.286.5 32.7218.79 28.840.90.790.830.926648.5666.5633.7119.6628.90.3560.3620.2820.870.870.870.830.870.83 -0.172-0.0990
7247.38 11.35.18 30.8919.88 33.970.890.790.830.923628.54644.3431.5820.734.240.3620.3630.2750.90.860.90.780.860.78 -0.201-0.1050
8257.94 13.584.34 31.7118.5 42.410.890.790.830.916687.08703.1332.2919.2842.620.3650.3720.2630.950.810.950.760.810.76 -0.255-0.096-0
9266.94 11.345.12 34.7921.25 36.470.890.790.830.921669.13681.4135.3621.8936.680.360.3640.2760.90.850.90.790.850.79 -0.206-0.109-0
10275.44 14.264.38 43.1517.46 41.590.890.790.830.914665.94676.8743.9117.8941.760.3530.3770.270.920.760.920.850.760.85 -0.266-0.1330
11285.84 14.284.18 42.7718.42 45.280.890.790.830.913702.02711.2243.3818.7845.390.3560.3770.2670.930.760.930.830.760.83 -0.272-0.127-0
12295.44 13.27.24 50.8822.26 32.580.90.790.830.923806.47812.9351.4622.6632.30.3440.3680.2880.830.840.830.90.840.9 -0.213-0.094-0
13307 136 43.7924.14 40.130.890.790.830.92861.17866.244.0724.3640.180.3560.3660.2780.880.840.880.820.840.82 -0.184-0.102-0
14318.28 13.686.48 42.8226.18 42.230.890.790.830.92986.34989.2442.9126.2842.350.3590.3630.2770.890.860.890.80.860.8 -0.164-0.090
15327.26 11.366.08 44.2128.42 41.230.890.790.830.921894.47894.6844.2528.3641.310.3590.360.2810.880.880.880.80.880.8 -0.175-0.103-0
16335.18 12.464.12 52.0822.99 50.030.890.790.830.913762.34760.1951.9622.8650.030.3540.3750.2710.920.780.920.840.780.84 -0.277-0.1390
17345.6 14.927.94 63.2825.75 37.960.890.790.830.9211039.931034.2763.0425.6737.560.3410.370.2880.830.830.830.920.830.92 -0.21-0.085-0
18355.18 146.26 63.2825.43 43.080.890.790.830.917953.43945.8462.7925.1542.880.3440.3720.2840.860.80.860.90.80.9 -0.231-0.106-0
19367.34 11.925.42 49.4830.95 50.590.890.790.830.9171006.33995.8848.8830.4150.670.360.3640.2760.90.860.90.790.860.79 -0.194-0.103-0
20378.82 12.964.84 46.3331.58 60.190.890.790.830.9131109.291093.9745.3631.0160.320.3660.3670.2670.940.840.940.750.840.75 -0.222-0.089-0
21387.3 156.3 58.6730 52.410.890.790.830.9151208.491189.7557.7829.2552.260.3550.3690.2770.890.820.890.830.820.83 -0.179-0.096-0
22398.7 12.87.62 54.2637.25 48.160.890.790.830.921315.861294.3853.5136.148.140.360.3570.2830.860.90.860.810.90.81 -0.14-0.0870
23407.92 156.8 60.3333.23 540.890.790.830.9151343.451316.7659.1532.1553.830.3560.3660.2780.890.840.890.820.840.82 -0.163-0.089-0
24418.74 11.345.92 52.0139.87 56.750.890.790.830.9171242.691216.0250.6938.3857.060.3640.3580.2780.90.890.90.760.890.76 -0.172-0.0940
25428.58 13.46.3 57.7337.69 58.660.890.790.830.9151369.981336.9256.2336.1958.650.3610.3630.2760.90.860.90.790.860.79 -0.166-0.089-0
26436.24 13.825.36 68.8133.18 61.020.890.790.830.9121214.931181.6466.9531.7360.70.3540.3710.2750.90.810.90.840.810.84 -0.213-0.1120
27445.46 11.74.34 68.6534.09 64.740.890.790.830.911054.591023.166.6132.4864.380.3550.3710.2730.910.80.910.830.80.83 -0.257-0.132-0
28456.82 12.76.18 69.0238.87 58.660.890.790.830.9151326.941286.9767.0336.9658.320.3550.3650.280.880.850.880.830.850.83 -0.182-0.102-0
29465.48 11.087.14 78.7241.47 49.740.890.790.830.9191245.981207.8576.8539.4848.910.3490.3620.2890.820.880.820.890.880.89 -0.205-0.098-0
30476.54 12.685.98 73.5140.06 61.760.890.790.830.9141358.021311.4371.0737.8461.330.3540.3660.280.880.840.880.830.840.83 -0.19-0.105-0
31486.02 13.827.62 85.4540.36 54.930.890.790.830.9161490.731438.1382.7338.1754.150.3460.3670.2870.840.850.840.890.850.89 -0.191-0.0890
AVE:336.91 13.055.87 49.3126.56 44.730.890.790.830.918946.65940.2349.3126.5644.730.3560.3670.2770.890.840.890.820.840.82-0.204-0.102-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
cLL1.1534912.0850.553
cKK0.4502311.4130.319
cMM-2.2208272.297-0.967
2*dLK-1.7636813.06-0.576
2*dLM3.156392.5281.248
2*dKM2.7941442.9310.953
R2 = 0.9444 R2b = 0.9333 # 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) * [1.15349 * wL + 0.45023 * wK + -2.22083 * wM + -1.76368 * (wL*wK)^(1/2) + 3.15639 * (wL*wM)^(1/2) + 2.79414 * (wK*wM)^(1/2)]
        (***)

XXVI. Its three derived factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/1) * [1.1535 + -0.8818 * (wK / wL)^(1/2) + 1.5782 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/1) * [0.4502 + -0.8818 * (wL / wK)^(1/2) + 1.3971 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/1) * [-2.2208 + 1.5782 * (wL / wM)^(1/2) + 1.3971 * (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.0918-0.42530.51711
-0.4301-0.20070.63081
0.55340.6676-1.22091

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.82 = 57.82 = 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.01853-0.046220.12176
-0.04622-0.011620.07909
0.121760.07909-0.31342

The principal minors of H are H1 = -0.018527, H2 = -0.001921, 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.3793, e2 = 0.0357, 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 Elasticities∇2wwc(w)
obs #qwLwKwM LK MsLKsLMsKMεLKMcostest costest Lest Kest MsLsKsMuLKuLMuKLuKMuMLuMKe1e2e3
1186.96 14.644.88 25.0311.99 27.950.890.790.830.921486.19503.8521.5311.6837.510.2970.3390.363-1.581.52-1.581.711.521.71 -0.4970.0460
2197.56 14.426.48 26.9214.13 25.50.90.790.830.926572.45598.6726.5414.2229.790.3350.3420.322-1.271.62-1.271.941.621.94 -0.3520.0340
3208.74 13.645.62 25.0215.65 29.910.890.790.830.924600.23621.426.3512.8238.480.3710.2810.348-1.491.38-1.492.011.382.01 -0.420.0350
4216.24 11.384 27.7115.16 32.980.890.790.830.92477.37487.1325.7513.1444.240.330.3070.363-1.581.42-1.581.821.421.82 -0.6060.0510
5226.18 12.447.44 34.7117.59 24.70.90.790.830.929617.2638.5835.952022.530.3480.390.262-0.982.02-0.982.262.022.26 -0.3020.027-0
6237.04 12.286.5 32.7218.79 28.840.90.790.830.926648.5670.0134.6218.3830.860.3640.3370.299-1.151.68-1.152.121.682.12 -0.3450.0320
7247.38 11.35.18 30.8919.88 33.970.890.790.830.923628.54645.233.2316.441.430.380.2870.333-1.371.44-1.372.081.442.08 -0.4450.0380
8257.94 13.584.34 31.7118.5 42.410.890.790.830.916687.08682.529.1814.1459.630.3390.2810.379-1.761.32-1.761.841.321.84 -0.580.0440
9266.94 11.345.12 34.7921.25 36.470.890.790.830.921669.13681.235.9318.1844.090.3660.3030.331-1.351.48-1.352.031.482.03 -0.4490.0390
10275.44 14.264.38 43.1517.46 41.590.890.790.830.914665.94672.9430.8318.3655.590.2490.3890.362-1.611.71-1.611.571.711.57 -0.5550.060
11285.84 14.284.18 42.7718.42 45.280.890.790.830.913702.02698.8531.0717.9862.350.260.3670.373-1.691.61-1.691.581.611.58 -0.5930.0580
12295.44 13.27.24 50.8822.26 32.580.90.790.830.923806.47821.2246.4126.6429.970.3070.4280.264-12.15-12.132.152.13 -0.3140.0310
13307 136 43.7924.14 40.130.890.790.830.92861.17867.3342.3922.5746.210.3420.3380.32-1.261.62-1.261.971.621.97 -0.3790.0360
14318.28 13.686.48 42.8226.18 42.230.890.790.830.92986.34991.2643.922.549.380.3670.310.323-1.291.53-1.292.051.532.05 -0.3520.0310
15327.26 11.366.08 44.2128.42 41.230.890.790.830.921894.47901.1747.8324.5545.230.3850.310.305-1.191.58-1.192.181.582.18 -0.3690.0330
16335.18 12.464.12 52.0822.99 50.030.890.790.830.913762.34754.6239.3822.6165.290.270.3730.356-1.541.65-1.541.651.651.65 -0.5830.060
17345.6 14.927.94 63.2825.75 37.960.890.790.830.9211039.931049.9754.1731.5934.670.2890.4490.262-1.012.25-1.012.092.252.09 -0.2890.03-0
18355.18 146.26 63.2825.43 43.080.890.790.830.917953.43962.0950.3529.6845.640.2710.4320.297-1.172.03-1.171.852.031.85 -0.3650.0420
19367.34 11.925.42 49.4830.95 50.590.890.790.830.9171006.3399649.8925.2160.750.3680.3020.331-1.341.48-1.342.031.482.03 -0.4240.0370
20378.82 12.964.84 46.3331.58 60.190.890.790.830.9131109.291078.7746.3821.3381.240.3790.2560.365-1.661.28-1.662.031.282.03 -0.5050.038-0
21387.3 156.3 58.6730 52.410.890.790.830.9151208.491189.251.5128.1462.080.3160.3550.329-1.311.64-1.311.861.641.86 -0.3650.0360
22398.7 12.87.62 54.2637.25 48.160.890.790.830.921315.861308.7960.8731.2449.770.4050.3060.29-1.121.63-1.122.321.632.32 -0.2920.0250
23407.92 156.8 60.3333.23 540.890.790.830.9151343.451317.8956.093062.290.3370.3420.321-1.271.62-1.271.951.621.95 -0.3350.0320
24418.74 11.345.92 52.0139.87 56.750.890.790.830.9171242.691233.2659.3628.166.840.4210.2580.321-1.341.4-1.342.291.42.29 -0.3840.0320
25428.58 13.46.3 57.7337.69 58.660.890.790.830.9151369.981340.0858.9629.5169.660.3770.2950.327-1.331.47-1.332.081.472.08 -0.3630.0320
26436.24 13.825.36 68.8133.18 61.020.890.790.830.9121214.931179.9556.0631.2974.190.2960.3670.337-1.371.66-1.371.771.661.77 -0.4340.0440
27445.46 11.74.34 68.6534.09 64.740.890.790.830.911054.591016.6955.8630.7481.10.30.3540.346-1.441.6-1.441.761.61.76 -0.5430.0530
28456.82 12.76.18 69.0238.87 58.660.890.790.830.9151326.941291.1265.3635.0464.790.3450.3450.31-1.21.67-1.22.021.672.02 -0.3660.0350
29465.48 11.087.14 78.7241.47 49.740.890.790.830.9191245.981210.0878.2543.7741.50.3540.4010.245-0.922.16-0.922.412.162.41 -0.3170.0260
30476.54 12.685.98 73.5140.06 61.760.890.790.830.9141358.021315.1367.4336.4968.810.3350.3520.313-1.221.68-1.221.971.681.97 -0.3790.0370
31486.02 13.827.62 85.4540.36 54.930.890.790.830.9161490.731449.9976.4643.4751.040.3170.4140.268-1.012.08-1.012.142.082.14 -0.2970.0290
AVE:336.91 13.055.87 46.3824.83 52.160.890.790.830.918946.65941.1346.3824.8352.160.3360.3420.322-1.321.66-1.321.991.661.99-0.4130.0380



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