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.1089260.004-24.299
dLK0.5246690.004141.266
dLM0.5189410.004125.157
R2 = 0.9996 R2b = 0.9996 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cKK-0.0764530.024-3.16
dKL0.5337510.02918.425
dKM0.4202630.02616.137
R2 = 0.9658 R2b = 0.9634 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cMM-0.197260.038-5.168
dML0.5239540.04212.423
dMK0.4239540.03611.766
R2 = 0.9741 R2b = 0.9723 # obs = 31

The three estimated factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/0.92) * [-0.1089 + 0.5247 * (wK / wL)^(1/2) + 0.5189 * (wM / wL)^(1/2)]

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

∂C/∂wM = M(q; wL, wK, wM) = q^(1/0.92) * [-0.1973 + 0.524 * (wL / wM)^(1/2) + 0.424 * (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.55010.3290.22111.087
0.326-0.56360.23761.087
0.2850.3143-0.59941.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.10893 * wL + -0.07645 * wK + -0.19726 * wM + 1.05842 * (wL*wK)^(1/2) + 1.0429 * (wL*wM)^(1/2) + 0.84422 * (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.1121690.026715-4.198667
dLK0.5254640.01942327.053144
dLM0.5212530.01781229.263905
cKK-0.0736110.019691-3.738342
dKL0.5254640.01942327.053144
dKM0.4250410.01704124.941777
cMM-0.1959290.022648-8.650972
dML0.5212530.01781229.263905
dMK0.4250410.01704124.941777
R2 = 0.9964 R2b = 0.996 # 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.1122 + 0.5255 * (wK / wL)^(1/2) + 0.5213 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/0.92) * [-0.0736 + 0.5255 * (wL / wK)^(1/2) + 0.425 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/0.92) * [-0.1959 + 0.5213 * (wL / wM)^(1/2) + 0.425 * (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.55160.32950.22211.087
0.3209-0.56130.24031.087
0.28360.3151-0.59871.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.11217 * wL + -0.07361 * wK + -0.19593 * wM + 1.05093 * (wL*wK)^(1/2) + 1.04251 * (wL*wM)^(1/2) + 0.85008 * (wK*wM)^(1/2)]
        (***)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

H = ∇2wwc =
-0.085620.027540.04022
0.02754-0.025940.02406
0.040220.02406-0.09906

The principal minors of H are H1 = -0.085619, H2 = 0.001462, 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.1331, e2 = -0.0775, 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.48 13.064.06 20.8313.06 31.860.890.790.830.92476.65478.1120.8413.5830.540.370.3710.2590.980.770.980.780.770.78 -0.203-0.0690
2198.14 13.924.84 23.9513.77 30.560.890.790.830.921534.56535.623.9814.2129.470.3640.3690.2660.950.770.950.810.770.81 -0.164-0.071-0
3207.02 11.464.9 25.8515.56 28.90.90.790.830.924501.32501.3725.8115.9827.980.3610.3650.2730.920.80.920.830.80.83 -0.157-0.082-0
4217.84 13.327.92 30.0317.58 24.80.90.790.830.93665.93664.2530.0117.9923.910.3540.3610.2850.870.840.870.870.840.87 -0.106-0.066-0
5226.42 14.346.96 35.0216.18 27.060.90.790.830.925645.19644.933516.5226.330.3480.3670.2840.880.790.880.910.790.91 -0.133-0.0730
6235.52 12.125.5 35.8416.84 29.560.90.790.830.923564.5564.6635.8517.1428.920.350.3680.2820.890.780.890.90.780.9 -0.159-0.09-0
7245.98 11.386.84 37.0119.79 27.30.90.790.830.928633.27632.4237.0220.1526.570.350.3630.2870.850.830.850.90.830.9 -0.137-0.0770
8255.7 13.485.9 40.5517.94 32.170.890.790.830.922662.71663.1940.5618.1731.710.3490.3690.2820.890.770.890.910.770.91 -0.154-0.0840
9265.1 13.926.86 47.0918.47 30.050.90.790.830.923703.37703.6846.9618.7429.650.340.3710.2890.860.770.860.950.770.95 -0.169-0.075-0
10277.56 14.346.98 39.9821.53 34.760.890.790.830.922853.62854.034021.7434.370.3540.3650.2810.890.80.890.870.80.87 -0.118-0.069-0
11285.96 14.824.48 43.4718.45 44.220.890.790.830.913730.57731.543.7118.4644.080.3560.3740.270.950.720.950.880.720.88 -0.186-0.094-0
12296.68 12.464.8 40.6622.25 43.060.890.790.830.917755.52756.2540.7122.3542.90.360.3680.2720.930.770.930.840.770.84 -0.164-0.084-0
13307 136 43.7924.14 40.130.890.790.830.92861.17861.7943.8124.2240.030.3560.3650.2790.90.80.90.860.80.86 -0.133-0.0770
14316.1 14.56.32 51.3322.88 40.040.890.790.830.918897.98898.6251.3422.8940.120.3480.3690.2820.890.770.890.910.770.91 -0.144-0.079-0
15328.66 12.467.96 43.9430.44 38.090.90.790.830.9251062.921063.6344.0330.4638.040.3580.3570.2850.870.860.870.850.860.85 -0.098-0.0660
16336.96 11.77.04 48.829.58 38.930.90.790.830.923959.76960.4848.929.5838.920.3540.360.2850.860.840.860.870.840.87 -0.119-0.074-0
17345.58 12.67.76 59.6628.06 36.490.90.790.830.923969.69970.4159.728.1736.390.3430.3660.2910.840.820.840.940.820.94 -0.148-0.068-0
18359 14.144.74 44.1928.31 59.510.890.790.830.9121080.081079.7144.0928.2159.910.3680.3690.2630.960.780.960.790.780.79 -0.17-0.0650
19368.74 14.986.58 50.5730.18 50.850.890.790.830.9161228.711228.9850.5429.9651.430.3590.3650.2750.920.80.920.840.80.84 -0.117-0.0650
20377.94 11.127.12 50.736.25 44.380.890.790.830.9221121.611123.0450.8135.9944.860.3590.3560.2840.870.860.870.840.860.84 -0.108-0.074-0
21388.42 12.27.64 52.936.77 45.740.890.790.830.9221243.511245.0953.0236.4646.320.3590.3570.2840.870.860.870.850.860.85 -0.102-0.0680
22396.16 13.166 62.7831.11 50.720.890.790.830.9161100.441100.4462.7630.7251.580.3510.3670.2810.890.780.890.890.780.89 -0.144-0.0820
23407.8 12.567.54 58.737.33 47.930.890.790.830.921288.121289.5858.8336.9248.670.3560.360.2850.870.840.870.860.840.86 -0.108-0.0690
24415.56 14.54.26 67.3928.05 65.510.890.790.830.9071060.431056.9667.5427.367.030.3550.3750.270.950.710.950.880.710.88 -0.198-0.101-0
25428.26 12.024.42 52.7836.54 69.330.890.790.830.9111181.661179.4452.4936.0270.780.3680.3670.2650.960.80.960.780.80.78 -0.178-0.0720
26436.6 12.325.24 63.8935.76 60.610.890.790.830.9131179.861178.6363.8235.0862.070.3570.3670.2760.910.790.910.850.790.85 -0.15-0.084-0
27445.42 12.985.6 75.3834.05 57.390.890.790.830.9131171.961170.6375.2633.3358.940.3480.370.2820.890.760.890.910.760.91 -0.163-0.0890
28456.58 12.15.9 68.5839.04 58.80.890.790.830.9151270.611270.168.5538.2660.350.3550.3650.280.890.80.890.870.80.87 -0.137-0.0810
29468.3 14.224.48 61.7137.22 79.640.890.790.830.9071398.321392.7861.5136.3581.550.3670.3710.2620.970.760.970.80.760.8 -0.181-0.0690
30475.48 11.425.52 76.8939.38 59.660.890.790.830.9141200.41199.576.8338.4961.410.3510.3660.2830.890.790.890.890.790.89 -0.158-0.090
31488.12 11.625.5 63.845.28 68.630.890.790.830.9141421.671419.9763.5444.2370.920.3630.3620.2750.920.830.920.810.830.81 -0.137-0.074-0
AVE:337 12.975.99 48.9627.02 45.350.890.790.830.919949.23949.0248.9627.0245.350.3560.3660.2780.90.80.90.860.80.86-0.147-0.077-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.1691210.12-1.414
cKK-0.0831050.058-1.426
cMM-0.1840680.094-1.95
2*dLK1.1177860.1666.724
2*dLM1.0624550.09810.892
2*dKM0.8145650.1157.089
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.16912 * wL + -0.0831 * wK + -0.18407 * wM + 1.11779 * (wL*wK)^(1/2) + 1.06245 * (wL*wM)^(1/2) + 0.81457 * (wK*wM)^(1/2)]
        (***)

XII. Its three derived factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/0.92) * [-0.1691 + 0.5589 * (wK / wL)^(1/2) + 0.5312 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/0.92) * [-0.0831 + 0.5589 * (wL / wK)^(1/2) + 0.4073 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/0.92) * [-0.1841 + 0.5312 * (wL / wM)^(1/2) + 0.4073 * (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.5780.35120.22681.087
0.3397-0.56880.22921.087
0.290.303-0.5931.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.75 = 42.75 = 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.089530.029290.04099
0.02929-0.026420.02306
0.040990.02306-0.09777

The principal minors of H are H1 = -0.089533, H2 = 0.001507, and H3 = -0.

If these principal minors alternate in sign, starting with negative, with H3 <= 0, the matrix H is negative (semi)definite,
and the cost function C(q;wL,wK,wM) is a concave function in factor prices at wL = 7, wK = 13, and wM = 6.

The eigenvalues of H are e1 = -0.1349, e2 = -0.0788, 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.48 13.064.06 20.8313.06 31.860.890.790.830.92476.65478.1920.6413.7530.410.3660.3760.2581.030.81.030.740.80.74 -0.201-0.0720
2198.14 13.924.84 23.9513.77 30.560.890.790.830.921534.56535.7723.8414.3429.340.3620.3730.2651.010.81.010.780.80.78 -0.163-0.074-0
3207.02 11.464.9 25.8515.56 28.90.90.790.830.924501.32501.3725.6616.1127.890.3590.3680.2730.980.820.980.790.820.79 -0.157-0.085-0
4217.84 13.327.92 30.0317.58 24.80.90.790.830.93665.93664.1629.9218.0523.880.3530.3620.2850.920.860.920.840.860.84 -0.109-0.066-0
5226.42 14.346.96 35.0216.18 27.060.90.790.830.925645.19644.9535.116.5426.220.3490.3680.2830.930.80.930.870.80.87 -0.137-0.0720
6235.52 12.125.5 35.8416.84 29.560.90.790.830.923564.5564.7435.9317.1728.780.3510.3690.280.940.80.940.860.80.86 -0.163-0.09-0
7245.98 11.386.84 37.0119.79 27.30.90.790.830.928633.27632.3637.0220.1826.510.350.3630.2870.910.850.910.860.850.86 -0.142-0.0770
8255.7 13.485.9 40.5517.94 32.170.890.790.830.922662.71663.2740.7118.1831.540.350.370.2810.940.780.940.870.780.87 -0.158-0.0840
9265.1 13.926.86 47.0918.47 30.050.90.790.830.923703.37703.4447.318.6829.480.3430.370.2880.910.780.910.920.780.92 -0.175-0.0740
10277.56 14.346.98 39.9821.53 34.760.890.790.830.922853.62854.139.9521.8234.250.3540.3660.280.950.820.950.840.820.84 -0.12-0.07-0
11285.96 14.824.48 43.4718.45 44.220.890.790.830.913730.57732.0743.8718.5343.750.3570.3750.26810.7310.840.730.84 -0.187-0.096-0
12296.68 12.464.8 40.6622.25 43.060.890.790.830.917755.52756.540.5922.542.710.3580.3710.2710.990.80.990.810.80.81 -0.164-0.0870
13307 136 43.7924.14 40.130.890.790.830.92861.17861.8943.7324.3439.890.3550.3670.2780.960.820.960.830.820.83 -0.135-0.079-0
14316.1 14.56.32 51.3322.88 40.040.890.790.830.918897.98898.7351.5422.9139.90.350.370.2810.950.780.950.870.780.87 -0.148-0.079-0
15328.66 12.467.96 43.9430.44 38.090.90.790.830.9251062.921063.1743.7130.6438.050.3560.3590.2850.920.880.920.810.880.81 -0.1-0.0670
16336.96 11.77.04 48.829.58 38.930.90.790.830.923959.76960.3348.7429.6938.880.3530.3620.2850.920.860.920.830.860.83 -0.123-0.074-0
17345.58 12.67.76 59.6628.06 36.490.90.790.830.923969.69970.1959.9328.1136.290.3450.3650.290.890.830.890.90.830.9 -0.154-0.067-0
18359 14.144.74 44.1928.31 59.510.890.790.830.9121080.081079.8643.7228.5459.670.3640.3740.2621.020.81.020.750.80.75 -0.168-0.067-0
19368.74 14.986.58 50.5730.18 50.850.890.790.830.9161228.711229.0650.3230.1751.260.3580.3680.2740.970.820.970.80.820.8 -0.118-0.067-0
20377.94 11.127.12 50.736.25 44.380.890.790.830.9221121.611122.4850.4136.2244.870.3570.3590.2850.930.890.930.80.890.8 -0.11-0.074-0
21388.42 12.27.64 52.936.77 45.740.890.790.830.9221243.511244.5752.6436.6846.310.3560.360.2840.930.880.930.810.880.81 -0.104-0.0690
22396.16 13.166 62.7831.11 50.720.890.790.830.9161100.441100.662.8630.851.350.3520.3680.280.950.80.950.860.80.86 -0.147-0.0820
23407.8 12.567.54 58.737.33 47.930.890.790.830.921288.121289.3158.5737.148.620.3540.3610.2840.920.860.920.820.860.82 -0.111-0.069-0
24415.56 14.54.26 67.3928.05 65.510.890.790.830.9071060.431057.7867.8627.3966.490.3570.3750.26810.7210.850.720.85 -0.199-0.103-0
25428.26 12.024.42 52.7836.54 69.330.890.790.830.9111181.661179.1951.9536.4670.560.3640.3720.2641.020.821.020.740.820.74 -0.177-0.075-0
26436.6 12.325.24 63.8935.76 60.610.890.790.830.9131179.861178.8763.6835.2861.820.3570.3690.2750.970.810.970.820.810.82 -0.152-0.086-0
27445.42 12.985.6 75.3834.05 57.390.890.790.830.9131171.961170.7875.5633.3658.610.350.370.280.950.780.950.870.780.87 -0.167-0.089-0
28456.58 12.15.9 68.5839.04 58.80.890.790.830.9151270.611270.1768.4138.4460.160.3540.3660.2790.950.820.950.830.820.83 -0.139-0.082-0
29468.3 14.224.48 61.7137.22 79.640.890.790.830.9071398.321393.4161.1436.7481.150.3640.3750.2611.020.791.020.770.790.77 -0.18-0.0720
30475.48 11.425.52 76.8939.38 59.660.890.790.830.9141200.41199.676.9138.5761.160.3510.3670.2810.940.810.940.860.810.86 -0.162-0.090
31488.12 11.625.5 63.845.28 68.630.890.790.830.9141421.671419.3962.9544.6570.80.360.3660.2740.980.850.980.770.850.77 -0.136-0.076-0
AVE:337 12.975.99 48.8827.16 45.180.890.790.830.919949.23949.0448.8827.1645.180.3550.3680.2770.960.810.960.830.810.83-0.149-0.078-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.1083450.073-1.48
dLK0.6849340.06111.289
dLM0.6944770.06810.253
R2 = 0.9468 R2b = 0.943 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cKK-0.1342110.079-1.702
dKL0.7571460.0948.018
dKM0.5752290.0856.776
R2 = 0.8384 R2b = 0.8269 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cMM-0.246610.01-23.755
dML0.7172940.01162.525
dMK0.5520360.0156.327
R2 = 0.9989 R2b = 0.9988 # obs = 31

The three estimated factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/1) * [-0.1083 + 0.6849 * (wK / wL)^(1/2) + 0.6945 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/1) * [-0.1342 + 0.7571 * (wL / wK)^(1/2) + 0.5752 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/1) * [-0.2466 + 0.7173 * (wL / wM)^(1/2) + 0.552 * (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.53690.31790.2191
0.342-0.58260.24061
0.28890.303-0.5921

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.10834 * wL + -0.13421 * wK + -0.24661 * wM + 1.44208 * (wL*wK)^(1/2) + 1.41177 * (wL*wM)^(1/2) + 1.12726 * (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.1308120.045394-2.881668
dLK0.7000670.03300421.211604
dLM0.6962640.03026623.004718
cKK-0.0879020.033458-2.627209
dKL0.7000670.03300421.211604
dKM0.5687290.02895619.640885
cMM-0.248540.038483-6.458363
dML0.6962640.03026623.004718
dMK0.5687290.02895619.640885
R2 = 0.9942 R2b = 0.9937 # 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.1308 + 0.7001 * (wK / wL)^(1/2) + 0.6963 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/1) * [-0.0879 + 0.7001 * (wL / wK)^(1/2) + 0.5687 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/1) * [-0.2485 + 0.6963 * (wL / wM)^(1/2) + 0.5687 * (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.54460.3250.21961
0.3163-0.55410.23791
0.28050.3122-0.59271

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.13081 * wL + -0.0879 * wK + -0.24854 * wM + 1.40013 * (wL*wK)^(1/2) + 1.39253 * (wL*wM)^(1/2) + 1.13746 * (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.114190.036690.05372
0.03669-0.034620.0322
0.053720.0322-0.13243

The principal minors of H are H1 = -0.114189, H2 = 0.002607, 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.1778, e2 = -0.1034, 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.48 13.064.06 20.8313.06 31.860.890.790.830.92476.65502.5921.9614.28320.370.3710.2580.960.760.960.770.760.77 -0.271-0.091-0
2198.14 13.924.84 23.9513.77 30.560.890.790.830.921534.56560.325.1114.8730.760.3650.370.2660.940.760.940.810.760.81 -0.219-0.0940
3207.02 11.464.9 25.8515.56 28.90.90.790.830.924501.32522.1126.9116.6429.090.3620.3650.2730.910.790.910.820.790.82 -0.209-0.11-0
4217.84 13.327.92 30.0317.58 24.80.90.790.830.93665.93688.7831.1118.6424.820.3540.3610.2850.850.830.850.870.830.87 -0.142-0.088-0
5226.42 14.346.96 35.0216.18 27.060.90.790.830.925645.19666.0736.0917.0927.20.3480.3680.2840.870.780.870.90.780.9 -0.178-0.097-0
6235.52 12.125.5 35.8416.84 29.560.90.790.830.923564.5580.9236.8417.6629.740.350.3680.2820.880.770.880.890.770.89 -0.213-0.12-0
7245.98 11.386.84 37.0119.79 27.30.90.790.830.928633.27648.2237.9120.6527.270.350.3630.2880.840.820.840.890.820.89 -0.183-0.103-0
8255.7 13.485.9 40.5517.94 32.170.890.790.830.922662.71677.3941.3518.5932.390.3480.370.2820.880.760.880.90.760.9 -0.206-0.1120
9265.1 13.926.86 47.0918.47 30.050.90.790.830.923703.37716.3847.6719.1130.210.3390.3710.2890.850.760.850.940.760.94 -0.225-0.10
10277.56 14.346.98 39.9821.53 34.760.890.790.830.922853.62866.4240.5622.0634.860.3540.3650.2810.880.790.880.860.790.86 -0.157-0.0930
11285.96 14.824.48 43.4718.45 44.220.890.790.830.913730.57739.9544.1518.7244.490.3560.3750.2690.930.710.930.870.710.87 -0.249-0.125-0
12296.68 12.464.8 40.6622.25 43.060.890.790.830.917755.52762.5141.0522.5543.190.360.3690.2720.920.770.920.830.770.83 -0.219-0.1130
13307 136 43.7924.14 40.130.890.790.830.92861.17866.3144.0424.3740.220.3560.3660.2790.890.790.890.850.790.85 -0.178-0.1030
14316.1 14.56.32 51.3322.88 40.040.890.790.830.918897.98900.8551.3722.9940.210.3480.370.2820.880.760.880.90.760.9 -0.193-0.105-0
15328.66 12.467.96 43.9430.44 38.090.90.790.830.9251062.921063.2744.0530.4138.060.3590.3560.2850.860.850.860.840.850.84 -0.131-0.088-0
16336.96 11.77.04 48.829.58 38.930.90.790.830.923959.76957.5648.7429.4838.840.3540.360.2860.850.830.850.860.830.86 -0.159-0.0990
17345.58 12.67.76 59.6628.06 36.490.90.790.830.923969.69965.0859.2428.0336.260.3430.3660.2920.830.810.830.930.810.93 -0.198-0.091-0
18359 14.144.74 44.1928.31 59.510.890.790.830.9121080.081071.1443.822859.260.3680.370.2620.950.770.950.780.770.78 -0.227-0.0860
19368.74 14.986.58 50.5730.18 50.850.890.790.830.9161228.711216.0250.0329.6650.830.360.3650.2750.90.790.90.830.790.83 -0.157-0.0870
20377.94 11.127.12 50.736.25 44.380.890.790.830.9221121.611108.5950.2135.4744.310.360.3560.2850.860.850.860.830.850.83 -0.144-0.0980
21388.42 12.27.64 52.936.77 45.740.890.790.830.9221243.511226.252.2535.8645.640.3590.3570.2840.860.850.860.840.850.84 -0.136-0.0910
22396.16 13.166 62.7831.11 50.720.890.790.830.9161100.441081.361.630.2350.670.3510.3680.2810.880.770.880.880.770.88 -0.192-0.109-0
23407.8 12.567.54 58.737.33 47.930.890.790.830.921288.121264.3357.6836.1847.750.3560.3590.2850.860.830.860.860.830.86 -0.144-0.0920
24415.56 14.54.26 67.3928.05 65.510.890.790.830.9071060.431034.3465.9826.8165.440.3550.3760.270.930.70.930.870.70.87 -0.264-0.1340
25428.26 12.024.42 52.7836.54 69.330.890.790.830.9111181.661151.6651.3735.1768.930.3680.3670.2650.940.790.940.780.790.78 -0.239-0.096-0
26436.6 12.325.24 63.8935.76 60.610.890.790.830.9131179.861148.3262.1834.260.410.3570.3670.2760.90.780.90.850.780.85 -0.201-0.112-0
27445.42 12.985.6 75.3834.05 57.390.890.790.830.9131171.961138.3473.0532.4757.30.3480.370.2820.880.760.880.90.760.9 -0.217-0.118-0
28456.58 12.15.9 68.5839.04 58.80.890.790.830.9151270.611232.5366.537.1558.550.3550.3650.280.880.80.880.860.80.86 -0.183-0.108-0
29468.3 14.224.48 61.7137.22 79.640.890.790.830.9071398.321349.2759.6635.2478.770.3670.3710.2620.950.750.950.80.750.8 -0.242-0.0920
30475.48 11.425.52 76.8939.38 59.660.890.790.830.9141200.41159.6674.1937.2559.370.3510.3670.2830.870.780.870.880.780.88 -0.211-0.12-0
31488.12 11.625.5 63.845.28 68.630.890.790.830.9141421.671370.3561.4242.6568.360.3640.3620.2740.90.820.90.80.820.8 -0.182-0.098-0
AVE:337 12.975.99 48.6526.85 45.010.890.790.830.919949.23943.1248.6526.8545.010.3560.3660.2780.890.790.890.850.790.85-0.196-0.102-0




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

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

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

SVD Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cLL1.3239762.6910.492
cKK0.9719721.3110.741
cMM-2.0767772.124-0.978
2*dLK-2.1965353.74-0.587
2*dLM3.8194342.1941.741
2*dKM1.7699922.5850.685
R2 = 0.9252 R2b = 0.9103 # obs = 31
Observation Matrix Rank: 6
The Diewert cost function as obtained by direct estimation is:

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

= q^(1/1) * [1.32398 * wL + 0.97197 * wK + -2.07678 * wM + -2.19653 * (wL*wK)^(1/2) + 3.81943 * (wL*wM)^(1/2) + 1.76999 * (wK*wM)^(1/2)]
        (***)

XXVI. Its three derived factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/1) * [1.324 + -1.0983 * (wK / wL)^(1/2) + 1.9097 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/1) * [0.972 + -1.0983 * (wL / wK)^(1/2) + 0.885 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/1) * [-2.0768 + 1.9097 * (wL / wM)^(1/2) + 0.885 * (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.0851-0.46910.55411
-0.52520.13340.39181
0.80040.5055-1.30581

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.75 = 57.75 = 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.01938-0.057560.14734
-0.057560.007870.0501
0.147340.0501-0.28045

The principal minors of H are H1 = -0.019383, H2 = -0.003466, 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.3599, e2 = 0.068, 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.48 13.064.06 20.8313.06 31.860.890.790.830.92476.65498.1223.0810.4540.870.3930.2740.333-1.941.55-1.941.281.551.28 -0.590.0720
2198.14 13.924.84 23.9513.77 30.560.890.790.830.921534.56558.1425.8512.4336.110.3770.310.313-1.71.73-1.71.271.731.27 -0.4710.069-0
3207.02 11.464.9 25.8515.56 28.90.90.790.830.924501.32524.430.3213.8231.250.4060.3020.292-1.531.8-1.531.431.81.43 -0.4470.0750
4217.84 13.327.92 30.0317.58 24.80.90.790.830.93665.93686.8838.0517.0520.390.4340.3310.235-1.192.25-1.191.792.251.79 -0.2720.054-0
5226.42 14.346.96 35.0216.18 27.060.90.790.830.925645.19662.6836.7618.7822.610.3560.4060.237-1.212.51-1.211.522.511.52 -0.3120.0660
6235.52 12.125.5 35.8416.84 29.560.90.790.830.923564.5579.5236.8719.0226.450.3510.3980.251-1.282.37-1.281.442.371.44 -0.3940.0810
7245.98 11.386.84 37.0119.79 27.30.90.790.830.928633.27640.7244.4320.6920.410.4150.3670.218-1.112.53-1.111.832.531.83 -0.3190.0660
8255.7 13.485.9 40.5517.94 32.170.890.790.830.922662.71676.9139.4521.0828.450.3320.420.248-1.272.48-1.271.42.481.4 -0.3680.078-0
9265.1 13.926.86 47.0918.47 30.050.90.790.830.923703.37712.8244.8324.1421.590.3210.4710.208-1.123.09-1.121.613.091.61 -0.3250.0750
10277.56 14.346.98 39.9821.53 34.760.890.790.830.922853.62864.9344.4521.3831.840.3890.3550.257-1.32.17-1.31.522.171.52 -0.3090.060
11285.96 14.824.48 43.4718.45 44.220.890.790.830.913730.57742.1834.9421.3448.60.2810.4260.293-1.632.26-1.631.092.261.09 -0.5040.0920
12296.68 12.464.8 40.6622.25 43.060.890.790.830.917755.52761.6241.8420.846.460.3670.340.293-1.531.92-1.531.311.921.31 -0.460.0780
13307 136 43.7924.14 40.130.890.790.830.92861.17866.2247.8623.0238.660.3870.3450.268-1.362.07-1.361.462.071.46 -0.360.0680
14316.1 14.56.32 51.3322.88 40.040.890.790.830.918897.98900.4148.8126.1635.340.3310.4210.248-1.282.49-1.281.42.491.4 -0.3440.073-0
15328.66 12.467.96 43.9430.44 38.090.90.790.830.9251062.921074.1558.824.4432.720.4740.2830.242-1.262.05-1.261.912.051.91 -0.2680.0530
16336.96 11.77.04 48.829.58 38.930.90.790.830.923959.76955.1760.0826.7831.780.4380.3280.234-1.192.25-1.191.812.251.81 -0.3060.0610
17345.58 12.67.76 59.6628.06 36.490.90.790.830.923969.69943.0365.4731.8122.790.3870.4250.188-1.013.12-1.011.983.121.98 -0.2920.0620
18359 14.144.74 44.1928.31 59.510.890.790.830.9121080.081066.5846.6621.2972.910.3940.2820.324-1.831.6-1.831.31.61.3 -0.4920.0650
19368.74 14.986.58 50.5730.18 50.850.890.790.830.9161228.711219.3455.5525.9152.540.3980.3180.284-1.461.89-1.461.441.891.44 -0.3310.0580
20377.94 11.127.12 50.736.25 44.380.890.790.830.9221121.611123.3867.8127.8338.70.4790.2750.245-1.292.01-1.291.922.011.92 -0.30.0580
21388.42 12.27.64 52.936.77 45.740.890.790.830.9221243.511238.7669.228.8839.760.470.2840.245-1.282.04-1.281.882.041.88 -0.280.0540
22396.16 13.166 62.7831.11 50.720.890.790.830.9161100.441078.6562.5431.9145.590.3570.3890.254-1.292.32-1.291.442.321.44 -0.3610.0730
23407.8 12.567.54 58.737.33 47.930.890.790.830.921288.121266.0272.3231.6940.310.4460.3140.24-1.232.16-1.231.82.161.8 -0.2850.0560
24415.56 14.54.26 67.3928.05 65.510.890.790.830.9071060.431040.7850.131.6371.250.2680.4410.292-1.652.35-1.651.072.351.07 -0.5310.0990
25428.26 12.024.42 52.7836.54 69.330.890.790.830.9111181.661156.3758.6425.1283.720.4190.2610.32-1.821.56-1.821.41.561.4 -0.520.071-0
26436.6 12.325.24 63.8935.76 60.610.890.790.830.9131179.861148.3865.5832.0561.210.3770.3440.279-1.432-1.431.3921.39 -0.4150.0750
27445.42 12.985.6 75.3834.05 57.390.890.790.830.9131171.961138.3468.8837.1250.570.3280.4230.249-1.282.49-1.281.382.491.38 -0.3880.0830
28456.58 12.15.9 68.5839.04 58.80.890.790.830.9151270.611231.7973.9435.154.330.3950.3450.26-1.312.11-1.311.522.111.52 -0.3650.070
29468.3 14.224.48 61.7137.22 79.640.890.790.830.9071398.321336.8159.3228.9696.570.3680.3080.324-1.811.68-1.811.221.681.22 -0.5220.070
30475.48 11.425.52 76.8939.38 59.660.890.790.830.9141200.41155.0277.7938.8451.650.3690.3840.247-1.252.35-1.251.512.351.51 -0.3920.08-0
31488.12 11.625.5 63.845.28 68.630.890.790.830.9141421.671390.1375.9331.8173.440.4440.2660.291-1.561.71-1.561.581.711.58 -0.3960.0660
AVE:337 12.975.99 52.4625.2 44.160.890.790.830.919949.23943.1752.4625.244.160.3850.350.265-1.42.16-1.41.512.161.51-0.3840.070



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