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.0935050.006-16.957
dLK0.5149240.004115.262
dLM0.5164010.005106.172
R2 = 0.9994 R2b = 0.9993 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cKK-0.0767260.026-3.003
dKL0.5494780.03117.486
dKM0.4026980.02715.071
R2 = 0.9626 R2b = 0.9599 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cMM-0.1554550.038-4.109
dML0.46460.04310.744
dMK0.440570.03512.513
R2 = 0.9739 R2b = 0.972 # obs = 31

The three estimated factor demand functions are:

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

∂C/∂wK = K(q; wL, wK, wM) = q^(1/0.92) * [-0.0767 + 0.5495 * (wL / wK)^(1/2) + 0.4027 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/0.92) * [-0.1555 + 0.4646 * (wL / wM)^(1/2) + 0.4406 * (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.5430.3230.22011.087
0.336-0.56390.2281.087
0.25220.3259-0.57811.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.09351 * wL + -0.07673 * wK + -0.15546 * wM + 1.0644 * (wL*wK)^(1/2) + 0.981 * (wL*wM)^(1/2) + 0.84327 * (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.0915370.028137-3.253275
dLK0.5295120.020625.703978
dLM0.4919440.01836426.788571
cKK-0.0740540.020095-3.685276
dKL0.5295120.020625.703978
dKM0.4214470.01676525.138723
cMM-0.157590.022843-6.898705
dML0.4919440.01836426.788571
dMK0.4214470.01676525.138723
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.0915 + 0.5295 * (wK / wL)^(1/2) + 0.4919 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/0.92) * [-0.0741 + 0.5295 * (wL / wK)^(1/2) + 0.4214 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/0.92) * [-0.1576 + 0.4919 * (wL / wM)^(1/2) + 0.4214 * (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.54220.33240.20981.087
0.3234-0.56160.23831.087
0.26730.312-0.57931.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.09154 * wL + -0.07405 * wK + -0.15759 * wM + 1.05902 * (wL*wK)^(1/2) + 0.98389 * (wL*wM)^(1/2) + 0.84289 * (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.084080.027750.03795
0.02775-0.025960.02386
0.037950.02386-0.09598

The principal minors of H are H1 = -0.084075, H2 = 0.001412, 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.1284, e2 = -0.0776, 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
1186.56 13.165 25.1212.56 26.250.90.790.830.924461.25461.6925.1812.9525.220.3580.3690.2730.930.720.930.850.720.85 -0.154-0.085-0
2195.58 11.485.46 28.4313.98 24.170.90.790.830.927451.08450.628.3414.3823.340.3510.3660.2830.90.750.90.880.750.88 -0.152-0.09-0
3208.76 11.566.72 24.6917.94 25.70.90.790.830.93596.38594.7624.5918.3824.830.3620.3570.2810.90.810.90.810.810.81 -0.106-0.070
4217.3 144.84 28.3714.86 32.830.890.790.830.92574.06575.3528.5215.2231.840.3620.370.2680.950.720.950.830.720.83 -0.159-0.078-0
5227.84 13.426.38 30.1117.51 29.50.90.790.830.925659.36659.2730.0817.8828.750.3580.3640.2780.910.760.910.840.760.84 -0.118-0.071-0
6236.04 13.285.94 35.7516.77 29.80.90.790.830.923615.66616.0235.6917.0729.260.350.3680.2820.90.730.90.880.730.88 -0.142-0.0820
7248.54 14.96.96 33.3119.14 32.370.890.790.830.923794.9795.233.2819.4531.770.3570.3650.2780.910.760.910.840.760.84 -0.108-0.0650
8256.88 14.17.18 38.7819.45 30.660.90.790.830.924761.23761.4338.6719.7330.250.3490.3650.2850.890.750.890.880.750.88 -0.12-0.07-0
9265.34 14.24 40.9616.32 41.950.890.790.830.913618.34619.5941.3416.3741.590.3560.3750.2680.960.660.960.880.660.88 -0.205-0.106-0
10278.4 13.45.82 35.4722.16 39.030.890.790.830.92822.04822.7935.4822.438.580.3620.3650.2730.930.760.930.820.760.82 -0.127-0.069-0
11288.78 11.724.92 33.2824.3 43.50.890.790.830.919790.99791.7333.2424.5943.020.3690.3640.2670.950.780.950.780.780.78 -0.15-0.0690
12295.48 14.246.32 50.3620.71 36.140.890.790.830.92799.27800.2250.1520.836.270.3430.370.2860.890.710.890.920.710.92 -0.154-0.08-0
13307 136 43.7924.14 40.130.890.790.830.92861.17861.8943.7724.2340.090.3560.3650.2790.910.750.910.850.750.85 -0.128-0.0780
14317.86 12.57.44 44.1327.96 37.360.90.790.830.924974.28974.9844.0828.0437.370.3550.3590.2850.880.80.880.850.80.85 -0.104-0.0690
15328.18 13.384.64 41.2325.39 52.610.890.790.830.914921.06921.8141.3625.4452.390.3670.3690.2640.960.730.960.80.730.8 -0.165-0.071-0
16337.04 13.327.56 51.3928.1 38.970.890.790.830.9221030.71031.7951.2828.1139.20.350.3630.2870.880.770.880.880.770.88 -0.114-0.068-0
17346.58 11.484.18 46.0926.94 53.350.890.790.830.914835.6835.8746.226.8553.50.3640.3690.2680.950.730.950.820.730.82 -0.181-0.087-0
18358.3 14.044.84 46.2627.8 57.280.890.790.830.9131051.471051.5446.3827.6857.430.3660.370.2640.960.730.960.810.730.81 -0.159-0.07-0
19367.78 13.525.82 50.7329.91 51.260.890.790.830.9161097.421097.7150.7329.751.790.360.3660.2750.920.750.920.830.750.83 -0.128-0.073-0
20377.6 12.265.7 51.0432.17 51.440.890.790.830.9171075.511075.915131.9252.090.360.3640.2760.920.770.920.830.770.83 -0.129-0.0760
21388.34 13.424.58 49.1731 63.580.890.790.830.9111117.241116.4849.2630.7464.010.3680.3690.2630.960.730.960.80.730.8 -0.168-0.07-0
22398.4 14.864.08 50.9329.56 72.410.890.790.830.9071162.471160.7251.2529.2272.540.3710.3740.2550.980.70.980.790.70.79 -0.2-0.0680
23407.46 11.264.78 52.5835.22 59.90.890.790.830.9141075.171074.7252.5334.8260.850.3650.3650.2710.940.760.940.80.760.8 -0.154-0.079-0
24417.2 14.467.34 65.634.44 50.970.890.790.830.9171344.461345.2165.4433.9752.160.350.3650.2850.890.760.890.880.760.88 -0.115-0.068-0
25428.2 12.044.82 53.9737.11 65.720.890.790.830.9131206.191204.8953.936.666.860.3670.3660.2670.950.760.950.790.760.79 -0.155-0.0720
26438.62 12.786.8 59.1340.5 56.680.890.790.830.9171412.651413.359.0539.8558.090.360.360.2790.90.790.90.820.790.82 -0.107-0.068-0
27447.12 14.926.3 69.735.34 60.320.890.790.830.9131403.531401.8969.5734.58620.3530.3680.2790.920.730.920.870.730.87 -0.127-0.0740
28455.7 11.384.3 67.9535.93 66.840.890.790.830.911083.541081.1167.9235.0768.570.3580.3690.2730.930.720.930.850.720.85 -0.179-0.098-0
29467.1 11.167.94 70.0345.93 50.340.890.790.830.9211409.541413.1370.1145.1651.80.3520.3570.2910.850.820.850.870.820.87 -0.109-0.07-0
30478.28 14.326.2 67.8140.76 67.10.890.790.830.9121561.141558.6867.6939.869.070.360.3660.2750.920.750.920.830.750.83 -0.12-0.0690
31488.44 14.824.7 65.6238.84 82.280.890.790.830.9071516.211509.8765.6837.8384.010.3670.3710.2620.970.720.970.810.720.81 -0.166-0.068-0
AVE:337.44 13.175.73 46.8327.06 47.70.890.790.830.918970.45970.3346.8327.0647.70.3590.3660.2750.920.750.920.840.750.84-0.142-0.075-0




À2:   Estimate the Diewert cost function directly.

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

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cLL-0.1163760.11-1.062
cKK-0.106330.054-1.956
cMM-0.196970.079-2.486
2*dLK1.1075950.1298.605
2*dLM0.9835420.1486.662
2*dKM0.8843650.0979.155
R2 = 0.9998 R2b = 0.9997 # obs = 31

The Diewert cost function as obtained by direct estimation is:

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

= q^(1/0.92) * [-0.11638 * wL + -0.10633 * wK + -0.19697 * wM + 1.1076 * (wL*wK)^(1/2) + 0.98354 * (wL*wM)^(1/2) + 0.88436 * (wK*wM)^(1/2)]
        (***)

XII. Its three derived factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/0.92) * [-0.1164 + 0.5538 * (wK / wL)^(1/2) + 0.4918 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/0.92) * [-0.1063 + 0.5538 * (wL / wK)^(1/2) + 0.4422 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/0.92) * [-0.197 + 0.4918 * (wL / wM)^(1/2) + 0.4422 * (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.55320.3450.20821.087
0.3384-0.58850.25011.087
0.26960.3304-0.61.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.74 = 42.74 = 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.086430.029030.03794
0.02903-0.027180.02503
0.037940.02503-0.0985

The principal minors of H are H1 = -0.086428, H2 = 0.001507, 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.1309, e2 = -0.0812, 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
1186.56 13.165 25.1212.56 26.250.90.790.830.924461.25461.7125.412.925.080.3610.3680.2720.970.720.970.90.720.9 -0.157-0.089-0
2195.58 11.485.46 28.4313.98 24.170.90.790.830.927451.08450.3828.5814.3523.10.3540.3660.280.930.750.930.930.750.93 -0.155-0.0940
3208.76 11.566.72 24.6917.94 25.70.90.790.830.93596.38594.6624.6718.524.510.3630.360.2770.930.820.930.850.820.85 -0.108-0.0740
4217.3 144.84 28.3714.86 32.830.890.790.830.92574.06575.5328.7615.1531.720.3650.3680.2670.990.710.990.880.710.88 -0.162-0.081-0
5227.84 13.426.38 30.1117.51 29.50.90.790.830.925659.36659.2830.2817.928.480.360.3640.2760.950.770.950.890.770.89 -0.12-0.075-0
6236.04 13.285.94 35.7516.77 29.80.90.790.830.923615.66615.6836.0217290.3530.3670.280.940.730.940.940.730.94 -0.145-0.0860
7248.54 14.96.96 33.3119.14 32.370.890.790.830.923794.9795.2233.5119.4631.470.360.3650.2750.950.760.950.890.760.89 -0.11-0.0680
8256.88 14.17.18 38.7819.45 30.660.90.790.830.924761.23760.9238.9919.7129.90.3530.3650.2820.920.760.920.940.760.94 -0.122-0.073-0
9265.34 14.24 40.9616.32 41.950.890.790.830.913618.34619.0841.8416.1541.570.3610.370.2691.010.651.010.930.650.93 -0.209-0.1110
10278.4 13.45.82 35.4722.16 39.030.890.790.830.92822.04823.1135.6922.4238.290.3640.3650.2710.970.760.970.860.760.86 -0.129-0.072-0
11288.78 11.724.92 33.2824.3 43.50.890.790.830.919790.99792.333.3524.6742.740.370.3650.2650.980.780.980.820.780.82 -0.154-0.0730
12295.48 14.246.32 50.3620.71 36.140.890.790.830.92799.27799.2850.720.6735.940.3480.3680.2840.930.710.930.970.710.97 -0.157-0.083-0
13307 136 43.7924.14 40.130.890.790.830.92861.17861.7944.124.2139.720.3580.3650.2770.940.750.940.90.750.9 -0.131-0.081-0
14317.86 12.57.44 44.1327.96 37.360.90.790.830.924974.28974.4444.3128.1636.840.3570.3610.2810.910.80.910.90.80.9 -0.106-0.072-0
15328.18 13.384.64 41.2325.39 52.610.890.790.830.914921.06922.4641.6225.3952.20.3690.3680.26310.7310.840.730.84 -0.169-0.074-0
16337.04 13.327.56 51.3928.1 38.970.890.790.830.9221030.71030.9651.6628.1538.670.3530.3640.2840.910.780.910.930.780.93 -0.117-0.071-0
17346.58 11.484.18 46.0926.94 53.350.890.790.830.914835.6836.2846.5326.7953.260.3660.3680.2660.990.730.990.860.730.86 -0.185-0.091-0
18358.3 14.044.84 46.2627.8 57.280.890.790.830.9131051.471052.2246.727.6157.220.3680.3680.26310.7310.850.730.85 -0.162-0.073-0
19367.78 13.525.82 50.7329.91 51.260.890.790.830.9161097.421097.9551.0829.6951.40.3620.3660.2720.960.750.960.880.750.88 -0.131-0.0760
20377.6 12.265.7 51.0432.17 51.440.890.790.830.9171075.511076.1351.331.9751.630.3620.3640.2730.950.770.950.870.770.87 -0.132-0.0790
21388.34 13.424.58 49.1731 63.580.890.790.830.9111117.241117.3249.5630.6963.790.370.3690.26110.7310.840.730.84 -0.172-0.073-0
22398.4 14.864.08 50.9329.56 72.410.890.790.830.9071162.471161.5151.6429.0572.540.3730.3720.2551.030.71.030.840.70.84 -0.205-0.0710
23407.46 11.264.78 52.5835.22 59.90.890.790.830.9141075.171075.352.7934.8760.420.3660.3650.2690.970.770.970.850.770.85 -0.157-0.083-0
24417.2 14.467.34 65.634.44 50.970.890.790.830.9171344.461344.465.9733.9551.570.3530.3650.2820.920.760.920.930.760.93 -0.117-0.071-0
25428.2 12.044.82 53.9737.11 65.720.890.790.830.9131206.191205.7254.1636.6566.460.3680.3660.2660.980.760.980.840.760.84 -0.158-0.076-0
26438.62 12.786.8 59.1340.5 56.680.890.790.830.9171412.651413.2659.3240.0257.420.3620.3620.2760.940.790.940.870.790.87 -0.109-0.071-0
27447.12 14.926.3 69.735.34 60.320.890.790.830.9131403.531401.5170.1934.4661.530.3570.3670.2770.950.730.950.920.730.92 -0.129-0.0780
28455.7 11.384.3 67.9535.93 66.840.890.790.830.911083.541081.268.534.9368.210.3610.3680.2710.970.720.970.90.720.9 -0.182-0.102-0
29467.1 11.167.94 70.0345.93 50.340.890.790.830.9211409.541411.2670.4645.4650.840.3540.3590.2860.880.830.880.920.830.92 -0.111-0.0730
30478.28 14.326.2 67.8140.76 67.10.890.790.830.9121561.141559.0268.1539.7968.540.3620.3650.2730.960.750.960.880.750.88 -0.123-0.0720
31488.44 14.824.7 65.6238.84 82.280.890.790.830.9071516.211510.8266.1637.6883.830.370.370.2611.010.711.010.850.710.85 -0.17-0.071-0
AVE:337.44 13.175.73 47.1627.05 47.350.890.790.830.918970.45970.3447.1627.0547.350.3610.3660.2730.960.750.960.890.750.89-0.145-0.079-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.0121110.082-0.147
dLK0.6314870.0679.45
dLM0.6647360.0739.137
R2 = 0.9204 R2b = 0.9147 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cKK-0.1355630.087-1.557
dKL0.8092350.1077.555
dKM0.5169460.0915.676
R2 = 0.8109 R2b = 0.7974 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cMM-0.2703870.014-19.519
dML0.7318320.01646.224
dMK0.5564150.01343.164
R2 = 0.9982 R2b = 0.9981 # obs = 31

The three estimated factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/1) * [-0.0121 + 0.6315 * (wK / wL)^(1/2) + 0.6647 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/1) * [-0.1356 + 0.8092 * (wL / wK)^(1/2) + 0.5169 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/1) * [-0.2704 + 0.7318 * (wL / wM)^(1/2) + 0.5564 * (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.50410.29390.21021
0.3668-0.58370.21691
0.29510.3058-0.6011

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.01211 * wL + -0.13556 * wK + -0.27039 * wM + 1.44072 * (wL*wK)^(1/2) + 1.39657 * (wL*wM)^(1/2) + 1.07336 * (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.071270.052094-1.368103
dLK0.6588170.03814117.273245
dLM0.6904090.03420.306068
cKK-0.0617350.037205-1.659334
dKL0.6588170.03814117.273245
dKM0.5765980.03103918.576289
cMM-0.253650.042294-5.997351
dML0.6904090.03420.306068
dMK0.5765980.03103918.576289
R2 = 0.994 R2b = 0.9934 # 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.0713 + 0.6588 * (wK / wL)^(1/2) + 0.6904 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/1) * [-0.0617 + 0.6588 * (wL / wK)^(1/2) + 0.5766 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/1) * [-0.2537 + 0.6904 * (wL / wM)^(1/2) + 0.5766 * (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.52430.30630.2181
0.2972-0.53790.24081
0.27810.3165-0.59461

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.07127 * wL + -0.06173 * wK + -0.25365 * wM + 1.31763 * (wL*wK)^(1/2) + 1.38082 * (wL*wM)^(1/2) + 1.1532 * (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.109790.034530.05327
0.03453-0.033660.03264
0.053270.03264-0.13287

The principal minors of H are H1 = -0.109786, H2 = 0.002503, 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.1004, and e3 = 0.
H3 = e1 * e2 * e3 = 0.

XXI. The factor share functions are:

sL(q;wL,wK,wM) = wL * L(q; wL, wK, wM) / C(q;wL,wK,wM) = wL * ∂C/∂wL / C(q;wL,wK,wM) ,

sK(q;wL,wK,wM)= wK * K(q; wL, wK, wM) / C(q;wL,wK,wM) = wK * ∂C/∂wK / C(q;wL,wK,wM),

sM(q;wL,wK,wM)= wM * M(q; wL, wK, wM) / C(q;wL,wK,wM) = wM * ∂C/∂wM / C(q;wL,wK,wM).

XXII. Uzawa Partial Elasticities of Substitution:

uLK = C(q;wL,wK,wM) * ∂L(q;wL,wK,wM)/∂wK / (L(q;wL,wK,wM) * K(q;wL,wK,wM)),

uLM = C(q;wL,wK,wM) * ∂L(q;wL,wK,wM)/∂wM / (L(q;wL,wK,wM) * M(q;wL,wK,wM)),

uKL = C(q;wL,wK,wM) * ∂K(q;wL,wK,wM)/∂wL / (K(q;wL,wK,wM) * L(q;wL,wK,wM)),

uKM = C(q;wL,wK,wM) * ∂K(q;wL,wK,wM)/∂wM / (K(q;wL,wK,wM) * M(q;wL,wK,wM)),

uML = C(q;wL,wK,wM) * ∂M(q;wL,wK,wM)/∂wL / (M(q;wL,wK,wM) * L(q;wL,wK,wM)),

uMK = C(q;wL,wK,wM) * ∂M(q;wL,wK,wM)/∂wK / (M(q;wL,wK,wM) * M(q;wL,wK,wM)),

Imposing the dLK = dKL, dLM = dML, and dKM = dMK restrictions in the factor demand functions, we get (approximate?) equality of the cross partial elasticities of substitution:

uLK = uKL,    uLM = uML,  and    uKM = uMK.

as seen in the following table.

XXIII. Table of Results: check that the estimated Diewert cost function and input amounts for a given level of output agree with the Generalized CES production function's minimized cost and inputs. Also, compare the Allen partial elasticities of substitution, sLK, sLM, and sMK, with the Uzawa partial elasticities of substitution, uLK, uLM, and uKM.

Generalized CES-Diewert Cost Function
À3: Estimate the Translog cost function using restricted factor shares
Parameters: rho = 0.17647, rhoL = 0.17647, rhoK = 0.11823, rhoM = 0.26339
 nu = 1
  —   Generalized CES Cost Data   —  
nu1 = 1
  —   Diewert Cost Data   —  
Factor SharesUzawa Elasticities2wwc(w)
obs #qwLwKwM LK MsLKsLMsKMεLKMcostest costest Lest Kest MsLsKsMuLKuLMuKLuKMuMLuMKe1e2e3
1186.56 13.165 25.1212.56 26.250.90.790.830.924461.25485.2226.3613.6626.510.3560.370.2730.860.750.860.860.750.86 -0.212-0.1090
2195.58 11.485.46 28.4313.98 24.170.90.790.830.927451.08471.3229.5815.1124.330.350.3680.2820.820.780.820.890.780.89 -0.206-0.118-0
3208.76 11.566.72 24.6917.94 25.70.90.790.830.93596.38619.5125.819.0325.820.3650.3550.280.830.840.830.820.840.82 -0.146-0.090
4217.3 144.84 28.3714.86 32.830.890.790.830.92574.06596.5829.4715.8133.070.3610.3710.2680.880.750.880.840.750.84 -0.219-0.1-0
5227.84 13.426.38 30.1117.51 29.50.90.790.830.925659.36680.8231.118.4729.650.3580.3640.2780.840.790.840.850.790.85 -0.162-0.0920
6236.04 13.285.94 35.7516.77 29.80.90.790.830.923615.66633.8136.5817.6730.010.3490.370.2810.830.770.830.890.770.89 -0.192-0.108-0
7248.54 14.96.96 33.3119.14 32.370.890.790.830.923794.9815.0134.1319.9532.510.3580.3650.2780.840.790.840.850.790.85 -0.149-0.0840
8256.88 14.17.18 38.7819.45 30.660.90.790.830.924761.23777.5939.4320.2530.750.3490.3670.2840.810.790.810.890.790.89 -0.162-0.0920
9265.34 14.24 40.9616.32 41.950.890.790.830.913618.34631.1541.6216.8642.390.3520.3790.2690.880.690.880.880.690.88 -0.281-0.1360
10278.4 13.45.82 35.4722.16 39.030.890.790.830.92822.04834.7336.0622.6839.170.3630.3640.2730.860.790.860.830.790.83 -0.175-0.089-0
11288.78 11.724.92 33.2824.3 43.50.890.790.830.919790.99800.8333.7924.743.640.370.3610.2680.870.80.870.790.80.79 -0.209-0.089-0
12295.48 14.246.32 50.3620.71 36.140.890.790.830.92799.27807.1650.2321.236.390.3410.3740.2850.820.750.820.920.750.92 -0.206-0.106-0
13307 136 43.7924.14 40.130.890.790.830.92861.17866.3943.9724.440.220.3550.3660.2790.840.780.840.860.780.86 -0.176-0.10
14317.86 12.57.44 44.1327.96 37.360.90.790.830.924974.28977.1844.3728.0737.30.3570.3590.2840.810.830.810.860.830.86 -0.142-0.090
15328.18 13.384.64 41.2325.39 52.610.890.790.830.914921.06921.3541.3225.3752.550.3670.3680.2650.890.760.890.810.760.81 -0.229-0.091-0
16337.04 13.327.56 51.3928.1 38.970.890.790.830.9221030.71028.451.1628.138.870.350.3640.2860.80.810.80.890.810.89 -0.154-0.090
17346.58 11.484.18 46.0926.94 53.350.890.790.830.914835.6831.145.8726.6953.320.3630.3690.2680.870.760.870.830.760.83 -0.251-0.1120
18358.3 14.044.84 46.2627.8 57.280.890.790.830.9131051.471042.8645.9527.4257.140.3660.3690.2650.880.760.880.810.760.81 -0.219-0.0890
19367.78 13.525.82 50.7329.91 51.260.890.790.830.9161097.421086.0950.229.3951.240.360.3660.2750.850.780.850.840.780.84 -0.177-0.094-0
20377.6 12.265.7 51.0432.17 51.440.890.790.830.9171075.511062.0150.4531.4551.40.3610.3630.2760.850.790.850.840.790.84 -0.178-0.097-0
21388.34 13.424.58 49.1731 63.580.890.790.830.9111117.241099.3448.4930.1963.270.3680.3690.2640.890.760.890.80.760.8 -0.233-0.089-0
22398.4 14.864.08 50.9329.56 72.410.890.790.830.9071162.471140.150.1628.6971.660.370.3740.2560.910.730.910.80.730.8 -0.277-0.087-0
23407.46 11.264.78 52.5835.22 59.90.890.790.830.9141075.171053.7251.6334.0159.750.3660.3630.2710.860.790.860.820.790.82 -0.213-0.1010
24417.2 14.467.34 65.634.44 50.970.890.790.830.9171344.461315.9263.9433.3750.820.350.3670.2830.820.790.820.890.790.89 -0.156-0.09-0
25428.2 12.044.82 53.9737.11 65.720.890.790.830.9131206.191176.3352.7735.5765.440.3680.3640.2680.870.790.870.80.790.8 -0.214-0.093-0
26438.62 12.786.8 59.1340.5 56.680.890.790.830.9171412.651377.0257.838.756.510.3620.3590.2790.830.820.830.840.820.84 -0.147-0.088-0
27447.12 14.926.3 69.735.34 60.320.890.790.830.9131403.531363.2367.433.7960.180.3520.370.2780.840.760.840.880.760.88 -0.173-0.096-0
28455.7 11.384.3 67.9535.93 66.840.890.790.830.911083.541049.2165.6734.1566.570.3570.370.2730.860.750.860.860.750.86 -0.246-0.1260
29467.1 11.167.94 70.0345.93 50.340.890.790.830.9211409.541368.1768.343.749.810.3540.3560.2890.780.850.780.890.850.89 -0.146-0.0930
30478.28 14.326.2 67.8140.76 67.10.890.790.830.9121561.141506.8465.4538.4866.760.360.3660.2750.850.780.850.840.780.84 -0.166-0.0880
31488.44 14.824.7 65.6238.84 82.280.890.790.830.9071516.211456.7563.2136.4981.380.3660.3710.2630.890.750.890.810.750.81 -0.23-0.0870
AVE:337.44 13.175.73 46.5226.88 47.370.890.790.830.918970.45963.7346.5226.8847.370.3590.3670.2750.850.780.850.850.780.85-0.195-0.097-0




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

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

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

SVD Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cLL-0.9666362.605-0.371
cKK-1.1844111.293-0.916
cMM2.6414811.8851.402
2*dLK5.2380023.0621.711
2*dLM-2.3192593.512-0.66
2*dKM0.0163122.2980.007
R2 = 0.939 R2b = 0.9268 # obs = 31
Observation Matrix Rank: 6
The Diewert cost function as obtained by direct estimation is:

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

= q^(1/1) * [-0.96664 * wL + -1.18441 * wK + 2.64148 * wM + 5.238 * (wL*wK)^(1/2) + -2.31926 * (wL*wM)^(1/2) + 0.01631 * (wK*wM)^(1/2)]
        (***)

XXVI. Its three derived factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/1) * [-0.9666 + 2.619 * (wK / wL)^(1/2) + -1.1596 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/1) * [-1.1844 + 2.619 * (wL / wK)^(1/2) + 0.0082 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/1) * [2.6415 + -1.1596 * (wL / wM)^(1/2) + 0.0082 * (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.81611.1672-0.35111
1.2934-1.29710.00371
-0.4470.00430.44281

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.53 = 57.53 = 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.178250.13727-0.08947
0.13727-0.074130.00046
-0.089470.000460.10338

The principal minors of H are H1 = -0.178249, H2 = -0.00563, 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.2873, e2 = 0.1383, 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
1186.56 13.165 25.1212.56 26.250.90.790.830.924461.25482.3531.1512.0523.880.4240.3290.2473.26-1.183.260.02-1.180.02 -0.3110.1670
2195.58 11.485.46 28.4313.98 24.170.90.790.830.927451.08468.9631.2112.328.140.3710.3010.3283.8-1.073.80.01-1.070.01 -0.3550.148-0
3208.76 11.566.72 24.6917.94 25.70.90.790.830.93596.38613.0220.5322.0326.560.2930.4150.2913.53-1.73.530.01-1.70.01 -0.2460.1310
4217.3 144.84 28.3714.86 32.830.890.790.830.92574.06597.4136.0414.9425.860.440.350.2093.02-1.313.020.02-1.310.02 -0.2840.1780
5227.84 13.426.38 30.1117.51 29.50.90.790.830.925659.36678.8231.118.1130.090.3590.3580.2833.39-1.313.390.01-1.310.01 -0.2590.1320
6236.04 13.285.94 35.7516.77 29.80.90.790.830.923615.66627.6240.6413.5134.140.3910.2860.3233.85-1.013.850.01-1.010.01 -0.330.134-0
7248.54 14.96.96 33.3119.14 32.370.890.790.830.923794.9812.4934.719.2932.850.3650.3540.2813.38-1.293.380.01-1.290.01 -0.2370.1210
8256.88 14.17.18 38.7819.45 30.660.90.790.830.924761.23776.7339.9516.2737.940.3540.2950.3513.97-1.063.970.01-1.060.01 -0.2850.1120
9265.34 14.24 40.9616.32 41.950.890.790.830.913618.34613.6459.8111.0834.240.5210.2560.2233.62-0.983.620.02-0.980.02 -0.40.2030
10278.4 13.45.82 35.4722.16 39.030.890.790.830.92822.04833.8337.1524.1534.040.3740.3880.2383.1-1.483.10.01-1.480.01 -0.2480.1490
11288.78 11.724.92 33.2824.3 43.50.890.790.830.919790.9980233.3530.4630.940.3650.4450.192.85-1.922.850.01-1.920.01 -0.2510.187-0
12295.48 14.246.32 50.3620.71 36.140.890.790.830.92799.27791.9358.2912.9345.640.4030.2320.3644.52-0.854.520.02-0.850.02 -0.3650.12-0
13307 136 43.7924.14 40.130.890.790.830.92861.17862.9845.8722.2942.030.3720.3360.2923.48-1.23.480.01-1.20.01 -0.2870.138-0
14317.86 12.57.44 44.1327.96 37.360.90.790.830.924974.28979.3237.4527.8645.260.3010.3560.3443.84-1.363.840.01-1.360.01 -0.2560.1140
15328.18 13.384.64 41.2325.39 52.610.890.790.830.914921.06932.548.3127.7835.70.4240.3990.1782.78-1.632.780.02-1.630.02 -0.2590.195-0
16337.04 13.327.56 51.3928.1 38.970.890.790.830.9221030.71034.7147.3323.9550.60.3220.3080.374.07-1.134.070.01-1.130.01 -0.2770.1090
17346.58 11.484.18 46.0926.94 53.350.890.790.830.914835.6834.9953.3327.3140.80.420.3760.2042.94-1.442.940.01-1.440.01 -0.3170.21-0
18358.3 14.044.84 46.2627.8 57.280.890.790.830.9131051.471053.954.3929.1939.790.4280.3890.1832.82-1.562.820.02-1.560.02 -0.2530.1850
19367.78 13.525.82 50.7329.91 51.260.890.790.830.9161097.421083.5753.3829.0847.270.3830.3630.2543.21-1.333.210.01-1.330.01 -0.2630.1460
20377.6 12.265.7 51.0432.17 51.440.890.790.830.9171075.511059.0150.1532.6848.630.360.3780.2623.24-1.423.240.01-1.420.01 -0.2710.151-0
21388.34 13.424.58 49.1731 63.580.890.790.830.9111117.241115.356.8633.6341.440.4250.4050.172.74-1.692.740.02-1.690.02 -0.2550.199-0
22398.4 14.864.08 50.9329.56 72.410.890.790.830.9071162.47117566.6430.7738.730.4760.3890.1342.62-1.762.620.02-1.760.02 -0.2540.230
23407.46 11.264.78 52.5835.22 59.90.890.790.830.9141075.171054.2452.9138.1148.210.3740.4070.2192.99-1.612.990.01-1.610.01 -0.2840.1850
24417.2 14.467.34 65.634.44 50.970.890.790.830.9171344.461314.364.5427.4561.680.3540.3020.3443.9-1.083.90.01-1.080.01 -0.2730.110
25428.2 12.044.82 53.9737.11 65.720.890.790.830.9131206.191181.6555.3541.2547.960.3840.420.1962.86-1.722.860.01-1.720.01 -0.2610.188-0
26438.62 12.786.8 59.1340.5 56.680.890.790.830.9171412.651370.2351.2741.8257.920.3230.390.2873.43-1.53.430.01-1.50.01 -0.2410.1270
27447.12 14.926.3 69.735.34 60.320.890.790.830.9131403.531350.7876.2927.7262.530.4020.3060.2923.57-1.083.570.01-1.080.01 -0.2820.1290
28455.7 11.384.3 67.9535.93 66.840.890.790.830.911083.541043.4877.730.3459.380.4240.3310.2453.24-1.193.240.02-1.190.02 -0.3590.1940
29467.1 11.167.94 70.0345.93 50.340.890.790.830.9211409.541391.8750.1741.9371.510.2560.3360.4084.48-1.384.480.01-1.380.01 -0.2790.1090
30478.28 14.326.2 67.8140.76 67.10.890.790.830.9121561.141503.3269.2838.1961.750.3820.3640.2553.21-1.343.210.01-1.340.01 -0.2470.1370
31488.44 14.824.7 65.6238.84 82.280.890.790.830.9071516.211479.0778.6538.2452.90.4490.3830.1682.76-1.572.760.02-1.570.02 -0.250.192-0
AVE:337.44 13.175.73 49.826.34 43.180.890.790.830.918970.45965.1349.826.3443.180.3850.3530.2623.37-1.363.370.01-1.360.01-0.2820.1560



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