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.035218046605.915
alpha0.34456095055.296
beta0.453254067361.848
gamma0.202172064974.504
delta1.0869550565393.662
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.08695 becomes:

log (tC) = 1 * log(C) = 1.0352 + 0.3446 * log(wL) + 0.4533 * log(wK) + 0.2022 * log(wM) + 1.08695 * 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.08695 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.08695/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.08695/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.08695/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.08695/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.08695/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.0868
0.3446-0.54670.20221.0868
0.34460.4533-0.79781.0868

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 6.52 14.54  5.1   15  476.97    476.78      18.982     25.2    14.86   18.9    0.3446    0.4532   0.2022  
1 6.58 13.26  7.4   16  530.73    530.52      20.359     27.78    18.13   14.49    0.3446    0.4531   0.2021  
1 7.32 14.26  5.64   17  575.31    575.08      21.751     27.07    18.28   20.62    0.3446    0.4533   0.2022  
1 8.72 11.14  5.94   18  587.52    587.27      23.143     23.21    23.89   19.99    0.3446    0.4532   0.2022  
1 7.1 13.02  4.96   19  600.7    600.44      24.544     29.14    20.9   24.48    0.3446    0.4532   0.2022  
1 7.8 12.1  6.62   20  672.76    672.48      25.953     29.71    25.19   20.54    0.3446    0.4532   0.2022  
1 5.42 12.36  6.76   21  634.52    634.24      27.366     40.32    23.26   18.97    0.3446    0.4533   0.2022  
1 6.76 11.52  4.74   22  649.29    649.01      28.786     33.08    25.54   27.68    0.3446    0.4533   0.2022  
1 6.18 12.98  4.38   23  686.36    686.06      30.211     38.25    23.96   31.67    0.3446    0.4533   0.2022  
1 8.4 11.18  5.84   24  791.49    791.13      31.637     32.45    32.07   27.39    0.3445    0.4532   0.2022  
1 7.06 13.78  4.24   25  803.08    802.71      33.075     39.18    26.4   38.28    0.3446    0.4532   0.2022  
1 6.78 13.62  7.42   26  920.56    920.14      34.514     46.76    30.62   25.07    0.3445    0.4532   0.2022  
1 6.74 14.04  7.76   27  979.25    978.8      35.961     50.04    31.6   25.5    0.3446    0.4533   0.2022  
1 8.82 11.16  7.92   28  1011.37    1010.9      37.412     39.49    41.06   25.81    0.3445    0.4533   0.2022  
1 6.24 13.5  5.26   29  935.9    935.46      38.869     51.66    31.41   35.96    0.3446    0.4533   0.2022  
1 8.66 11.8  7.76   30  1106.43    1105.91      40.322     44    42.48   28.81    0.3445    0.4533   0.2022  
1 8.1 11.62  5.92   31  1053.44    1052.94      41.786     44.79    41.07   35.96    0.3446    0.4532   0.2022  
1 8.06 14.56  5.82   32  1201.6    1201.02      43.254     51.34    37.39   41.72    0.3445    0.4533   0.2022  
1 6.56 13.2  5.6   33  1098.46    1097.93      44.726     57.67    37.7   39.64    0.3446    0.4533   0.2022  
1 6.72 14.3  7.3   34  1251.75    1251.14      46.202     64.15    39.66   34.65    0.3446    0.4533   0.2022  
1 5.62 13.28  7.62   35  1184.82    1184.24      47.681     72.61    40.42   31.42    0.3446    0.4533   0.2022  
1 5.86 13.42  5.36   36  1159.8    1159.22      49.161     68.16    39.15   43.73    0.3446    0.4532   0.2022  
1 5.02 11.06  7.8   37  1119.52    1118.96      50.648     76.8    45.86   29    0.3445    0.4533   0.2022  
1 8.44 14.32  4.3   38  1373.82    1373.13      52.137     56.06    43.46   64.56    0.3446    0.4532   0.2022  
1 8.02 12.72  4.14   39  1305.87    1305.21      53.633     56.08    46.51   63.74    0.3446    0.4533   0.2022  
1 5.06 12.12  5.72   40  1196.2    1195.59      55.127     81.42    44.71   42.26    0.3446    0.4532   0.2022  
1 5.36 11.42  7.72   41  1296.27    1295.61      56.626     83.29    51.42   33.93    0.3446    0.4532   0.2022  
1 6.62 14.22  5.68   42  1485.55    1484.79      58.131     77.28    47.33   52.85    0.3446    0.4533   0.2022  
1 6.02 11.46  6.12   43  1357.85    1357.15      59.636     77.68    53.68   44.83    0.3446    0.4533   0.2022  
1 8.8 13.72  6.72   44  1754.53    1753.63      61.142     68.66    57.93   52.76    0.3445    0.4532   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