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.1709460.002-71.975
dLK0.6488040.001509.458
dLM0.5581550.002251.513
R2 = 0.9999 R2b = 0.9999 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cKK-0.0074170.001-7.365
dKL0.652690.002348.454
dKM0.5033020.002294.154
R2 = 1 R2b = 1 # obs = 31

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cMM-0.2882090.003-94.036
dML0.5501560.003167.531
dMK0.5079280.002278.609
R2 = 0.9999 R2b = 0.9999 # obs = 31

The three estimated factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/1) * [-0.1709 + 0.6488 * (wK / wL)^(1/2) + 0.5582 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/1) * [-0.0074 + 0.6527 * (wL / wK)^(1/2) + 0.5033 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/1) * [-0.2882 + 0.5502 * (wL / wM)^(1/2) + 0.5079 * (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.56950.35940.21011
0.2944-0.50460.21021
0.2820.3548-0.63681

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.17095 * wL + -0.00742 * wK + -0.28821 * wM + 1.30149 * (wL*wK)^(1/2) + 1.10831 * (wL*wM)^(1/2) + 1.01123 * (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.1682290.002182-77.087183
dLK0.649520.001229528.399974
dLM0.5541380.001656334.655722
cKK-0.0072080.001119-6.442353
dKL0.649520.001229528.399974
dKM0.506450.001078469.6359
cMM-0.2903710.00191-152.045411
dML0.5541380.001656334.655722
dMK0.506450.001078469.6359
R2 = 1 R2b = 1 # 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.1682 + 0.6495 * (wK / wL)^(1/2) + 0.5541 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/1) * [-0.0072 + 0.6495 * (wL / wK)^(1/2) + 0.5065 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/1) * [-0.2904 + 0.5541 * (wL / wM)^(1/2) + 0.5065 * (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.56840.35980.20861
0.293-0.50440.21151
0.2840.3538-0.63781

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.16823 * wL + -0.00721 * wK + -0.29037 * wM + 1.29904 * (wL*wK)^(1/2) + 1.10828 * (wL*wM)^(1/2) + 1.0129 * (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.099870.034040.04275
0.03404-0.031560.02867
0.042750.02867-0.112

The principal minors of H are H1 = -0.09987, H2 = 0.001993, 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.1491, e2 = -0.0943, 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
1185.28 13.224.4 24.5912.5 21.520.90.720.87389.84389.8624.5812.5221.50.3330.4240.2430.890.760.890.870.760.87 -0.216-0.1250
2197.52 12.585.64 21.8715.85 21.020.890.860.81482.42482.4321.8815.8521.010.3410.4130.2460.880.850.880.830.850.83 -0.152-0.093-0
3206.94 11.764.78 22.7316.3 23.430.910.830.79461.45461.4622.7416.2923.430.3420.4150.2430.90.830.90.820.830.82 -0.181-0.101-0
4218.78 12.666.56 22.8818.86 22.170.880.920.8585.14585.1522.918.8622.140.3440.4080.2480.880.880.880.820.880.82 -0.127-0.083-0
5226.22 115.5 26.7618.47 22.340.860.880.86492.43492.4326.7718.4722.330.3380.4120.2490.860.860.860.860.860.86 -0.163-0.106-0
6235.46 13.024.46 30.7416.31 27.340.90.730.86502.14502.1630.7216.3327.330.3340.4230.2430.890.770.890.860.770.86 -0.21-0.121-0
7247.94 14.726.82 29.5119.55 25.250.870.850.86694.22694.2229.5119.5525.240.3380.4150.2480.870.840.870.850.840.85 -0.131-0.083-0
8257.1 13.245.06 29.6619.54 29.620.910.80.81619.23619.2329.6619.5429.630.340.4180.2420.890.810.890.830.810.83 -0.174-0.097-0
9267.8 12.96.06 30.0221.97 28.030.880.870.82687.46687.4730.0421.9728.010.3410.4120.2470.880.860.880.830.860.83 -0.142-0.0890
10276 11.726.22 35.2122.33 25.60.830.870.91632.12632.1335.222.3125.620.3340.4140.2520.840.860.840.890.860.89 -0.159-0.0980
11287.8 13.027.22 33.7324.43 27.030.840.910.87776.34776.3333.7124.4327.040.3390.410.2510.850.880.850.860.880.86 -0.125-0.084-0
12298.26 11.925.98 31.3825.88 31.250.890.910.79754.52754.5531.4225.8731.20.3440.4090.2470.880.880.880.810.880.81 -0.14-0.088-0
13307 136 36.8924.4 31.620.870.850.86765.2765.236.924.431.610.3380.4150.2480.870.840.870.850.840.85 -0.149-0.094-0
14317.46 11.926.98 36.8827.72 29.250.830.930.86809.68809.6836.8527.7229.270.340.4080.2520.850.890.850.860.890.86 -0.129-0.089-0
15328.9 13.027.5 36.0329.24 31.40.850.940.83936.94936.9236.0329.2531.380.3420.4070.2510.860.90.860.840.90.84 -0.113-0.080
16335.62 12.865.14 44.3524.49 36.010.870.780.89749.25749.2544.3624.535.970.3330.420.2470.870.80.870.870.80.87 -0.186-0.1120
17346.8 12.425.2 40.5927.24 38.290.890.830.83813.45813.4540.627.2438.280.3390.4160.2450.880.830.880.840.830.84 -0.168-0.1-0
18357 13.265.22 42.1527.39 40.540.90.810.82869.84869.8542.1527.3940.550.3390.4170.2430.890.820.890.830.820.83 -0.169-0.098-0
19367.66 13.847.78 45.5130.82 33.610.820.90.891036.571036.5845.4830.8133.660.3360.4110.2530.840.870.840.880.870.88 -0.124-0.08-0
20377.84 11.247.22 42.2734.8 33.980.830.970.85967.98967.9642.2334.82340.3420.4040.2540.840.920.840.850.920.85 -0.121-0.0890
21386.3 12.16.76 49.6531.94 34.980.820.890.91935.74935.7649.6331.9235.040.3340.4130.2530.830.870.830.890.870.89 -0.15-0.092-0
22396.52 12.55.96 49.1731.65 39.890.860.850.87953.99953.9949.1831.6539.880.3360.4150.2490.860.840.860.860.840.86 -0.155-0.0980
23406.08 11.94.94 49.5931.33 44.430.890.810.85893.86893.8649.631.3344.420.3370.4170.2450.880.820.880.850.820.85 -0.181-0.11-0
24415.74 12.464.9 53.3330.79 45.820.880.780.87914.28914.2953.3330.845.80.3350.420.2450.880.80.880.860.80.86 -0.189-0.1130
25426.72 11.666.04 50.9435.72 41.90.850.890.861011.851011.8550.9335.7241.910.3380.4120.250.860.870.860.860.870.86 -0.148-0.0980
26438.26 11.387.74 48.6941.41 38.50.820.990.851171.491171.4648.6141.4438.540.3430.4030.2550.840.930.840.850.930.85 -0.113-0.085-0
27445.88 11.84.2 53.7233.15 53.380.920.770.82931.27931.2653.6933.1553.420.3390.420.2410.90.80.90.830.80.83 -0.213-0.116-0
28456.54 13.95.38 57.6633.89 51.080.890.780.861123.021123.0357.6633.951.060.3360.420.2450.880.80.880.850.80.85 -0.17-0.101-0
29465.02 12.65.38 65.933.76 46.980.840.780.931008.961008.9265.9933.7546.920.3280.4210.250.850.80.850.90.80.9 -0.199-0.112-0
30477.68 12.784.36 51.0837.31 61.470.960.790.741137.141137.151.137.2361.670.3450.4180.2360.920.810.920.790.810.79 -0.205-0.0920
31486.6 14.265.66 62.3836.17 53.40.880.790.871229.721229.7362.3836.1853.370.3350.420.2460.880.80.880.860.80.86 -0.163-0.0980
AVE:336.93 12.65.84 40.5126.94 35.20.870.850.85817.34817.3440.5126.9435.20.3380.4150.2470.870.840.870.850.840.85-0.16-0.098-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.1663860.003-56.431
cKK-0.0071930.001-7.791
cMM-0.2859360.002-117.287
2*dLK1.3002330.003449.616
2*dLM1.1024460.004277.888
2*dKM1.0113720.003400.715
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.16639 * wL + -0.00719 * wK + -0.28594 * wM + 1.30023 * (wL*wK)^(1/2) + 1.10245 * (wL*wM)^(1/2) + 1.01137 * (wK*wM)^(1/2)]
        (***)

XII. Its three derived factor demand functions are:

∂C/∂wL = L(q; wL, wK, wM) = q^(1/1) * [-0.1664 + 0.6501 * (wK / wL)^(1/2) + 0.5512 * (wM / wL)^(1/2)]

∂C/∂wK = K(q; wL, wK, wM) = q^(1/1) * [-0.0072 + 0.6501 * (wL / wK)^(1/2) + 0.5057 * (wM / wK)^(1/2)]

∂C/∂wM = M(q; wL, wK, wM) = q^(1/1) * [-0.2859 + 0.5512 * (wL / wM)^(1/2) + 0.5057 * (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.56760.36020.20751
0.2932-0.50440.21121
0.28250.3532-0.63571

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.099740.034080.04253
0.03408-0.031560.02863
0.042530.02863-0.11164

The principal minors of H are H1 = -0.099735, H2 = 0.001987, 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.0943, 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
1185.28 13.224.4 24.5912.5 21.520.90.720.87389.84389.8624.5812.5221.50.3330.4240.2430.890.760.890.860.760.86 -0.215-0.1250
2197.52 12.585.64 21.8715.85 21.020.890.860.81482.42482.4321.8915.8521.010.3410.4130.2460.880.840.880.830.840.83 -0.152-0.093-0
3206.94 11.764.78 22.7316.3 23.430.910.830.79461.45461.4622.7516.2923.430.3420.4150.2430.90.830.90.820.830.82 -0.18-0.101-0
4218.78 12.666.56 22.8818.86 22.170.880.920.8585.14585.1522.9118.8622.140.3440.4080.2480.880.880.880.820.880.82 -0.127-0.083-0
5226.22 115.5 26.7618.47 22.340.860.880.86492.43492.4326.7618.4622.340.3380.4120.250.860.850.860.850.850.85 -0.162-0.106-0
6235.46 13.024.46 30.7416.31 27.340.90.730.86502.14502.1530.7216.3227.320.3340.4230.2430.890.770.890.860.770.86 -0.209-0.121-0
7247.94 14.726.82 29.5119.55 25.250.870.850.86694.22694.2229.5119.5525.240.3380.4140.2480.870.840.870.850.840.85 -0.131-0.083-0
8257.1 13.245.06 29.6619.54 29.620.910.80.81619.23619.2329.6719.5429.630.340.4180.2420.90.810.90.830.810.83 -0.173-0.0970
9267.8 12.96.06 30.0221.97 28.030.880.870.82687.46687.4630.0421.9728.010.3410.4120.2470.880.850.880.830.850.83 -0.141-0.089-0
10276 11.726.22 35.2122.33 25.60.830.870.91632.12632.1335.1922.3125.640.3340.4140.2520.840.850.840.880.850.88 -0.159-0.098-0
11287.8 13.027.22 33.7324.43 27.030.840.910.87776.34776.3333.7124.4327.050.3390.410.2520.850.880.850.860.880.86 -0.124-0.084-0
12298.26 11.925.98 31.3825.88 31.250.890.910.79754.52754.5431.4225.8731.20.3440.4090.2470.880.880.880.810.880.81 -0.139-0.088-0
13307 136 36.8924.4 31.620.870.850.86765.2765.1936.924.431.610.3380.4150.2480.870.840.870.850.840.85 -0.149-0.0940
14317.46 11.926.98 36.8827.72 29.250.830.930.86809.68809.6836.8527.7229.290.3390.4080.2520.850.890.850.860.890.86 -0.128-0.0890
15328.9 13.027.5 36.0329.24 31.40.850.940.83936.94936.9236.0329.2531.390.3420.4060.2510.860.890.860.840.890.84 -0.113-0.080
16335.62 12.865.14 44.3524.49 36.010.870.780.89749.25749.2444.3624.535.980.3330.420.2470.870.790.870.870.790.87 -0.186-0.1120
17346.8 12.425.2 40.5927.24 38.290.890.830.83813.45813.4540.627.2438.280.3390.4160.2450.880.820.880.830.820.83 -0.168-0.10
18357 13.265.22 42.1527.39 40.540.90.810.82869.84869.8442.1527.3940.540.3390.4170.2430.890.810.890.830.810.83 -0.168-0.098-0
19367.66 13.847.78 45.5130.82 33.610.820.90.891036.571036.5945.4730.833.680.3360.4110.2530.840.870.840.880.870.88 -0.124-0.079-0
20377.84 11.247.22 42.2734.8 33.980.830.970.85967.98967.9742.2234.8234.020.3420.4040.2540.840.910.840.850.910.85 -0.12-0.0890
21386.3 12.16.76 49.6531.94 34.980.820.890.91935.74935.7749.6131.9235.060.3340.4130.2530.840.860.840.890.860.89 -0.15-0.092-0
22396.52 12.55.96 49.1731.65 39.890.860.850.87953.99953.9849.1731.6539.890.3360.4150.2490.860.840.860.860.840.86 -0.154-0.098-0
23406.08 11.94.94 49.5931.33 44.430.890.810.85893.86893.8549.631.3344.420.3370.4170.2450.880.820.880.850.820.85 -0.18-0.11-0
24415.74 12.464.9 53.3330.79 45.820.880.780.87914.28914.2853.3330.845.80.3350.420.2450.880.80.880.860.80.86 -0.188-0.1130
25426.72 11.666.04 50.9435.72 41.90.850.890.861011.851011.8450.9335.7141.920.3380.4120.250.860.860.860.860.860.86 -0.148-0.0980
26438.26 11.387.74 48.6941.41 38.50.820.990.851171.491171.4748.641.4438.560.3430.4030.2550.840.930.840.850.930.85 -0.113-0.085-0
27445.88 11.84.2 53.7233.15 53.380.920.770.82931.27931.2653.733.1553.410.3390.420.2410.90.790.90.830.790.83 -0.212-0.117-0
28456.54 13.95.38 57.6633.89 51.080.890.780.861123.021123.0257.6633.951.060.3360.420.2450.880.80.880.850.80.85 -0.169-0.101-0
29465.02 12.65.38 65.933.76 46.980.840.780.931008.961008.9165.9733.7546.940.3280.4210.250.850.790.850.90.790.9 -0.198-0.112-0
30477.68 12.784.36 51.0837.31 61.470.960.790.741137.141137.1251.1237.2361.640.3450.4180.2360.920.810.920.790.810.79 -0.204-0.0920
31486.6 14.265.66 62.3836.17 53.40.880.790.871229.721229.7262.3836.1853.370.3350.420.2460.880.80.880.860.80.86 -0.163-0.098-0
AVE:336.93 12.65.84 40.5126.94 35.210.870.850.85817.34817.3440.5126.9435.210.3380.4140.2470.870.840.870.850.840.85-0.16-0.098-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.1465320.001-224.239
cKK-0.1805990.001-248.457
cMM-0.179770.001-294.259
cLK0.6416290.001501.104
cLM0.3457480.001401.233
cKM0.5197160.001427.518
R2 = 1 R2b = 1 # obs = 31

The estimated Diewert production function using the cost data is:

q^1/1 = -0.146532 * L + -0.180599 * K + -0.17977 * M + 0.641629 * L^1/2 * K^1/2 + 0.345748 * L^1/2 * M^1/2 + 0.519716 * 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.7224.4 9.29447.98 32 14.04 1.391.15
1616 13.1524.4 11.37477.49 29.84 15.51 1.311.1
1818 15.8224.4 13.67509.97 28.33 16.97 1.231.06
2020 18.7224.4 16.17545.32 27.27 18.42 1.161.02
2222 21.8824.4 18.87583.59 26.53 19.86 1.090.98
2424 25.2724.4 21.77624.74 26.03 21.29 1.030.94
2626 28.9124.4 24.87668.82 25.72 22.7 0.960.91
2828 32.7624.4 28.16715.51 25.55 24.12 0.910.88
3030 36.8724.4 31.66765.27 25.51 25.5 0.850.85
3232 41.224.4 35.34817.69 25.55 26.89 0.80.83
3434 45.7624.4 39.21872.86 25.67 28.27 0.750.8
3636 50.5624.4 43.27930.78 25.85 29.63 0.70.78
3838 55.5724.4 47.5991.21 26.08 31.01 0.660.76
4040 60.8224.4 51.951054.67 26.37 32.36 0.620.74
4242 66.2824.4 56.591120.71 26.68 33.7 0.580.72
4444 71.9624.4 61.411189.43 27.03 35.03 0.540.7
4646 77.8724.4 66.421260.81 27.41 36.36 0.510.69
4848 83.9924.4 71.611334.82 27.81 37.68 0.470.67
5050 90.3324.4 76.981411.4 28.23 38.98 0.440.66
5252 96.8924.4 82.521490.52 28.66 40.28 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