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

Production Functions:   Cobb-Douglas | CES | Generalized CES | Translog | Diewert | Translog vs Diewert | Diewert vs Translog | Estimate Translog | Estimate Diewert | References and Links

Duality: Production / Cost Functions:   Cobb-Douglas Duality | CES Duality | Theory of Duality | Translog Duality - CES | Translog Duality - Generalized CES

I. The Cobb-Douglas Cost Function

If the underlying technology of production is Cobb-Douglas, it may be convenient to estimate the Cobb-Douglas parameters by way of the cost function, instead of directly using the Cobb-Douglas production function: Estimating a Cobb-Douglas production function.

The three factor Cobb-Douglas production function is:

q = A * (L^alpha) * (K^beta) * (M^gamma) = f(L,K,M).

where the quantities of inputs and output are:

L = labour, K = capital, M = materials and supplies, and q = product,

and, nu = (alpha + beta + gamma) is a measure of the returns of scale: decreasing returns to scale if nu < 1, constant returns to scale if nu = 1, and increasing returns to scale if nu > 1.

If we have a data set relating these inputs to output for varying levels of of inputs and output, we can estimate the parameters — A, alpha, beta and gamma — of the Cobb-Douglas production function directly.

Suppose, however, we have a data set relating the input (factor) prices, wL, wK, and wM, to the total cost of producing output for varying levels output, but do not have accurate data on the required levels of inputs. Then, we can work with the Cobb-Douglas cost function to estimate the parameters — A, alpha, beta and gamma.

The three factor Cobb-Douglas (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/(alpha+beta+gamma))

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

with B = (alpha + beta + gamma) / [A * alpha^alpha * beta^beta * gamma^gamma] ^(1/(alpha+beta+gamma))

Note: while we do not know the values of A, alpha, beta, and gamma, we do know that B, and nu = (alpha + beta + gamma) are constants.

Rewrite the cost function by raising it to the power of (alpha + beta + gamma):

C^(alpha+beta+gamma) = c ^(alpha+beta+gamma) * h ^(alpha+beta+gamma) , or

C^(alpha+beta+gamma) = B ^(alpha+beta+gamma) * ([ wL^alpha * wK^beta * wM^gamma] ^(1/(alpha+beta+gamma)))^(alpha+beta+gamma) * (q^(1/(alpha+beta+gamma)))^(alpha+beta+gamma)

Letting B1 = B ^(alpha+beta+gamma), simplifying the expression, and introducing a parameter, delta, we get:

C^(alpha+beta+gamma) = B1 * [ wL^alpha * wK^beta * wM^gamma] * q ^delta

The purpose of the parameter, delta = 1?, will become evident.

If we knew the value of nu = (alpha + beta + gamma), we would have:

tC = C^nu = B1 * [ wL^alpha * wK^beta * wM^gamma] * q ^delta

Taking natural logarithms (log = ln), we get the linear equation:

log (tC) = nu*log(C) = log (B1) + alpha*log(wL) + beta*log(wK) + gamma*log(wM) + delta*log(q)       (*)

The plan is to guess at values of nu, and to compute tC = C^nu. Then, using linear regression with the equation (*) on our data set, we will estimate log(B1), a constant or intercept term, and the parameters alpha, beta, gamma, and delta, expecting that delta = 1. Then, we will compute the parameter A of the production function from the expression for B, since we now know B1, alpha, beta, and gamma.

We can repeat this process with different values of nu, until we estimate an equation that we like.

If we guess a value of nu that is too high, we expect that the estimated value of delta will also be too high (exceed 1), and vice versa. That is, the estimated value of delta will be an increasing function of nu, approximately equal to 1 for the correct value of nu. In other words, we expect the parameters nu and delta to be positively correlated, in order to balance the left hand and right hand side of equation (*).

Furthermore, we hope that the guessed value of nu will equal the sum of the estimated values of alpha, beta, and gamma.

The values of the variables of the regression equation (*) are generated by the web page's programs, and are displayed in the table, "Cobb-Douglas Cost Data Set." These variables' values are based on specific values of the parameters, A, alpha, beta, and gamma, which determine the underlying Cobb-Douglas technology.

The programs estimate the parameters of the regression equation (*) and display the results in the next table.
The default value of nu = 1.

QR Least Squares
Parameter Estimates
Parameter Coefficient std error t-ratio
log(B1)1.035171059998.714
alpha0.3445630105141.389
beta0.453265073208.749
gamma0.202174066903.877
delta1.0869580574722.803
R2 = 1 R2b = 1 # obs = 30

The estimated regression equation for (*) with nu = 1, and with the (rounded) estimated values of log(B1) = 1.0352, alpha = 0.3446, beta = 0.4533, gamma = 0.2022, and delta = 1.08696 becomes:

log (tC) = 1 * log(C) = 1.0352 + 0.3446 * log(wL) + 0.4533 * log(wK) + 0.2022 * log(wM) + 1.08696 * log(q)       (**)

The sum of the estimated parameters, alpha + beta + gamma = 0.3446 + 0.4533 + 0.186 = 1.0001 = nu1,
is a measure of the returns to scale of the underlying Cobb-Douglas technology.

For the "guessed at" value of nu = 1, the estimated value of delta = 1.08696 is greater than 1.

The value of nu is too large. Try a smaller value of nu.

Cobb-Douglas Cost Function Parameter
returns to scale: nu      

.5 < nu < 1.5

Change the value of the parameter "nu" and run a new regression using the same data set.

Since log(B1) = 1.0352, the estimated value of B1 = exp(1.0352) = 2.8157.
Since B1 = B ^(alpha+beta+gamma) = B^nu, B = B1^1/nu = B1^1/1.0001 = 2.8154.
Since B = (alpha + beta + gamma) / [A * alpha^alpha * beta^beta * gamma^gamma] ^(1/(alpha+beta+gamma)),
A = (((alpha+beta+gamma)/ B)^(alpha+beta+gamma)) / (alpha^alpha * beta^beta * gamma^gamma)
= ((1.0001/ 2.8154)^1.0001) / (0.3446^0.3446 * 0.4533^0.4533 * 0.2022^0.2022) = 1.014.

The estimated parameters of the exposed, underlying Cobb-Douglas technology are:
A = 1.014,   alpha = 0.3446, beta = 0.4533, and gamma = 0.2022.
Its Cobb-Douglas production function is:
f(L,K,M) = q = A * (L^alpha) * (K^beta) * (M^gamma)   =   1.014 * (L^0.3446) * (K^0.4533) * (M^0.2022)       (***).

Along with the estimated parameters of the production function, we have the Cobb-Douglas cost function
C(q;wL,wK,wM) = h(q) * c(wL,wK,wM)
= q^(delta/(alpha+beta+gamma)) * B * [ wL^alpha * wK^beta * wM^gamma] ^(1/(alpha+beta+gamma)), or
C(q;wL,wK,wM) = q^(1.08696/1.0001) * 2.8154 * [ wL^0.3446 * wK^0.4533 * wM^0.2022] ^(1/1.0001)       (****)

The Cobb-Douglas Cost Data Set table displays the data set values of the variables, wL, wK, wM, output (q), and total cost (C),
along with the estimated total cost (est C) using the equation (****).

          If we take the partial derivative of the cost function with respect to an input price, we get the estimated factor demand function for that input:
∂C/∂wL = L(q;wL,wK,wM) = h(q) * (alpha / wL) * c(wL,wK,wM) / (alpha + beta + gamma) = q^(1.08696/1.0001) * (0.3446 / wL) * c(wL,wK,wM) / (1.0001)
∂C/∂wK = K(q;wL,wK,wM) = h(q) * (beta / wK) * c(wL,wK,wM) / (alpha + beta + gamma) = q^(1.08696/1.0001) * (0.4533 / wK) * c(wL,wK,wM) / (1.0001)
∂C/∂wM = M(q;wL,wK,wM) = h(q) * (gamma / wM) * c(wL,wK,wM) / (alpha + beta + gamma) = q^(1.08696/1.0001) * (0.2022 / wM) * c(wL,wK,wM) / (1.0001)
        The factor input quantities for each level of output are displayed in the table.

The factor shares for each input are obtained by:

sL(q;wL,wK,wM) = wL * L(q;wL,wK,wM) / C(q;wL,wK,wM) = alpha / (alpha + beta + gamma),
sK(q;wL,wK,wM) = wK * K(q;wL,wK,wM) / C(q;wL,wK,wM) = beta / (alpha + beta + gamma),
sM(q;wL,wK,wM) = wM * M(q;wL,wK,wM) / C(q;wL,wK,wM) = gamma / (alpha + beta + gamma)

and are independent of q, wL,wK, and wM.

The estimated factor demand elasticities are obtained by:

εL,wL = ∂ln(L(q;wL,wK,wM))/∂ln(wL) = -(sK + sM),
εL,wK = ∂ln(L(q;wL,wK,wM))/∂ln(wK) = sK,
εL,wM = ∂ln(L(q;wL,wK,wM))/∂ln(wM) = sM,
εL,q = ∂ln(L(q;wL,wK,wM))/∂ln(q) = delta / nu = 1.08696/1.0001, etc.

ε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.65540.45330.20221.0869
0.3446-0.54670.20221.0869
0.34460.4533-0.79781.0869

To close the loop and to check our calculations, we also compute the level of output (est q) for the factor inputs using equation (***).

Generate a new data set by clicking on the "New Data Set" button, and thereby start from the beginning.


Cobb-Douglas Cost Data Set
—   Factor Prices   —     Output     — Total Cost —Factor InputsFactor Shares
  Const  wL       wK       wM         q           C       est C  est qLKMsLsKsM
1 5.36 11.74  5.64   15  412.96    412.81      18.986     26.54    15.94   14.8    0.3446    0.4533   0.2022  
1 5.38 11.32  7.26   16  459.12    458.95      20.363     29.39    18.38   12.78    0.3445    0.4533   0.2022  
1 6.46 11.78  7.64   17  537.33    537.13      21.75     28.65    20.67   14.21    0.3446    0.4533   0.2021  
1 8.24 11.4  7.42   18  609.01    608.77      23.144     25.46    24.2   16.59    0.3446    0.4532   0.2022  
1 7.4 12.4  7.46   19  647.26    647.01      24.547     30.13    23.65   17.54    0.3446    0.4533   0.2022  
1 6.54 14.4  7.38   20  700.32    700.04      25.95     36.88    22.03   19.18    0.3445    0.4532   0.2022  
1 7.68 12.9  6.42   21  721.91    721.62      27.366     32.38    25.35   22.73    0.3446    0.4532   0.2022  
1 6.62 14.18  7.08   22  768.13    767.81      28.784     39.96    24.54   21.93    0.3445    0.4532   0.2022  
1 6.82 12.78  7.66   23  789.44    789.12      30.212     39.87    27.99   20.83    0.3446    0.4533   0.2022  
1 8.28 11.3  5.04   24  768.17    767.85      31.639     31.95    30.8   30.8    0.3445    0.4533   0.2022  
1 6 13.08  5.06   25  768.55    768.23      33.077     44.12    26.62   30.7    0.3446    0.4532   0.2022  
1 8.72 13.96  5.04   26  938.86    938.46      34.516     37.08    30.47   37.65    0.3445    0.4533   0.2022  
1 5.02 14.26  7.78   27  891.44    891.06      35.962     61.16    28.32   23.16    0.3446    0.4532   0.2022  
1 5.1 11.28  7.08   28  822.62    822.27      37.41     55.55    33.04   23.48    0.3445    0.4532   0.2022  
1 5.72 12.88  5.9   29  909.99    909.59      38.866     54.79    32.01   31.17    0.3445    0.4533   0.2022  
1 8.98 11.84  6.32   30  1076.46    1075.99      40.326     41.29    41.19   34.42    0.3446    0.4532   0.2022  
1 5.18 14.04  6.22   31  993.79    993.34      41.791     66.08    32.07   32.29    0.3446    0.4533   0.2022  
1 8.66 12.1  7.04   32  1177.02    1176.5      43.256     46.81    44.07   33.79    0.3446    0.4532   0.2022  
1 6.78 11.84  5.04   33  1035.3    1034.83      44.729     52.59    39.62   41.51    0.3446    0.4533   0.2022  
1 6.8 11.62  4.24   34  1025.02    1024.55      46.201     51.92    39.96   48.85    0.3446    0.4532   0.2022  
1 5.3 11.76  6.34   35  1058.78    1058.29      47.682     68.8    40.79   33.75    0.3446    0.4533   0.2022  
1 8 11.52  6.16   36  1239.16    1238.59      49.163     53.35    48.73   40.65    0.3446    0.4532   0.2022  
1 7.04 13.38  7.46   37  1358.97    1358.34      50.646     66.48    46.01   36.81    0.3446    0.4532   0.2022  
1 7.58 13.44  7.66   38  1445.64    1444.97      52.139     65.68    48.73   38.14    0.3445    0.4532   0.2022  
1 6.72 13.72  4.04   39  1265.28    1264.69      53.634     64.85    41.78   63.29    0.3446    0.4533   0.2022  
1 6.32 14.94  7.6   40  1503.86    1503.15      55.128     81.95    45.6   39.99    0.3446    0.4532   0.2022  
1 7.9 11.68  6.02   41  1423.43    1422.75      56.626     62.05    55.21   47.78    0.3445    0.4532   0.2022  
1 6.66 13.64  4.5   42  1393.62    1392.96      58.133     72.07    46.29   62.58    0.3446    0.4533   0.2022  
1 7.88 14.86  7.42   43  1742.6    1741.77      59.639     76.16    53.13   47.46    0.3446    0.4533   0.2022  
1 7.16 11.14  6.16   44  1461.01    1460.31      61.15     70.28    59.42   47.93    0.3446    0.4533   0.2022  

The observations in the data set on this web page are generated without an error variable. If the guessed value of nu, the measure of the returns to scale, is incorrect, then the estimates of A, alpha, beta and gamma are incorrect and the Cobb-Douglas production function does not produce the right output or q value in the above table. However, the incorrect estimates of A, alpha, beta and gamma will produce estimates of the costs for each level of output, q, which agree with the actual costs.

 

 
   

      Copyright © Elmer G. Wiens:   Egwald Web Services       All Rights Reserved.    Inquiries