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.035179048646.595
alpha0.344564091096.364
beta0.453266057715.777
gamma0.202172055018.25
delta1.0869550524833.564
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.68 11.3  4.8   15  400.78    400.63      18.981     24.3    16.07   16.87    0.3445    0.4533   0.2021  
1 6.74 14.82  5.14   16  522.84    522.64      20.361     26.72    15.98   20.56    0.3446    0.4531   0.2022  
1 8.72 14.18  4.88   17  591.94    591.71      21.747     23.38    18.91   24.51    0.3445    0.4532   0.2021  
1 7.5 14.28  5.44   18  613.24    613      23.144     28.16    19.46   22.78    0.3445    0.4533   0.2022  
1 5.42 11.58  4.88   19  517.31    517.11      24.543     32.87    20.24   21.42    0.3445    0.4532   0.2021  
1 7.26 14.08  7.26   20  716.24    715.96      25.954     33.98    23.05   19.94    0.3446    0.4533   0.2022  
1 7.98 14.74  6.82   21  786.63    786.31      27.365     33.95    24.18   23.31    0.3445    0.4533   0.2022  
1 7.98 13.26  5.02   22  741.3    741      28.786     32    25.33   29.84    0.3446    0.4533   0.2022  
1 5.3 11.28  7.16   23  674.66    674.38      30.209     43.84    27.1   19.04    0.3445    0.4533   0.2022  
1 7.78 12.82  5.34   24  805.48    805.15      31.642     35.66    28.47   30.48    0.3446    0.4533   0.2022  
1 8.44 13.1  5.92   25  892.93    892.56      33.075     36.44    30.88   30.48    0.3446    0.4532   0.2022  
1 6.62 13.3  5.84   26  860.55    860.18      34.514     44.77    29.31   29.78    0.3446    0.4532   0.2022  
1 8.56 11.92  4.72   27  892.87    892.49      35.965     35.93    33.94   38.23    0.3446    0.4533   0.2022  
1 5.76 12.68  6.4   28  886.29    885.91      37.415     53    31.67   27.99    0.3446    0.4533   0.2022  
1 6.56 14.7  4.34   29  951.91    951.49      38.869     49.98    29.34   44.33    0.3446    0.4533   0.2022  
1 8.06 12.3  4.5   30  985.16    984.72      40.327     42.1    36.29   44.24    0.3446    0.4533   0.2022  
1 5.7 13.68  5.9   31  1004.28    1003.84      41.788     60.68    33.26   34.4    0.3446    0.4533   0.2022  
1 5.04 12.36  6.66   32  975.2    974.77      43.258     66.64    35.75   29.59    0.3446    0.4533   0.2022  
1 8.38 14.28  6.38   33  1271.62    1271.05      44.725     52.26    40.34   40.28    0.3445    0.4532   0.2022  
1 5.14 12.5  4.4   34  969.33    968.89      46.2     64.95    35.13   44.52    0.3446    0.4532   0.2022  
1 8.72 14.32  7.5   35  1421.79    1421.14      47.682     56.16    44.98   38.31    0.3446    0.4532   0.2022  
1 8.12 13.14  5.22   36  1278.55    1277.96      49.163     54.23    44.08   49.5    0.3446    0.4532   0.2022  
1 8.42 11.6  7.42   37  1353.38    1352.76      50.652     55.36    52.86   36.86    0.3446    0.4533   0.2022  
1 6.4 14.08  5.9   38  1321.22    1320.6      52.138     71.1    42.51   45.25    0.3446    0.4532   0.2022  
1 6.14 12.82  4.62   39  1222.09    1221.52      53.636     68.55    43.19   53.46    0.3446    0.4533   0.2022  
1 8.7 11.54  4.18   40  1323.46    1322.84      55.13     52.39    51.96   63.98    0.3446    0.4533   0.2022  
1 7.12 14.78  5.1   41  1477.59    1476.89      56.628     71.47    45.29   58.55    0.3446    0.4532   0.2022  
1 8.28 12.74  7.46   42  1613.14    1612.37      58.131     67.1    57.36   43.7    0.3446    0.4532   0.2022  
1 7.62 13.24  5.7   43  1549.89    1549.15      59.637     70.05    53.03   54.95    0.3446    0.4532   0.2022  
1 7.88 12.3  5.22   44  1527.4    1526.67      61.149     66.76    56.26   59.13    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