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

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.1659590.003-48.387
dLK0.6458270.003234.566
dLM0.5570660.003189.024
R2 = 0.9998 R2b = 0.9998 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cKK-0.0079080.002-3.343
dKL0.6540420.003227.452
dKM0.5033590.002211.516
R2 = 0.9998 R2b = 0.9998 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cMM-0.2852210.004-72.6
dML0.5446280.005118.569
dMK0.5091920.004132.307
R2 = 0.9998 R2b = 0.9998 # obs = 31

The three estimated factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/1) * [-0.166 + 0.6458 * (wK / wL)^(1/2) + 0.5571 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/1) * [-0.0079 + 0.654 * (wL / wK)^(1/2) + 0.5034 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/1) * [-0.2852 + 0.5446 * (wL / wM)^(1/2) + 0.5092 * (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.56750.35780.20971
0.2948-0.50490.21011
0.27940.356-0.63551

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.16596 * wL + -0.00791 * wK + -0.28522 * wM + 1.29987 * (wL*wK)^(1/2) + 1.10169 * (wL*wM)^(1/2) + 1.01255 * (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.165490.003465-47.758068
dLK0.6496410.002506259.218223
dLM0.5509670.002229247.201185
cKK-0.0058340.0025-2.334008
dKL0.6496410.002506259.218223
dKM0.5050720.002108239.585845
cMM-0.2860220.002769-103.296117
dML0.5509670.002229247.201185
dMK0.5050720.002108239.585845
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.1655 + 0.6496 * (wK / wL)^(1/2) + 0.551 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/1) * [-0.0058 + 0.6496 * (wL / wK)^(1/2) + 0.5051 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/1) * [-0.286 + 0.551 * (wL / wM)^(1/2) + 0.5051 * (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.56730.35990.20741
0.2928-0.50360.21081
0.28270.3532-0.63591

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.16549 * wL + -0.00583 * wK + -0.28602 * wM + 1.29928 * (wL*wK)^(1/2) + 1.10193 * (wL*wM)^(1/2) + 1.01014 * (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.099670.034050.04251
0.03405-0.031530.02859
0.042510.02859-0.11155

The principal minors of H are H1 = -0.099672, H2 = 0.001983, 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.1485, 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
1188.16 12.447.6 21.0516.46 16.760.830.950.86503.92503.8821.0316.4716.760.3410.4070.2530.840.90.840.850.90.85 -0.116-0.0820
2197.74 11.045.82 20.6517.18 19.910.880.920.8465.38465.3720.6717.1919.850.3440.4080.2480.870.880.870.820.880.82 -0.143-0.094-0
3207.7 11.746.24 22.6417.76 20.420.870.910.82510.22510.222.6517.7720.380.3420.4090.2490.870.880.870.830.880.83 -0.136-0.091-0
4218.48 13.224.06 21.5416.74 29.70.990.770.7524.6524.6121.5616.6829.850.3490.420.2310.940.80.940.760.80.76 -0.228-0.0830
5225.4 11.585.1 29.0616.99 22.960.860.810.89470.8470.829.0717.0122.920.3330.4180.2480.860.820.860.870.820.87 -0.187-0.1140
6236.6 14.564.48 28.8816.35 29.710.940.720.81561.79561.8528.8316.3729.740.3390.4240.2370.910.760.910.830.760.83 -0.204-0.1040
7246.16 14.126 32.6718.04 25.170.850.790.9607.1607.1132.6818.0625.130.3320.420.2480.860.80.860.880.80.88 -0.164-0.098-0
8256.64 13.584.58 30.5518.53 31.170.930.750.81597.27597.3230.5318.5431.180.3390.4220.2390.90.780.90.830.780.83 -0.196-0.103-0
9265.4 14.164.9 36.6917.97 30.010.880.720.9599.64599.7236.691829.930.330.4250.2450.880.760.880.880.760.88 -0.2-0.117-0
10277.48 12.94.46 30.0421.23 34.70.950.790.76653.37653.4230.0521.2234.730.3440.4190.2370.910.810.910.80.810.8 -0.199-0.0940
11287.66 12.95 31.422.66 33.830.920.820.78702.04702.0931.4422.6633.80.3430.4160.2410.90.820.90.810.820.81 -0.173-0.092-0
12295.3 11.185.06 38.1722.64 29.870.850.820.89606.56606.5638.1822.6629.830.3340.4180.2490.860.820.860.870.820.87 -0.189-0.1160
13307 136 36.8924.4 31.620.870.850.86765.2765.236.924.4231.580.3380.4150.2480.870.840.870.850.840.85 -0.149-0.094-0
14316.1 11.447.4 41.3427.14 25.990.780.930.94755.06755.1241.2627.1226.110.3330.4110.2560.810.890.810.910.890.91 -0.151-0.0870
15327.06 12.067.58 40.2128.53 28.180.810.940.9841.65841.6440.1428.5328.250.3370.4090.2540.830.890.830.880.890.88 -0.131-0.084-0
16336.86 14.585.4 41.9424.63 38.490.90.770.85854.6854.6741.9224.6638.440.3370.4210.2430.890.790.890.850.790.85 -0.167-0.0980
17346.28 11.46.94 43.8929.6 30.030.80.920.92821.52821.5243.8329.5930.10.3350.4110.2540.830.880.830.890.880.89 -0.147-0.0910
18356.22 11.125.46 42.6829.17 35.840.860.870.86785.5785.4942.6829.1935.80.3380.4130.2490.860.850.860.850.850.85 -0.163-0.106-0
19366.34 11.886.88 46.7730.72 32.580.810.90.91885.6885.5946.7230.7132.640.3340.4120.2540.830.870.830.890.870.89 -0.147-0.0910
20377.86 12.084.1 38.3330.13 49.610.970.80.72868.7868.838.430.0649.720.3470.4180.2350.930.820.930.770.820.77 -0.219-0.09-0
21385.88 14.125.14 51.5527.24 43.430.880.750.88911.03911.1251.5427.2943.330.3330.4230.2440.880.780.880.870.780.87 -0.184-0.109-0
22395.12 14.987.32 62.3528.43 35.030.780.791.011001.461001.2962.5828.3534.990.320.4240.2560.820.80.820.950.80.95 -0.195-0.083-0
23408.92 12.746.8 43.6336.24 41.570.870.920.81133.61133.5743.6836.2741.450.3440.4080.2490.870.890.870.820.890.82 -0.122-0.081-0
24416.68 14.566.28 54.4331.38 43.170.860.810.891091.541091.5654.4431.443.10.3330.4190.2480.860.810.860.870.810.87 -0.152-0.093-0
25427.66 114.02 42.3935.43 54.990.960.830.71935.47935.6342.5135.3555.020.3480.4160.2360.930.830.930.770.830.77 -0.22-0.094-0
26436.68 12.387.78 56.5837.51 36.920.790.920.931129.571129.6156.4837.4937.050.3340.4110.2550.820.890.820.90.890.9 -0.138-0.0820
27448.36 14.287.62 53.2437.83 43.260.850.90.861314.861314.8153.2237.8543.230.3380.4110.2510.850.870.850.860.870.86 -0.117-0.078-0
28457.58 14.367.12 56.8336.96 45.020.850.860.881282.091282.0656.8236.9844.990.3360.4140.250.850.850.850.870.850.87 -0.13-0.083-0
29466.44 11.667.7 60.4540.85 38.440.780.940.941161.591161.6860.3140.8238.610.3340.410.2560.810.90.810.90.90.9 -0.142-0.084-0
30476.1 11.646.04 60.1938.92 45.540.840.870.891095.221095.1960.1738.9345.530.3350.4140.2510.850.850.850.870.850.87 -0.158-0.10
31488.32 12.366.16 52.7542.4 51.480.880.90.81280.041280.0552.8242.4251.350.3430.410.2470.880.870.880.820.870.82 -0.136-0.086-0
AVE:336.91 12.745.97 40.9627.1 34.690.870.850.85829.58829.640.9627.134.690.3380.4150.2470.870.840.870.850.840.85-0.165-0.094-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.1591920.004-44.728
cKK-0.0088380.003-2.744
cMM-0.2947650.003-88.093
2*dLK1.2923290.006224.664
2*dLM1.0982760.004250.479
2*dKM1.0256920.005192.649
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.15919 * wL + -0.00884 * wK + -0.29477 * wM + 1.29233 * (wL*wK)^(1/2) + 1.09828 * (wL*wM)^(1/2) + 1.02569 * (wK*wM)^(1/2)]
        (***)

XII. Its three derived factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/1) * [-0.1592 + 0.6462 * (wK / wL)^(1/2) + 0.5491 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/1) * [-0.0088 + 0.6462 * (wL / wK)^(1/2) + 0.5128 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/1) * [-0.2948 + 0.5491 * (wL / wM)^(1/2) + 0.5128 * (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.56470.3580.20671
0.2913-0.50540.21411
0.28160.3584-0.63991

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.099210.033870.04237
0.03387-0.031640.02903
0.042370.02903-0.11234

The principal minors of H are H1 = -0.099213, H2 = 0.001992, 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.1486, e2 = -0.0945, 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
1188.16 12.447.6 21.0516.46 16.760.830.950.86503.92503.8821.0316.4816.750.3410.4070.2530.840.90.840.870.90.87 -0.116-0.0830
2197.74 11.045.82 20.6517.18 19.910.880.920.8465.38465.3820.6917.1919.850.3440.4080.2480.870.880.870.830.880.83 -0.143-0.094-0
3207.7 11.746.24 22.6417.76 20.420.870.910.82510.22510.222.6617.7720.370.3420.4090.2490.860.880.860.840.880.84 -0.136-0.092-0
4218.48 13.224.06 21.5416.74 29.70.990.770.7524.6524.5421.5816.6529.910.3490.420.2320.940.80.940.770.80.77 -0.229-0.0830
5225.4 11.585.1 29.0616.99 22.960.860.810.89470.8470.829.061722.950.3330.4180.2490.860.810.860.890.810.89 -0.187-0.1150
6236.6 14.564.48 28.8816.35 29.710.940.720.81561.79561.7728.8216.3529.810.3390.4240.2380.90.760.90.840.760.84 -0.205-0.1040
7246.16 14.126 32.6718.04 25.170.850.790.9607.1607.1132.6718.0525.160.3310.420.2490.860.80.860.890.80.89 -0.164-0.0990
8256.64 13.584.58 30.5518.53 31.170.930.750.81597.27597.2630.5218.5231.240.3390.4210.240.90.780.90.840.780.84 -0.197-0.103-0
9265.4 14.164.9 36.6917.97 30.010.880.720.9599.64599.6836.6717.9929.990.330.4250.2450.870.760.870.890.760.89 -0.2-0.118-0
10277.48 12.94.46 30.0421.23 34.70.950.790.76653.37653.3630.0621.1934.790.3440.4180.2370.910.80.910.810.80.81 -0.2-0.0940
11287.66 12.95 31.422.66 33.830.920.820.78702.04702.0631.4422.6333.840.3430.4160.2410.90.820.90.820.820.82 -0.174-0.092-0
12295.3 11.185.06 38.1722.64 29.870.850.820.89606.56606.5638.1622.6529.860.3330.4180.2490.850.820.850.890.820.89 -0.189-0.117-0
13307 136 36.8924.4 31.620.870.850.86765.2765.236.8924.4131.60.3380.4150.2480.860.830.860.860.830.86 -0.149-0.095-0
14316.1 11.447.4 41.3427.14 25.990.780.930.94755.06755.1141.2527.1426.090.3330.4110.2560.810.890.810.920.890.92 -0.15-0.087-0
15327.06 12.067.58 40.2128.53 28.180.810.940.9841.65841.6340.1428.5528.230.3370.4090.2540.820.890.820.90.890.9 -0.13-0.085-0
16336.86 14.585.4 41.9424.63 38.490.90.770.85854.6854.6241.9124.6338.510.3360.420.2430.880.790.880.860.790.86 -0.168-0.098-0
17346.28 11.46.94 43.8929.6 30.030.80.920.92821.52821.5243.8129.6130.090.3350.4110.2540.820.880.820.90.880.9 -0.147-0.0920
18356.22 11.125.46 42.6829.17 35.840.860.870.86785.5785.4942.6729.1835.810.3380.4130.2490.860.850.860.870.850.87 -0.163-0.106-0
19366.34 11.886.88 46.7730.72 32.580.810.90.91885.6885.646.7130.7332.630.3340.4120.2530.830.870.830.90.870.9 -0.147-0.0910
20377.86 12.084.1 38.3330.13 49.610.970.80.72868.7868.7338.4230.0149.80.3480.4170.2350.920.810.920.780.810.78 -0.22-0.09-0
21385.88 14.125.14 51.5527.24 43.430.880.750.88911.03911.0751.5127.2743.420.3320.4230.2450.870.770.870.880.770.88 -0.185-0.11-0
22395.12 14.987.32 62.3528.43 35.030.780.791.011001.461001.462.528.3735.030.320.4240.2560.810.80.810.960.80.96 -0.194-0.0840
23408.92 12.746.8 43.6336.24 41.570.870.920.81133.61133.643.736.2641.450.3440.4080.2490.870.880.870.830.880.83 -0.122-0.082-0
24416.68 14.566.28 54.4331.38 43.170.860.810.891091.541091.5554.4231.3943.150.3330.4190.2480.860.810.860.890.810.89 -0.152-0.0930
25427.66 114.02 42.3935.43 54.990.960.830.71935.47935.642.5435.355.090.3480.4150.2370.920.830.920.780.830.78 -0.221-0.094-0
26436.68 12.387.78 56.5837.51 36.920.790.920.931129.571129.6156.4637.5137.020.3340.4110.2550.810.880.810.910.880.91 -0.137-0.0830
27448.36 14.287.62 53.2437.83 43.260.850.90.861314.861314.8253.2237.8543.230.3380.4110.2510.850.870.850.870.870.87 -0.117-0.079-0
28457.58 14.367.12 56.8336.96 45.020.850.860.881282.091282.0656.8136.9845.010.3360.4140.250.850.840.850.880.840.88 -0.13-0.084-0
29466.44 11.667.7 60.4540.85 38.440.780.940.941161.591161.6660.2940.8538.570.3340.410.2560.810.90.810.920.90.92 -0.142-0.0850
30476.1 11.646.04 60.1938.92 45.540.840.870.891095.221095.260.1538.9345.540.3350.4140.2510.840.850.840.890.850.89 -0.158-0.101-0
31488.32 12.366.16 52.7542.4 51.480.880.90.81280.041280.0752.8442.451.350.3430.4090.2470.870.870.870.830.870.83 -0.136-0.086-0
AVE:336.91 12.745.97 40.9627.09 34.710.870.850.85829.58829.5940.9627.0934.710.3380.4150.2470.860.840.860.860.840.86-0.165-0.094-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.1483040.001-161.115
cKK-0.1833660.003-62.871
cMM-0.181040.001-180.078
cLK0.6448160.003225.318
cLM0.3469160.001254.127
cKM0.5210710.003185.175
R2 = 1 R2b = 1 # obs = 31

The estimated Diewert production function using the cost data is:

q^1/1 = -0.148304 * L + -0.183366 * K + -0.18104 * M + 0.644816 * L^1/2 * K^1/2 + 0.346916 * L^1/2 * M^1/2 + 0.521071 * 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.29448.16 32.01 14.03 1.381.15
1616 13.1724.4 11.37477.65 29.85 15.5 1.311.1
1818 15.8424.4 13.67510.1 28.34 16.95 1.231.06
2020 18.7424.4 16.17545.41 27.27 18.41 1.161.01
2222 21.8924.4 18.86583.66 26.53 19.85 1.090.98
2424 25.2824.4 21.76624.78 26.03 21.28 1.020.94
2626 28.9224.4 24.86668.83 25.72 22.69 0.960.91
2828 32.7624.4 28.16715.51 25.55 24.11 0.90.88
3030 36.8824.4 31.65765.26 25.51 25.5 0.850.85
3232 41.2124.4 35.34817.69 25.55 26.89 0.790.83
3434 45.7724.4 39.21872.87 25.67 28.28 0.750.8
3636 50.5724.4 43.28930.83 25.86 29.65 0.70.78
3838 55.5824.4 47.51991.32 26.09 31.04 0.660.76
4040 60.8324.4 51.971054.84 26.37 32.4 0.610.74
4242 66.324.4 56.611120.96 26.69 33.75 0.570.72
4444 71.9924.4 61.441189.78 27.04 35.09 0.540.7
4646 77.924.4 66.461261.29 27.42 36.43 0.50.68
4848 84.0424.4 71.661335.44 27.82 37.75 0.470.67
5050 90.3924.4 77.051412.21 28.24 39.07 0.440.65
5252 96.9624.4 82.61491.54 28.68 40.38 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