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.1113310.004-30.471
dLK0.5321790.004146.879
dLM0.5112190.003161.035
R2 = 0.9998 R2b = 0.9998 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cKK0.001420.0270.053
dKL0.4588810.02816.515
dKM0.3872370.02316.743
R2 = 0.9495 R2b = 0.9458 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cMM-0.1292240.033-3.926
dML0.6189110.04115.058
dMK0.3071360.047.745
R2 = 0.9817 R2b = 0.9804 # obs = 31

The three estimated factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/0.92) * [-0.1113 + 0.5322 * (wK / wL)^(1/2) + 0.5112 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/0.92) * [0.0014 + 0.4589 * (wL / wK)^(1/2) + 0.3872 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/0.92) * [-0.1292 + 0.6189 * (wL / wM)^(1/2) + 0.3071 * (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.55120.33350.21771.087
0.28-0.49880.21881.087
0.33720.228-0.56521.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.11133 * wL + 0.00142 * wK + -0.12922 * wM + 0.99106 * (wL*wK)^(1/2) + 1.13013 * (wL*wM)^(1/2) + 0.69437 * (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.0950050.025386-3.742372
dLK0.4879910.02117723.043632
dLM0.5574480.0166133.560983
cKK-0.0025430.022831-0.111403
dKL0.4879910.02117723.043632
dKM0.3617760.01765620.489825
cMM-0.1421840.02036-6.983352
dML0.5574480.0166133.560983
dMK0.3617760.01765620.489825
R2 = 0.9971 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.095 + 0.488 * (wK / wL)^(1/2) + 0.5574 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/0.92) * [-0.0025 + 0.488 * (wL / wK)^(1/2) + 0.3618 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/0.92) * [-0.1422 + 0.5574 * (wL / wM)^(1/2) + 0.3618 * (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.54370.30610.23761.087
0.2978-0.50210.20441.087
0.30330.2683-0.57161.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.095 * wL + -0.00254 * wK + -0.14218 * wM + 0.97598 * (wL*wK)^(1/2) + 1.1149 * (wL*wM)^(1/2) + 0.72355 * (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.084370.025580.04301
0.02558-0.023230.02048
0.043010.02048-0.09455

The principal minors of H are H1 = -0.084365, H2 = 0.001305, 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.1328, e2 = -0.0693, and e3 = 0.
H3 = e1 * e2 * e3 = 0.

VIII. The factor share functions are:

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

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

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

IX. Uzawa Partial Elasticities of Substitution:

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

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

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

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

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

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

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

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

as seen in the following table.

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

Generalized CES-Diewert Cost Function
À1: Estimate the Translog cost function using restricted factor shares
Parameters: rho = 0.17647, rhoL = 0.17647, rhoK = 0.11823, rhoM = 0.26339
 nu = 1
  —   Generalized CES Cost Data   —  
nu1 = 0.92
  —   Diewert Cost Data   —  
Factor SharesUzawa Elasticities2wwc(w)
obs #qwLwKwM LK MsLKsLMsKMεLKMcostest costest Lest Kest MsLsKsMuLKuLMuKLuKMuMLuMKe1e2e3
1188.36 11.37.84 23.2816.5 20.750.90.790.840.934543.76541.223.4316.6320.080.3620.3470.2910.810.920.810.720.920.72 -0.1-0.062-0
2196.62 11.184.82 24.9514.54 27.040.90.790.830.925458.12458.0724.9114.9826.070.360.3660.2740.850.850.850.710.850.71 -0.158-0.078-0
3208.14 14.926.44 27.5915.02 27.80.90.790.830.924627.72627.8527.5515.4626.860.3570.3670.2760.850.850.850.720.850.72 -0.121-0.061-0
4218.84 12.465.92 25.7717.68 29.770.90.790.830.925624.41624.1825.741829.110.3650.3590.2760.860.880.860.690.880.69 -0.125-0.0620
5228.78 13.986.12 28.4217.58 31.60.890.790.830.923688.74689.0428.3917.9530.870.3620.3640.2740.860.860.860.70.860.7 -0.123-0.06-0
6235.76 13.37.04 38.1917.21 26.680.90.790.830.926636.64636.2438.1517.5825.960.3450.3670.2870.80.850.80.790.850.79 -0.146-0.0650
7247.52 12.55.06 31.4318.8 35.680.890.790.830.921651.91652.6831.3719.1834.990.3610.3670.2710.860.850.860.70.850.7 -0.15-0.07-0
8258.92 14.285.08 31.319.37 40.570.890.790.830.918761.88763.2631.1919.8139.790.3650.3710.2650.880.840.880.680.840.68 -0.152-0.06-0
9265.34 13.97.38 46.6619.08 29.170.90.790.830.924729.64729.7946.5119.4528.60.340.370.2890.790.840.790.810.840.81 -0.159-0.062-0
10277.46 12.56.5 37.9222.75 34.640.90.790.830.923792.38792.7838.0122.8534.40.3580.360.2820.830.870.830.730.870.73 -0.121-0.066-0
11287.2 11.087.56 40.0526 31.450.90.790.830.928814.25814.7240.4625.831.420.3580.3510.2920.80.910.80.740.910.74 -0.113-0.065-0
12297.5 12.627.12 41.8325.13 35.470.90.790.830.924883.34883.9542.0225.0835.430.3570.3580.2850.820.880.820.740.880.74 -0.115-0.0630
13307 136 43.7924.14 40.130.890.790.830.92861.17861.9243.824.2540.020.3560.3660.2790.840.850.840.730.850.73 -0.133-0.0690
14317 13.56.36 46.5424.89 40.560.890.790.830.92919.69920.4746.5524.9540.520.3540.3660.280.830.850.830.740.850.74 -0.129-0.067-0
15327.26 12.726.14 45.9626.76 42.420.890.790.830.92934.47935.254626.7142.590.3570.3630.280.840.860.840.730.860.73 -0.128-0.068-0
16337.84 11.564.96 42.1828.53 49.280.890.790.830.917904.92905.3942.0828.4649.690.3640.3630.2720.870.870.870.680.870.68 -0.151-0.069-0
17346.04 11.867.56 55.6429.55 37.170.90.790.830.924967.52968.6856.0229.3237.390.3490.3590.2920.790.880.790.780.880.78 -0.135-0.063-0
18357.2 12.287.28 52.2531.37 41.510.890.790.830.9221063.681065.1552.5830.9842.060.3550.3570.2870.810.880.810.750.880.75 -0.117-0.0640
19367.96 13.765.42 49.6429.37 54.110.890.790.830.9141092.511092.5849.4929.2854.560.3610.3690.2710.860.840.860.70.840.7 -0.141-0.065-0
20377.46 14.67.7 58.3231.14 45.240.890.790.830.9191238.111239.1958.4530.8545.820.3520.3630.2850.810.860.810.760.860.76 -0.114-0.059-0
21386.24 11.947.18 61.0733.35 43.320.890.790.830.9211090.371091.8961.4232.8944.010.3510.360.2890.80.880.80.770.880.77 -0.132-0.065-0
22396.34 14.227.54 66.6831.74 45.810.890.790.830.9181219.511220.4866.731.4746.430.3470.3670.2870.80.850.80.780.850.78 -0.132-0.061-0
23409 12.864.76 49.6134.8 66.060.890.790.830.9121208.511206.9449.2734.567.20.3670.3680.2650.890.860.890.660.860.66 -0.161-0.061-0
24417.4 13.046.22 60.2435.39 54.840.890.790.830.9161248.311248.4660.2434.8256.040.3570.3640.2790.840.860.840.730.860.73 -0.126-0.0670
25425.46 13.965.54 72.9531.03 56.470.890.790.830.9121144.331143.6472.4830.8457.290.3460.3760.2780.830.810.830.770.810.77 -0.165-0.079-0
26435.86 13.17.76 75.936.48 47.460.890.790.830.9191290.891292.3876.135.9248.440.3450.3640.2910.790.860.790.790.860.79 -0.141-0.06-0
27447.3 13.464.22 61.0934.49 74.720.890.790.830.9081225.441222.1660.6234.275.640.3620.3770.2610.890.820.890.690.820.69 -0.187-0.0720
28457.88 14.344.2 61.3235.04 79.970.890.790.830.9061321.521317.1560.7934.7780.820.3640.3790.2580.90.810.90.680.810.68 -0.191-0.067-0
29466.28 11.166.06 70.5741.49 56.980.890.790.830.9161251.451252.1370.7940.4458.80.3550.360.2850.820.870.820.740.870.74 -0.137-0.074-0
30475.4 12.526.98 84.1839.37 53.280.890.790.830.9171319.431320.1284.238.6354.70.3440.3660.2890.790.850.790.790.850.79 -0.155-0.066-0
31486.7 13.285.14 73.0139 70.520.890.790.830.911369.561366.0972.6138.2572.30.3560.3720.2720.860.830.860.730.830.73 -0.153-0.075-0
AVE:337.16 12.946.25 49.2927.24 44.450.890.790.830.92964.01963.9949.2927.2444.450.3560.3650.2790.830.860.830.730.860.73-0.139-0.066-0




À2:   Estimate the Diewert cost function directly.

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

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cLL0.0820540.0711.156
cKK0.2951490.0545.5
cMM0.008130.0550.148
2*dLK0.5503510.1134.872
2*dLM1.3532310.08416.154
2*dKM0.3260390.0794.141
R2 = 0.9998 R2b = 0.9998 # obs = 31

The Diewert cost function as obtained by direct estimation is:

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

= q^(1/0.92) * [0.08205 * wL + 0.29515 * wK + 0.00813 * wM + 0.55035 * (wL*wK)^(1/2) + 1.35323 * (wL*wM)^(1/2) + 0.32604 * (wK*wM)^(1/2)]
        (***)

XII. Its three derived factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/0.92) * [0.0821 + 0.2752 * (wK / wL)^(1/2) + 0.6766 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/0.92) * [0.2951 + 0.2752 * (wL / wK)^(1/2) + 0.163 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/0.92) * [0.0081 + 0.6766 * (wL / wM)^(1/2) + 0.163 * (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.46210.17310.28911.087
0.1661-0.25720.09111.087
0.37330.1226-0.49581.087

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

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

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

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

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

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

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

H = ∇2wwc =
-0.071530.014420.0522
0.01442-0.012030.00923
0.05220.00923-0.0809

The principal minors of H are H1 = -0.07153, H2 = 0.000652, 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.1287, e2 = -0.0358, and e3 = 0.
H3 = e1 * e2 * e3 = 0.

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

Generalized CES-Diewert Cost Function
À2: Estimate the Diewert cost function directly
Parameters: rho = 0.17647, rhoL = 0.17647, rhoK = 0.11823, rhoM = 0.26339
 nu = 1
  —   Generalized CES Cost Data   —  
nu1 = 0.92
  —   Diewert Cost Data   —  
Factor SharesUzawa Elasticities2wwc(w)
obs #qwLwKwM LK MsLKsLMsKMεLKMcostest costest Lest Kest MsLsKsMuLKuLMuKLuKMuMLuMKe1e2e3
1188.36 11.37.84 23.2816.5 20.750.90.790.840.934543.76542.924.4715.4520.890.3770.3220.3020.471.030.470.341.030.34 -0.1-0.032-0
2196.62 11.184.82 24.9514.54 27.040.90.790.830.925458.12457.8624.9615.0725.760.3610.3680.2710.481.050.480.321.050.32 -0.152-0.041-0
3208.14 14.926.44 27.5915.02 27.80.90.790.830.924627.72627.5827.4215.7126.390.3560.3740.2710.471.050.470.331.050.33 -0.117-0.032-0
4218.84 12.465.92 25.7717.68 29.770.90.790.830.925624.41624.3826.3417.4929.320.3730.3490.2780.491.030.490.321.030.32 -0.121-0.0330
5228.78 13.986.12 28.4217.58 31.60.890.790.830.923688.74688.7828.6217.8830.650.3650.3630.2720.481.040.480.321.040.32 -0.118-0.032-0
6235.76 13.37.04 38.1917.21 26.680.90.790.830.926636.64635.7437.7117.9725.50.3420.3760.2820.451.060.450.351.060.35 -0.138-0.034-0
7247.52 12.55.06 31.4318.8 35.680.890.790.830.921651.91652.5331.3819.3734.460.3620.3710.2670.481.050.480.321.050.32 -0.143-0.037-0
8258.92 14.285.08 31.319.37 40.570.890.790.830.918761.88763.5631.1220.1738.960.3640.3770.2590.491.050.490.311.050.31 -0.142-0.032-0
9265.34 13.97.38 46.6619.08 29.170.90.790.830.924729.64729.6545.6120.1727.870.3340.3840.2820.441.070.440.361.070.36 -0.148-0.033-0
10277.46 12.56.5 37.9222.75 34.640.90.790.830.923792.38792.2538.4722.4934.490.3620.3550.2830.471.040.470.331.040.33 -0.118-0.034-0
11287.2 11.087.56 40.0526 31.450.90.790.830.928814.25815.7841.7824.3832.390.3690.3310.30.461.030.460.341.030.34 -0.111-0.0340
12297.5 12.627.12 41.8325.13 35.470.90.790.830.924883.34883.4842.6824.4735.740.3620.350.2880.461.040.460.341.040.34 -0.112-0.0330
13307 136 43.7924.14 40.130.890.790.830.92861.17861.3143.6924.5139.470.3550.370.2750.471.050.470.331.050.33 -0.129-0.0360
14317 13.56.36 46.5424.89 40.560.890.790.830.92919.69919.7846.3525.2939.930.3530.3710.2760.461.050.460.331.050.33 -0.125-0.0350
15327.26 12.726.14 45.9626.76 42.420.890.790.830.92934.47934.5146.2226.6642.330.3590.3630.2780.471.050.470.331.050.33 -0.125-0.0350
16337.84 11.564.96 42.1828.53 49.280.890.790.830.917904.92905.3642.6928.1149.540.370.3590.2710.491.040.490.311.040.31 -0.144-0.037-0
17346.04 11.867.56 55.6429.55 37.170.90.790.830.924967.52967.7856.5828.7237.750.3530.3520.2950.451.050.450.351.050.35 -0.129-0.033-0
18357.2 12.287.28 52.2531.37 41.510.890.790.830.9221063.681064.6653.4930.142.570.3620.3470.2910.461.040.460.341.040.34 -0.114-0.0330
19367.96 13.765.42 49.6429.37 54.110.890.790.830.9141092.511092.5149.2729.8353.480.3590.3760.2650.481.050.480.321.050.32 -0.134-0.034-0
20377.46 14.67.7 58.3231.14 45.240.890.790.830.9191238.111237.8858.4730.9145.510.3520.3650.2830.461.050.460.341.050.34 -0.11-0.03-0
21386.24 11.947.18 61.0733.35 43.320.890.790.830.9211090.371090.8161.9732.3544.270.3540.3540.2910.451.050.450.351.050.35 -0.127-0.034-0
22396.34 14.227.54 66.6831.74 45.810.890.790.830.9181219.511219.3866.0832.0545.720.3440.3740.2830.451.060.450.351.060.35 -0.126-0.0320
23409 12.864.76 49.6134.8 66.060.890.790.830.9121208.511207.3949.7834.4366.510.3710.3670.2620.51.040.50.31.040.3 -0.151-0.033-0
24417.4 13.046.22 60.2435.39 54.840.890.790.830.9161248.311247.560.4634.8355.620.3590.3640.2770.471.050.470.331.050.33 -0.123-0.0340
25425.46 13.965.54 72.9531.03 56.470.890.790.830.9121144.331146.7969.9733.1354.560.3330.4030.2640.451.070.450.341.070.34 -0.156-0.041-0
26435.86 13.17.76 75.936.48 47.460.890.790.830.9191290.891290.8275.8636.0648.180.3440.3660.290.441.060.440.361.060.36 -0.133-0.032-0
27447.3 13.464.22 61.0934.49 74.720.890.790.830.9081225.441224.759.3236.0272.710.3540.3960.2510.491.060.490.311.060.31 -0.173-0.039-0
28457.88 14.344.2 61.3235.04 79.970.890.790.830.9061321.521320.7359.3536.877.450.3540.40.2460.491.060.490.31.060.3 -0.175-0.036-0
29466.28 11.166.06 70.5741.49 56.980.890.790.830.9161251.451251.0471.4639.958.920.3590.3560.2850.461.050.460.341.050.34 -0.134-0.038-0
30475.4 12.526.98 84.1839.37 53.280.890.790.830.9171319.431318.883.4539.2653.970.3420.3730.2860.441.060.440.361.060.36 -0.146-0.035-0
31486.7 13.285.14 73.0139 70.520.890.790.830.911369.561366.8971.3839.7970.080.350.3870.2640.471.060.470.331.060.33 -0.146-0.039-0
AVE:337.16 12.946.25 49.2427.4 43.90.890.790.830.92964.01963.9749.2427.443.90.3560.3660.2770.471.050.470.331.050.33-0.133-0.034-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.3199470.075-4.293
dLK0.8887020.07412.025
dLM0.6278370.0659.696
R2 = 0.9627 R2b = 0.9601 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cKK0.1522820.0921.662
dKL0.4700320.0954.959
dKM0.4668910.0795.918
R2 = 0.6696 R2b = 0.646 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cMM-0.2603050.012-21.391
dML0.6762270.01544.504
dMK0.5925720.01540.419
R2 = 0.9986 R2b = 0.9986 # obs = 31

The three estimated factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/1) * [-0.3199 + 0.8887 * (wK / wL)^(1/2) + 0.6278 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/1) * [0.1523 + 0.47 * (wL / wK)^(1/2) + 0.4669 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/1) * [-0.2603 + 0.6762 * (wL / wM)^(1/2) + 0.5926 * (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.60860.41130.19741
0.2118-0.40650.19471
0.27210.3249-0.5971

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.31995 * wL + 0.15228 * wK + -0.2603 * wM + 1.35873 * (wL*wK)^(1/2) + 1.30406 * (wL*wM)^(1/2) + 1.05946 * (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.2075890.050251-4.131079
dLK0.74650.04191817.808517
dLM0.7130190.03287821.686517
cKK-0.1099560.045193-2.433035
dKL0.74650.04191817.808517
dKM0.5484340.0349515.692119
cMM-0.2359080.040302-5.853497
dML0.7130190.03287821.686517
dMK0.5484340.0349515.692119
R2 = 0.9938 R2b = 0.9932 # 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.2076 + 0.7465 * (wK / wL)^(1/2) + 0.713 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/1) * [-0.11 + 0.7465 * (wL / wK)^(1/2) + 0.5484 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/1) * [-0.2359 + 0.713 * (wL / wM)^(1/2) + 0.5484 * (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.57060.34610.22461
0.338-0.56780.22991
0.2870.3009-0.58791

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.20759 * wL + -0.10996 * wK + -0.23591 * wM + 1.493 * (wL*wK)^(1/2) + 1.42604 * (wL*wM)^(1/2) + 1.09687 * (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.119820.039130.05501
0.03913-0.03540.03105
0.055010.03105-0.13145

The principal minors of H are H1 = -0.119817, H2 = 0.00271, 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.181, e2 = -0.1056, and e3 = 0.
H3 = e1 * e2 * e3 = 0.

XXI. The factor share functions are:

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

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

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

XXII. Uzawa Partial Elasticities of Substitution:

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

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

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

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

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

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

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

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

as seen in the following table.

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

Generalized CES-Diewert Cost Function
À3: Estimate the Translog cost function using restricted factor shares
Parameters: rho = 0.17647, rhoL = 0.17647, rhoK = 0.11823, rhoM = 0.26339
 nu = 1
  —   Generalized CES Cost Data   —  
nu1 = 1
  —   Diewert Cost Data   —  
Factor SharesUzawa Elasticities2wwc(w)
obs #qwLwKwM LK MsLKsLMsKMεLKMcostest costest Lest Kest MsLsKsMuLKuLMuKLuKMuMLuMKe1e2e3
1188.36 11.37.84 23.2816.5 20.750.90.790.840.934543.76567.9524.3117.820.860.3580.3540.2880.910.890.910.80.890.8 -0.136-0.095-0
2196.62 11.184.82 24.9514.54 27.040.90.790.830.925458.12479.0126.0515.6727.260.360.3660.2740.970.810.970.80.810.8 -0.215-0.1190
3208.14 14.926.44 27.5915.02 27.80.90.790.830.924627.72653.6128.7516.0328.010.3580.3660.2760.960.80.960.810.80.81 -0.165-0.094-0
4218.84 12.465.92 25.7717.68 29.770.90.790.830.925624.41646.8926.5118.8330.050.3620.3630.2750.970.840.970.770.840.77 -0.17-0.0940
5228.78 13.986.12 28.4217.58 31.60.890.790.830.923688.74711.429.2518.5831.830.3610.3650.2740.970.820.970.780.820.78 -0.168-0.091-0
6235.76 13.37.04 38.1917.21 26.680.90.790.830.926636.64654.239.4517.9526.750.3470.3650.2880.910.80.910.890.80.89 -0.202-0.098-0
7247.52 12.55.06 31.4318.8 35.680.890.790.830.921651.91668.7832.1519.6335.890.3620.3670.2720.980.80.980.790.80.79 -0.205-0.106-0
8258.92 14.285.08 31.319.37 40.570.890.790.830.918761.88779.2931.8820.1840.710.3650.370.26510.810.760.80.76 -0.208-0.0910
9265.34 13.97.38 46.6619.08 29.170.90.790.830.924729.64742.2147.7119.5629.210.3430.3660.290.90.790.90.910.790.91 -0.222-0.093-0
10277.46 12.56.5 37.9222.75 34.640.90.790.830.923792.38804.0138.4623.2834.790.3570.3620.2810.940.830.940.820.830.82 -0.165-0.1010
11287.2 11.087.56 40.0526 31.450.90.790.830.928814.25823.1640.5726.4631.470.3550.3560.2890.90.870.90.830.870.83 -0.155-0.0980
12297.5 12.627.12 41.8325.13 35.470.90.790.830.924883.34890.8542.2125.4535.560.3550.360.2840.920.840.920.830.840.83 -0.157-0.0960
13307 136 43.7924.14 40.130.890.790.830.92861.17866.244.124.3140.250.3560.3650.2790.950.810.950.820.810.82 -0.181-0.1060
14317 13.56.36 46.5424.89 40.560.890.790.830.92919.69922.3946.7724.9240.650.3550.3650.280.940.80.940.840.80.84 -0.176-0.1020
15327.26 12.726.14 45.9626.76 42.420.890.790.830.92934.47934.6545.9626.7242.520.3570.3640.2790.950.820.950.820.820.82 -0.174-0.104-0
16337.84 11.564.96 42.1828.53 49.280.890.790.830.917904.92902.3241.7828.5149.430.3630.3650.2720.980.820.980.770.820.77 -0.206-0.105-0
17346.04 11.867.56 55.6429.55 37.170.90.790.830.924967.52962.7955.6329.26370.3490.360.2910.890.840.890.880.840.88 -0.187-0.094-0
18357.2 12.287.28 52.2531.37 41.510.890.790.830.9221063.681056.0151.9530.9441.490.3540.360.2860.910.840.910.840.840.84 -0.159-0.0960
19367.96 13.765.42 49.6429.37 54.110.890.790.830.9141092.511080.7349.0428.8754.070.3610.3680.2710.980.80.980.790.80.79 -0.193-0.1-0
20377.46 14.67.7 58.3231.14 45.240.890.790.830.9191238.111222.8157.7630.4145.180.3520.3630.2850.920.820.920.850.820.85 -0.157-0.089-0
21386.24 11.947.18 61.0733.35 43.320.890.790.830.9211090.371074.8760.4232.4943.170.3510.3610.2880.90.830.90.860.830.86 -0.182-0.098-0
22396.34 14.227.54 66.6831.74 45.810.890.790.830.9181219.511198.6665.8330.7345.670.3480.3650.2870.910.80.910.880.80.88 -0.183-0.091-0
23409 12.864.76 49.6134.8 66.060.890.790.830.9121208.511182.8948.1333.9365.840.3660.3690.2651.010.811.010.740.810.74 -0.221-0.092-0
24417.4 13.046.22 60.2435.39 54.840.890.790.830.9161248.311221.0658.9234.0854.770.3570.3640.2790.950.820.950.820.820.82 -0.172-0.1020
25425.46 13.965.54 72.9531.03 56.470.890.790.830.9121144.331115.0371.5829.556.390.3510.3690.280.950.750.950.880.750.88 -0.227-0.120
26435.86 13.17.76 75.936.48 47.460.890.790.830.9191290.891258.5774.3534.8947.140.3460.3630.2910.890.820.890.890.820.89 -0.196-0.090
27447.3 13.464.22 61.0934.49 74.720.890.790.830.9081225.441187.5759.3232.8673.980.3650.3720.2631.010.761.010.780.760.78 -0.257-0.1090
28457.88 14.344.2 61.3235.04 79.970.890.790.830.9061321.521277.2759.433.3178.940.3660.3740.261.020.761.020.770.760.77 -0.262-0.101-0
29466.28 11.166.06 70.5741.49 56.980.890.790.830.9161251.451212.3868.4539.2956.770.3550.3620.2840.920.830.920.830.830.83 -0.187-0.1120
30475.4 12.526.98 84.1839.37 53.280.890.790.830.9171319.431275.6181.7737.1252.910.3460.3640.290.90.80.90.90.80.9 -0.215-0.0990
31486.7 13.285.14 73.0139 70.520.890.790.830.911369.561317.6170.4636.5570.070.3580.3680.2730.970.780.970.820.780.82 -0.209-0.114-0
AVE:337.16 12.946.25 4927.04 44.150.890.790.830.92964.01957.774927.0444.150.3560.3650.2790.940.810.940.820.810.82-0.191-0.1-0




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

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

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

SVD Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cLL-2.8565952.122-1.346
cKK-0.8883931.605-0.553
cMM2.7333011.6441.663
2*dLK6.4858893.3791.92
2*dLM-0.763762.506-0.305
2*dKM-1.4653392.355-0.622
R2 = 0.8814 R2b = 0.8577 # obs = 31
Observation Matrix Rank: 6
The Diewert cost function as obtained by direct estimation is:

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

= q^(1/1) * [-2.85659 * wL + -0.88839 * wK + 2.7333 * wM + 6.48589 * (wL*wK)^(1/2) + -0.76376 * (wL*wM)^(1/2) + -1.46534 * (wK*wM)^(1/2)]
        (***)

XXVI. Its three derived factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/1) * [-2.8566 + 3.2429 * (wK / wL)^(1/2) + -0.3819 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/1) * [-0.8884 + 3.2429 * (wL / wK)^(1/2) + -0.7327 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/1) * [2.7333 + -0.3819 * (wL / wM)^(1/2) + -0.7327 * (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
-1.68121.8273-0.14621
1.1976-0.9471-0.25051
-0.166-0.4340.61

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.67 = 57.67 = 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.290420.16998-0.02946
0.16998-0.07238-0.04148
-0.02946-0.041480.12424

The principal minors of H are H1 = -0.290417, H2 = -0.007871, 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.3834, e2 = 0.1448, and e3 = -0.
H3 = e1 * e2 * e3 = 0.

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

Generalized CES-Diewert Cost Function
À4: Estimate the Diewert cost function directly
Parameters: rho = 0.17647, rhoL = 0.17647, rhoK = 0.11823, rhoM = 0.26339
 nu = 1
  —   Generalized CES Cost Data   —  
nu1 = 1
  —   Diewert Cost Data   —  
Factor SharesUzawa Elasticities2wwc(w)
obs #qwLwKwM LK MsLKsLMsKMεLKMcostest costest Lest Kest MsLsKsMuLKuLMuKLuKMuMLuMKe1e2e3
1188.36 11.37.84 23.2816.5 20.750.90.790.840.934543.76550.319.7923.2326.270.1490.4770.3747.27-0.917.27-0.63-0.91-0.63 -0.3250.107-0
2196.62 11.184.82 24.9514.54 27.040.90.790.830.925458.12476.1119.6121.3922.230.2730.5020.2254.06-0.74.06-0.95-0.7-0.95 -0.4060.1850
3208.14 14.926.44 27.5915.02 27.80.90.790.830.924627.72653.5723.8820.5123.780.2970.4680.2343.93-0.613.93-1-0.61-1 -0.330.137-0
4218.84 12.465.92 25.7717.68 29.770.90.790.830.925624.41626.214.328.125.280.2020.5590.2395.06-0.965.06-0.79-0.96-0.79 -0.3090.149-0
5228.78 13.986.12 28.4217.58 31.60.890.790.830.923688.74702.520.1726.3325.710.2520.5240.2244.26-0.784.26-0.9-0.78-0.9 -0.3070.1450
6235.76 13.37.04 38.1917.21 26.680.90.790.830.926636.64660.0737.9316.3931.760.3310.330.3394.52-0.384.52-1.1-0.38-1.1 -0.4740.1190
7247.52 12.55.06 31.4318.8 35.680.890.790.830.921651.91666.2924.2727.8626.790.2740.5230.2033.96-0.763.96-0.99-0.76-0.99 -0.3580.1790
8258.92 14.285.08 31.319.37 40.570.890.790.830.918761.88782.4323.9630.9424.970.2730.5650.1623.79-0.933.79-1.09-0.93-1.09 -0.3040.1860
9265.34 13.97.38 46.6619.08 29.170.90.790.830.924729.64749.1150.0915.2836.480.3570.2840.3594.79-0.324.79-1.26-0.32-1.26 -0.5240.1130
10277.46 12.56.5 37.9222.75 34.640.90.790.830.923792.38795.3226.5929.3935.320.2490.4620.2894.61-0.634.61-0.84-0.63-0.84 -0.3580.1320
11287.2 11.087.56 40.0526 31.450.90.790.830.928814.25815.8421.731.3841.260.1920.4260.3826.09-0.666.09-0.71-0.66-0.71 -0.370.111-0
12297.5 12.627.12 41.8325.13 35.470.90.790.830.924883.34883.1628.3630.7839.610.2410.440.3194.89-0.64.89-0.81-0.6-0.81 -0.3550.119-0
13307 136 43.7924.14 40.130.890.790.830.92861.17865.0436.2829.8137.270.2940.4480.2594.08-0.574.08-0.97-0.57-0.97 -0.3830.145-0
14317 13.56.36 46.5424.89 40.560.890.790.830.92919.69922.8839.7729.2639.220.3020.4280.274.1-0.524.1-0.99-0.52-0.99 -0.3840.1360
15327.26 12.726.14 45.9626.76 42.420.890.790.830.92934.47928.734.7133.6840.430.2710.4610.2674.29-0.614.29-0.9-0.61-0.9 -0.3690.141-0
16337.84 11.564.96 42.1828.53 49.280.890.790.830.917904.92883.725.6642.9837.440.2280.5620.214.5-0.934.5-0.88-0.93-0.88 -0.3470.1810
17346.04 11.867.56 55.6429.55 37.170.90.790.830.924967.52976.8942.8528.5950.130.2650.3470.3885.19-0.445.19-0.9-0.44-0.9 -0.4410.11-0
18357.2 12.287.28 52.2531.37 41.510.890.790.830.9221063.681050.8334.8136.0749.070.2390.4220.345.05-0.575.05-0.81-0.57-0.81 -0.370.115-0
19367.96 13.765.42 49.6429.37 54.110.890.790.830.9141092.511082.1439.3140.2639.710.2890.5120.1993.81-0.733.81-1.03-0.73-1.03 -0.3380.1680
20377.46 14.67.7 58.3231.14 45.240.890.790.830.9191238.111225.7747.8133.2149.90.2910.3960.3134.44-0.484.44-0.95-0.48-0.95 -0.3590.110
21386.24 11.947.18 61.0733.35 43.320.890.790.830.9211090.371082.8846.3533.7454.430.2670.3720.3614.94-0.474.94-0.89-0.47-0.89 -0.4270.116-0
22396.34 14.227.54 66.6831.74 45.810.890.790.830.9181219.511208.8161.762953.70.3240.3410.3354.5-0.394.5-1.07-0.39-1.07 -0.4290.1110
23409 12.864.76 49.6134.8 66.060.890.790.830.9121208.511167.5829.6955.1540.160.2290.6070.1644.3-1.144.3-0.99-1.14-0.99 -0.3050.1980
24417.4 13.046.22 60.2435.39 54.840.890.790.830.9161248.311214.0745.0342.9951.490.2740.4620.2644.24-0.64.24-0.91-0.6-0.91 -0.3620.1390
25425.46 13.965.54 72.9531.03 56.470.890.790.830.9121144.331120.6281.6628.4850.030.3980.3550.2473.76-0.43.76-1.38-0.4-1.38 -0.5150.1590
26435.86 13.17.76 75.936.48 47.460.890.790.830.9191290.891278.6166.7630.8262.330.3060.3160.3784.95-0.374.95-1.04-0.37-1.04 -0.4620.1070
27447.3 13.464.22 61.0934.49 74.720.890.790.830.9081225.441220.2255.2947.9440.590.3310.5290.143.31-0.823.31-1.34-0.82-1.34 -0.3720.2310
28457.88 14.344.2 61.3235.04 79.970.890.790.830.9061321.521323.4655.7750.3638.540.3320.5460.1223.23-0.923.23-1.45-0.92-1.45 -0.3450.2380
29466.28 11.166.06 70.5741.49 56.980.890.790.830.9161251.451207.2950.246.262.110.2610.4270.3124.64-0.554.64-0.86-0.55-0.86 -0.4250.140
30475.4 12.526.98 84.1839.37 53.280.890.790.830.9171319.431291.277.4232.6366.560.3240.3160.364.74-0.374.74-1.09-0.37-1.09 -0.5050.1190
31486.7 13.285.14 73.0139 70.520.890.790.830.911369.561329.7565.9846.0453.740.3320.460.2083.61-0.593.61-1.14-0.59-1.14 -0.4040.1760
AVE:337.16 12.946.25 39.9332.86 41.170.890.790.830.92964.01959.439.9332.8641.170.2790.4470.2744.48-0.644.48-0.99-0.64-0.99-0.3860.1460



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