     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: Follow Elmer Wiens on Twitter: Suppose we have a data set relating output quantities, q, to (cost minimizing) factor inputs, L, K, M, and input prices, wL, wK, and wM, and consequently data on the total cost of producing specific levels of outputs.

The three factor Normalized Quadratic (Total) Cost Function is:

C(q;wL,wK,wM) = h(q) * c(wL,wK,wM)         (**)

where the returns to scale function is:

h(q) = q^(1/nu1)

a continuous, increasing function of q (q >= 1), with h(0) = 0 and h(1) = 1,

and the unit cost function is:

 c(wL,wK,wM) = cL * wL + cK * wK + cM * wM + (1/2) * [dLL * (wL*wL) + dLK*(wL*wK) + dLM * (wL*wM)                  + dKL * (wK*wL) + dKK*(wK*wK) + dKM * (wK*wM)              + dML * (wM*wL) + dMK*(wM*wK) + dMM * (wM*wM)] * (wL + wK + wM)^-1

linear in its twelve parameters, cL, cK, cM, dLL, dLK, dLM, dKL, dKK, dKM, dML, dMK, and dMM.  Dividing the non-linear in variables, wL, wK, and wM, portion of the quadratic unit cost function by (wL + wK + wM) ensures that the unit cost function is homogeneous of degree one in prices, since c(t*wL, t*wK, t*wM) = t * c(wL,wK,wM) (Diewert and Wales, (1988), 327-342).  Multiplying the unit cost function by the returns to scale function to obtain the total cost function presumes that the production technology is homothetic.

It is convenient to express the normalized unit cost function in terms of vectors and matrices.

Define the vectors:

c = [cL, cK, cM]T, w = [wL, wK, wM]T, 1 = [1, 1, 1]T, and 0 = [0, 0, 0]T.

Define the matrix D by :

 D = dLL dLK dLM dKL dKK dKM dML dMK dMM

The unit cost function becomes:

c(w) = cT * w + (1/2) * wT * D * w / (1T * w),

a linear function in its parameters, c, and D.

Restrictions:

D = DT, and D * w* = 0,

where the reference vector w* = [wL*, wK*, wM*]T for the base prices, wL*, wK*, and wM*. The symmetry restriction D = DT ensures that dLK = dKL, dLM = dML, and dKM = dMK (Young's Theorem).

Consequently, as specified the Normalized Quadratic cost function apparently has 9 free parameters (actually only six free parameters — see below).

Using conventional matrix calculus (Intriligator, (1971), 497-500), the first and second order partial derivatives (Diewert and Fox, (2009), 158-164) of the unit cost function, c(w), are:

c(w) = c + D * w / ( 1T * w) - (1/2) * wT * D * w * 1 / (1T * w)2, and

2c(w) = D / ( 1T * w) - D * w * 1T / (1T * w)2 - 1 * wT * D / (1T * w)2 + wT * D * w * (1 * 1T) / (1T * w)3.

At the reference vector w*:

c(w*) = c,

2c(w*) = D / ( 1T * w*).

Shephard's lemma provides that the gradient vector of the unit cost function is the vector of unit input demand functions:

c(w) = [l(w), k(w), m(w)]T.

Re-write the factor prices as:

v = [vL, vK, vM] = [wL, wM, wK] / (wL + wM + wK).

The factor demands as functions of q, vL, vK, and vM are:

 L(q; vL, vK, vM) / q^(1/nu1) = l(vL, vK, vM) = cL + dLL * vL + dLK * vK + dLM * vM - (1/2) * [dLL * vL * vL + dLK * vL * vK + dLM * vL * vM           + dKL * vK * vL + dKK * vK * vK + dKM * vK * vM           + dML * vM * vL + dMK * vM * vK + dMM * vM * vM] K(q; vL, vK, vM) / q^(1/nu1) = k(vL, vK, vM) = cK + dKL * vL + dKK * vK + dKM * vM - (1/2) * [dLL * vL * vL + dLK * vL * vK + dLM * vL * vM           + dKL * vK * vL + dKK * vK * vK + dKM * vK * vM           + dML * vM * vL + dMK * vM * vK + dMM * vM * vM] M(q; vL, vK, vM) / q^(1/nu1) = m(vL, vK, vM) = cM + dML * vL + dMK * vK + dMM * vM - (1/2) * [dLL * vL * vL + dLK * vL * vK + dLM * vL * vM           + dKL * vK * vL + dKK * vK * vK + dKM * vK * vM           + dML * vM * vL + dMK * vM * vK + dMM * vM * vM]

À1:   Estimate the factor demand equations using linear least squares.

I. Linear least squares with restrictions on the parameter values.

For the purpose of estimating the factor demand equations, re-write these functions:

 L(q; vL, vK, vM) / q^(1/nu1) = l(vL, vK, vM) = cL + dLL * vL + dLK * vK + dLM * vM + [tdLL * vL * vL + tdLK * vL * vK + tdLM * vL * vM   + tdKL * vK * vL + tdKK * vK * vK + tdKM * vK * vM   + tdML * vM * vL + tdMK * vM * vK + tdMM * vM * vM] K(q; vL, vK, vM) / q^(1/nu1) = k(vL, vK, vM) = cK + dKL * vL + dKK * vK + dKM * vM + [tdLL * vL * vL + tdLK * vL * vK + tdLM * vL * vM   + tdKL * vK * vL + tdKK * vK * vK + tdKM * vK * vM   + tdML * vM * vL + tdMK * vM * vK + tdMM * vM * vM] M(q; vL, vK, vM) / q^(1/nu1) = m(vL, vK, vM) = cM + dML * vL + dMK * vK + dMM * vM + [tdLL * vL * vL + tdLK * vL * vK + tdLM * vL * vM   + tdKL * vK * vL + tdKK * vK * vK + tdKM * vK * vM   + tdML * vM * vL + tdMK * vM * vK + tdMM * vM * vM]

We can express the factor demands as functions of ten explanatory variables with their corresponding parameters:

12345678910
VariableconstantvLvKvMvL*vLvL*vKvL*vMvK*vKvK*vMvM*vM
LcLdLLdLKdLMtdLLtdLKtdLMtdKKtdKMtdMMβL
KcKdLKdKKdKMtdLLtdLKtdLMtdKKtdKMtdMMβK
LcLdLMdKMdMMtdLLtdLKtdLMtdKKtdKMtdMMβM

The construction of the variables along with their restrictions described below ensures the symmetry of the estimated matrix D, i.e. D = DT.

Suppose we have m observations on q, L , K, M, wL, wK, and wM.  Let V be the m x 10 matrix of observations of the explanatory variables constructed from v = [vL,vK,vM]T.  Let L, K, and M be the m-component vectors of observed factor demands.  Then we can estimate the factor demand equations as a group (Johnston, (1972), 238-241) along with the necessary constraints, D = DT, D * w* = 0, and the accounting constraints among the "d__" and "td__" parameters within and between the demand equations.

This group of equations can be represented as:

W*β=F
V*βL=L
V*βK=K
V*βM=M

Subject to the constraints on the thirty parameters, our objective is to find the values for the vector of parameters, β, that minimizes the distance between F and W * β, i.e. the norm || W * β - F ||.

Looking at the construction of the ten variables of the matrix V, one finds that the rank of V is six, i.e. V has six independent column vectors. Therefore, when one estimates the factor demand equations as a group, the 3*m by 30 matrix of observations, W, has 18 independent column vectors out of thirty.

Moreover, the matrix of restrictions, R, on the parameters has 24 rows, i.e. R is a 24 x 30 matrix, with a rank of 24. These restrictions can be expressed as:

R * β = r,

where r is a 24 component vector. The restrictions matrix, R, and restrictions vector, r:

cLdLLdLKdLMtdLLtdLKtdLMtdKKtdKMtdMMcKdLKdKKdKMtdLLtdLKtdLMtdKKtdKMtdMMcMdLMdKMdMMtdLLtdLKtdLMtdKKtdKMtdMMr
1010020000000000000000000000000 0
2001001000000000000000000000000 0
3000100100000000000000000000000 0
4000000000001000100000000000000 0
5000000000000100002000000000000 0
6000000000000010000100000000000 0
7000000000000000000000100001000 0
8000000000000000000000010000010 0
9000000000000000000000001000002 0
1000001000000000-1000000000000000 0
11000010000000000000000000-100000 0
12000001000000000-100000000000000 0
130000010000000000000000000-10000 0
140000001000000000-10000000000000 0
1500000010000000000000000000-1000 0
1600000001000000000-1000000000000 0
17000000010000000000000000000-100 0
18000000001000000000-100000000000 0
190000000010000000000000000000-10 0
200000000001000000000-10000000000 0
2100000000010000000000000000000-1 0
2200.2690.50.23100000000000000000000000000 0
23000000000000.2690.50.2310000000000000000 0
240000000000000000000000.2690.50.231000000 0

II. Objective: Solve the LSE problem:

Among all 30 component β vectors obeying:

R * β = r,

find the β vector that minimizes the norm:

|| W * β - F ||.

By construction the observation matrix W is rank deficient, making it infeasible to use the usual QR algorithm described on the web page, Linear and Restricted Multiple Regression, to solve the LS problem:

find the 30 component β vector that minimizes the norm:

|| W * β - F ||,

subject to the requirement:

R * β = r.

III. To determine the Normalized Quadratic cost function's efficacy in estimating the cost structure of a production technology, we shall use it to approximate cost data generated by a CES Production function. The estimated parameters of the Normalized Quadratic cost function 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
.5 < nu1 < 2;
4 <= wL* <= 11,   7<= wK* <= 16,   4 <= wM* <= 10

CES Production Function Parameters
CES elasticity of scale parameter: nu
elasticity of substitution: sigma
alpha
beta
gamma
Normalized Quadratic elasticity of scale: nu1
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) The factor prices are distributed about the base factor prices, wL*, wK*, wM*, by adding a random number distributed uniformly in the [-2, 2] domain.

IV. For these coefficients of the CES production function, I generated a sequence (displayed in the "Normalized Quadratic Cost Function" table) of factor prices, outputs, and the corresponding cost minimizing inputs. Then I used these data to estimate the coefficients of the factor demand equations as a group.

I used the following method to solve the LSE problem:

Among all 30 component β vectors obeying:

R * β = r,

find the β vector that minimizes the norm:

|| W * β - F ||.

1. Start by obtaining the Householder QR factorization of the transpose matrix, RT, where the RT matrix has 30 rows and 24 columns, with rank 24:

RT = Q * U,

where Q is a 30 by 30 orthogonal matrix, and U is a 30 by 24 matrix.

2. Multiplying the matrix R by Q will produce a 24 by 24 lower triangular matrix, T, and a 24 by 6 zero matrix, 0:

R * Q = [T | 0].

3. Multiplying the matrix W by Q will produce a 3*m by 24 matrix, H1, and a 3*m by 6 matrix, H2:

W * Q = [H1 | H2].

4. Solve by forward substitution for the 24 component vector, Γ1, the lower triangular problem:

T * Γ1 = r.

5. Compute the 30 component vector, f:

f = F - H1 * Γ1.

If the vector r = 0, f = F.

6. Solve for the 6 component vector, Γ2, using Householder QR factorization, the least squares problem:

H2 * Γ2 = f.

7. After creating the 30 component vector, Γ = [Γ1, Γ2]T, obtain the solution vector, β, by:

β = Q * Γ.

Note: The solution vector, β, is unique since the augemented matrix:

 M = | R  || W |

has full rank = 30, (Lawson and Hanson, (1974), 134-143).

V. The method described above obtains the unique solution vector, β.

I obtained the Covariance Matrix of the solution vector, β, as follows:

Form the matrix, tW, as:

tW = H2 * H2+ * W,

where H2+ is the pseudo-inverse matrix of H2.

The solution to the augmented least squares problem:

 | R   || tW | * β = | r  || F |

is also a solution to the original least squares problem:

|| W * β - F ||,

subject to the requirement:

R * β = r,

(Lawson and Hanson, (1974), 143).

I used the Covariance Matrix from the augmented system to obtain the t-statistics that are displayed below in the solution to the LSE problem. The reported "Observation Matrix Rank" is the rank of the augmented matrix of the augmented least squares problem.

LSE Restricted Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
cL1.2346390.0154280.068636
dLL-2.657730.063068-42.140749
dLK0.8890440.03524625.223831
dLM1.1744230.04855724.186249
tdLL1.3288650.03258940.776523
tdLK-0.8890440.036302-24.49015
tdLM-1.1744230.048489-24.220351
tdKK0.4144830.023117.943078
tdKM-0.7588720.038505-19.708349
tdMM1.5071920.0375740.116392
cK0.8072380.01362.097273
dLK0.8890440.03912922.720993
dKK-0.8289650.035721-23.206521
dKM0.7588720.04139218.333991
tdLL1.3288650.03566237.262704
tdLK-0.8890440.037867-23.478284
tdLM-1.1744230.050729-23.151094
tdKK0.4144830.01923721.545915
tdKM-0.7588720.040106-18.921838
tdMM1.5071920.04035537.348623
cM1.0618250.0163564.942045
dLM1.1744230.0481224.4062
dKM0.7588720.03594721.110656
dMM-3.0143840.067514-44.648022
tdLL1.3288650.03591137.004896
tdLK-0.8890440.03929-22.628033
tdLM-1.1744230.048377-24.276446
tdKK0.4144830.02720115.237961
tdKM-0.7588720.037133-20.436499
tdMM1.5071920.03476743.35088
 R2 = 0.9961 R2b = 0.994 # obs = 84 Observation Matrix Rank: 30

Check that the parameter estimates satisfy the restrictions matrix, R.

If the t-ratio = the parameter coefficient / std error seems large in absolute value
with nu = 1 & nu1 = 1 try setting nu = 1.3 & nu1 = 0.5.

VI. As estimated, the parameters of the Normalized Quadratic cost function are:

c = [cL, cK, cM]T = [1.234639, 0.807238, 1.061825], and

 D = dLL dLK dLM dKL dKK dKM dML dMK dMM
=
 -2.65773 0.889044 1.17442 0.889044 -0.828965 0.758872 1.17442 0.758872 -3.01438

The Normalized Quadratic cost function is:

C(q;vL,vK,vM) / q^(1/1) = c(vL,vK,vM) = 1.234639 * vL + 0.807238 * vK + 1.061825 * vM + (1/2) *
 [-2.65773 * (vL*vL) + 0.889044 * (vL*vK) + 1.174423 * (vL*vM) + 0.889044 * (vK*vL) + -0.828965 * (vK*vK) + 0.758872 * (vK*vM) + 1.174423 * (vM*vL) + 0.758872 * (vM*vK) + -3.014384 * (vM*vM)]

The factor demand functions are:

L(q;vL,vK,vM) / q^(1/1) = l(vL,vK,vM) = 1.234639 + -2.65773 * vL + 0.889044 * vK + 1.174423 * vM - (1/2) *
 [-2.65773 * (vL*vL) + 0.889044 * (vL*vK) + 1.174423 * (vL*vM) + 0.889044 * (vK*vL) + -0.828965 * (vK*vK) + 0.758872 * (vK*vM) + 1.174423 * (vM*vL) + 0.758872 * (vM*vK) + -3.014384 * (vM*vM)]

K(q;vL,vK,vM) / q^(1/1) = k(vL,vK,vM) = 0.807238 + 0.889044 * vL + -0.828965 * vK + 0.758872 * vM - (1/2) *
 [-2.65773 * (vL*vL) + 0.889044 * (vL*vK) + 1.174423 * (vL*vM) + 0.889044 * (vK*vL) + -0.828965 * (vK*vK) + 0.758872 * (vK*vM) + 1.174423 * (vM*vL) + 0.758872 * (vM*vK) + -3.014384 * (vM*vM)]

M(q;vL,vK,vM) / q^(1/1) = m(vL,vK,vM) = 1.061825 + 1.174423 * vL + 0.758872 * vK + -3.014384 * vM - (1/2) *
 [-2.65773 * (vL*vL) + 0.889044 * (vL*vK) + 1.174423 * (vL*vM) + 0.889044 * (vK*vL) + -0.828965 * (vK*vK) + 0.758872 * (vK*vM) + 1.174423 * (vM*vL) + 0.758872 * (vM*vK) + -3.014384 * (vM*vM)]

The Uzawa Partial Elasticities of Substitution in terms of the w factor price vector:

 uLK = C(q;wL,wK,wM) * ∂L(q;wL,wK,wM)/∂wK / (L(q;wL,wK,wM) * K(q;wL,wK,wM)), uLM = C(q;wL,wK,wM) * ∂L(q;wL,wK,wM)/∂wM / (L(q;wL,wK,wM) * M(q;wL,wK,wM)), uKL = C(q;wL,wK,wM) * ∂K(q;wL,wK,wM)/∂wL / (K(q;wL,wK,wM) * L(q;wL,wK,wM)), uKM = C(q;wL,wK,wM) * ∂K(q;wL,wK,wM)/∂wM / (K(q;wL,wK,wM) * M(q;wL,wK,wM)), uML = C(q;wL,wK,wM) * ∂M(q;wL,wK,wM)/∂wL / (M(q;wL,wK,wM) * L(q;wL,wK,wM)), uMK = C(q;wL,wK,wM) * ∂M(q;wL,wK,wM)/∂wK / (M(q;wL,wK,wM) * M(q;wL,wK,wM)),

VII. Table of Results: check that the costs, factor inputs, and Uzawa elasticities from the estimated Normalized Quadratic cost function at given levels of output agree with those obtained from the CES cost function.

CES Production Function:  Returns to Scale = 1, Elasticity of Substitution = 0.85
Normalized Quadratic:  Returns to Scale = 1;   Base Prices: wL* = 7, wK* = 13, wM* = 6
—   —   CES Cost Data   —   —     —   Normalized Quadratic Cost Data   —
Factor PricesFactor InputsFactor SharesUzawa Elasticities  Factor InputsFactor SharesUzawa Elasticities
obs #qwLwKwM LKMsLsKsM uLKuLMuKLuKMuMLuMKcostest costest Lest Kest MsLsKsMuLKuLMuKLuKMuMLuMK
1178.08 12.345.96 18.9114.78 18.40.3430.410.2470.850.850.850.850.850.85444.89444.9718.7914.7318.680.3410.4090.250.991.030.990.691.030.69
2188.92 11.787.64 19.6617.38 16.850.3450.4020.2530.850.850.850.850.850.85508.85509.4119.7317.2617.030.3450.3990.2550.831.380.830.81.380.8
3195.92 14.624.76 25.5313.26 23.080.3320.4260.2420.850.850.850.850.850.85454.85454.2925.7913.0923.140.3360.4210.2430.890.510.890.810.510.81
4208.74 14.785.94 22.6716.25 23.650.3420.4150.2430.850.850.850.850.850.85578.75578.6822.6416.2323.730.3420.4140.2441.060.841.060.640.840.64
5217.96 14.685.82 24.9216.59 24.430.340.4170.2430.850.850.850.850.850.85584.06583.9525.0316.4924.510.3410.4150.24410.7810.720.780.72
6226.26 11.587.3 28.8619.16 19.020.3340.410.2560.850.850.850.850.850.85541.42541.2229.3119.2818.430.3390.4120.2490.611.140.611.221.141.22
7235.18 14.666.38 35.4916.42 22.340.3240.4250.2510.850.850.850.850.850.85567.1567.3934.6216.4922.940.3160.4260.2580.620.610.621.20.611.2
8247.84 13.024.18 25.7318.72 32.990.3460.4180.2360.850.850.850.850.850.85583.38583.6625.7619.05320.3460.4250.2291.210.721.210.460.720.46
9255.6 14.75.78 36.1717.84 26.450.3280.4250.2480.850.850.850.850.850.85617.62617.2735.8517.6927.060.3250.4210.2530.740.580.741.040.581.04
10266.94 11.624.94 29.6521.43 29.740.3420.4140.2440.850.850.850.850.850.85601.7601.6829.621.3629.960.3410.4130.2461.020.891.020.680.890.68
11277.16 12.164.98 30.821.99 31.50.3420.4150.2430.850.850.850.850.850.85644.82644.7630.7721.9431.660.3420.4140.2451.040.851.040.660.850.66
12287.06 12.225.66 33.1223.27 30.020.340.4130.2470.850.850.850.850.850.85688.11688.2133.1823.1130.310.340.410.2490.930.920.930.790.920.79
13298.66 13.15.02 30.5924.1 36.530.3470.4130.240.850.850.850.850.850.85764.09763.7930.1624.3936.470.3420.4180.241.180.881.180.490.880.49
14307 136 36.8924.42 31.590.3370.4150.2480.850.850.850.850.850.85765.17765.2337.0424.2231.850.3390.4110.250.880.880.880.870.880.87
15318.98 14.35.68 33.925.57 37.590.3450.4140.2420.850.850.850.850.850.85883.51883.3433.6525.6737.670.3420.4160.2421.110.871.110.570.870.57
16326.24 12.085.12 39.5725.28 35.170.3370.4170.2460.850.850.850.850.850.85732.31732.1939.7525.0535.440.3390.4130.2480.910.80.910.830.80.83
17336.88 12.687 41.9727.96 31.070.3350.4120.2530.850.850.850.850.850.85860.8860.9942.3327.8730.910.3380.410.2510.731.020.731.051.021.05
18348.14 11.627.86 39.1432.39 30.290.3410.4030.2550.850.850.850.850.850.85933.05933.8139.8132.2229.940.3470.4010.2520.731.370.730.951.370.95
19357.32 14.585.78 43.3727.04 39.820.3370.4190.2440.850.850.850.850.850.85941.93941.6143.6426.840.050.3390.4150.2460.940.740.940.80.740.8
20368.1 13.25.28 39.9329.53 43.160.3440.4140.2420.850.850.850.850.850.85941.19941.0539.7529.5943.290.3420.4150.2431.090.861.090.60.860.6
21376.78 14.66.58 49.2228.72 37.930.3330.4180.2490.850.850.850.850.850.851002.631002.4649.3128.538.30.3330.4150.2510.780.770.7810.771
22386.96 12.387.3 48.0532.99 34.660.3360.410.2540.850.850.850.850.850.85995.86996.0548.6432.9434.20.340.4090.2510.71.10.71.091.11.09
23395.44 13.326.86 57.4330.05 35.430.3270.4190.2540.850.850.850.850.850.85955.73955.9356.830.3335.410.3230.4230.2540.590.80.591.280.81.28
24407.42 12.026.96 47.835.53 37.910.3390.4080.2520.850.850.850.850.850.851045.61046.1948.2335.3437.860.3420.4060.2520.781.140.780.951.140.95
25418.3 12.144.18 41.5433.68 55.910.3490.4140.2370.850.850.850.850.850.85987.38987.0540.7234.5954.810.3420.4250.2321.280.841.280.390.840.39
26426.52 12.264.34 49.2232.24 52.260.340.4190.2410.850.850.850.850.850.85942.93942.7649.6332.1551.840.3430.4180.2391.060.71.060.650.70.65
27437.36 12.37.54 52.9338.32 38.960.3370.4080.2540.850.850.850.850.850.851154.711155.0953.738.2338.40.3420.4070.2510.711.180.711.051.181.05
28448.82 12.344.66 44.3237.32 57.260.350.4120.2390.850.850.850.850.850.851118.211117.1843.138.1757.090.340.4220.2381.250.921.250.40.920.4
AVE:30.57.31 135.91 36.6925.1 33.320.3390.4140.2470.850.850.850.850.850.85780.02780.0136.6925.133.320.3390.4140.2470.920.90.920.810.90.81

VIII. The Normalized Quadratic cost function as a flexible functional form.

Diewert (1976) defines a flexible function form as follows. Write c(w) as the unit Normalized Quadratic cost function, and c*(w) as the unit CES cost function. Then the unit Normalized Quadratic cost function, c(w), is a flexible functional form if it has enough free parameters to satisfy:

c(w) = c*(w),

c(w) = c*(w), and

2c(w) = 2c*(w),

at any factor price vector w = [wL, wK, wM]T in the domain of definition of c(w).

Since both c(w) and c*(w) are linear homogeneous functions (Diewert and Fox, (2009), 155), the 6 free parameters of c(w) classify the Normalized Quadratic cost function as a "parsimonious flexible functional form" within the present context.

However, when we estimate the unit Normalized Quadratic cost function, c(w), we choose these free parameters to minimize the distance between c(w) and c*(w) at the set of data points {q, wL, wK, wM, c*(w)}, subject to the augmented restrictions matrix, [R | r].

Consequently, 2c*(w) and 2c(w) can differ, as seen by comparing the Uzawa elasticities in the table above, and the second order partial derivatives of c*(w) and c(w) in the table below.

IX. Table of Results: check that second order partial derivatives of the estimated Normalized Quadratic cost function for a given level of output agree with the second order partial derivatives of the CES cost function. If all of the eigenvalues of 2c*(w) and 2c(w) are nonpositive, the cost functions c*(w*) and c(w*) are concave in factor prices.

(Write:   ∂(∂c(wL,wK,wM)/∂wL)/∂wL = cLL,   ∂(∂c(wL,wK,wM)/∂wL)/∂wK = cLK,   etc.)

CES Production Function:  Returns to Scale = 1, Elasticity of Substitution = 0.85
Normalized Quadratic:  Returns to Scale = 1;   Base Prices: wL* = 7, wK* = 13, wM* = 6
—     —   CES Cost Data   —     —     —     —   Normalized Quadratic Cost Data   —     —
Factor Prices2c*(w)Eigenvalues 2c(w)Eigenvalues
obs #qwLwKwM cLLcLKcLMcKKcKMcMMe1e2e3 cLLcLKcLMcKKcKMcMMe1e2e3
1178.0812.345.96 -0.0770.0310.039-0.0350.031-0.116-0.141-0.087-0 -0.0910.0360.048-0.0360.025-0.117-0.154-0.090
2188.9211.787.64 -0.0680.0320.031-0.0420.027-0.078-0.104-0.084-0 -0.0840.0310.05-0.040.026-0.098-0.142-0.08-0
3195.9214.624.76 -0.1290.0330.058-0.0230.03-0.165-0.207-0.109-0 -0.1150.0350.035-0.0230.028-0.132-0.159-0.11-0
4208.7414.785.94 -0.0720.0270.039-0.0270.028-0.128-0.15-0.078-0 -0.0830.0340.039-0.0280.021-0.111-0.139-0.084-0
5217.9614.685.82 -0.0840.0290.042-0.0270.028-0.129-0.155-0.0840 -0.090.0340.039-0.0280.024-0.113-0.143-0.0890
6226.2611.587.3 -0.1190.0390.039-0.0380.026-0.075-0.147-0.085-0 -0.1130.0290.052-0.0380.036-0.102-0.16-0.094-0
7235.1814.666.38 -0.1710.0380.052-0.0240.024-0.097-0.201-0.0910 -0.1220.0270.037-0.0250.035-0.11-0.153-0.1030
8247.8413.024.18 -0.0760.0290.052-0.030.037-0.213-0.234-0.085-0 -0.0930.0420.043-0.0320.02-0.142-0.167-0.101-0
9255.614.75.78 -0.1480.0360.053-0.0240.026-0.117-0.188-0.1-0 -0.1170.030.037-0.0240.032-0.117-0.154-0.105-0
10266.9411.624.94 -0.0920.0350.048-0.0350.035-0.149-0.177-0.099-0 -0.1050.0410.05-0.0370.028-0.136-0.173-0.104-0
11277.1612.164.98 -0.0890.0330.047-0.0330.034-0.151-0.178-0.095-0 -0.1020.040.048-0.0350.026-0.133-0.168-0.102-0
12287.0612.225.66 -0.0940.0340.044-0.0340.031-0.121-0.154-0.0950 -0.1030.0370.048-0.0350.029-0.123-0.162-0.0980
13298.6613.15.02 -0.0680.0280.043-0.0320.034-0.162-0.182-0.0790 -0.0850.0390.044-0.0330.02-0.127-0.155-0.091-0
14307136 -0.0990.0330.043-0.0310.029-0.112-0.149-0.093-0 -0.1020.0340.045-0.0320.029-0.116-0.155-0.095-0
15318.9814.35.68 -0.0680.0270.04-0.0290.03-0.138-0.158-0.076-0 -0.0810.0350.04-0.030.02-0.115-0.142-0.0840
16326.2412.085.12 -0.1120.0360.05-0.0320.032-0.138-0.177-0.105-0 -0.1140.0390.048-0.0330.031-0.133-0.172-0.108-0
17336.8812.687 -0.1040.0350.039-0.0330.026-0.085-0.137-0.0870 -0.1040.030.047-0.0340.032-0.104-0.151-0.091-0
18348.1411.627.86 -0.0790.0340.032-0.0420.026-0.072-0.109-0.084-0 -0.0920.0290.051-0.040.029-0.096-0.145-0.0830
19357.3214.585.78 -0.0950.030.045-0.0260.028-0.126-0.158-0.090 -0.0970.0330.039-0.0270.026-0.115-0.146-0.093-0
20368.113.25.28 -0.0760.030.043-0.0310.032-0.146-0.169-0.085-0 -0.090.0380.044-0.0320.023-0.124-0.154-0.0920
21376.7814.66.58 -0.1110.0320.043-0.0260.025-0.099-0.149-0.088-0 -0.1020.030.039-0.0270.029-0.106-0.143-0.0910
22386.9612.387.3 -0.1030.0360.037-0.0350.026-0.079-0.132-0.084-0 -0.1030.0290.048-0.0360.032-0.101-0.151-0.089-0
23395.4413.326.86 -0.1550.0390.046-0.0290.024-0.084-0.182-0.085-0 -0.1210.0270.043-0.030.037-0.106-0.157-0.099-0
24407.4212.026.96 -0.090.0350.037-0.0370.027-0.087-0.126-0.088-0 -0.0980.0320.05-0.0370.03-0.105-0.152-0.089-0
25418.312.144.18 -0.0680.0290.049-0.0340.04-0.212-0.231-0.082-0 -0.0880.0440.046-0.0370.018-0.145-0.171-0.099-0
26426.5212.264.34 -0.1010.0340.055-0.0310.036-0.185-0.214-0.1030 -0.110.0430.046-0.0320.027-0.145-0.177-0.111-0
27437.3612.37.54 -0.0940.0350.035-0.0360.026-0.076-0.124-0.083-0 -0.0990.0290.049-0.0370.031-0.098-0.147-0.086-0
28448.8212.344.66 -0.0630.0290.044-0.0340.037-0.181-0.2-0.079-0 -0.0830.0420.046-0.0370.018-0.135-0.162-0.093-0
AVE:30.57.31 135.91 -0.0970.0330.044-0.0320.03-0.126-0.165-0.089-0 -0.10.0350.045-0.0330.027-0.118-0.155-0.095-0

X. The Factor Demand Price Elasticities of the Normalized Quadratic cost function

The estimated factor demand elasticities are obtained by:

 εL,wL = ∂ln(l(wL,wK,wM))/∂ln(wL) = wL * cLL / l(wL,wK,wM), εL,wK = ∂ln(l(wL,wK,wM))/∂ln(wK) = wK * cLK / l(wL,wK,wM), εL,wM = ∂ln(l(wL,wK,wM))/∂ln(wM) = wM * cLM / l(wL,wK,wM), εK,wL = ∂ln(k(wL,wK,wM))/∂ln(wL) = wL * cKL / k(wL,wK,wM), etc.

XI. Table of Results: check that factor demand price elasticities of the estimated Normalized Quadratic cost function for a given level of output and factor prices agree with the factor demand price elasticities of the CES cost function.

CES Production Function:  Returns to Scale = 1, Elasticity of Substitution = 0.85
Normalized Quadratic:  Returns to Scale = 1;   Base Prices: wL* = 7, wK* = 13, wM* = 6
—     —   CES Cost Data   —     —       —     —   Normalized Quadratic Cost Data   —     —
Factor PricesFactor Demand Price ElasticitiesFactor Demand Price Elasticities
obs #qwLwKwM εL,wLεL,wKεL,wMεK,wKεK,wMεM,wM εL,wLεL,wKεL,wMεK,wKεK,wMεM,wM
1178.0812.345.96 -0.5580.3480.21-0.5020.21-0.64 -0.6650.4060.259-0.4010.135-0.631
2188.9211.787.64 -0.5570.3420.215-0.5080.215-0.635 -0.6840.3320.351-0.4290.178-0.684
3195.9214.624.76 -0.5680.3620.205-0.4880.205-0.645 -0.50.3760.124-0.2520.1-0.461
4208.7414.785.94 -0.5590.3530.206-0.4970.206-0.644 -0.6430.4380.205-0.3710.112-0.581
5217.9614.685.82 -0.5610.3540.207-0.4960.207-0.643 -0.6040.4130.191-0.340.116-0.553
6226.2611.587.3 -0.5660.3480.218-0.5020.218-0.632 -0.5330.250.284-0.3340.199-0.559
7235.1814.666.38 -0.5740.3610.214-0.4890.214-0.636 -0.420.2630.157-0.2410.148-0.466
8247.8413.024.18 -0.5560.3550.201-0.4950.201-0.649 -0.6810.5160.166-0.3880.078-0.553
9255.614.75.78 -0.5710.3610.21-0.4890.21-0.64 -0.4580.310.148-0.2480.129-0.472
10266.9411.624.94 -0.5590.3520.208-0.4980.208-0.642 -0.640.4220.218-0.3730.121-0.59
11277.1612.164.98 -0.5590.3530.207-0.4970.207-0.643 -0.6380.430.208-0.3690.116-0.582
12287.0612.225.66 -0.5610.3510.21-0.4990.21-0.64 -0.6110.3810.231-0.3580.138-0.585
13298.6613.15.02 -0.5550.3510.204-0.4990.204-0.646 -0.7050.4940.212-0.4220.095-0.614
14307136 -0.5630.3530.211-0.4970.211-0.639 -0.580.360.22-0.3360.142-0.563
15318.9814.35.68 -0.5570.3520.205-0.4980.205-0.645 -0.6740.4630.211-0.3960.106-0.6
16326.2412.085.12 -0.5630.3540.209-0.4960.209-0.641 -0.5730.3760.197-0.3240.13-0.546
17336.8812.687 -0.5650.350.215-0.50.215-0.635 -0.5560.2990.257-0.3360.174-0.568
18348.1411.627.86 -0.560.3430.217-0.5070.217-0.633 -0.6370.2920.345-0.3990.194-0.645
19357.3214.585.78 -0.5640.3560.208-0.4940.208-0.642 -0.5690.3880.181-0.3150.12-0.532
20368.113.25.28 -0.5580.3520.206-0.4980.206-0.644 -0.6610.4520.209-0.3860.109-0.593
21376.7814.66.58 -0.5670.3560.212-0.4940.212-0.638 -0.5190.3240.195-0.2960.145-0.523
22386.9612.387.3 -0.5650.3490.216-0.5010.216-0.634 -0.5610.2850.276-0.3440.184-0.576
23395.4413.326.86 -0.5720.3560.216-0.4940.216-0.634 -0.4520.2490.203-0.2750.173-0.498
24407.4212.026.96 -0.5620.3470.215-0.5030.215-0.635 -0.6060.3180.288-0.3710.174-0.609
25418.312.144.18 -0.5530.3520.201-0.4980.201-0.649 -0.7380.5430.195-0.4480.076-0.609
26426.5212.264.34 -0.5610.3560.204-0.4940.204-0.646 -0.6090.4410.168-0.3350.1-0.534
27437.3612.37.54 -0.5630.3470.216-0.5030.216-0.634 -0.5820.2870.295-0.3590.188-0.594
28448.8212.344.66 -0.5530.350.203-0.50.203-0.647 -0.7490.5290.22-0.4630.085-0.642
AVE:30.57.31 135.91 -0.5620.3520.21-0.4980.21-0.64 -0.6020.380.222-0.3540.135-0.57

XII. Curvature of the Normalized Quadratic cost function.

Approximating a CES cost function with a Normalized Quadratic cost function provides a "best of all possible worlds" test for the effectiveness of the Normalized Quadratic cost function. Diewert and Wales (1987) prove that a necessary and sufficient condition for the estimated cost function, c(w), to be concave in factor prices is that the estimated matrix:

 D = dLL dLK dLM dKL dKK dKM dML dMK dMM
=
 -2.65773 0.889044 1.17442 0.889044 -0.828965 0.758872 1.17442 0.758872 -3.01438

be a symmetric, negative semidefinite matrix.

The eigenvalues of the matrix D are:

e1 = -4.024, e2 = -2.477, e3 = 0.

The matrix D is negative semidefinite, since its three eigenvalues are nonpositive.

Furthermore, at the (constant) reference vector, v*, of base prices:

v* = w* / (wL* + wK* + wM*) = [vL*, vK*, vM*]T = [0.2692, 0.5, 0.2308]T = [7, 13, 6]T / 26, and

D * v* = 0,

making v* the eigenvector corresponding to the zero eigenvalue of the D matrix.

If D is a symmetric, negative semidefinite matrix, then -D is a symmetric, positive semidefinite matrix that can be decomposed into the product of a lower triangular matrix L and its transpose LT:

-D = L * LT, where

 L = bLL 0 0 bKL bKK 0 bML bMK bMM
 LT = bLL bKL bML 0 bKK bMK 0 0 bMM

Applying the reference vector, v*, to LT, we get the equations:

 bLL * vL* + bKL * vK* + bML * vM* = 0, bKK * vK* + bMK * vM* = 0, bMM * vM* = 0. bMM = 0, bMK = - bKK * vK* / vM*, bML = -(bLL * vL* + bKL * vK*) / vM*.

Consequently, the matrices L, LT, -D, and D can be expressed in terms of three parameters, bLL, bKL, and bKK.

 -D = B = bLL^2 bLL*bKL bLL*(-bLL*vL* - bKL*vK*)/vM* bLL*bKL bKL^2 + bKK^2 bKL*(-bLL*vL*-bKL*vK*)/vM* - bKK^2 * vK*/vM* bLL*(-bLL*vL* - bKL*vK*)/vM* bKL*(-bLL*vL* - bKL*vK*)/vM* - bKK^2 * vK*/vM* (bLL*vL* + bKL*vK*)^2 /vM*^2 + bKK^2 * vK*^2 /vM*^2
=
 bLL 0 0 bKL bKK 0 -(bLL*vL*+bKL*vK*)/vM* -bKK*vK*/vM* 0
*
 bLL bKL -(bLL*vL*+bKL*vK*)/vM* 0 bKK -bKK*vK*/vM* 0 0 0

The -B matrix is a reparameterization of the of the D matrix. By construction -B contains all the restrictions inherent in the restrictions matrix and vector, R, r, of the original parameters, and by construction the -B matrix is a symmetric, negative semidefinite matrix.

The reparameterized unit normalized quadratic cost function can be written as:

ç(w) = bT * w + (1/2) * wT * (-B) * w / (1T * w),

a nonlinear function in its parameters, b = [bL, bK, bM]T, and (-B), i.e. parameters bL, bK, bM, bLL, bKL, and bKK.

If c*(w) represents the unit cost function that we want to approximate at the set of data points {q, wL, wK, wM, c*(w)}, our objective is to use a nonlinear regression algorithm to obtain values for these six free parameters that minimize the distance between ç(w) and c*(w) at the set of data points.

Of course, if the symmetric matrix D as estimated is already a negative semidefinite matrix, the reparameterization of the unit cost function, c(w), and the reestimation of ç(w) with a nonlinear regression algorithm are unnecessary.

Equating the parameters of the normalized quadratic cost function as estimated, c(w), and its reparameterization, ç(w), we determine:

bL = cL, bK = cK, bM = cM, and

 bLL^2 = -dLL, bLL*bKL = - dKL, and bKL^2 + bKK^2 = -dKK. bLL = (-dLL)^1/2, bKL = - dKL / bLL, and bKK = (-dKK - bKL^2)^1/2.

If restricted to using real numbers, we can always transform the estimated b and -B parameters into c and D parameters, and the estimated c and D parameters into b and -B parameters if the matrix D is negative semidefinite. If the matrix D is not negative semidefinite, the transformation from the estimated c and D parameters into b and -B parameters will require the use of complex numbers.

Transforming the estimated c and D parameters into b and B parameters, we obtain:

bL = 1.234639, bK = 0.807238, bM = 1.061825, and

 bLL = (-dLL)^1/2 = 1.6302547 + 0*i, bKL = - dKL / bLL = -0.5453408 + 0*i, and bKK = (-dKK - bKL^2)^1/2 = (0.5315685 + 0*i)^1/2 = 0.7290874 + 0*i.

À2:   Estimate the factor demand equations using nonlinear least squares.

XIII. Nonlinear Estimation of the Normalized Quadratic cost function.

The reparameterized unit normalized quadratic cost function::

ç(w) = bT * w + (1/2) * wT * (-B) * w / (1T * w),

is a nonlinear function in its parameters, b = [bL, bK, bM]T, and (-B), i.e. in its free parameters bL, bK, bM, bLL, bKL, and bKK.

We will approximate the CES unit cost function, c*(w), at the set of data points {q, wL, wK, wM, c*(w)}, with the normalized quadratic cost function, ç(w), by using a nonlinear regression algorithm to obtain values for the b,and (-B) parameters that minimize the distance between ç(w) and c*(w) at the set of data points. Having obtained estimates of the six free parameters, bL, bK, bM, bLL, bKL, and bKK, we will transform them into estimates of the c, and D parameters using c = b, and D = (-B).

Shephard's lemma provides that the gradient vector of the unit cost function is the vector of unit input demand functions:

ç(w) = [l(w), k(w), m(w)]T =b + (-B) * w / ( 1T * w) - (1/2) * wT * (-B) * w * 1 / (1T * w)2.

The reparameterized factor demands as functions of q, vL, vK, and vM are:

 L(q; vL, vK, vM) / q^(1/nu1) = l(vL, vK, vM) = bL + (-bLL^2 * vL - bLL*bKL * vK - (bLL*(-bLL*vL*-bKL*vK*)/vM*) * vM - (1/2) * vT * (-B) * v K(q; vL, vK, vM) / q^(1/nu1) = k(vL, vK, vM) = bK + (-bLL*bKL * vL + (-bKL^2-bKK^2) * vK           + ((-bKL*(-bLL*vL*-bKL*vK*)/vM*)+bKK^2*vK*/vM*)* vM - (1/2) * vT * (-B) * v M(q; vL, vK, vM) / q^(1/nu1) = m(vL, vK, vM) = bM + ((-bLL*(-bLL*vL*-bKL*vK*)/vM*) * vL       + ((-bKL*(-bLL*vL*-bKL*vK*)/vM*)+(bKK^2*vK*)/vM*) * vK           + (-(-bLL*vL*-bKL*vK*)^2/vM*^2-bKK^2*vK*^2/vM*^2) * vM) - (1/2) * vT * (-B) * v

where the (constant) reference vector, v*, of base prices is:

v* = w* / (wL* + wK* + wM*) = [vL*, vK*, vM*]T = [0.2692, 0.5, 0.2308]T = [7, 13, 6]T / 26.

XIV. Newton's Nonlinear Least Squares Method.

Newton's nonlinear least squares method is a generalization of Newton's method for finding a root of the equation, g(x) = 0, where g is a function of the 1-dimensional real variable x. Newton's method calculates a sequence of approximations {xn: n = 0, 1, 2, ...} to g(xn) ~= 0, beginning with a starting value, x0. At each iteration, the new approximation, xn+1, is calculated according to the formula:

xn+1 = xn - g(xn) / g'(xn).

where g'(x) is the derivative of the function g evaluated at the value of the variable x.

Newton's method generalizes for a system of n equations:

G(x) = [g1(x), g2(x), ... , gn(x)]T = 0

where G, and thus g1, g2, ... , gn are functions of the n-dimension real variable (vector) x = [x1, x2, ..., xn]T. Newton's method calculates a sequence of vector approximations {xn: n = 0, 1, 2, ...} to G(xn) ~= 0, beginning with a vector of starting values, x0. At each iteration, the new vector, xn+1, is calculated according to the formula:

xn+1 = xn - J(xn)^-1 * G(xn)

where J(x) is the nxn Jacobian matrix of G(x) defined by:

J(x) = [∂gi / ∂xj],   i, j = 1, ..., n.

At each iteration, Newton's algorithm solves the system of linear equations for the vector y:

J(xn) * y = - G(xn),

and computes the new vector, xn+1, by:

xn+1 = xn + y.

The algorithm stops when the norm of y is less than some tolerance value, TOL, i.e, ||y|| < TOL.

We will use Newton's algorithm to obtain the "least squares fit" between the gradient of the CES unit cost function, c*(w), and the gradient of the normalized quadratic unit cost function, ç(w) at the set of data points {q, wL, wK, wM, c*(w)}.

Let {[li, ki, mi]T = c*(wi)} be the CES factor demands at the data set {qi, wi = [wLi, wKi, wMi]T}.

Objective: Choose parameters bL, bK bM, bLL, bKL, bKK that minimize:

S(bL, bK, bM, bLL, bKL, bKK) = i [ (li - l(wi))^2 + (ki - k(wi))^2 + (mi - m(wi))^2]

over the data set {qi, wi}.

The first order conditions are the system of six equations:

[∂S/∂bL, ∂S/∂bK, ∂S/∂bM, ∂S/∂bLL, ∂S/∂bKL, ∂S/∂bKK]T = 0.

For example:

∂S/∂bL = 2 * i [ (li - l(wi)) * ∂l(wi)/∂bL + (ki - k(wi)) * ∂k(wi)/∂bL + (mi - m(wi)) * ∂m(wi)/∂bL] = 0.

The Jacobian of the first order conditions, also the Hessian matrix of the function S(bL, bK, bM, bLL, bKL, bKK), is the 6 by 6 matrix of second order partial derivatives:

J(bL, bK, bM, bLL, bKL, bKK) = [ ∂2S / ∂b_∂b_ ]

for all b_ ∈ {bL, bK, bM, bLL, bKL, bKK}.

(In practice, only the first order partial derivatives of l(wi), k(wi), and m(wi) of the Jacobian are used.)

Using Newton's nonlinear regression algorithm as discussed, we get the following estimates:

Nonlinear Least Squares: Newton's Method
Parameter Estimates
Iter #bLbKbMbLLbKLbKK
0 1111-11
11.2338430.8063481.0645561.800629-0.0687981.344176
21.2338430.8063481.0645561.622634-0.4896470.95602
31.2338430.8063481.0645561.612871-0.5387580.759437
41.2338430.8063481.0645561.612842-0.5390650.732188
51.2338430.8063481.0645561.612842-0.5390650.731681
61.2338430.8063481.0645561.612842-0.5390650.731681

Next, we transform these estimates of the six free parameters, bL, bK, bM, bLL, bKL, and bKK into estimates of the c, and D parameters using c = b, and D = (-B). By construction, the estimated matrix D is negative semidefinite.

XV. As estimated using nonlinear least squares, the parameters of the Normalized Quadratic cost function are:

c = [cL, cK, cM]T = [1.233843, 0.806348, 1.064556], and

 D = dLL dLK dLM dKL dKK dKM dML dMK dMM
=
 -2.60126 0.869427 1.15104 0.869427 -0.825949 0.775223 1.15104 0.775223 -3.02253

The eigenvalues of the matrix D are:

e1 = -3.983, e2 = -2.467, e3 = 0.

The matrix D is negative semidefinite, since its three eigenvalues are nonpositive.

The Normalized Quadratic cost function is:

C(q;vL,vK,vM) / q^(1/1) = c(vL,vK,vM) = 1.233843 * vL + 0.806348 * vK + 1.064556 * vM + (1/2) *
 [-2.601259 * (vL*vL) + 0.869427 * (vL*vK) + 1.151043 * (vL*vM) + 0.869427 * (vK*vL) + -0.825949 * (vK*vK) + 0.775223 * (vK*vM) + 1.151043 * (vM*vL) + 0.775223 * (vM*vK) + -3.022534 * (vM*vM)]

The factor demand functions are:

L(q;vL,vK,vM) / q^(1/1) = l(vL,vK,vM) = 1.233843 + -2.601259 * vL + 0.869427 * vK + 1.151043 * vM - (1/2) *
 [-2.601259 * (vL*vL) + 0.869427 * (vL*vK) + 1.151043 * (vL*vM) + 0.869427 * (vK*vL) + -0.825949 * (vK*vK) + 0.775223 * (vK*vM) + 1.151043 * (vM*vL) + 0.775223 * (vM*vK) + -3.022534 * (vM*vM)]

K(q;vL,vK,vM) / q^(1/1) = k(vL,vK,vM) = 0.806348 + 0.869427 * vL + -0.825949 * vK + 0.775223 * vM - (1/2) *
 [-2.601259 * (vL*vL) + 0.869427 * (vL*vK) + 1.151043 * (vL*vM) + 0.869427 * (vK*vL) + -0.825949 * (vK*vK) + 0.775223 * (vK*vM) + 1.151043 * (vM*vL) + 0.775223 * (vM*vK) + -3.022534 * (vM*vM)]

M(q;vL,vK,vM) / q^(1/1) = m(vL,vK,vM) = 1.064556 + 1.151043 * vL + 0.775223 * vK + -3.022534 * vM - (1/2) *
 [-2.601259 * (vL*vL) + 0.869427 * (vL*vK) + 1.151043 * (vL*vM) + 0.869427 * (vK*vL) + -0.825949 * (vK*vK) + 0.775223 * (vK*vM) + 1.151043 * (vM*vL) + 0.775223 * (vM*vK) + -3.022534 * (vM*vM)]

XVI. Table of Results: check that the costs, factor inputs, and Uzawa elasticities from the estimated Normalized Quadratic cost function at given levels of output agree with those obtained from the CES cost function.

CES Production Function:  Returns to Scale = 1, Elasticity of Substitution = 0.85
Normalized Quadratic:  Returns to Scale = 1;   Base Prices: wL* = 7, wK* = 13, wM* = 6
—   —   CES Cost Data   —   —     —   Normalized Quadratic Cost Data   —
Factor PricesFactor InputsFactor SharesUzawa Elasticities  Factor InputsFactor SharesUzawa Elasticities
obs #qwLwKwM LKMsLsKsM uLKuLMuKLuKMuMLuMKcostest costest Lest Kest MsLsKsMuLKuLMuKLuKMuMLuMK
1178.08 12.345.96 18.9114.78 18.40.3430.410.2470.850.850.850.850.850.85444.89444.9818.8214.718.70.3420.4080.2510.971.010.970.711.010.71
2188.92 11.787.64 19.6617.38 16.850.3450.4020.2530.850.850.850.850.850.85508.85509.4919.7717.2317.030.3460.3980.2550.811.350.810.821.350.82
3195.92 14.624.76 25.5313.26 23.080.3320.4260.2420.850.850.850.850.850.85454.85454.225.7313.0823.240.3350.4210.2440.880.50.880.820.50.82
4208.74 14.785.94 22.6716.25 23.650.3420.4150.2430.850.850.850.850.850.85578.75578.6322.6716.1923.770.3420.4130.2441.030.821.030.660.820.66
5217.96 14.685.82 24.9216.59 24.430.340.4170.2430.850.850.850.850.850.85584.06583.8725.0316.4624.570.3410.4140.2450.980.760.980.740.760.74
6226.26 11.587.3 28.8619.16 19.020.3340.410.2560.850.850.850.850.850.85541.42541.3129.2619.2818.470.3380.4130.2490.591.120.591.241.121.24
7235.18 14.666.38 35.4916.42 22.340.3240.4250.2510.850.850.850.850.850.85567.1567.5534.4716.523.060.3150.4260.2590.610.590.611.210.591.21
8247.84 13.024.18 25.7318.72 32.990.3460.4180.2360.850.850.850.850.850.85583.38583.5525.8218.9832.060.3470.4230.231.190.71.190.480.70.48
9255.6 14.75.78 36.1717.84 26.450.3280.4250.2480.850.850.850.850.850.85617.62617.3235.7317.727.180.3240.4210.2550.720.570.721.050.571.05
10266.94 11.624.94 29.6521.43 29.740.3420.4140.2440.850.850.850.850.850.85601.7601.6429.6321.3230.020.3420.4120.24610.8610.70.860.7
11277.16 12.164.98 30.821.99 31.50.3420.4150.2430.850.850.850.850.850.85644.82644.730.8121.8931.720.3420.4130.2451.020.831.020.680.830.68
12287.06 12.225.66 33.1223.27 30.020.340.4130.2470.850.850.850.850.850.85688.11688.1933.1823.0830.370.340.410.250.910.90.910.810.90.81
13298.66 13.15.02 30.5924.1 36.530.3470.4130.240.850.850.850.850.850.85764.09763.7730.2524.3136.510.3430.4170.241.160.861.160.510.860.51
14307 136 36.8924.42 31.590.3370.4150.2480.850.850.850.850.850.85765.17765.237.0224.1931.940.3390.4110.250.860.860.860.890.860.89
15318.98 14.35.68 33.925.57 37.590.3450.4140.2420.850.850.850.850.850.85883.51883.2833.7325.637.730.3430.4140.2431.090.851.090.590.850.59
16326.24 12.085.12 39.5725.28 35.170.3370.4170.2460.850.850.850.850.850.85732.31732.1339.7225.0235.540.3390.4130.2490.890.780.890.850.780.85
17336.88 12.687 41.9727.96 31.070.3350.4120.2530.850.850.850.850.850.85860.8861.0642.2827.8630.990.3380.410.2520.7110.711.0711.07
18348.14 11.627.86 39.1432.39 30.290.3410.4030.2550.850.850.850.850.850.85933.05933.9339.8432.229.960.3470.4010.2520.711.350.710.981.350.98
19357.32 14.585.78 43.3727.04 39.820.3370.4190.2440.850.850.850.850.850.85941.93941.543.626.7640.170.3390.4140.2470.920.720.920.810.720.81
20368.1 13.25.28 39.9329.53 43.160.3440.4140.2420.850.850.850.850.850.85941.19940.9739.8229.5143.360.3430.4140.2431.070.841.070.620.840.62
21376.78 14.66.58 49.2228.72 37.930.3330.4180.2490.850.850.850.850.850.851002.631002.4949.228.4938.440.3330.4150.2520.770.760.771.010.761.01
22386.96 12.387.3 48.0532.99 34.660.3360.410.2540.850.850.850.850.850.85995.86996.1548.5832.9434.280.3390.4090.2510.681.080.681.11.081.1
23395.44 13.326.86 57.4330.05 35.430.3270.4190.2540.850.850.850.850.850.85955.73956.1956.5930.3635.570.3220.4230.2550.580.790.581.290.791.29
24407.42 12.026.96 47.835.53 37.910.3390.4080.2520.850.850.850.850.850.851045.61046.2748.2335.3137.920.3420.4060.2520.761.120.760.971.120.97
25418.3 12.144.18 41.5433.68 55.910.3490.4140.2370.850.850.850.850.850.85987.38987.0340.934.4554.870.3440.4240.2321.250.821.250.410.820.41
26426.52 12.264.34 49.2232.24 52.260.340.4190.2410.850.850.850.850.850.85942.93942.5649.6532.0851.980.3430.4170.2391.040.681.040.660.680.66
27437.36 12.37.54 52.9338.32 38.960.3370.4080.2540.850.850.850.850.850.851154.711155.253.6738.2238.470.3420.4070.2510.691.160.691.071.161.07
28448.82 12.344.66 44.3237.32 57.260.350.4120.2390.850.850.850.850.850.851118.211117.2543.338.0257.120.3420.420.2381.230.91.230.420.90.42
AVE:30.57.31 135.91 36.6925.06 33.390.3390.4140.2470.850.850.850.850.850.85780.02780.0136.6925.0633.390.3390.4140.2470.90.880.90.830.880.83

XVII. Table of Results: check that second order partial derivatives of the estimated Normalized Quadratic cost function for a given level of output agree with the second order partial derivatives of the CES cost function. If all of the eigenvalues of 2c*(w) and 2c(w) are nonpositive, the cost functions c*(w*) and c(w*) are concave in factor prices.

CES Production Function:  Returns to Scale = 1, Elasticity of Substitution = 0.85
Normalized Quadratic:  Returns to Scale = 1;   Base Prices: wL* = 7, wK* = 13, wM* = 6
—     —   CES Cost Data   —     —     —     —   Normalized Quadratic Cost Data   —     —
Factor Prices2c*(w)Eigenvalues 2c(w)Eigenvalues
obs #qwLwKwM cLLcLKcLMcKKcKMcMMe1e2e3 cLLcLKcLMcKKcKMcMMe1e2e3
1178.0812.345.96 -0.0770.0310.039-0.0350.031-0.116-0.141-0.087-0 -0.0890.0360.047-0.0360.026-0.117-0.152-0.090
2188.9211.787.64 -0.0680.0320.031-0.0420.027-0.078-0.104-0.084-0 -0.0820.030.05-0.040.026-0.098-0.14-0.080
3195.9214.624.76 -0.1290.0330.058-0.0230.03-0.165-0.207-0.109-0 -0.1120.0340.034-0.0230.029-0.132-0.158-0.110
4208.7414.785.94 -0.0720.0270.039-0.0270.028-0.128-0.15-0.078-0 -0.0810.0330.038-0.0280.022-0.111-0.137-0.0830
5217.9614.685.82 -0.0840.0290.042-0.0270.028-0.129-0.155-0.0840 -0.0880.0330.038-0.0270.024-0.114-0.141-0.0880
6226.2611.587.3 -0.1190.0390.039-0.0380.026-0.075-0.147-0.085-0 -0.1110.0280.051-0.0380.037-0.102-0.158-0.0940
7235.1814.666.38 -0.1710.0380.052-0.0240.024-0.097-0.201-0.0910 -0.1190.0260.036-0.0250.035-0.111-0.152-0.103-0
8247.8413.024.18 -0.0760.0290.052-0.030.037-0.213-0.234-0.085-0 -0.0910.0420.041-0.0320.021-0.142-0.166-0.10
9255.614.75.78 -0.1480.0360.053-0.0240.026-0.117-0.188-0.1-0 -0.1150.030.036-0.0240.033-0.118-0.152-0.104-0
10266.9411.624.94 -0.0920.0350.048-0.0350.035-0.149-0.177-0.099-0 -0.1030.040.049-0.0360.029-0.136-0.171-0.104-0
11277.1612.164.98 -0.0890.0330.047-0.0330.034-0.151-0.178-0.095-0 -0.0990.0390.047-0.0340.027-0.133-0.166-0.101-0
12287.0612.225.66 -0.0940.0340.044-0.0340.031-0.121-0.154-0.0950 -0.10.0360.047-0.0350.03-0.123-0.16-0.098-0
13298.6613.15.02 -0.0680.0280.043-0.0320.034-0.162-0.182-0.0790 -0.0830.0380.043-0.0330.02-0.127-0.153-0.09-0
14307136 -0.0990.0330.043-0.0310.029-0.112-0.149-0.093-0 -0.10.0330.044-0.0320.03-0.116-0.153-0.095-0
15318.9814.35.68 -0.0680.0270.04-0.0290.03-0.138-0.158-0.076-0 -0.080.0340.04-0.030.021-0.115-0.141-0.084-0
16326.2412.085.12 -0.1120.0360.05-0.0320.032-0.138-0.177-0.105-0 -0.1120.0380.047-0.0330.032-0.133-0.17-0.1070
17336.8812.687 -0.1040.0350.039-0.0330.026-0.085-0.137-0.0870 -0.1020.030.046-0.0340.032-0.104-0.149-0.090
18348.1411.627.86 -0.0790.0340.032-0.0420.026-0.072-0.109-0.084-0 -0.090.0290.051-0.040.03-0.096-0.144-0.0820
19357.3214.585.78 -0.0950.030.045-0.0260.028-0.126-0.158-0.090 -0.0950.0320.038-0.0270.027-0.115-0.145-0.092-0
20368.113.25.28 -0.0760.030.043-0.0310.032-0.146-0.169-0.085-0 -0.0880.0370.043-0.0320.023-0.124-0.153-0.0920
21376.7814.66.58 -0.1110.0320.043-0.0260.025-0.099-0.149-0.088-0 -0.10.0290.039-0.0270.03-0.106-0.142-0.0910
22386.9612.387.3 -0.1030.0360.037-0.0350.026-0.079-0.132-0.084-0 -0.1010.0290.048-0.0360.033-0.101-0.149-0.089-0
23395.4413.326.86 -0.1550.0390.046-0.0290.024-0.084-0.182-0.085-0 -0.1180.0270.042-0.030.037-0.106-0.155-0.0990
24407.4212.026.96 -0.090.0350.037-0.0370.027-0.087-0.126-0.088-0 -0.0960.0310.049-0.0370.031-0.106-0.15-0.089-0
25418.312.144.18 -0.0680.0290.049-0.0340.04-0.212-0.231-0.082-0 -0.0860.0440.045-0.0360.019-0.145-0.17-0.0980
26426.5212.264.34 -0.1010.0340.055-0.0310.036-0.185-0.214-0.1030 -0.1080.0420.045-0.0320.028-0.146-0.175-0.1110
27437.3612.37.54 -0.0940.0350.035-0.0360.026-0.076-0.124-0.083-0 -0.0970.0280.048-0.0360.032-0.099-0.146-0.0860
28448.8212.344.66 -0.0630.0290.044-0.0340.037-0.181-0.2-0.079-0 -0.0810.0410.045-0.0360.019-0.135-0.161-0.092-0
AVE:30.57.31 135.91 -0.0970.0330.044-0.0320.03-0.126-0.165-0.089-0 -0.0970.0340.044-0.0330.028-0.118-0.154-0.0940

XVIII. Table of Results: check that factor demand price elasticities of the estimated Normalized Quadratic cost function for a given level of output and factor prices agree with the factor demand price elasticities of the CES cost function.

CES Production Function:  Returns to Scale = 1, Elasticity of Substitution = 0.85
Normalized Quadratic:  Returns to Scale = 1;   Base Prices: wL* = 7, wK* = 13, wM* = 6
—     —   CES Cost Data   —     —       —     —   Normalized Quadratic Cost Data   —     —
Factor PricesFactor Demand Price ElasticitiesFactor Demand Price Elasticities
obs #qwLwKwM εL,wLεL,wKεL,wMεK,wKεK,wMεM,wM εL,wLεL,wKεL,wMεK,wKεK,wMεM,wM
1178.0812.345.96 -0.5580.3480.21-0.5020.21-0.64 -0.650.3960.253-0.3980.139-0.631
2188.9211.787.64 -0.5570.3420.215-0.5080.215-0.635 -0.6680.3230.345-0.4270.182-0.684
3195.9214.624.76 -0.5680.3620.205-0.4880.205-0.645 -0.4910.370.121-0.2520.102-0.464
4208.7414.785.94 -0.5590.3530.206-0.4970.206-0.644 -0.6280.4280.2-0.3680.115-0.582
5217.9614.685.82 -0.5610.3540.207-0.4960.207-0.643 -0.5910.4040.187-0.3380.119-0.555
6226.2611.587.3 -0.5660.3480.218-0.5020.218-0.632 -0.5230.2440.279-0.3350.203-0.562
7235.1814.666.38 -0.5740.3610.214-0.4890.214-0.636 -0.4130.2590.154-0.2420.15-0.471
8247.8413.024.18 -0.5560.3550.201-0.4950.201-0.649 -0.6650.5040.161-0.3840.081-0.553
9255.614.75.78 -0.5710.3610.21-0.4890.21-0.64 -0.450.3050.145-0.2480.132-0.476
10266.9411.624.94 -0.5590.3520.208-0.4980.208-0.642 -0.6250.4120.213-0.370.124-0.591
11277.1612.164.98 -0.5590.3530.207-0.4970.207-0.643 -0.6240.420.204-0.3660.119-0.583
12287.0612.225.66 -0.5610.3510.21-0.4990.21-0.64 -0.5980.3720.226-0.3560.141-0.587
13298.6613.15.02 -0.5550.3510.204-0.4990.204-0.646 -0.6880.4820.206-0.4170.099-0.613
14307136 -0.5630.3530.211-0.4970.211-0.639 -0.5680.3520.215-0.3350.145-0.565
15318.9814.35.68 -0.5570.3520.205-0.4980.205-0.645 -0.6580.4520.206-0.3930.109-0.6
16326.2412.085.12 -0.5630.3540.209-0.4960.209-0.641 -0.5610.3680.193-0.3230.133-0.548
17336.8812.687 -0.5650.350.215-0.50.215-0.635 -0.5450.2920.253-0.3360.178-0.57
18348.1411.627.86 -0.560.3430.217-0.5070.217-0.633 -0.6230.2840.339-0.3980.199-0.645
19357.3214.585.78 -0.5640.3560.208-0.4940.208-0.642 -0.5570.380.177-0.3140.123-0.534
20368.113.25.28 -0.5580.3520.206-0.4980.206-0.644 -0.6460.4420.205-0.3830.112-0.593
21376.7814.66.58 -0.5670.3560.212-0.4940.212-0.638 -0.5090.3180.191-0.2960.148-0.526
22386.9612.387.3 -0.5650.3490.216-0.5010.216-0.634 -0.550.2780.272-0.3440.188-0.578
23395.4413.326.86 -0.5720.3560.216-0.4940.216-0.634 -0.4440.2440.2-0.2760.176-0.501
24407.4212.026.96 -0.5620.3470.215-0.5030.215-0.635 -0.5930.310.283-0.370.178-0.61
25418.312.144.18 -0.5530.3520.201-0.4980.201-0.649 -0.7190.530.19-0.4420.08-0.608
26426.5212.264.34 -0.5610.3560.204-0.4940.204-0.646 -0.5960.4320.164-0.3320.102-0.535
27437.3612.37.54 -0.5630.3470.216-0.5030.216-0.634 -0.570.280.29-0.3590.192-0.596
28448.8212.344.66 -0.5530.350.203-0.50.203-0.647 -0.730.5160.214-0.4570.089-0.64
AVE:30.57.31 135.91 -0.5620.3520.21-0.4980.21-0.64 -0.5890.3710.217-0.3520.138-0.571

Mathematical Notes

c(w) = cT * w + (1/2) * wT * D * w / (1T * w),

a linear function in its parameters, c, and D.

 c(wL,wK,wM) = cL * wL + cK * wK + cM * wM + (1/2) * [dLL * (wL*wL) + dLK*(wL*wK) + dLM * (wL*wM)                  + dKL * (wK*wL) + dKK*(wK*wK) + dKM * (wK*wM)              + dML * (wM*wL) + dMK*(wM*wK) + dMM * (wM*wM)] * (wL + wK + wM)^-1

Returns to Scale Function:

h(q) = q^(1/nu1)

a continuous, increasing function of q (q >= 1), with h(0) = 0 and h(1) = 1,

C(q;wL,wK,wM) = h(q) * c(wL,wK,wM)

Define the variable w as:

w = 1 / (wL + wM + wK) = 1 / (1T * w).

Unit Factor Demand Functions:

 l(wL, wK, wM) = cL + (dLL * wL + dLK * wK + dLM * wM) * w - (1/2) * [dLL * wL * wL + dLK * wvL * wvK + dLM * wL * wM           + dKL * wK * wL + dKK * wK * wK + dKM * wK * wM           + dML * wM * wL + dMK * wM * wK + dMM * wM * wM] * w * w k(wL, wK, wM) = cK + (dKL * wL + dKK * wK + dKM * wM) * w - (1/2) * [dLL * wL * wL + dLK * wL * wK + dLM * wL * wM           + dKL * wK * wL + dKK * wK * wK + dKM * wK * wM           + dML * wM * wL + dMK * wM * wK + dMM * wM * wM] * w * w m(wL, wK, wM) = cM + (dML * wL + dMK * wK + dMM * wM) * w - (1/2) * [dLL * wL * wL + dLK * wL * wK + dLM * wL * wM) * w           + dKL * wK * wL + dKK * wK * wK + dKM * wK * wM           + dML * wM * wL + dMK * wM * wK + dMM * wM * wM] * w * w

Unit Factor Demand Functions' Partial Derivatives:

 ∂l/∂wL = dLL * w - (dLL * wL + dLK * wK + dLM * wM + dLL * wL + dKL * wK + dML * wM) * w * w + [dLL * wL * wL + dLK * wL * wK + dLM * wL * wM   + dKL * wK * wL + dKK * wK * wK + dKM * wK * wM   + dML * wM * wL + dMK * wM * wK + dMM * wM * wM] * w * w * w ∂l/∂wK = dLK * w - (dLL * wL + dLK * wK + dLM * wM + dLK * wL + dKK * wK + dMK * wM) * w * w + [dLL * wL * wL + dLK * wL * wK + dLM * wL * wM   + dKL * wK * wL + dKK * wK * wK + dKM * wK * wM   + dML * wM * wL + dMK * wM * wK + dMM * wM * wM] * w * w * w ∂l/∂wM = dLM * w - (dLL * wL + dLK * wK + dLM * wM + dLM * wL + dKM * wK + dMM * wM) * w * w + [dLL * wL * wL + dLK * wL * wK + dLM * wL * wM   + dKL * wK * wL + dKK * wK * wK + dKM * wK * wM   + dML * wM * wL + dMK * wM * wK + dMM * wM * wM] * w * w * w ∂k/∂wL = dKL * w - (dKL * wL + dKK * wK + dKM * wM + dLL * wL + dKL * wK + dML * wM) * w * w + [dLL * wL * wL + dLK * wL * wK + dLM * wL * wM   + dKL * wK * wL + dKK * wK * wK + dKM * wK * wM   + dML * wM * wL + dMK * wM * wK + dMM * wM * wM] * w * w * w ∂k/∂wK = dKK * w - (dKL * wL + dKK * wK + dKM * wM + dLK * wL + dKK * wK + dMK * wM) * w * w + [dLL * wL * wL + dLK * wL * wK + dLM * wL * wM   + dKL * wK * wL + dKK * wK * wK + dKM * wK * wM   + dML * wM * wL + dMK * wM * wK + dMM * wM * wM] * w * w * w ∂k/∂wM = dKM * w - (dKL * wL + dKK * wK + dKM * wM + dLM * wL + dKM * wK + dMM * wM) * w * w + [dLL * wL * wL + dLK * wL * wK + dLM * wL * wM   + dKL * wK * wL + dKK * wK * wK + dKM * wK * wM   + dML * wM * wL + dMK * wM * wK + dMM * wM * wM] * w * w * w ∂m/∂wL = dML * w - (dML * wL + dMK * wK + dMM * wM + dLL * wL + dKL * wK + dML * wM) * w * w + [dLL * wL * wL + dLK * wL * wK + dLM * wL * wM   + dKL * wK * wL + dKK * wK * wK + dKM * wK * wM   + dML * wM * wL + dMK * wM * wK + dMM * wM * wM] * w * w * w ∂m/∂wK = dMK * w - (dML * wL + dMK * wK + dMM * wM + dLK * wL + dKK * wK + dMK * wM) * w * w + [dLL * wL * wL + dLK * wL * wK + dLM * wL * wM   + dKL * wK * wL + dKK * wK * wK + dKM * wK * wM   + dML * wM * wL + dMK * wM * wK + dMM * wM * wM] * w * w * w ∂m/∂wM = dMM * w - (dML * wL + dMK * wK + dMM * wM + dLM * wL + dKM * wK + dMM * wM) * w * w + [dLL * wL * wL + dLK * wL * wK + dLM * wL * wM   + dKL * wK * wL + dKK * wK * wK + dKM * wK * wM   + dML * wM * wL + dMK * wM * wK + dMM * wM * wM] * w * w * w

Normalized Quadratic Cost Function's Uzawa Elasticities:

 uLK = c(wL,wK,wM) * ∂l/∂wK / (l * k); uLM = c(wL,wK,wM) * ∂l/∂wM / (l * m); uKL = c(wL,wK,wM) * ∂k/∂wL / (k * l); uKM = c(wL,wK,wM) * ∂k/∂wM / (k * m); uML = c(wL,wK,wM) * ∂m/∂wL / (m * l); uMK = c(wL,wK,wM) * ∂m/∂wK / (m * k);

Reparameterized Normalized Quadratic Unit Cost Function:

ç(w) = bT * w + (1/2) * wT * (-B) * w / (1T * w),

is a nonlinear function in its parameters, b = [bL, bK, bM]T, and (-B), i.e. in its free parameters bL, bK, bM, bLL, bKL, and bKK.

Reparameterized Normalized Quadratic Unit Cost Function:

 ç(wL,wK,wM) = bL * wL + bK * wK + bM * wM + .5 * (-wL*bLL^2-wK*bLL*bKL-wM*bLL*(-bLL*uL-bKL*uK)/uM) * wL * w + .5 * (-wL*bLL*bKL+wK*(-bKL^2-bKK^2)+wM*(-bKL*(-bLL*uL-bKL*uK)/uM+bKK^2*uK/uM))* wK * w + .5 * (-wL*bLL*(-bLL*uL-bKL*uK)/uM+wK*(-bKL*(-bLL*uL-bKL*uK)/uM+bKK^2*uK/uM)+wM*(-(-bLL*uL-bKL*uK)^2/uM^2-bKK^2*uK^2/uM^2))* wM * w);

where u = w* / (wL* + wK* + wM*) = [uL, uK, uM]T = [vL*, vK*, vM*] (redefined), the vector of base prices.

Shephard's lemma provides that the gradient vector of the unit cost function is the vector of unit input demand functions:

ç(w) = [l(w), k(w), m(w)]T =b + (-B) * w / ( 1T * w) - (1/2) * wT * (-B) * w * 1 / (1T * w)2.

Reparameterized Normalized Quadratic Unit Factor Demand Functions:

 l(wL,wK,wM) = bL + (-bLL^2*wL - bLL*bKL*wK - bLL*(-bLL*uL-bKL*uK)/uM*wM) * w - .5 * (-wL*bLL^2-wK*bLL*bKL-wM*bLL*(-bLL*uL-bKL*uK)/uM) * wL * w * w - .5 * (-wL*bLL*bKL+wK*(-bKL^2-bKK^2)+wM*(-bKL*(-bLL*uL-bKL*uK)/uM+bKK^2*uK/uM))* wK * w * w - .5 * (-wL*bLL*(-bLL*uL-bKL*uK)/uM+wK*(-bKL*(-bLL*uL-bKL*uK)/uM+bKK^2*uK/uM)+wM*(-(-bLL*uL-bKL*uK)^2/uM^2-bKK^2*uK^2/uM^2))* wM * w * w ); k(wL,wK,wM) = bK + (-bLL*bKL*wL + (-bKL^2-bKK^2)*wK + (-bKL*(-bLL*uL-bKL*uK)/uM+bKK^2*uK/uM)* wM) * w - .5 * (-wL*bLL^2-wK*bLL*bKL-wM*bLL*(-bLL*uL-bKL*uK)/uM) * wL * w * w - .5 * (-wL*bLL*bKL+wK*(-bKL^2-bKK^2)+wM*(-bKL*(-bLL*uL-bKL*uK)/uM+bKK^2*uK/uM))* wK * w * w - .5 * (-wL*bLL*(-bLL*uL-bKL*uK)/uM+wK*(-bKL*(-bLL*uL-bKL*uK)/uM+bKK^2*uK/uM)+wM*(-(-bLL*uL-bKL*uK)^2/uM^2-bKK^2*uK^2/uM^2))* wM * w * w ); m(wL,wK,wM) = bM + (-bLL*(-bLL*uL-bKL*uK)/uM*wL + (-bKL*(-bLL*uL-bKL*uK)/uM+bKK^2*uK/uM)*wK + (-(-bLL*uL-bKL*uK)^2/uM^2-bKK^2*uK^2/uM^2)*wM) * w - .5 * (-wL*bLL^2-wK*bLL*bKL-wM*bLL*(-bLL*uL-bKL*uK)/uM) * wL * w * w - .5 * (-wL*bLL*bKL+wK*(-bKL^2-bKK^2)+wM*(-bKL*(-bLL*uL-bKL*uK)/uM+bKK^2*uK/uM))* wK * w * w - .5 * (-wL*bLL*(-bLL*uL-bKL*uK)/uM+wK*(-bKL*(-bLL*uL-bKL*uK)/uM+bKK^2*uK/uM)+wM*(-(-bLL*uL-bKL*uK)^2/uM^2-bKK^2*uK^2/uM^2))* wM * w * w );

Reparameterized Unit Labour Demand Function Partial Derivatives:

 ∂l/∂bL = 1 ∂l/∂bK = 0 ∂l/∂bM = 0
 ∂l/∂bLL = (-2*wL*bLL-wK*bKL-wM*(-bLL*uL-bKL*uK)/uM+wM*bLL*uL/uM) * w -((-wL*bLL-1/2*wK*bKL-1/2*wM*(-bLL*uL-bKL*uK)/uM+1/2*wM*bLL*uL/uM)*wL + (-1/2*wL*bKL+1/2*wM*bKL*uL/uM)*wK + (-1/2*wL*(-bLL*uL-bKL*uK)/uM+1/2*wL*bLL*uL/uM+1/2*wK*bKL*uL/uM+wM*(-bLL*uL-bKL*uK)/uM^2*uL)*wM)* w * w ∂l/∂bKL = (-wK*bLL+wM*bLL*uK/uM) * w -((-1/2*wK*bLL+1/2*wM*bLL*uK/uM)*wL + (-1/2*wL*bLL-wK*bKL+1/2*wM*(-(-bLL*uL-bKL*uK)/uM+bKL*uK/uM))*wK + (1/2*wL*bLL*uK/uM+1/2*wK*(-(-bLL*uL-bKL*uK)/uM+bKL*uK/uM)+wM*(-bLL*uL-bKL*uK)/uM^2*uK)*wM)* w * w ∂l/∂bKK = -((-wK*bKK+wM*bKK*uK/uM)*wK + (wK*bKK*uK/uM-wM*bKK*uK^2/uM^2)*wM)* w * w

Reparameterized Unit Capital Demand Function Partial Derivatives:

 ∂k/∂bL = 0 ∂k/∂bK = 1 ∂k/∂bM = 0
 ∂k/∂bLL = (-wL*bKL+wM*bKL*uL/uM) * w -((-wL*bLL-1/2*wK*bKL-1/2*wM*(-bLL*uL-bKL*uK)/uM+1/2*wM*bLL*uL/uM)*wL + (-1/2*wL*bKL+1/2*wM*bKL*uL/uM)*wK + (-1/2*wL*(-bLL*uL-bKL*uK)/uM+1/2*wL*bLL*uL/uM+1/2*wK*bKL*uL/uM+wM*(-bLL*uL-bKL*uK)/uM^2*uL)*wM)* w * w ∂k/∂bKL = (-wL*bLL-2*wK*bKL+wM*(-(-bLL*uL-bKL*uK)/uM+bKL*uK/uM)) * w -((-1/2*wK*bLL+1/2*wM*bLL*uK/uM)*wL + (-1/2*wL*bLL-wK*bKL+1/2*wM*(-(-bLL*uL-bKL*uK)/uM+bKL*uK/uM))*wK + (1/2*wL*bLL*uK/uM+1/2*wK*(-(-bLL*uL-bKL*uK)/uM+bKL*uK/uM)+wM*(-bLL*uL-bKL*uK)/uM^2*uK)*wM)* w * w ∂k/∂bKK = (-2*wK*bKK+2*wM*bKK*uK/uM)* w -((-wK*bKK+wM*bKK*uK/uM)*wK + (wK*bKK*uK/uM-wM*bKK*uK^2/uM^2)*wM)* w * w

Reparameterized Unit Materials and Supplies Demand Function Partial Derivatives:

 ∂m/∂bL = 0 ∂m/∂bK = 0 ∂k/∂bM = 1
 ∂m/∂bLL = (-wL*(-bLL*uL-bKL*uK)/uM+wL*bLL*uL/uM+wK*bKL*uL/uM+2*wM*(-bLL*uL-bKL*uK)/uM^2*uL) * w -((-wL*bLL-1/2*wK*bKL-1/2*wM*(-bLL*uL-bKL*uK)/uM+1/2*wM*bLL*uL/uM)*wL + (-1/2*wL*bKL+1/2*wM*bKL*uL/uM)*wK + (-1/2*wL*(-bLL*uL-bKL*uK)/uM+1/2*wL*bLL*uL/uM+1/2*wK*bKL*uL/uM+wM*(-bLL*uL-bKL*uK)/uM^2*uL)*wM)* w * w ∂m/∂bKL = (wL*bLL*uK/uM+wK*(-(-bLL*uL-bKL*uK)/uM+bKL*uK/uM)+2*wM*(-bLL*uL-bKL*uK)/uM^2*uK) * w -((-1/2*wK*bLL+1/2*wM*bLL*uK/uM)*wL + (-1/2*wL*bLL-wK*bKL+1/2*wM*(-(-bLL*uL-bKL*uK)/uM+bKL*uK/uM))*wK + (1/2*wL*bLL*uK/uM+1/2*wK*(-(-bLL*uL-bKL*uK)/uM+bKL*uK/uM)+wM*(-bLL*uL-bKL*uK)/uM^2*uK)*wM)* w * w ∂m/∂bKK = (2*wK*bKK*uK/uM-2*wM*bKK*uK^2/uM^2) * w -((-wK*bKK+wM*bKK*uK/uM)*wK + (wK*bKK*uK/uM-wM*bKK*uK^2/uM^2)*wM)* w * w

CES Production/Cost Functions:

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

The efficiency parameter, A, changes output proportionally for changes in factor inputs, while the distribution parameters, alpha, beta, and gamma, determine the relative shares of the factors in the total cost of producing levels of outputs.

CES Cost Function:

C(q;wL,wK,wM) = h(q) * c(wL,wK,wM)

where the returns to scale function is:

h(q) = (q/A)^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) = [alpha^(1/(1+rho)) * wL^(rho/(1+rho)) + beta^(1/(1+rho)) * wK^(rho/(1+rho)) + gamma^(1/(1+rho)) * wM^(rho/(1+rho))]^((1+rho)/rho)

CES Unit Demand Functions:

 l(wL,wK,wM) = [(alpha / wL) * c(wL,wK,wM)]^(1/(1+rho)) k(wL,wK,wM) = [(beta / wK) * c(wL,wK,wM)]^(1/(1+rho)) m(wL,wK,wM) = [(gamma / wM) * c(wL,wK,wM)]^(1/(1+rho))

Properties of the Unit CES Cost Function, c(wL,wK,wM).

a. c(wL,wK,wM) is linear homogeneous in factor prices.

c(t*wL,t*wK,t*wM) = [alpha^(1/(1+rho)) * (t*wL)^(rho/(1+rho)) + beta^(1/(1+rho)) * (t*wK)^(rho/(1+rho)) + gamma^(1/(1+rho)) * (t*wM)^(rho/(1+rho))]^((1+rho)/rho),
= [t^(rho/(1+rho)) * (alpha^(1/(1+rho)) * wL^(rho/(1+rho)) + beta^(1/(1+rho)) * wK^(rho/(1+rho)) + gamma^(1/(1+rho)) * wM^(rho/(1+rho)))]^((1+rho)/rho),
= t * [alpha^(1/(1+rho)) * wL^(rho/(1+rho)) + beta^(1/(1+rho)) * wK^(rho/(1+rho)) + gamma^(1/(1+rho)) * wM^(rho/(1+rho)))]^((1+rho)/rho),   →
c(t*wL,t*wK,t*wM) = t * c(wL,wK,wM)

b. The matrix ∇2c of second order partial derivatives of the unit cost function c(wL,wK,wM) is symmetric.

 ∂(∂c(wL,wK,wM)/∂wL)/∂wK = ∂([(alpha / wL) * c(wL,wK,wM)]^(1/(1+rho)))/∂wK = (1/(1+rho)) * (alpha/wL) * ∂c(wL,wK,wM)/∂wK * [(alpha / wL) * c(wL,wK,wM)]^(1/(1+rho)) / [(alpha / wL) * c(wL,wK,wM)] = (1/(1+rho)) * ∂c(wL,wK,wM)/∂wK * ∂c(wL,wK,wM)/∂wL / c(wL,wK,wM) = ∂(∂c(wL,wK,wM)/∂wK)/∂wL ∂(∂c(wL,wK,wM)/∂wL)/∂wM = ∂([(alpha / wL) * c(wL,wK,wM)]^(1/(1+rho)))/∂wM = (1/(1+rho)) * (alpha/wL) * ∂c(wL,wK,wM)/∂wM * [(alpha / wL) * c(wL,wK,wM)]^(1/(1+rho)) / [(alpha / wL) * c(wL,wK,wM)] = (1/(1+rho)) * ∂c(wL,wK,wM)/∂wM * ∂c(wL,wK,wM)/∂wL / c(wL,wK,wM) = ∂(∂c(wL,wK,wM)/∂wM)/∂wL etc.

c. c(wL,wK,wM) is concave in factor prices.

d. The CES production function is called homothetic, because the CES cost function can be separated (factored) into a function of output, q, times a function of input prices, wL, wK, and wM. Copyright © Elmer G. Wiens:   Egwald Web Services All Rights Reserved.    Inquiries 