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

L. Diewert (Generalized Leontief) Cost Function

The three factor Diewert production function is:

q^1/nu = aLL * L + aKK * K + aMM * M + bLK * L^1/2 * K^1/2 + bLM * L^1/2 * M^1/2 + bKM * K^1/2 * M^1/2         (*)

    =     f(L,K,M)

where L = labour, K = capital, M = materials and supplies, q = product output, and nu = elasticity of scale parameter.

If we have a data set relating these inputs to output for varying levels of inputs and output, we can estimate the parameters of the Diewert production function directly.

Suppose, however, we have a data set relating relating output quantities to total costs and input (factor) prices, wL, wK, and wM. Then, we can work with the Diewert (Generalized Leontief) cost function to estimate the parameters of the production technology.

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/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.

We shall use two methods to obtain estimates of the parameters:

          À1:   Estimate the parameters the cost function by way of its factor demand 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 also:

          À3:   Re-estimate the Diewert Production Function — to investigate properties of the underlying technology.

Assuming dLK = dKL, dLM = dML, and dKM = dMK, the 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)

À1:   Estimate the factor demand equations separately.

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/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)]

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/nu), 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. Duality.  The Plan:

      1. Generate CES data and estimate the parameters of a Diewert production function.

      2. Generate cost data with the estimated Diewert 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 Diewert cost minimizing factor inputs, L, K, and M. The base factor prices and the randomizing distribution are specified in the form below.

      3. 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.

The estimated coefficients of the Diewert production and cost functions will vary with the parameters sigma, nu, alpha, beta and gamma of the CES production function.

CES Production Function:

q = A * [alpha * (L^-rho) + beta * (K^-rho) + gamma *(M^-rho)]^(-nu/rho) = f(L,K,M).

where L = labour, K = capital, M = materials and supplies, and q = product. The parameter nu is a measure of the economies of scale, while the parameter rho yields the elasticity of substitution:

sigma = 1/(1 + rho).

Set the parameters below to re-run with your own CES parameters.

Restrictions: .7 < nu < 1.3; .5 < sigma < 1.5;
.25 < alpha < .45, .3 < beta < .5, .2 < gamma < .35
sigma = 1 → nu = alpha + beta + gamma (Cobb-Douglas)
sigma < 1 → inputs complements; sigma > 1 → inputs substitutes
4 <= wL* <= 11,   7<= wK* <= 16,   4 <= wM* <= 10

CES Production Function Parameters
elasticity of scale parameter: nu
elasticity of substitution: sigma
alpha
beta
gamma
Base Factor Prices
wL* wK* wM*
Distribution to Randomize Factor Prices
Use [-2, 2] Uniform distribution    
Use .25 * Normal (μ = 0, σ2 = 1)

The CES production function as specified:

q = 1 * [0.35 * (L^- 0.17647) + 0.4 * (K^- 0.17647) + 0.25 *(M^- 0.17647)]^(-1/0.17647)

II. For these coefficients of the CES production function, I generated a sequence of factor prices, outputs, and the corresponding cost minimizing inputs. Then I estimated the Diewert production function using multiple regression yielding the following coefficient estimates:

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cLL-0.1480530.001-183.569
cKK-0.181890-424.452
cMM-0.179970-380.444
cLK0.6443770.001555.523
cLM0.3466190.001322.232
cKM0.519060.001465.723
R2 = 1 R2b = 1 # obs = 182

nu = 1
aLL = -0.148053, aKK = -0.18189, aMM = -0.17997
bLK = 0.644377, bLM = 0.346619 bKM, = 0.51906

aLL + aKK + aMM + bLK + bLM + bKM = 1

The estimated Diewert production function:

q^1/1 = -0.148053 * L + -0.18189 * K + -0.17997 * M + 0.644377 * L^1/2 * K^1/2 + 0.346619 * L^1/2 * M^1/2 + 0.51906 * K^1/2 * M^1/2     =     f(L,K,M)

III. For these coefficients of the Diewert production function, I generated a new sequence (displayed in the "Diewert Cost Function" table) of factor prices, outputs, and the corresponding cost minimizing inputs.

The factor prices are distributed about the base factor prices by adding a random number distributed uniformly in the [-2, 2] domain.

Then I used these data to estimate the coefficients of each factor demand equation separately:

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cLL-0.1733870.003-60.843
dLK0.650670.002295.986
dLM0.5580490.002236.313
R2 = 0.9999 R2b = 0.9999 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cKK-0.0063950.002-2.893
dKL0.648580.003231.468
dKM0.5067990.002216.056
R2 = 0.9998 R2b = 0.9998 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cMM-0.2906180.004-73.812
dML0.5576720.005119.059
dMK0.5034740.004140.421
R2 = 0.9998 R2b = 0.9997 # obs = 31

The three estimated factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/1) * [-0.1734 + 0.6507 * (wK / wL)^(1/2) + 0.558 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/1) * [-0.0064 + 0.6486 * (wL / wK)^(1/2) + 0.5068 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/1) * [-0.2906 + 0.5577 * (wL / wM)^(1/2) + 0.5035 * (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/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.

      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.57050.36050.211
0.2924-0.50390.21151
0.28610.352-0.6381

IV. The Diewert cost function as obtained from the unrestricted 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.17339 * wL + -0.00639 * wK + -0.29062 * wM + 1.29925 * (wL*wK)^(1/2) + 1.11572 * (wL*wM)^(1/2) + 1.01027 * (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.1728140.00306-56.472319
dLK0.6505830.002168300.074001
dLM0.5575580.00198281.533008
cKK-0.0059630.002115-2.819834
dKL0.6505830.002168300.074001
dKM0.5040160.001763285.921295
cMM-0.2912820.002424-120.147363
dML0.5575580.00198281.533008
dMK0.5040160.001763285.921295
R2 = 0.9999 R2b = 0.9999 # 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.1728 + 0.6506 * (wK / wL)^(1/2) + 0.5576 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/1) * [-0.006 + 0.6506 * (wL / wK)^(1/2) + 0.504 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/1) * [-0.2913 + 0.5576 * (wL / wM)^(1/2) + 0.504 * (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/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,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.57030.36040.20981
0.2933-0.50370.21041
0.2860.3523-0.63831

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/1) * [-0.17281 * wL + -0.00596 * wK + -0.29128 * wM + 1.30117 * (wL*wK)^(1/2) + 1.11512 * (wL*wM)^(1/2) + 1.00803 * (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) = 51.01 = 51.01 = 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.10020.03410.04302
0.0341-0.031530.02853
0.043020.02853-0.11201

The principal minors of H are H1 = -0.1002, H2 = 0.001997, 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.1495, e2 = -0.0942, 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) * K(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 for a given level of output agrees with the minimized cost using the Diewert production function.

Diewert Cost Function
À1: Estimate the cost function using restricted factor demands
CES: Returns to Scale = 1, Elasticity of Substitution = 0.85
   —   Diewert Production Data   —     —   Diewert Cost Data   —   Factor Shares   —   Uzawa Elasticities   —   2wwc(w)
obs #qwLwKwM LK MsLKsLMsKMcostest costest Lest Kest MsLsKsMuLKuLMuKLuKMuMLuMKe1e2e3
1186.3 14.844.22 23.1512.34 23.970.940.690.81430.18430.2323.0812.3624.030.3380.4260.2360.910.750.910.830.750.83 -0.221-0.110
2198.72 12.984.24 19.1815.54 26.280.980.80.7480.38480.3619.1815.4926.410.3480.4190.2330.940.830.940.760.830.76 -0.216-0.0820
3208.06 11.126.64 21.9518.73 19.530.850.960.82514.92514.8921.9518.7519.510.3440.4050.2520.860.920.860.830.920.83 -0.126-0.090
4217.2 11.746.14 24.6318.22 21.220.860.90.84521.5521.4924.6318.2321.20.340.410.250.860.880.860.840.880.84 -0.142-0.095-0
5227.58 14.265.68 26.4517.29 25.350.90.810.82591.06591.0826.4517.325.330.3390.4170.2430.890.820.890.830.820.83 -0.155-0.090
6236.3 12.866.68 30.618.7 21.840.820.860.92579.1579.0830.6118.6921.840.3330.4150.2520.840.860.840.890.860.89 -0.153-0.091-0
7246.26 11.567.64 31.8921.21 19.920.780.940.94597.01597.0631.8521.18200.3340.410.2560.810.910.810.910.910.91 -0.147-0.084-0
8256.74 14.75.28 32.0518.4 29.520.90.760.85642.3642.3532.0418.4229.490.3360.4210.2420.890.790.890.850.790.85 -0.173-0.0990
9268 12.945.42 28.9321.63 30.310.910.850.79675.58675.6128.9521.6330.290.3430.4140.2430.90.850.90.810.850.81 -0.159-0.088-0
10276.52 11.786 33.3922.61 26.910.850.880.87645.52645.5133.3922.6226.90.3370.4130.250.860.870.860.860.870.86 -0.153-0.0990
11286.98 12.425.26 3322.66 31.540.90.830.82677.77677.7933.0122.6731.510.340.4150.2450.890.840.890.830.840.83 -0.166-0.098-0
12298.52 12.247.34 32.6226.87 27.870.840.950.83811.38811.3432.6126.8927.850.3420.4060.2520.850.910.850.840.910.84 -0.116-0.0830
13307 136 36.8924.4 31.620.870.850.86765.2765.2136.924.4231.590.3380.4150.2480.870.850.870.850.850.85 -0.15-0.0940
14317.3 11.95.9 35.9226.6 32.430.870.890.83770.07770.0735.9326.6132.390.3410.4110.2480.870.870.870.830.870.83 -0.146-0.0950
15328.54 12.57.68 36.629.64 30.080.840.960.85914.09914.0436.5829.6630.070.3420.4060.2530.850.920.850.840.920.84 -0.113-0.0810
16335.56 11.487.94 47.1628.67 25.620.750.930.99794.71794.8547.1328.5825.780.330.4130.2580.790.910.790.940.910.94 -0.169-0.081-0
17347.6 11.627.38 40.2131.33 30.810.820.960.87897896.9740.1631.3430.840.340.4060.2540.840.920.840.860.920.86 -0.124-0.0870
18356.32 13.646.18 46.6727.16 35.80.850.820.9886.6886.5946.727.1735.750.3330.4180.2490.860.830.860.880.830.88 -0.158-0.0960
19368.56 12.785.36 38.2330.72 42.930.930.860.76949.9395038.2830.742.90.3450.4130.2420.90.860.90.790.860.79 -0.16-0.0840
20378.98 12.86.26 39.5232.97 40.680.90.90.781031.621031.6539.5732.9840.60.3440.4090.2460.890.880.890.80.880.8 -0.134-0.081-0
21387.04 14.666.98 50.1830.12 380.840.840.91060.031060.0250.2130.1237.970.3330.4170.250.850.840.850.880.840.88 -0.14-0.0850
22398.5 126.82 42.8835.91 39.050.860.940.811061.761061.7242.8935.9438.990.3430.4060.250.870.910.870.820.910.82 -0.123-0.085-0
23405.2 13.086 58.229.84 38.960.820.80.95926.69926.6158.3229.8238.880.3270.4210.2520.840.820.840.910.820.91 -0.19-0.101-0
24416.9 11.384.3 45.233.25 50.60.930.820.77907.81907.8545.2233.2350.630.3440.4170.240.910.830.910.80.830.8 -0.203-0.1020
25426.42 14.725.14 55.130.26 49.820.90.740.861055.291055.3955.0730.349.760.3350.4230.2420.890.790.890.850.790.85 -0.18-0.104-0
26437.5 14.966.02 53.5633.28 48.450.890.80.851191.171191.2253.5633.348.40.3370.4180.2450.880.820.880.840.820.84 -0.149-0.089-0
27446.78 12.426.82 55.7637.32 41.560.830.890.891125.011124.9955.7437.3241.570.3360.4120.2520.840.880.840.870.880.87 -0.141-0.09-0
28455.06 11.226.26 63.6736.39 39.760.790.870.96979.38979.3563.7336.3339.810.3290.4160.2540.820.860.820.920.860.92 -0.188-0.099-0
29467.88 12.35.76 51.3339.53 50.550.890.880.81181.921181.9551.3739.5550.480.3420.4120.2460.880.870.880.820.870.82 -0.147-0.09-0
30476.16 11.464.94 57.0437.67 51.710.880.830.841038.511038.5457.0537.6951.650.3380.4160.2460.880.840.880.840.840.84 -0.179-0.1090
31486.78 11.347.4 60.1443.42 41.470.80.950.911207.041207.0660.0543.441.580.3370.4080.2550.820.910.820.880.910.88 -0.136-0.0870
AVE:337.14 12.676.12 40.3927.51 34.320.860.860.85835.82835.8440.3927.5134.320.3380.4140.2480.870.860.870.850.860.85-0.157-0.092-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 sigma, nu, alpha, beta and gamma of the CES production function used to generate these data with the Diewert production function.

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cLL-0.1630990.005-32.059
cKK-0.0034920.003-1.361
cMM-0.3000980.003-112.891
2*dLK1.2846350.007185.994
2*dLM1.1185230.004288.707
2*dKM1.017990.004256.818
R2 = 1 R2b = 1 # obs = 31

The Diewert cost function as obtained by direct estimation is:

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

= q^(1/1) * [-0.1631 * wL + -0.00349 * wK + -0.3001 * wM + 1.28463 * (wL*wK)^(1/2) + 1.11852 * (wL*wM)^(1/2) + 1.01799 * (wK*wM)^(1/2)]
        (***)

XII. Its three derived factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/1) * [-0.1631 + 0.6423 * (wK / wL)^(1/2) + 0.5593 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/1) * [-0.0035 + 0.6423 * (wL / wK)^(1/2) + 0.509 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/1) * [-0.3001 + 0.5593 * (wL / wM)^(1/2) + 0.509 * (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/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.

      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.56630.35580.21051
0.2896-0.50210.21251
0.28680.3557-0.64251

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) = 51.01 = 51.01 = 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.099510.033670.04315
0.03367-0.031430.02882
0.043150.02882-0.11277

The principal minors of H are H1 = -0.099508, H2 = 0.001994, 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.1498, e2 = -0.0939, and e3 = 0.
H3 = e1 * e2 * e3 = 0.

XIV. Table of Results: check that the estimated Diewert cost function for a given level of output agrees with the minimized cost using the Diewert production function.

Diewert Cost Function
À2: Estimate the Diewert cost function directly
CES: Returns to Scale = 1, Elasticity of Substitution = 0.85
   —   Diewert Production Data   —     —   Diewert Cost Data   —   Factor Shares   —   Uzawa Elasticities   —   2wwc(w)
obs #qwLwKwM LK MsLKsLMsKMcostest costest Lest Kest MsLsKsMuLKuLMuKLuKMuMLuMKe1e2e3
1186.3 14.844.22 23.1512.34 23.970.940.690.81430.18430.1823.0512.3624.080.3380.4260.2360.90.760.90.840.760.84 -0.223-0.109-0
2198.72 12.984.24 19.1815.54 26.280.980.80.7480.38480.3319.215.4626.460.3490.4180.2340.930.830.930.770.830.77 -0.217-0.081-0
3208.06 11.126.64 21.9518.73 19.530.850.960.82514.92514.9221.9818.7319.50.3440.4050.2510.850.920.850.840.920.84 -0.126-0.09-0
4217.2 11.746.14 24.6318.22 21.220.860.90.84521.5521.4924.6418.2221.20.340.410.250.850.880.850.850.880.85 -0.142-0.0940
5227.58 14.265.68 26.4517.29 25.350.90.810.82591.06591.0626.4417.2925.350.3390.4170.2440.880.830.880.840.830.84 -0.156-0.090
6236.3 12.866.68 30.618.7 21.840.820.860.92579.1579.0830.618.721.830.3330.4150.2520.830.860.830.90.860.9 -0.152-0.0910
7246.26 11.567.64 31.8921.21 19.920.780.940.94597.01597.0331.8621.1919.970.3340.410.2560.80.910.80.920.910.92 -0.147-0.085-0
8256.74 14.75.28 32.0518.4 29.520.90.760.85642.3642.3232.0118.4129.530.3360.4210.2430.880.80.880.850.80.85 -0.174-0.0990
9268 12.945.42 28.9321.63 30.310.910.850.79675.58675.628.9721.6130.310.3430.4140.2430.890.850.890.820.850.82 -0.159-0.088-0
10276.52 11.786 33.3922.61 26.910.850.880.87645.52645.533.3922.6226.890.3370.4130.250.850.870.850.870.870.87 -0.153-0.098-0
11286.98 12.425.26 3322.66 31.540.90.830.82677.77677.7733.0222.6631.540.340.4150.2450.870.840.870.840.840.84 -0.167-0.098-0
12298.52 12.247.34 32.6226.87 27.870.840.950.83811.38811.3632.6526.8727.830.3430.4050.2520.840.920.840.840.920.84 -0.116-0.083-0
13307 136 36.8924.4 31.620.870.850.86765.2765.1936.924.4131.60.3380.4150.2480.860.850.860.860.850.86 -0.15-0.0940
14317.3 11.95.9 35.9226.6 32.430.870.890.83770.07770.0735.9526.632.390.3410.4110.2480.860.870.860.840.870.84 -0.147-0.0940
15328.54 12.57.68 36.629.64 30.080.840.960.85914.09914.0636.6229.6430.050.3420.4050.2520.840.920.840.850.920.85 -0.113-0.081-0
16335.56 11.487.94 47.1628.67 25.620.750.930.99794.71794.7947.1328.6125.740.330.4130.2570.780.910.780.950.910.95 -0.168-0.081-0
17347.6 11.627.38 40.2131.33 30.810.820.960.87897896.9640.231.3330.810.3410.4060.2530.830.920.830.870.920.87 -0.123-0.0870
18356.32 13.646.18 46.6727.16 35.80.850.820.9886.6886.5946.6727.1735.760.3330.4180.2490.850.830.850.890.830.89 -0.158-0.096-0
19368.56 12.785.36 38.2330.72 42.930.930.860.76949.9395038.3130.6742.930.3450.4130.2420.890.860.890.80.860.8 -0.161-0.084-0
20378.98 12.86.26 39.5232.97 40.680.90.90.781031.621031.6939.6232.9540.610.3450.4090.2460.880.880.880.810.880.81 -0.134-0.081-0
21387.04 14.666.98 50.1830.12 380.840.840.91060.031060.0150.1930.1337.970.3330.4170.250.840.840.840.890.840.89 -0.14-0.0850
22398.5 126.82 42.8835.91 39.050.860.940.811061.761061.7742.9435.9138.980.3440.4060.250.850.910.850.830.910.83 -0.123-0.085-0
23405.2 13.086 58.229.84 38.960.820.80.95926.69926.6558.2529.8538.880.3270.4210.2520.830.820.830.920.820.92 -0.189-0.101-0
24416.9 11.384.3 45.233.25 50.60.930.820.77907.81907.8145.2333.1950.690.3440.4160.240.90.830.90.80.830.8 -0.205-0.1020
25426.42 14.725.14 55.130.26 49.820.90.740.861055.291055.3555.0230.349.820.3350.4230.2430.880.790.880.860.790.86 -0.181-0.103-0
26437.5 14.966.02 53.5633.28 48.450.890.80.851191.171191.1853.5433.2948.440.3370.4180.2450.870.820.870.850.820.85 -0.15-0.0890
27446.78 12.426.82 55.7637.32 41.560.830.890.891125.011124.9755.7637.3241.550.3360.4120.2520.830.880.830.880.880.88 -0.141-0.09-0
28455.06 11.226.26 63.6736.39 39.760.790.870.96979.38979.3463.6936.3639.790.3290.4170.2540.810.860.810.930.860.93 -0.187-0.099-0
29467.88 12.35.76 51.3339.53 50.550.890.880.81181.921181.9551.4139.5150.50.3430.4110.2460.870.870.870.820.870.82 -0.148-0.090
30476.16 11.464.94 57.0437.67 51.710.880.830.841038.511038.5157.0537.6851.680.3380.4160.2460.870.840.870.850.840.85 -0.18-0.1090
31486.78 11.347.4 60.1443.42 41.470.80.950.911207.041207.0260.0943.4141.540.3380.4080.2550.810.920.810.890.920.89 -0.135-0.0880
AVE:337.14 12.676.12 40.427.5 34.330.860.860.85835.82835.8240.427.534.330.3380.4140.2480.860.860.860.860.860.86-0.157-0.092-0




À3:   Re-estimate the Diewert Production Function.

XV. Assuming we had 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 that we did not have data on the cost minimizing levels of inputs, we estimated the Diewert cost function directly. With the derived factor demand functions to determine cost minimizing inputs, we can estimate a Diewert production function using the data in the Diewert Cost Function table.

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cLL-0.1484970.001-114.213
cKK-0.1824650.002-85.582
cMM-0.1807110.001-197.607
cLK0.6447410.003218.849
cLM0.3473740.001274.338
cKM0.519680.002253.068
R2 = 1 R2b = 1 # obs = 31

The estimated Diewert production function using the cost data is:

q^1/1 = -0.148497 * L + -0.182465 * K + -0.180711 * M + 0.644741 * L^1/2 * K^1/2 + 0.347374 * L^1/2 * M^1/2 + 0.51968 * K^1/2 * M^1/2     =     f(L,K,M)

The coefficients of this production function are approximately equal to the coefficients of the original Diewert production function.

XVI. Knowing the Diewert production function permits us to investigate further properties of the production / cost technology. For example, we can determine the short-run average and marginal cost functions in relation to the long-run average and marginal cost functions obtained from the Diewert cost function, and the short-run Allen elasticities of substitution.

For example, if we set capital at the least cost level for q = 30, then K = 24.4, and we can solve for the least cost inputs of labour, L, and materials and supplies, M, for various levels of output, q.   (See the Diewert Production Function web page.)

Diewert Short Run Cost Data
CES: Returns to Scale = 1, Elasticity of Substitution = 0.85
wL = 7, wK= 13, wM = 6
qest q LK Mtotal cost ave. costmarg. cost3 factor
sLM
2 factor
sLM
1414 10.7424.4 9.28448.11 32.01 14.03 1.381.15
1616 13.1724.4 11.36477.61 29.85 15.5 1.311.1
1818 15.8424.4 13.65510.06 28.34 16.96 1.231.05
2020 18.7424.4 16.16545.38 27.27 18.41 1.161.01
2222 21.924.4 18.85583.64 26.53 19.85 1.090.98
2424 25.2924.4 21.75624.77 26.03 21.28 1.020.94
2626 28.9224.4 24.85668.83 25.72 22.69 0.960.91
2828 32.7624.4 28.15715.51 25.55 24.11 0.90.88
3030 36.8824.4 31.65765.26 25.51 25.5 0.850.85
3232 41.224.4 35.33817.69 25.55 26.89 0.790.83
3434 45.7724.4 39.21872.86 25.67 28.27 0.740.8
3636 50.5624.4 43.28930.81 25.86 29.65 0.70.78
3838 55.5724.4 47.51991.3 26.09 31.03 0.650.76
4040 60.8224.4 51.971054.79 26.37 32.39 0.610.74
4242 66.2824.4 56.621120.89 26.69 33.73 0.570.72
4444 71.9624.4 61.451189.68 27.04 35.07 0.540.7
4646 77.8724.4 66.471261.15 27.42 36.4 0.50.68
4848 8424.4 71.671335.27 27.82 37.73 0.470.67
5050 90.3424.4 77.061411.99 28.24 39.05 0.440.65
5252 96.924.4 82.621491.3 28.68 40.35 0.410.64

We get a U-shaped, short run average cost curve, with capital fixed.

As seen in the diagram below, the short run average cost curve is (approx.) tangent to the long run average cost curve, at q = 30.

Graph of Average Cost and Marginal Cost
Diewert Cost / Production Functions - Capital Fixed
 
  Average cost function
  Marginal cost function
  L.R. Average cost function

 




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