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 FunctionsReferences & 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.03518044930.589
alpha0.344561090836.936
beta0.453262055173.607
gamma0.20218055485.248
delta1.0869560502052.406
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 7.48 13.14  4.9   15  473.81    473.64      18.985     21.82    16.34   19.54    0.3446    0.4533   0.2021  
1 6.14 13.26  8   16  526.46    526.26      20.363     29.53    17.99   13.3    0.3445    0.4533   0.2022  
1 5.8 13.82  7.84   17  559.53    559.32      21.747     33.23    18.34   14.42    0.3446    0.4532   0.2021  
1 8.86 12.94  6.9   18  651.69    651.44      23.144     25.33    22.82   19.09    0.3445    0.4533   0.2022  
1 7.56 12.32  6.4   19  630.31    630.06      24.545     28.72    23.18   19.9    0.3446    0.4533   0.2021  
1 7.06 11.86  7.98   20  668.97    668.71      25.954     32.64    25.56   16.94    0.3446    0.4533   0.2022  
1 8.4 14.2  4.26   21  715.78    715.49      27.367     29.35    22.84   33.96    0.3446    0.4533   0.2022  
1 5.08 12.04  7.08   22  651.04    650.77      28.784     44.14    24.5   18.58    0.3446    0.4533   0.2021  
1 5.52 13.98  5.54   23  715.96    715.67      30.208     44.67    23.2   26.12    0.3445    0.4532   0.2022  
1 5.98 11.3  4.58   24  673.53    673.25      31.637     38.79    27   29.72    0.3445    0.4532   0.2022  
1 5.32 11.88  4.36   25  684.95    684.66      33.074     44.34    26.12   31.75    0.3445    0.4532   0.2022  
1 6.72 12.64  7.22   26  882.31    881.94      34.519     45.22    31.63   24.7    0.3446    0.4533   0.2022  
1 5.1 12.56  6.02   27  803.44    803.09      35.961     54.26    28.98   26.97    0.3446    0.4532   0.2022  
1 8.5 12.34  7.84   28  1042.98    1042.53      37.409     42.26    38.29   26.88    0.3446    0.4532   0.2021  
1 8.74 11.44  6.58   29  1020.27    1019.83      38.871     40.21    40.41   31.34    0.3446    0.4533   0.2022  
1 7.92 11.18  6.88   30  1021.8    1021.35      40.324     44.43    41.41   30.01    0.3445    0.4533   0.2022  
1 8.12 12.92  5.4   31  1085.88    1085.4      41.791     46.06    38.08   40.64    0.3446    0.4533   0.2022  
1 7.74 14.9  7.16   32  1248.64    1248.08      43.257     55.56    37.97   35.24    0.3446    0.4533   0.2022  
1 8.34 13.68  7.74   33  1294.67    1294.09      44.726     53.46    42.88   33.8    0.3445    0.4533   0.2022  
1 6.12 12.98  5.76   34  1105.74    1105.24      46.2     62.23    38.59   38.79    0.3446    0.4532   0.2022  
1 7.16 11.78  7.32   35  1209.96    1209.41      47.678     58.2    46.53   33.4    0.3446    0.4532   0.2022  
1 7.02 12.7  5.64   36  1216.26    1215.7      49.165     59.67    43.39   43.58    0.3446    0.4533   0.2022  
1 5.9 13.02  5.34   37  1180.45    1179.91      50.653     68.91    41.08   44.67    0.3446    0.4533   0.2022  
1 5.64 13.46  5.58   38  1225.45    1224.88      52.141     74.83    41.25   44.38    0.3446    0.4533   0.2022  
1 8.58 12.9  6.1   39  1454.79    1454.11      53.635     58.4    51.09   48.2    0.3446    0.4532   0.2022  
1 5.44 14.76  7.08   40  1400.11    1399.45      55.126     88.64    42.97   39.96    0.3446    0.4532   0.2022  
1 7.26 13.4  5.94   41  1467.44    1466.75      56.626     69.61    49.61   49.92    0.3445    0.4532   0.2022  
1 5.56 11.64  4.02   42  1191.28    1190.72      58.135     73.79    46.37   59.89    0.3446    0.4533   0.2022  
1 8.3 11.06  6.34   43  1503.21    1502.5      59.633     62.37    61.57   47.91    0.3445    0.4532   0.2022  
1 8.68 14.76  6.58   44  1797.39    1796.52      61.149     71.32    55.17   55.2    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