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 FunctionsGraduate EssaysReferences & 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.110980.005-21.868
dLK0.5222130.004124.632
dLM0.5243810.005109.319
R2 = 0.9995 R2b = 0.9995 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cKK-0.0806830.022-3.638
dKL0.5158020.02818.709
dKM0.445070.02517.548
R2 = 0.9728 R2b = 0.9709 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cMM-0.2242360.035-6.482
dML0.5338010.04113.084
dMK0.4358520.03213.487
R2 = 0.9779 R2b = 0.9763 # obs = 31

The three estimated factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/0.92) * [-0.111 + 0.5222 * (wK / wL)^(1/2) + 0.5244 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/0.92) * [-0.0807 + 0.5158 * (wL / wK)^(1/2) + 0.4451 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/0.92) * [-0.2242 + 0.5338 * (wL / wM)^(1/2) + 0.4359 * (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.55110.32760.22351.087
0.3153-0.56720.25191.087
0.29010.3227-0.61281.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.11098 * wL + -0.08068 * wK + -0.22424 * wM + 1.03801 * (wL*wK)^(1/2) + 1.05818 * (wL*wM)^(1/2) + 0.88092 * (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.1115420.024358-4.579331
dLK0.5197690.01760829.51828
dLM0.5284810.01696931.143881
cKK-0.0798790.017985-4.441443
dKL0.5197690.01760829.51828
dKM0.4396830.01535328.637876
cMM-0.2240420.02062-10.865527
dML0.5284810.01696931.143881
dMK0.4396830.01535328.637876
R2 = 0.9967 R2b = 0.9964 # 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.1115 + 0.5198 * (wK / wL)^(1/2) + 0.5285 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/0.92) * [-0.0799 + 0.5198 * (wL / wK)^(1/2) + 0.4397 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/0.92) * [-0.224 + 0.5285 * (wL / wM)^(1/2) + 0.4397 * (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.55140.32610.22531.087
0.3177-0.56650.24881.087
0.28710.3256-0.61271.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.11154 * wL + -0.07988 * wK + -0.22404 * wM + 1.03954 * (wL*wK)^(1/2) + 1.05696 * (wL*wM)^(1/2) + 0.87937 * (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.085540.027240.04077
0.02724-0.026160.02489
0.040770.02489-0.1015

The principal minors of H are H1 = -0.085543, H2 = 0.001495, 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.1351, e2 = -0.0781, 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
1187.2 124.02 22.0912.95 29.790.890.790.830.921434.19434.9722.0913.3628.760.3660.3690.2660.950.780.950.830.780.83 -0.204-0.08-0
2197.8 11.066.46 24.3216.55 23.850.90.790.830.931526.85525.0124.261722.870.360.3580.2810.870.860.870.860.860.86 -0.119-0.076-0
3208.42 11.486.54 25.0217.66 25.760.90.790.830.929581.87580.3324.9418.0924.870.3620.3580.280.880.860.880.850.860.85 -0.116-0.072-0
4215.06 11.94.56 32.4614.26 29.180.890.790.830.922467.05467.5332.4914.5428.540.3520.370.2780.910.760.910.920.760.92 -0.189-0.104-0
5228.82 14.526.92 29.517.74 29.790.90.790.830.925723.97723.729.4618.129.060.3590.3630.2780.90.820.90.870.820.87 -0.113-0.065-0
6237.96 11.846.88 30.6420.22 28.580.90.790.830.928679.95678.9630.6220.5927.830.3590.3590.2820.870.860.870.870.860.87 -0.113-0.073-0
7247.48 147.72 35.9419.48 28.820.90.790.830.926764.08763.4535.9619.8228.10.3520.3640.2840.860.830.860.920.830.92 -0.113-0.067-0
8256.54 14.324.3 35.7716.84 410.890.790.830.915651.39652.5335.9216.9440.690.360.3720.2680.950.740.950.880.740.88 -0.195-0.0870
9265.68 13.164.46 39.5317.78 39.10.890.790.830.916632.92633.7239.6217.8638.920.3550.3710.2740.930.740.930.90.740.9 -0.188-0.097-0
10275.2 14.167.36 49.619.55 30.30.90.790.830.924757.7757.9249.4419.8529.850.3390.3710.290.840.790.840.990.790.99 -0.165-0.071-0
11285.62 11.347.1 45.5923.39 30.650.90.790.830.926739738.5945.6723.72300.3480.3640.2880.830.840.830.950.840.95 -0.146-0.077-0
12298.46 12.427.24 39.1126.45 36.170.90.790.830.924921.29921.4539.1426.6135.880.3590.3590.2820.870.860.870.870.860.87 -0.107-0.069-0
13307 136 43.7924.14 40.130.890.790.830.92861.17861.743.7924.240.080.3560.3650.2790.890.810.890.890.810.89 -0.135-0.0780
14317.3 14.044.3 42.3522.59 52.350.890.790.830.912851.46851.642.4122.4952.610.3640.3710.2660.960.750.960.850.750.85 -0.193-0.0780
15327.76 13.37.32 46.7527.79 39.540.890.790.830.9221021.751022.3546.8127.8339.480.3550.3620.2830.870.840.870.90.840.9 -0.112-0.069-0
16336.64 11.525.74 47.628.01 43.080.890.790.830.92885.99886.5147.6127.9643.260.3570.3630.280.890.820.890.890.820.89 -0.14-0.0830
17348.54 14.366.28 46.9828.41 48.370.890.790.830.9171112.971113.2846.9228.2648.840.360.3650.2760.910.810.910.860.810.86 -0.125-0.067-0
18358.9 13.667.7 48.7732.06 44.040.890.790.830.9211211.151212.0948.8231.9344.330.3580.360.2820.870.850.870.880.850.88 -0.102-0.0640
19365.64 14.527.2 6527.32 42.290.890.790.830.9181067.761068.3964.8727.2242.680.3420.370.2880.850.790.850.970.790.97 -0.152-0.073-0
20376.08 14.847.2 64.728.51 44.690.890.790.830.9181138.131138.6164.6128.3245.220.3450.3690.2860.860.790.860.960.790.96 -0.141-0.0720
21387.48 12.164.02 49.1230.68 64.610.890.790.830.9111000.23998.5548.9430.2765.770.3670.3690.2650.960.780.960.820.780.82 -0.205-0.077-0
22396.78 11.886.72 59.0334.82 47.240.890.790.830.921131.281132.1859.1334.5147.810.3540.3620.2840.860.840.860.910.840.91 -0.126-0.077-0
23408.44 11.267.5 54.2140.62 47.570.890.790.830.9221271.71273.6354.4140.1948.250.3610.3550.2840.860.890.860.870.890.87 -0.103-0.0720
24418.3 14.787.94 62.1736.24 50.990.890.790.830.9181456.571457.362.2335.7851.880.3540.3630.2830.870.830.870.90.830.9 -0.105-0.064-0
25427 14.126.7 66.5234.81 54.280.890.790.830.9151320.871320.5366.4834.2455.480.3520.3660.2810.880.80.880.910.80.91 -0.127-0.074-0
26438.28 12.344.26 54.1636.75 73.250.890.790.830.911214.011210.4553.836.0375.210.3680.3670.2650.960.790.960.810.790.81 -0.192-0.071-0
27446.64 14.767.46 74.8836.14 53.380.890.790.830.9161428.891428.7674.8135.5554.60.3480.3670.2850.860.80.860.940.80.94 -0.128-0.07-0
28458.28 14.586.54 65.7838.85 62.540.890.790.830.9131520.121518.3865.6637.9964.350.3580.3650.2770.90.810.90.880.810.88 -0.121-0.0680
29466.34 11.267.4 73.5943.38 50.960.890.790.830.921332.121333.8473.9342.7851.820.3510.3610.2870.830.860.830.930.860.93 -0.128-0.075-0
30478.78 11.647.34 63.648.33 57.940.890.790.830.9191546.241548.2263.7347.3459.620.3610.3560.2830.870.880.870.860.880.86 -0.103-0.070
31485.88 11.326.38 77.8942.84 56.920.890.790.830.9161306.141306.4777.9741.9958.40.3510.3640.2850.850.830.850.930.830.93 -0.142-0.083-0
AVE:337.24 12.956.37 48.9227.79 43.710.890.790.830.92985.77985.8448.9227.7943.710.3560.3640.280.890.820.890.890.820.89-0.14-0.075-0




À2:   Estimate the Diewert cost function directly.

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

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cLL-0.0032820.073-0.045
cKK-0.1575120.048-3.281
cMM-0.3018730.075-4.019
2*dLK1.0206750.1039.881
2*dLM0.8780390.099.785
2*dKM1.1125640.09411.83
R2 = 0.9999 R2b = 0.9999 # obs = 31

The Diewert cost function as obtained by direct estimation is:

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

= q^(1/0.92) * [-0.00328 * wL + -0.15751 * wK + -0.30187 * wM + 1.02068 * (wL*wK)^(1/2) + 0.87804 * (wL*wM)^(1/2) + 1.11256 * (wK*wM)^(1/2)]
        (***)

XII. Its three derived factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/0.92) * [-0.0033 + 0.5103 * (wK / wL)^(1/2) + 0.439 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/0.92) * [-0.1575 + 0.5103 * (wL / wK)^(1/2) + 0.5563 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/0.92) * [-0.3019 + 0.439 * (wL / wM)^(1/2) + 0.5563 * (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.50150.31650.1851.087
0.3148-0.63240.31761.087
0.23920.4131-0.65231.087

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

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

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

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

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

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

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

H = ∇2wwc =
-0.078710.026750.03387
0.02675-0.028940.03149
0.033870.03149-0.10775

The principal minors of H are H1 = -0.078709, H2 = 0.001562, 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.1317, e2 = -0.0837, 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
1187.2 124.02 22.0912.95 29.790.890.790.830.921434.19435.3522.7612.9528.850.3760.3570.2660.940.630.941.080.631.08 -0.21-0.081-0
2197.8 11.066.46 24.3216.55 23.850.90.790.830.931526.85525.2324.6417.0922.30.3660.360.2740.840.730.841.110.731.11 -0.116-0.080
3208.42 11.486.54 25.0217.66 25.760.90.790.830.929581.87580.8125.4218.1524.220.3690.3590.2730.850.720.851.10.721.1 -0.115-0.075-0
4215.06 11.94.56 32.4614.26 29.180.890.790.830.922467.05467.0132.7314.2228.990.3550.3620.2830.90.620.91.170.621.17 -0.183-0.113-0
5228.82 14.526.92 29.517.74 29.790.90.790.830.925723.97724.1429.9517.9728.770.3650.360.2750.870.680.871.120.681.12 -0.112-0.068-0
6237.96 11.846.88 30.6420.22 28.580.90.790.830.928679.95679.131.0320.6927.190.3640.3610.2750.840.720.841.120.721.12 -0.11-0.078-0
7247.48 147.72 35.9419.48 28.820.90.790.830.926764.08763.2536.119.8927.820.3540.3650.2810.840.690.841.170.691.17 -0.105-0.0760
8256.54 14.324.3 35.7716.84 410.890.790.830.915651.39651.2136.6416.2841.50.3680.3580.2740.950.590.951.130.591.13 -0.2-0.089-0
9265.68 13.164.46 39.5317.78 39.10.890.790.830.916632.92632.6540.1317.3139.660.360.360.280.930.60.931.150.61.15 -0.188-0.102-0
10275.2 14.167.36 49.619.55 30.30.90.790.830.924757.7758.0148.9519.8830.160.3360.3710.2930.830.660.831.240.661.24 -0.151-0.083-0
11285.62 11.347.1 45.5923.39 30.650.90.790.830.926739738.145.4624.0129.620.3460.3690.2850.810.710.811.20.711.2 -0.132-0.088-0
12298.46 12.427.24 39.1126.45 36.170.90.790.830.924921.29921.6839.6926.7635.030.3640.3610.2750.840.720.841.120.721.12 -0.104-0.073-0
13307 136 43.7924.14 40.130.890.790.830.92861.17861.7744.323.9939.970.360.3620.2780.870.660.871.140.661.14 -0.132-0.084-0
14317.3 14.044.3 42.3522.59 52.350.890.790.830.912851.46850.9443.5221.6653.290.3730.3570.2690.950.60.951.10.61.1 -0.2-0.0790
15327.76 13.37.32 46.7527.79 39.540.890.790.830.9221021.751022.2947.227.938.930.3580.3630.2790.840.70.841.150.71.15 -0.107-0.076-0
16336.64 11.525.74 47.628.01 43.080.890.790.830.92885.99886.7148.1727.8542.860.3610.3620.2770.860.680.861.140.681.14 -0.136-0.089-0
17348.54 14.366.28 46.9828.41 48.370.890.790.830.9171112.971114.0447.8227.948.570.3670.360.2740.890.660.891.110.661.11 -0.125-0.07-0
18358.9 13.667.7 48.7732.06 44.040.890.790.830.9211211.151212.3949.4632.0443.440.3630.3610.2760.840.710.841.130.711.13 -0.099-0.0690
19365.64 14.527.2 6527.32 42.290.890.790.830.9181067.761068.2264.4827.1543.10.340.3690.290.850.650.851.220.651.22 -0.139-0.084-0
20376.08 14.847.2 64.728.51 44.690.890.790.830.9181138.131138.2764.4128.1945.590.3440.3680.2880.850.650.851.210.651.21 -0.129-0.083-0
21387.48 12.164.02 49.1230.68 64.610.890.790.830.9111000.23999.7250.5429.3365.930.3780.3570.2650.940.630.941.070.631.07 -0.212-0.078-0
22396.78 11.886.72 59.0334.82 47.240.890.790.830.921131.281131.9259.4934.6747.130.3560.3640.280.840.70.841.160.71.16 -0.118-0.0860
23408.44 11.267.5 54.2140.62 47.570.890.790.830.9221271.71273.1555.1340.746.610.3650.360.2750.820.750.821.120.751.12 -0.099-0.0770
24418.3 14.787.94 62.1736.24 50.990.890.790.830.9181456.571457.1962.6935.8351.30.3570.3630.280.850.690.851.150.691.15 -0.099-0.07-0
25427 14.126.7 66.5234.81 54.280.890.790.830.9151320.871320.2666.9134.0155.480.3550.3640.2820.870.660.871.160.661.16 -0.121-0.081-0
26438.28 12.344.26 54.1636.75 73.250.890.790.830.911214.011213.0955.7435.0374.960.380.3560.2630.940.640.941.060.641.06 -0.199-0.0710
27446.64 14.767.46 74.8836.14 53.380.890.790.830.9161428.891428.3574.7835.4854.710.3480.3670.2860.850.670.851.190.671.19 -0.118-0.079-0
28458.28 14.586.54 65.7838.85 62.540.890.790.830.9131520.121518.9366.6737.5764.080.3630.3610.2760.880.660.881.130.661.13 -0.12-0.071-0
29466.34 11.267.4 73.5943.38 50.960.890.790.830.921332.121332.5673.8743.4150.740.3510.3670.2820.810.730.811.180.731.18 -0.116-0.0860
30478.78 11.647.34 63.648.33 57.940.890.790.830.9191546.241548.4964.7547.7957.730.3670.3590.2740.830.740.831.110.741.11 -0.101-0.0730
31485.88 11.326.38 77.8942.84 56.920.890.790.830.9161306.141306.0278.1142.257.840.3520.3660.2830.830.70.831.180.71.18 -0.131-0.094-0
AVE:337.24 12.956.37 49.427.67 43.430.890.790.830.92985.77985.8349.427.6743.430.360.3620.2780.870.680.871.140.681.14-0.136-0.081-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.1767930.07-2.51
dLK0.661750.05811.377
dLM0.8002420.06712.018
R2 = 0.9537 R2b = 0.9504 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cKK-0.1291220.077-1.675
dKL0.6672350.0966.961
dKM0.6625270.0887.513
R2 = 0.8509 R2b = 0.8402 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cMM-0.2394930.01-23.168
dML0.7075170.01258.038
dMK0.5541040.0157.384
R2 = 0.9988 R2b = 0.9987 # obs = 31

The three estimated factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/1) * [-0.1768 + 0.6617 * (wK / wL)^(1/2) + 0.8002 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/1) * [-0.1291 + 0.6672 * (wL / wK)^(1/2) + 0.6625 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/1) * [-0.2395 + 0.7075 * (wL / wM)^(1/2) + 0.5541 * (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.56030.30760.25271
0.302-0.57960.27761
0.28510.3043-0.58931

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.17679 * wL + -0.12912 * wK + -0.23949 * wM + 1.32898 * (wL*wK)^(1/2) + 1.50776 * (wL*wM)^(1/2) + 1.21663 * (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.1608590.045898-3.504712
dLK0.6946080.0331820.93462
dLM0.7362160.03197523.024656
cKK-0.0757570.033889-2.235425
dKL0.6946080.0331820.93462
dKM0.5570480.0289319.254725
cMM-0.2747080.038854-7.070281
dML0.7362160.03197523.024656
dMK0.5570480.0289319.254725
R2 = 0.9935 R2b = 0.9929 # 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.1609 + 0.6946 * (wK / wL)^(1/2) + 0.7362 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/1) * [-0.0758 + 0.6946 * (wL / wK)^(1/2) + 0.557 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/1) * [-0.2747 + 0.7362 * (wL / wM)^(1/2) + 0.557 * (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.55480.32260.23231
0.3137-0.54660.23291
0.29660.3058-0.60251

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.16086 * wL + -0.07576 * wK + -0.27471 * wM + 1.38922 * (wL*wK)^(1/2) + 1.47243 * (wL*wM)^(1/2) + 1.1141 * (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.11630.036410.0568
0.03641-0.034160.03154
0.05680.03154-0.1346

The principal minors of H are H1 = -0.1163, H2 = 0.002647, 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.183, 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
1187.2 124.02 22.0912.95 29.790.890.790.830.921434.19457.2223.1514.1230.110.3650.3710.2650.940.810.940.780.810.78 -0.272-0.106-0
2197.8 11.066.46 24.3216.55 23.850.90.790.830.931526.85549.225.3917.73240.3610.3570.2820.870.890.870.810.890.81 -0.161-0.10
3208.42 11.486.54 25.0217.66 25.760.90.790.830.929581.87604.3525.9818.7925.970.3620.3570.2810.870.890.870.80.890.8 -0.156-0.0950
4215.06 11.94.56 32.4614.26 29.180.890.790.830.922467.05484.9233.6715.1629.410.3510.3720.2770.890.790.890.860.790.86 -0.256-0.136-0
5228.82 14.526.92 29.517.74 29.790.90.790.830.925723.97747.3930.4118.729.990.3590.3630.2780.890.850.890.810.850.81 -0.153-0.0850
6237.96 11.846.88 30.6420.22 28.580.90.790.830.928679.95698.5331.5321.1228.70.3590.3580.2830.860.880.860.820.880.82 -0.154-0.095-0
7247.48 147.72 35.9419.48 28.820.90.790.830.926764.08782.4736.920.2928.80.3530.3630.2840.850.860.850.860.860.86 -0.155-0.0870
8256.54 14.324.3 35.7716.84 410.890.790.830.915651.39666.9236.617.4741.240.3590.3750.2660.940.770.940.820.770.82 -0.26-0.1150
9265.68 13.164.46 39.5317.78 39.10.890.790.830.916632.92645.3540.2718.3339.340.3540.3740.2720.910.770.910.850.770.85 -0.253-0.1280
10275.2 14.167.36 49.619.55 30.30.90.790.830.924757.7768.7550.2520.1630.150.340.3710.2890.830.820.830.930.820.93 -0.226-0.092-0
11285.62 11.347.1 45.5923.39 30.650.90.790.830.926739746.8946.2923.9130.360.3480.3630.2890.820.870.820.890.870.89 -0.199-0.0990
12298.46 12.427.24 39.1126.45 36.170.90.790.830.924921.29929.139.4926.7636.270.360.3580.2830.860.880.860.820.880.82 -0.145-0.09-0
13307 136 43.7924.14 40.130.890.790.830.92861.17866.2544.0224.3740.210.3560.3660.2790.880.830.880.840.830.84 -0.183-0.102-0
14317.3 14.044.3 42.3522.59 52.350.890.790.830.912851.46854.0842.3922.7352.420.3620.3740.2640.940.780.940.80.780.8 -0.259-0.103-0
15327.76 13.37.32 46.7527.79 39.540.890.790.830.9221021.751021.9746.8327.7839.490.3560.3620.2830.860.860.860.840.860.84 -0.153-0.09-0
16336.64 11.525.74 47.628.01 43.080.890.790.830.92885.99883.8147.4727.8843.110.3570.3630.280.880.850.880.830.850.83 -0.189-0.109-0
17348.54 14.366.28 46.9828.41 48.370.890.790.830.9171112.971107.0546.6228.1648.490.360.3650.2750.90.840.90.810.840.81 -0.168-0.088-0
18358.9 13.667.7 48.7732.06 44.040.890.790.830.9211211.151202.2948.4631.6144.060.3590.3590.2820.870.880.870.820.880.82 -0.138-0.084-0
19365.64 14.527.2 6527.32 42.290.890.790.830.9181067.761056.9964.2826.9842.050.3430.3710.2860.840.810.840.910.810.91 -0.207-0.0940
20376.08 14.847.2 64.728.51 44.690.890.790.830.9181138.131123.8463.842844.460.3450.370.2850.850.820.850.90.820.9 -0.192-0.094-0
21387.48 12.164.02 49.1230.68 64.610.890.790.830.9111000.23983.5948.0529.9964.540.3650.3710.2640.940.810.940.770.810.77 -0.274-0.103-0
22396.78 11.886.72 59.0334.82 47.240.890.790.830.921131.281112.4558.1733.8547.010.3550.3610.2840.850.870.850.850.870.85 -0.171-0.10
23408.44 11.267.5 54.2140.62 47.570.890.790.830.9221271.7124953.4239.2147.550.3610.3530.2860.850.910.850.810.910.81 -0.14-0.093-0
24418.3 14.787.94 62.1736.24 50.990.890.790.830.9181456.571425.6960.9334.9850.760.3550.3630.2830.860.860.860.850.860.85 -0.143-0.083-0
25427 14.126.7 66.5234.81 54.280.890.790.830.9151320.871289.1964.9333.4854.030.3530.3670.2810.870.830.870.860.830.86 -0.173-0.096-0
26438.28 12.344.26 54.1636.75 73.250.890.790.830.911214.011179.452.2535.2873.090.3670.3690.2640.950.820.950.760.820.76 -0.257-0.094-0
27446.64 14.767.46 74.8836.14 53.380.890.790.830.9161428.891389.1272.8234.5952.950.3480.3680.2840.850.830.850.890.830.89 -0.175-0.09-0
28458.28 14.586.54 65.7838.85 62.540.890.790.830.9131520.121473.5363.6836.9362.340.3580.3650.2770.890.840.890.820.840.82 -0.164-0.089-0
29466.34 11.267.4 73.5943.38 50.960.890.790.830.921332.121292.0171.7741.2650.320.3520.360.2880.820.880.820.870.880.87 -0.175-0.0970
30478.78 11.647.34 63.648.33 57.940.890.790.830.9191546.241497.0361.6745.5857.90.3620.3540.2840.860.90.860.80.90.8 -0.14-0.0910
31485.88 11.326.38 77.8942.84 56.920.890.790.830.9161306.141260.6975.3540.4756.360.3510.3630.2850.840.860.840.870.860.87 -0.194-0.107-0
AVE:337.24 12.956.37 48.6127.6 43.40.890.790.830.92985.7797948.6127.643.40.3560.3650.2790.880.840.880.840.840.84-0.19-0.098-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-1.185562.175-0.545
cKK-1.4062441.429-0.984
cMM1.0167952.2360.455
2*dLK4.5474523.0751.479
2*dLM-1.0014612.671-0.375
2*dKM1.4115142.7990.504
R2 = 0.9546 R2b = 0.9455 # 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.18556 * wL + -1.40624 * wK + 1.01679 * wM + 4.54745 * (wL*wK)^(1/2) + -1.00146 * (wL*wM)^(1/2) + 1.41151 * (wK*wM)^(1/2)]
        (***)

XXVI. Its three derived factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/1) * [-1.1856 + 2.2737 * (wK / wL)^(1/2) + -0.5007 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/1) * [-1.4062 + 2.2737 * (wL / wK)^(1/2) + 0.7058 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/1) * [1.0168 + -0.5007 * (wL / wM)^(1/2) + 0.7058 * (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.9091.0689-0.15991
1.1248-1.4480.32321
-0.17850.3429-0.16441

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.188210.11918-0.03863
0.11918-0.082610.03996
-0.038630.03996-0.0415

The principal minors of H are H1 = -0.188213, H2 = 0.001346, 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.2782, e2 = -0.0341, 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
1187.2 124.02 22.0912.95 29.790.890.790.830.921434.19456.5124.7613.7428.190.3910.3610.2482.95-0.552.951.08-0.551.08 -0.285-0.052-0
2197.8 11.066.46 24.3216.55 23.850.90.790.830.931526.85547.7220.2619.8126.410.2890.40.3113.17-0.693.170.83-0.690.83 -0.264-0.02-0
3208.42 11.486.54 25.0217.66 25.760.90.790.830.929581.87600.6320.5621.4727.670.2880.410.3013.15-0.713.150.82-0.710.82 -0.248-0.019-0
4215.06 11.94.56 32.4614.26 29.180.890.790.830.922467.05478.3338.3510.7834.220.4060.2680.3263.56-0.43.561.3-0.41.3 -0.386-0.059-0
5228.82 14.526.92 29.517.74 29.790.90.790.830.925723.97746.8528.3418.7732.420.3350.3650.33.1-0.573.10.95-0.570.95 -0.226-0.026-0
6237.96 11.846.88 30.6420.22 28.580.90.790.830.928679.95698.8325.8122.9132.290.2940.3880.3183.18-0.653.180.85-0.650.85 -0.254-0.0210
7247.48 147.72 35.9419.48 28.820.90.790.830.926764.08789.4533.9918.7235.380.3220.3320.3463.31-0.523.310.97-0.520.97 -0.256-0.0250
8256.54 14.324.3 35.7716.84 410.890.790.830.915651.39656.3644.3212.9342.180.4420.2820.2763.36-0.413.361.35-0.411.35 -0.306-0.065-0
9265.68 13.164.46 39.5317.78 39.10.890.790.830.916632.92633.9947.6212.9643.260.4270.2690.3043.51-0.43.511.35-0.41.35 -0.348-0.0630
10275.2 14.167.36 49.619.55 30.30.90.790.830.924757.7773.3353.2112.9742.520.3580.2380.4054.01-0.374.011.31-0.371.31 -0.371-0.037-0
11285.62 11.347.1 45.5923.39 30.650.90.790.830.926739763.0641.4821.0840.970.3060.3130.3813.48-0.53.480.97-0.50.97 -0.335-0.029-0
12298.46 12.427.24 39.1126.45 36.170.90.790.830.924921.29928.7932.0829.2740.60.2920.3910.3163.18-0.663.180.84-0.660.84 -0.24-0.0190
13307 136 43.7924.14 40.130.890.790.830.92861.17866.343.4822.2545.440.3510.3340.3153.2-0.513.21.03-0.511.03 -0.278-0.0340
14317.3 14.044.3 42.3522.59 52.350.890.790.830.912851.46848.4149.0919.3450.830.4220.320.2583.11-0.473.111.22-0.471.22 -0.276-0.0580
15327.76 13.37.32 46.7527.79 39.540.890.790.830.9221021.751027.7641.7527.3346.480.3150.3540.3313.23-0.563.230.93-0.560.93 -0.251-0.024-0
16336.64 11.525.74 47.628.01 43.080.890.790.830.92885.99885.4544.342748.780.3330.3510.3163.17-0.553.170.96-0.550.96 -0.295-0.0320
17348.54 14.366.28 46.9828.41 48.370.890.790.830.9171112.971104.8645.3427.67510.350.360.293.07-0.563.070.99-0.560.99 -0.233-0.03-0
18358.9 13.667.7 48.7732.06 44.040.890.790.830.9211211.151203.8240.7933.5649.650.3020.3810.3183.17-0.633.170.87-0.630.87 -0.225-0.02-0
19365.64 14.527.2 6527.32 42.290.890.790.830.9181067.761059.0668.2918.2856.730.3640.2510.3863.84-0.393.841.27-0.391.27 -0.341-0.037-0
20376.08 14.847.2 64.728.51 44.690.890.790.830.9181138.131124.9467.4120.0158.090.3640.2640.3723.69-0.43.691.22-0.41.22 -0.315-0.036-0
21387.48 12.164.02 49.1230.68 64.610.890.790.830.9111000.23982.9351.1629.7559.330.3890.3680.2432.93-0.562.931.07-0.561.07 -0.277-0.05-0
22396.78 11.886.72 59.0334.82 47.240.890.790.830.921131.281121.3651.732.8556.640.3130.3480.3393.26-0.553.260.93-0.550.93 -0.286-0.027-0
23408.44 11.267.5 54.2140.62 47.570.890.790.830.9221271.71244.8138.7545.5354.010.2630.4120.3253.29-0.753.290.78-0.750.78 -0.248-0.0150
24418.3 14.787.94 62.1736.24 50.990.890.790.830.9181456.571434.0555.7133.4160.180.3220.3440.3333.24-0.543.240.95-0.540.95 -0.233-0.023-0
25427 14.126.7 66.5234.81 54.280.890.790.830.9151320.87129165.2628.5964.240.3540.3130.3333.32-0.473.321.07-0.471.07 -0.275-0.033-0
26438.28 12.344.26 54.1636.75 73.250.890.790.830.911214.011178.8452.9337.4565.350.3720.3920.2362.88-0.622.881.01-0.621.01 -0.255-0.042-0
27446.64 14.767.46 74.8836.14 53.380.890.790.830.9161428.891396.5273.6427.367.630.350.2890.3613.51-0.443.511.12-0.441.12 -0.287-0.032-0
28458.28 14.586.54 65.7838.85 62.540.890.790.830.9131520.121471.8962.435.167.820.3510.3480.3013.13-0.533.131.01-0.531.01 -0.238-0.030
29466.34 11.267.4 73.5943.38 50.960.890.790.830.921332.121316.5559.9740.1165.50.2890.3430.3683.39-0.563.390.89-0.560.89 -0.301-0.0240
30478.78 11.647.34 63.648.33 57.940.890.790.830.9191546.241488.2445.8153.0663.820.270.4150.3153.24-0.753.240.79-0.750.79 -0.24-0.0150
31485.88 11.326.38 77.8942.84 56.920.890.790.830.9161306.141274.8669.4936.5970.860.320.3250.3553.35-0.513.350.98-0.510.98 -0.324-0.0310
AVE:337.24 12.956.37 46.3926.15 49.310.890.790.830.92985.77980.546.3926.1549.310.340.340.323.29-0.543.291.02-0.541.02-0.281-0.033-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