www.egwald.com Egwald Web Services

Egwald Web Services
Domain Names
Web Site Design

Egwald Website Search JOIN US AS A FACEBOOK FAN Twitter - Follow Elmer WiensRadio 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 FunctionsReferences & Links
 

Egwald Economics: Microeconomics

Cost Functions

by

Elmer G. Wiens

Egwald's popular web pages are provided without cost to users.
Please show your support by joining Egwald Web Services as a Facebook Fan: JOIN US AS A FACEBOOK FAN
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.1085220.004-24.867
dLK0.5210070.004144.488
dLM0.5244790.004133.537
R2 = 0.9997 R2b = 0.9997 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cKK-0.0433210.021-2.058
dKL0.5351760.02521.458
dKM0.3702910.02315.936
R2 = 0.9701 R2b = 0.968 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cMM-0.1210090.033-3.633
dML0.5091950.03514.547
dMK0.3829130.0312.686
R2 = 0.9773 R2b = 0.9756 # obs = 31

The three estimated factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/0.92) * [-0.1085 + 0.521 * (wK / wL)^(1/2) + 0.5245 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/0.92) * [-0.0433 + 0.5352 * (wL / wK)^(1/2) + 0.3703 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/0.92) * [-0.121 + 0.5092 * (wL / wM)^(1/2) + 0.3829 * (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.54990.32660.22331.087
0.3267-0.5360.20931.087
0.2770.2839-0.5611.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.10852 * wL + -0.04332 * wK + -0.12101 * wM + 1.05618 * (wL*wK)^(1/2) + 1.03367 * (wL*wM)^(1/2) + 0.7532 * (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.1093680.022579-4.843882
dLK0.5267510.01618632.544168
dLM0.516870.01482234.870657
cKK-0.0420470.016343-2.572767
dKL0.5267510.01618632.544168
dKM0.3772410.01459325.851638
cMM-0.120670.019851-6.078901
dML0.516870.01482234.870657
dMK0.3772410.01459325.851638
R2 = 0.9975 R2b = 0.9973 # 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.1094 + 0.5268 * (wK / wL)^(1/2) + 0.5169 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/0.92) * [-0.042 + 0.5268 * (wL / wK)^(1/2) + 0.3772 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/0.92) * [-0.1207 + 0.5169 * (wL / wM)^(1/2) + 0.3772 * (wK / wM)^(1/2)]

    The estimated factor demand elasticities are obtained by:

εL,wL = ∂ln(L(q;wL,wK,wM))/∂ln(wL) = -.5 * (q^1/nu1) / L(q;wL,wK,wM)) * (dLK * (wK/wL)^1/2 + dLM * (wM/wL)^1/2),

εL,wK = ∂ln(L(q;wL,wK,wM))/∂ln(wK) = .5 * (q^1/nu1) / L(q;wL,wK,wM)) * dLK * (wK/wL)^1/2,

εL,wM = ∂ln(L(q;wL,wK,wM))/∂ln(wM) = .5 * (q^1/nu1) / L(q;wL,wK,wM)) * dLM * (wM/wL)^1/2,

εL,wq = ∂ln(L(q;wL,wK,wM))/∂ln(q) = 1/nu, etc.

      For example, with wL = 7, wK = 13, wM = 6, and q = 30:

εL,wLεL,wKεL,wMεL,q
εK,wLεK,wKεK,wMεK,q
εM,wLεM,wKεM,wMεM,q
-0.55030.33020.22011.087
0.3217-0.5350.21331.087
0.28110.2796-0.56081.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.10937 * wL + -0.04205 * wK + -0.12067 * wM + 1.0535 * (wL*wK)^(1/2) + 1.03374 * (wL*wM)^(1/2) + 0.75448 * (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.085450.027610.03988
0.02761-0.024720.02136
0.039880.02136-0.0928

The principal minors of H are H1 = -0.085455, H2 = 0.00135, 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.1293, e2 = -0.0737, 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.58 14.727.72 28.7413.12 21.140.90.790.830.93545.49544.0728.6613.520.310.3470.3650.2880.870.780.870.810.780.81 -0.126-0.0620
2198.08 11.587.76 25.2617.06 21.970.90.790.830.933572.27569.9525.2317.3521.290.3580.3520.290.870.850.870.750.850.75 -0.101-0.066-0
3205.1 12.964.86 31.9713.1 27.530.890.790.830.922466.62467.3932.0513.4826.60.350.3740.2770.910.740.910.80.740.8 -0.178-0.094-0
4218.76 12.366.38 26.2718.03 28.360.90.790.830.927633.91633.326.218.427.640.3620.3590.2780.910.830.910.720.830.72 -0.112-0.066-0
5225.1 12.286.96 37.8716.42 24.250.90.790.830.928563.61562.9437.7616.7423.690.3420.3650.2930.850.790.850.830.790.83 -0.163-0.069-0
6235.64 12.664.62 34.5515.88 33.350.890.790.830.919549.95551.0934.6716.2432.470.3550.3730.2720.920.750.920.780.750.78 -0.172-0.092-0
7245.66 12.785.76 38.0617.49 30.740.90.790.830.923616.04616.4738.0817.7730.170.350.3680.2820.890.770.890.80.770.8 -0.152-0.081-0
8255.26 13.287.82 45.0518.9 26.640.90.790.830.927696.26696.144.9119.1526.290.3390.3650.2950.840.790.840.850.790.85 -0.16-0.062-0
9265.54 12.847.7 4520.38 28.070.90.790.830.927727.06727.0444.9420.5727.780.3420.3630.2940.850.80.850.830.80.83 -0.149-0.063-0
10277.94 11.447.82 37.1625.49 30.860.90.790.830.928827.98828.1637.2525.4830.80.3570.3520.2910.870.850.870.760.850.76 -0.102-0.066-0
11286.32 12.567.88 45.2323.51 30.740.90.790.830.926823.34823.6845.2823.5830.620.3470.360.2930.850.810.850.810.810.81 -0.128-0.063-0
12298.62 134.62 35.6323.41 48.020.890.790.830.916833.34834.6735.623.7847.340.3680.370.2620.950.790.950.70.790.7 -0.163-0.067-0
13307 136 43.7924.14 40.130.890.790.830.92861.17861.9943.8324.2340.040.3560.3650.2790.90.790.90.770.790.77 -0.129-0.0740
14318.66 12.424.14 36.8125.34 54.190.890.790.830.914857.83859.0236.7225.7253.50.370.3720.2580.960.790.960.690.790.69 -0.186-0.0670
15325 13.545.06 55.2121.99 43.660.890.790.830.915794.61795.2855.252243.70.3470.3750.2780.910.730.910.820.730.82 -0.179-0.092-0
16335.84 12.324.32 49.0824.28 50.140.890.790.830.914802.39803.0349.2124.3349.970.3580.3730.2690.930.750.930.760.750.76 -0.179-0.092-0
17345.48 12.487.18 59.0127.53 37.860.90.790.830.922938.87940.159.0127.438.270.3440.3640.2920.860.790.860.830.790.83 -0.151-0.067-0
18355.02 12.545.1 59.3125.48 46.530.890.790.830.915854.59854.9659.3225.3646.90.3480.3720.280.90.750.90.810.750.81 -0.175-0.091-0
19365.74 14.144.04 56.2824.42 59.250.890.790.830.909907.73907.6356.5924.3559.050.3580.3790.2630.950.720.950.770.720.77 -0.197-0.0950
20378 12.745.5 49.8831.77 53.940.890.790.830.9161100.51100.849.8331.5754.540.3620.3650.2730.920.80.920.730.80.73 -0.133-0.07-0
21385.54 14.45.68 65.8927.47 50.950.890.790.830.9141050.031049.8165.8627.251.640.3480.3730.2790.90.740.90.810.740.81 -0.16-0.0820
22396.18 13.986.6 65.2930.81 48.910.890.790.830.9161156.981157.4465.2730.4349.80.3490.3680.2840.890.770.890.80.770.8 -0.138-0.071-0
23407.64 14.864.58 56.4330.25 67.440.890.790.830.9091189.451188.0756.5330.0567.610.3640.3760.2610.950.750.950.740.750.74 -0.168-0.073-0
24416.38 11.265.6 60.8435.71 53.490.890.790.830.9171089.721090.2160.8635.1454.70.3560.3630.2810.90.80.90.760.80.76 -0.138-0.081-0
25427.62 14.665.64 61.9733.71 62.280.890.790.830.9121317.611316.1761.9633.2363.260.3590.370.2710.930.770.930.750.770.75 -0.134-0.0710
26436.52 14.86.36 71.333.69 57.030.890.790.830.9131326.261325.2871.2533.0958.330.3510.370.280.90.760.90.80.760.8 -0.135-0.072-0
27445.04 11.925.7 76.5635 54.210.890.790.830.9151112.091111.9376.4534.3255.70.3470.3680.2860.880.770.880.810.770.81 -0.168-0.083-0
28457.3 11.927.88 68.6943.5 50.840.890.790.830.921420.561424.1668.9742.4152.680.3540.3550.2910.860.840.860.780.840.78 -0.11-0.064-0
29467.92 14.16.28 67.6939.64 64.020.890.790.830.9131497.121495.667.6238.7965.780.3580.3660.2760.910.790.910.750.790.75 -0.12-0.068-0
30477.8 14.95.7 69.7538.42 70.230.890.790.830.911516.771513.2269.6637.671.860.3590.370.2710.930.770.930.750.770.75 -0.133-0.0690
31487.5 11.345.3 65.5544.35 68.070.890.790.830.9131355.36135465.3943.370.30.3620.3630.2750.920.810.920.730.810.73 -0.137-0.0760
AVE:336.61 13.036.02 50.6526.34 44.920.890.790.830.919935.66935.650.6526.3444.920.3540.3670.2790.90.780.90.780.780.78-0.148-0.074-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.1559370.108-1.438
cKK-0.0522590.061-0.851
cMM-0.1628260.08-2.041
2*dLK1.0713960.1556.934
2*dLM1.1122360.08513.101
2*dKM0.7592280.1017.493
R2 = 0.9997 R2b = 0.9997 # obs = 31

The Diewert cost function as obtained by direct estimation is:

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

= q^(1/0.92) * [-0.15594 * wL + -0.05226 * wK + -0.16283 * wM + 1.0714 * (wL*wK)^(1/2) + 1.11224 * (wL*wM)^(1/2) + 0.75923 * (wK*wM)^(1/2)]
        (***)

XII. Its three derived factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/0.92) * [-0.1559 + 0.5357 * (wK / wL)^(1/2) + 0.5561 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/0.92) * [-0.0523 + 0.5357 * (wL / wK)^(1/2) + 0.3796 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/0.92) * [-0.1628 + 0.5561 * (wL / wM)^(1/2) + 0.3796 * (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.57160.33520.23641.087
0.3283-0.54360.21541.087
0.30140.2803-0.58171.087

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

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

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

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

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

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

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

H = ∇2wwc =
-0.088920.028080.04291
0.02808-0.025040.02149
0.042910.02149-0.09662

The principal minors of H are H1 = -0.088921, H2 = 0.001438, 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.1359, e2 = -0.0746, 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.58 14.727.72 28.7413.12 21.140.90.790.830.93545.49544.1628.8813.4420.250.3490.3640.2870.880.840.880.820.840.82 -0.133-0.0630
2198.08 11.587.76 25.2617.06 21.970.90.790.830.933572.27570.3925.2917.3321.310.3580.3520.290.880.910.880.760.910.76 -0.106-0.067-0
3205.1 12.964.86 31.9713.1 27.530.890.790.830.922466.62467.3732.213.426.650.3510.3720.2770.930.790.930.810.790.81 -0.187-0.095-0
4218.76 12.366.38 26.2718.03 28.360.90.790.830.927633.91633.6326.1318.3727.840.3610.3580.280.930.890.930.720.890.72 -0.118-0.067-0
5225.1 12.286.96 37.8716.42 24.250.90.790.830.928563.61562.8538.1416.6623.530.3460.3630.2910.860.840.860.850.840.85 -0.171-0.07-0
6235.64 12.664.62 34.5515.88 33.350.890.790.830.919549.95551.1334.7416.1532.630.3560.3710.2740.940.80.940.780.80.78 -0.18-0.093-0
7245.66 12.785.76 38.0617.49 30.740.90.790.830.923616.04616.6138.2917.6930.180.3510.3670.2820.910.820.910.810.820.81 -0.16-0.082-0
8255.26 13.287.82 45.0518.9 26.640.90.790.830.927696.26695.8145.4219.0626.060.3430.3640.2930.850.840.850.860.840.86 -0.167-0.063-0
9265.54 12.847.7 4520.38 28.070.90.790.830.927727.06726.9445.420.4927.580.3460.3620.2920.860.850.860.850.850.85 -0.156-0.064-0
10277.94 11.447.82 37.1625.49 30.860.90.790.830.928827.98828.7937.3625.4630.810.3580.3510.2910.880.910.880.760.910.76 -0.107-0.067-0
11286.32 12.567.88 45.2323.51 30.740.90.790.830.926823.34823.945.6523.5130.470.350.3580.2910.860.870.860.820.870.82 -0.134-0.0640
12298.62 134.62 35.6323.41 48.020.890.790.830.916833.34834.3935.3323.7247.940.3650.370.2650.980.840.980.70.840.7 -0.17-0.068-0
13307 136 43.7924.14 40.130.890.790.830.92861.17862.3843.9124.1440.190.3560.3640.280.920.850.920.770.850.77 -0.136-0.0750
14318.66 12.424.14 36.8125.34 54.190.890.790.830.914857.83858.3936.3625.6754.280.3670.3710.2620.990.840.990.680.840.68 -0.194-0.068-0
15325 13.545.06 55.2121.99 43.660.890.790.830.915794.61795.1555.5821.8643.730.350.3720.2780.920.780.920.830.780.83 -0.188-0.093-0
16335.84 12.324.32 49.0824.28 50.140.890.790.830.914802.39803.0749.2224.2150.310.3580.3710.2710.950.80.950.770.80.77 -0.187-0.093-0
17345.48 12.487.18 59.0127.53 37.860.90.790.830.922938.87940.159.5627.2938.050.3470.3620.2910.870.850.870.840.850.84 -0.158-0.068-0
18355.02 12.545.1 59.3125.48 46.530.890.790.830.915854.59854.9759.6625.2146.930.350.370.280.910.80.910.820.80.82 -0.184-0.092-0
19365.74 14.144.04 56.2824.42 59.250.890.790.830.909907.73907.2956.6124.1959.50.3580.3770.2650.970.760.970.780.760.78 -0.206-0.0970
20378 12.745.5 49.8831.77 53.940.890.790.830.9161100.51101.1349.731.4954.990.3610.3640.2750.950.860.950.730.860.73 -0.14-0.071-0
21385.54 14.45.68 65.8927.47 50.950.890.790.830.9141050.031049.7466.2627.0351.660.350.3710.280.920.790.920.820.790.82 -0.167-0.083-0
22396.18 13.986.6 65.2930.81 48.910.890.790.830.9161156.981157.6865.6730.2949.760.3510.3660.2840.90.830.90.810.830.81 -0.144-0.0720
23407.64 14.864.58 56.4330.25 67.440.890.790.830.9091189.451187.7256.3329.9168.320.3620.3740.2630.980.80.980.740.80.74 -0.176-0.074-0
24416.38 11.265.6 60.8435.71 53.490.890.790.830.9171089.721090.860.9735.0354.870.3570.3620.2820.910.860.910.770.860.77 -0.146-0.0820
25427.62 14.665.64 61.9733.71 62.280.890.790.830.9121317.611316.4361.9433.163.690.3590.3690.2730.950.820.950.760.820.76 -0.141-0.072-0
26436.52 14.86.36 71.333.69 57.030.890.790.830.9131326.261325.5471.5932.9358.40.3520.3680.280.910.820.910.80.820.8 -0.141-0.073-0
27445.04 11.925.7 76.5635 54.210.890.790.830.9151112.091112.047734.1555.590.3490.3660.2850.890.820.890.820.820.82 -0.176-0.084-0
28457.3 11.927.88 68.6943.5 50.840.890.790.830.921420.561425.0669.3242.3352.590.3550.3540.2910.870.90.870.790.90.79 -0.115-0.065-0
29467.92 14.16.28 67.6939.64 64.020.890.790.830.9131497.121496.2367.6438.6766.130.3580.3640.2780.930.850.930.760.850.76 -0.126-0.068-0
30477.8 14.95.7 69.7538.42 70.230.890.790.830.911516.771513.5169.6237.4572.360.3590.3690.2720.950.820.950.760.820.76 -0.139-0.070
31487.5 11.345.3 65.5544.35 68.070.890.790.830.9131355.361354.5565.2143.2170.840.3610.3620.2770.940.870.940.730.870.73 -0.144-0.0770
AVE:336.61 13.036.02 50.8126.24 45.080.890.790.830.919935.66935.7350.8126.2445.080.3550.3650.280.920.840.920.780.840.78-0.155-0.075-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.0861250.07-1.226
dLK0.7360050.05812.675
dLM0.597450.0639.446
R2 = 0.9523 R2b = 0.9489 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cKK-0.0206850.071-0.292
dKL0.7466330.0848.894
dKM0.4199330.0785.369
R2 = 0.8287 R2b = 0.8165 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cMM-0.2433320.01-25.123
dML0.7167170.0170.414
dMK0.5508310.00962.757
R2 = 0.999 R2b = 0.999 # obs = 31

The three estimated factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/1) * [-0.0861 + 0.736 * (wK / wL)^(1/2) + 0.5974 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/1) * [-0.0207 + 0.7466 * (wL / wK)^(1/2) + 0.4199 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/1) * [-0.2433 + 0.7167 * (wL / wM)^(1/2) + 0.5508 * (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.52930.34120.18811
0.3372-0.51270.17561
0.28850.3022-0.59071

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.08613 * wL + -0.02068 * wK + -0.24333 * wM + 1.48264 * (wL*wK)^(1/2) + 1.31417 * (wL*wM)^(1/2) + 0.97076 * (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.1099130.043781-2.510492
dLK0.7004930.03138522.319244
dLM0.674660.02874223.473197
cKK-0.0765010.03169-2.414053
dKL0.7004930.03138522.319244
dKM0.5505590.02829619.457239
cMM-0.1983580.038492-5.153279
dML0.674660.02874223.473197
dMK0.5505590.02829619.457239
R2 = 0.9949 R2b = 0.9944 # 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.1099 + 0.7005 * (wK / wL)^(1/2) + 0.6747 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/1) * [-0.0765 + 0.7005 * (wL / wK)^(1/2) + 0.5506 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/1) * [-0.1984 + 0.6747 * (wL / wM)^(1/2) + 0.5506 * (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.53740.32480.21261
0.3167-0.54710.23041
0.27180.3022-0.5741

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.10991 * wL + -0.0765 * wK + -0.19836 * wM + 1.40099 * (wL*wK)^(1/2) + 1.34932 * (wL*wM)^(1/2) + 1.10112 * (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.11280.036720.05205
0.03672-0.034160.03117
0.052050.03117-0.12826

The principal minors of H are H1 = -0.112802, H2 = 0.002505, 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.1732, e2 = -0.1021, 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.58 14.727.72 28.7413.12 21.140.90.790.830.93545.49571.7230.0314.2321.330.3460.3660.2880.860.760.860.880.760.88 -0.167-0.0870
2198.08 11.587.76 25.2617.06 21.970.90.790.830.933572.27595.8626.4118.2322.090.3580.3540.2880.850.830.850.820.830.82 -0.134-0.092-0
3205.1 12.964.86 31.9713.1 27.530.890.790.830.922466.62486.6133.311427.840.3490.3730.2780.90.710.90.870.710.87 -0.237-0.130
4218.76 12.366.38 26.2718.03 28.360.90.790.830.927633.91656.6627.2619.0828.530.3640.3590.2770.890.80.890.790.80.79 -0.152-0.091-0
5225.1 12.286.96 37.8716.42 24.250.90.790.830.928563.61581.3638.8317.3724.430.3410.3670.2920.840.760.840.90.760.9 -0.216-0.0980
6235.64 12.664.62 34.5515.88 33.350.890.790.830.919549.95566.7735.6516.6433.540.3550.3720.2730.910.720.910.840.720.84 -0.231-0.127-0
7245.66 12.785.76 38.0617.49 30.740.90.790.830.923616.04631.7938.9618.2230.970.3490.3690.2820.880.740.880.860.740.86 -0.202-0.113-0
8255.26 13.287.82 45.0518.9 26.640.90.790.830.927696.26710.9745.6419.6726.810.3380.3670.2950.830.760.830.910.760.91 -0.211-0.0870
9265.54 12.847.7 4520.38 28.070.90.790.830.927727.06739.9345.5521.0628.210.3410.3650.2940.830.770.830.90.770.9 -0.197-0.089-0
10277.94 11.447.82 37.1625.49 30.860.90.790.830.928827.98839.7137.8125.9830.980.3580.3540.2880.850.830.850.820.830.82 -0.135-0.092-0
11286.32 12.567.88 45.2323.51 30.740.90.790.830.926823.34832.7345.6723.9830.830.3470.3620.2920.840.790.840.870.790.87 -0.169-0.088-0
12298.62 134.62 35.6323.41 48.020.890.790.830.916833.34841.636.0823.8447.760.370.3680.2620.940.760.940.760.760.76 -0.223-0.09-0
13307 136 43.7924.14 40.130.890.790.830.92861.17866.444.0824.3540.220.3560.3650.2790.890.760.890.830.760.83 -0.173-0.1020
14318.66 12.424.14 36.8125.34 54.190.890.790.830.914857.83861.2337.0625.6253.660.3730.3690.2580.950.760.950.750.760.75 -0.254-0.09-0
15325 13.545.06 55.2121.99 43.660.890.790.830.915794.61794.8655.0921.9443.930.3470.3740.280.90.70.90.880.70.88 -0.238-0.128-0
16335.84 12.324.32 49.0824.28 50.140.890.790.830.914802.39800.3449.124.1550.020.3580.3720.270.920.720.920.820.720.82 -0.242-0.126-0
17345.48 12.487.18 59.0127.53 37.860.90.790.830.922938.87934.7258.4627.3837.970.3430.3660.2920.840.770.840.890.770.89 -0.199-0.095-0
18355.02 12.545.1 59.3125.48 46.530.890.790.830.915854.59847.9158.725.1246.70.3480.3720.2810.890.720.890.870.720.87 -0.233-0.127-0
19365.74 14.144.04 56.2824.42 59.250.890.790.830.909907.73897.45623.9158.890.3580.3770.2650.940.690.940.840.690.84 -0.268-0.130
20378 12.745.5 49.8831.77 53.940.890.790.830.9161100.51086.5649.3431.0953.770.3630.3650.2720.910.770.910.790.770.79 -0.18-0.096-0
21385.54 14.45.68 65.8927.47 50.950.890.790.830.9141050.031033.7364.726.7451.090.3470.3730.2810.890.710.890.880.710.88 -0.212-0.1140
22396.18 13.986.6 65.2930.81 48.910.890.790.830.9161156.981137.1963.9929.9348.970.3480.3680.2840.870.750.870.870.750.87 -0.182-0.1-0
23407.64 14.864.58 56.4330.25 67.440.890.790.830.9091189.451164.3355.5829.2666.590.3650.3730.2620.940.720.940.80.720.8 -0.23-0.0990
24416.38 11.265.6 60.8435.71 53.490.890.790.830.9171089.721066.4159.5634.453.40.3560.3630.280.880.780.880.830.780.83 -0.185-0.112-0
25427.62 14.665.64 61.9733.71 62.280.890.790.830.9121317.611284.6960.5732.3461.890.3590.3690.2720.910.740.910.820.740.82 -0.182-0.097-0
26436.52 14.86.36 71.333.69 57.030.890.790.830.9131326.261291.0269.3132.2256.960.350.3690.2810.890.740.890.860.740.86 -0.179-0.101-0
27445.04 11.925.7 76.5635 54.210.890.790.830.9151112.091081.1274.1333.4354.220.3460.3690.2860.870.740.870.880.740.88 -0.222-0.1160
28457.3 11.927.88 68.6943.5 50.840.890.790.830.921420.561381.3766.8841.3750.770.3530.3570.290.840.810.840.840.810.84 -0.145-0.09-0
29467.92 14.16.28 67.6939.64 64.020.890.790.830.9131497.121448.4365.5737.5363.680.3590.3650.2760.90.760.90.820.760.82 -0.162-0.093-0
30477.8 14.95.7 69.7538.42 70.230.890.790.830.911516.771462.6567.4436.2369.610.360.3690.2710.910.740.910.810.740.81 -0.18-0.095-0
31487.5 11.345.3 65.5544.35 68.070.890.790.830.9131355.361306.5963.2941.7467.660.3630.3620.2740.90.780.90.790.780.79 -0.185-0.104-0
AVE:336.61 13.036.02 50.3226.16 44.620.890.790.830.919935.66929.1250.3226.1644.620.3540.3670.2790.890.760.890.840.760.84-0.198-0.103-0




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

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

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

SVD Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cLL-5.2972572.225-2.38
cKK-2.6219921.26-2.082
cMM-1.3605961.637-0.831
2*dLK8.1805943.172.58
2*dLM2.6008081.7421.493
2*dKM1.5609612.0790.751
R2 = 0.9456 R2b = 0.9347 # obs = 31
Observation Matrix Rank: 6
The Diewert cost function as obtained by direct estimation is:

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

= q^(1/1) * [-5.29726 * wL + -2.62199 * wK + -1.3606 * wM + 8.18059 * (wL*wK)^(1/2) + 2.60081 * (wL*wM)^(1/2) + 1.56096 * (wK*wM)^(1/2)]
        (***)

XXVI. Its three derived factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/1) * [-5.2973 + 4.0903 * (wK / wL)^(1/2) + 1.3004 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/1) * [-2.622 + 4.0903 * (wL / wK)^(1/2) + 0.7805 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/1) * [-1.3606 + 1.3004 * (wL / wM)^(1/2) + 0.7805 * (wK / wM)^(1/2)]

    The derived factor demand elasticities are obtained by:

εL,wL = ∂ln(L(q;wL,wK,wM))/∂ln(wL) = -.5 * (q^1/nu1) / L(q;wL,wK,wM)) * (dLK * (wK/wL)^1/2 + dLM * (wM/wL)^1/2),

εL,wK = ∂ln(L(q;wL,wK,wM))/∂ln(wK) = .5 * (q^1/nu1) / L(q;wL,wK,wM)) * dLK * (wK/wL)^1/2,

εL,wM = ∂ln(L(q;wL,wK,wM))/∂ln(wM) = .5 * (q^1/nu1) / L(q;wL,wK,wM)) * dLM * (wM/wL)^1/2,

εL,q = ∂ln(L(q;wL,wK,wM))/∂ln(q) = 1/nu, etc.

      For example, with wL = 7, wK = 13, wM = 6, and q = 30:

εL,wLεL,wKεL,wMεL,q
εK,wLεK,wKεK,wMεK,q
εM,wLεM,wKεM,wMεM,q
-2.28861.88210.40651
1.6497-1.94110.29141
0.58880.4816-1.07031

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

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

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

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

2 * c(7, 13, 6) = 58.7 = 58.7 = 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.484150.214390.10033
0.21439-0.135830.04419
0.100330.04419-0.21279

The principal minors of H are H1 = -0.484148, H2 = 0.019801, 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.5999, e2 = -0.2329, 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.58 14.727.72 28.7413.12 21.140.90.790.830.93545.49571.1740.1212.216.520.4620.3140.2234.361.424.361.871.421.87 -0.662-0.169-0
2198.08 11.587.76 25.2617.06 21.970.90.790.830.933572.27585.1916.627.2417.480.2290.5390.2325.23.155.20.963.150.96 -0.52-0.184-0
3205.1 12.964.86 31.9713.1 27.530.890.790.830.922466.62484.749.858.4424.920.5250.2260.255.81.025.82.271.022.27 -0.87-0.280
4218.76 12.366.38 26.2718.03 28.360.90.790.830.927633.91649.6414.0929.0326.240.190.5520.2586.553.216.550.793.210.79 -0.477-0.230
5225.1 12.286.96 37.8716.42 24.250.90.790.830.928563.61571.656.5213.2317.360.5040.2840.2114.341.44.342.311.42.31 -0.874-0.183-0
6235.64 12.664.62 34.5515.88 33.350.890.790.830.919549.95574.6146.1813.3331.470.4530.2940.2535.21.165.21.611.161.61 -0.765-0.3050
7245.66 12.785.76 38.0617.49 30.740.90.790.830.923616.04635.7651.8614.9826.180.4620.3010.2374.721.284.721.771.281.77 -0.766-0.2320
8255.26 13.287.82 45.0518.9 26.640.90.790.830.927696.26690.969.6913.7818.080.5310.2650.2054.41.394.42.661.392.66 -0.86-0.161-0
9265.54 12.847.7 4520.38 28.070.90.790.830.927727.06728.3564.0417.419.510.4870.3070.2064.121.514.122.191.512.19 -0.799-0.167-0
10277.94 11.447.82 37.1625.49 30.860.90.790.830.928827.98824.2824.3838.6324.130.2350.5360.2295.073.125.070.983.120.98 -0.53-0.182-0
11286.32 12.567.88 45.2323.51 30.740.90.790.830.926823.34829.853.7925.1422.10.410.380.213.941.83.941.641.81.64 -0.679-0.168-0
12298.62 134.62 35.6323.41 48.020.890.790.830.916833.34843.1519.6634.0550.020.2010.5250.2747.062.567.060.722.560.72 -0.492-0.335-0
13307 136 43.7924.14 40.130.890.790.830.92861.17880.4644.4227.2935.790.3530.4030.2444.671.674.671.21.671.2 -0.6-0.2330
14318.66 12.424.14 36.8125.34 54.190.890.790.830.914857.83853.5715.5138.5758.030.1570.5610.2818.723.198.720.643.190.64 -0.504-0.3770
15325 13.545.06 55.2121.99 43.660.890.790.830.915794.61782.0687.7410.938.680.5610.1890.256.50.956.52.80.952.8 -0.902-0.265-0
16335.84 12.324.32 49.0824.28 50.140.890.790.830.914802.39815.9158.1521.6648.490.4160.3270.2575.151.245.151.371.241.37 -0.731-0.334-0
17345.48 12.487.18 59.0127.53 37.860.90.790.830.922938.87925.5580.3723.1327.350.4760.3120.2124.191.484.192.051.482.05 -0.802-0.18-0
18355.02 12.545.1 59.3125.48 46.530.890.790.830.915854.59844.8386.7416.2340.370.5150.2410.2445.411.095.412.21.092.2 -0.882-0.262-0
19365.74 14.144.04 56.2824.42 59.250.890.790.830.909907.73901.5879.6914.4559.390.5070.2270.2666.40.936.41.950.931.95 -0.767-0.3660
20378 12.745.5 49.8831.77 53.940.890.790.830.9161100.51096.6934.8841.8951.640.2540.4870.2595.632.215.630.872.210.87 -0.52-0.268-0
21385.54 14.45.68 65.8927.47 50.950.890.790.830.9141050.031023.7999.3315.444.320.5380.2170.2465.821.025.822.461.022.46 -0.807-0.235-0
22396.18 13.986.6 65.2930.81 48.910.890.790.830.9161156.981141.5385.7424.7240.310.4640.3030.2334.621.314.621.821.311.82 -0.703-0.2010
23407.64 14.864.58 56.4330.25 67.440.890.790.830.9091189.451190.4656.5629.7768.990.3630.3720.2655.431.345.431.11.341.1 -0.559-0.330
24416.38 11.265.6 60.8435.71 53.490.890.790.830.9171089.721079.8855.5541.346.50.3280.4310.2414.661.864.661.131.861.13 -0.656-0.249-0
25427.62 14.665.64 61.9733.71 62.280.890.790.830.9121317.611311.6362.7934.0659.190.3650.3810.2554.981.474.981.171.471.17 -0.553-0.256-0
26436.52 14.86.36 71.333.69 57.030.890.790.830.9131326.261300.9792.4425.9949.310.4630.2960.2414.851.244.851.761.241.76 -0.665-0.2120
27445.04 11.925.7 76.5635 54.210.890.790.830.9151112.091078.27104.5525.4143.60.4890.2810.234.711.264.712.031.262.03 -0.872-0.23-0
28457.3 11.927.88 68.6943.5 50.840.890.790.830.921420.561373.3657.6354.6138.290.3060.4740.224.312.44.311.192.41.19 -0.576-0.176-0
29467.92 14.16.28 67.6939.64 64.020.890.790.830.9131497.121472.4760.6444.3658.390.3260.4250.2494.871.764.871.081.761.08 -0.528-0.226-0
30477.8 14.95.7 69.7538.42 70.230.890.790.830.911516.771493.568.9838.5566.860.360.3850.2555.011.485.011.151.481.15 -0.54-0.254-0
31487.5 11.345.3 65.5544.35 68.070.890.790.830.9131355.361308.8939.6259.4263.740.2270.5150.2585.922.575.920.832.570.83 -0.555-0.277-0
AVE:336.61 13.036.02 57.3626.94 39.780.890.790.830.919935.66931.1157.3626.9439.780.3920.3660.2425.251.735.251.571.731.57-0.678-0.243-0



Mathematical Notes

1. The Diewert (Generalized Leontief) cost function

C(q;wL,wK,wM) = h(q) * c(wL,wK,wM)         (**)

where the returns to scale function is: h(q) = q^(1/nu), a continuous, increasing function of q (q >= 1), with h(0) = 0 and h(1) = 1,

and the unit cost function is: c(wL,wK,wM) = cLL * wL + cKK * wK + cMM * wM + (dLK+dKL) * (wL*wK)^(1/2) + (dLM +dML) * (wL*wM)^(1/2) + (dKM+dMK) * (wK*wM)^(1/2),

linear in its parameters cLL, cKK, cMM, dLK, dKL, dLM, dML, dKM, and dMK.

2. The Factor Demand Functions:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/nu) * [cLL + dLK * (wK / wL)^(1/2) + dLM * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/nu) * [cKK + dKL * (wL / wK)^(1/2) + dKM * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/nu) * [cMM + dML * (wL / wM)^(1/2) + dMK * (wK / wM)^(1/2)]

3. The Factor Share Functions:

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

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

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

4. The Factor Demand Elasticities:

εL,wL = ∂ln(L(q;wL,wK,wM))/∂ln(wL) = -.5 * (q^1/nu) / L(q;wL,wK,wM)) * (dLK * (wK/wL)^1/2 + dLM * (wM/wL)^1/2),

εL,wK = ∂ln(L(q;wL,wK,wM))/∂ln(wK) = .5 * (q^1/nu) / L(q;wL,wK,wM)) * dLK * (wK/wL)^1/2,

εL,wM = ∂ln(L(q;wL,wK,wM))/∂ln(wM) = .5 * (q^1/nu) / L(q;wL,wK,wM)) * dLM * (wM/wL)^1/2,

εL,q = ∂ln(L(q;wL,wK,wM))/∂ln(q) = 1/nu, etc.

5. Cost Function C(q;wL,wK,wM) Concave in Factor Prices:

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

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

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

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

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

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

 

 
   

      Copyright © Elmer G. Wiens:   Egwald Web Services       All Rights Reserved.    Inquiries