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.091799029602.168
alpha0.333341042346.908
beta0.380945029405.458
gamma0.285721054698.776
delta0.9523750257277.027
R2 = 1 R2b = 1 # obs = 30

The estimated regression equation for (*) with nu = 1, and with the (rounded) estimated values of log(B1) = 1.0918, alpha = 0.3333, beta = 0.3809, gamma = 0.2857, and delta = 0.95237 becomes:

log (tC) = 1 * log(C) = 1.0918 + 0.3333 * log(wL) + 0.3809 * log(wK) + 0.2857 * log(wM) + 0.95237 * log(q)       (**)

The sum of the estimated parameters, alpha + beta + gamma = 0.3333 + 0.3809 + 0.3 = 0.9999 = 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 = 0.95237 is less than 1.

The value of nu is too small. Try a larger 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.0918, the estimated value of B1 = exp(1.0918) = 2.9796.
Since B1 = B ^(alpha+beta+gamma) = B^nu, B = B1^1/nu = B1^1/0.9999 = 2.9799.
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)
= ((0.9999/ 2.9799)^0.9999) / (0.3333^0.3333 * 0.3809^0.3809 * 0.2857^0.2857) = 0.9999.

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

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^(0.95237/0.9999) * 2.9799 * [ wL^0.3333 * wK^0.3809 * wM^0.2857] ^(1/0.9999)       (****)

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^(0.95237/0.9999) * (0.3333 / wL) * c(wL,wK,wM) / (0.9999)
∂C/∂wK = K(q;wL,wK,wM) = h(q) * (beta / wK) * c(wL,wK,wM) / (alpha + beta + gamma) = q^(0.95237/0.9999) * (0.3809 / wK) * c(wL,wK,wM) / (0.9999)
∂C/∂wM = M(q;wL,wK,wM) = h(q) * (gamma / wM) * c(wL,wK,wM) / (alpha + beta + gamma) = q^(0.95237/0.9999) * (0.2857 / wM) * c(wL,wK,wM) / (0.9999)
        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 = 0.95237/0.9999, 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.66670.38090.28570.9525
0.3333-0.61910.28570.9525
0.33330.3809-0.71430.9525

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.4 14.22  6   15  351.17    351.28      13.184     15.82    9.41   16.73    0.3333    0.3809   0.2858  
1 5.34 11.78  5.92   16  310.58    310.68      14.02     19.39    10.05   14.99    0.3333    0.3811   0.2856  
1 7.34 14.04  7.06   17  411.33    411.46      14.852     18.69    11.16   16.65    0.3334    0.3808   0.2857  
1 6.46 11.3  7.44   18  388.98    389.11      15.686     20.08    13.12   14.94    0.3334    0.381   0.2857  
1 5.66 12.46  5.84   19  379.55    379.68      16.516     22.36    11.61   18.58    0.3333    0.381   0.2858  
1 8.28 13.34  7.86   20  505.49    505.66      17.341     20.36    14.44   18.38    0.3334    0.3809   0.2857  
1 7.02 12.82  4.88   21  430.79    430.94      18.167     20.46    12.81   25.23    0.3333    0.3811   0.2857  
1 6.64 11.48  5.72   22  443.5    443.66      18.986     22.27    14.72   22.16    0.3333    0.3809   0.2857  
1 7.58 11.38  4.98   23  463.25    463.41      19.809     20.38    15.51   26.59    0.3334    0.3809   0.2857  
1 6.86 12.22  5.36   24  489.64    489.81      20.629     23.8    15.27   26.11    0.3333    0.381   0.2857  
1 5.24 13.34  7.78   25  535.18    535.38      21.447     34.06    15.29   19.66    0.3334    0.381   0.2857  
1 6.94 12.42  7.5   26  587.53    587.75      22.264     28.23    18.03   22.39    0.3333    0.381   0.2857  
1 7.66 12.4  7.92   27  638.89    639.13      23.075     27.81    19.63   23.06    0.3333    0.3808   0.2858  
1 8.06 14.74  6.94   28  691.9    692.16      23.894     28.63    17.89   28.5    0.3334    0.381   0.2858  
1 8.42 13.42  5.78   29  664.76    665.01      24.704     26.33    18.88   32.87    0.3334    0.381   0.2857  
1 6.36 14  5.08   30  612.43    612.66      25.513     32.11    16.67   34.46    0.3333    0.3809   0.2857  
1 7.32 11.74  7.94   31  703.49    703.76      26.327     32.05    22.84   25.33    0.3334    0.381   0.2858  
1 8.4 12.74  6.94   32  753.58    753.88      27.132     29.92    22.54   31.04    0.3334    0.3809   0.2857  
1 5.64 12.26  7.5   33  684.65    684.92      27.936     40.48    21.28   26.09    0.3333    0.3809   0.2857  
1 7.86 14.4  7.68   34  842.22    842.55      28.744     35.73    22.29   31.35    0.3333    0.381   0.2858  
1 6.12 13.22  7.24   35  758.09    758.39      29.547     41.31    21.85   29.93    0.3334    0.3809   0.2857  
1 8.16 13.2  4.9   36  766.18    766.48      30.35     31.31    22.12   44.69    0.3333    0.3809   0.2857  
1 7.84 12.56  6.22   37  815.17    815.49      31.151     34.67    24.73   37.46    0.3333    0.3809   0.2857  
1 7.64 11.22  6.8   38  814.58    814.91      31.954     35.55    27.67   34.24    0.3333    0.381   0.2857  
1 8.3 13.9  4.04   39  802.6    802.92      32.755     32.25    22   56.79    0.3334    0.3809   0.2857  
1 8.72 11.94  7.88   40  954.71    955.1      33.553     36.51    30.47   34.63    0.3333    0.3809   0.2857  
1 8.8 14.94  4.3   41  898.11    898.47      34.352     34.03    22.91   59.7    0.3333    0.381   0.2857  
1 8.42 12  7.12   42  962.12    962.51      35.148     38.1    30.55   38.63    0.3333    0.3809   0.2858  
1 8.98 12.86  5.7   43  968.57    968.97      35.946     35.97    28.7   48.57    0.3334    0.3809   0.2857  
1 8.94 13.86  4.84   44  970.71    971.11      36.743     36.21    26.69   57.33    0.3333    0.3809   0.2857  

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