www.egwald.com Egwald Web Services

Egwald Web Services
Domain Names
Web Site Design

Egwald Website Search Twitter - Follow Elmer Wiens Radio 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

Production Functions

by

Elmer G. Wiens

Egwald's popular web pages are provided without cost to users.
Follow Elmer Wiens on Twitter: Twitter - Follow Elmer Wiens

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

Cost Functions:   Cobb-Douglas Cost | Normalized Quadratic Cost | Translog Cost | Diewert Cost | Generalized CES-Translog Cost | Generalized CES-Diewert Cost | References and Links

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

G. Generate CES Data and Estimate a Translog Production Function

1. The three factor CES production function is:

q = A * [alpha * (L^-rho) + beta * (K^-rho) + gamma *(M^-rho)]^(-nu/rho) = f(L,K,M).

where L = labour, K = capital, M = materials and supplies, and q = product. The parameter nu is a measure of the returns to scale, while the parameter rho yields the elasticity of substitution sigma = 1/(1 + rho).

2. The three factor Translog production function is:

ln(q) = ln(A) + aL*ln(L) + aK*ln(K) + aM*ln(M) + bLL*ln(L)*ln(L)+ bKK*ln(K)*ln(K) + bMM*ln(M)*ln(M)
+ bLK*ln(L)*ln(K) + bLM*ln(L)*ln(M) + bKM*ln(K)*ln(M) = f(L,K,M).

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

3. The coefficients of the translog production function vary with sigma and nu.

The program will generate a set of 208 observations, and use ordinary least squares to estimate the Translog coefficients.

The observations are the CES function's cost-minimizing combinations of L, K, and M at the factor prices, wL, wK, wM for values of q from 15 to 40.

The factor prices are distributed about the base factor prices by adding a random number distributed uniformly in the domain [-2, 2]. The program generates the CES cost-minimizing values of L, K, and M for each combination of base prices for each value of q in the [15, 45] domain.

Base Factor Prices
wLwKwM
888
7136
6713
1367
91511
11915
15119
121212

Set the parameters below to re-run with your own CES parameters.

Restrictions: .5 < nu < 2; .2 < sigma < 5; .1 < alpha, beta, gamma < .9
sigma = 1 → nu = alpha + beta + gamma (Cobb-Douglas)
sigma < 1 → inputs complements; sigma > 1 → inputs substitutes

CES Production Function Parameters
elasticity of scale parameter: nu
elasticity of substitution: sigma
alpha
beta
gamma
Coefficient Estimates
Variable Coefficient std error t-ratio
lnA0.0002600.826
lnL0.34991703366.671
lnK0.39992603543.989
lnM0.25001802749.959
lnLlnL-0.0201370-1030.539
lnKlnK-0.0210920-962.93
lnMlnM-0.0172570-994.851
lnLlnK0.0240710792.624
lnLlnM0.0162850529.951
lnKlnM0.0181470599.799
R2 = 1 R2b = 1 # obs = 208

The table below displays the CES function's cost-minimizing combinations of L, K, and M at the factor prices, wL, wK, wM for values of q from 15 to 40.
The column est q = f(L, K, M) (using the translog function as estimated), where L, K, and M are the CES function's cost-minimizing combinations.

CES Production Function Data
obs #qest qLKM wL wK wM
   1   15 15 14.55 19.57 10.46 9.5 7.66 10
   2   16 16 16.81 19.26 11.28 8.32 8.1 9.5
   3   17 17 16.64 18.18 15.75 9.26 9.54 7.06
   4   18 18 16.36 22.59 14.49 9.54 7.46 7.86
   5   19 19 20.6 22.76 12.95 6.16 6.26 7.6
   6   20 20 22.26 21.91 15.03 8.5 9.9 9.64
   7   21 21 22.11 22.38 17.71 8.22 9.26 7.62
   8   22 22 21.2 26.95 16.95 7.36 6.34 6.84
   9   23 23 21.55 28.24 18.35 8.18 6.8 7.06
   10   24 24 24.87 24.51 22.09 8.26 9.6 6.78
   11   25 25 27.31 26.54 20.18 8.02 9.48 8.18
   12   26 26 25.7 29.93 21.24 8.48 8.1 7.58
   13   27 27 27.03 29.54 23.42 8.14 8.38 6.88
   14   28 28 27.87 34.61 20.39 7 6.2 7.22
   15   29 29 28.53 30.75 27.04 8.62 9.02 6.56
   16   30 30 27.34 33.58 28.62 9.34 8.38 6.32
   17   31 31 36.93 33.49 21.79 6.02 7.72 8
   18   32 32 33.71 35.12 25.78 6.72 7.32 6.58
   19   33 33 29.89 40.3 27.78 8.58 6.9 6.68
   20   34 34 39.5 40.65 21.28 6.1 6.74 9.02
   21   35 35 38.68 40.04 24.89 8.02 8.8 9.62
   22   36 36 31.25 47.04 29.09 9.6 6.78 7.46
   23   37 37 40.38 41.63 27.41 7.42 8.18 8.36
   24   38 38 39.96 47.09 25.66 7.6 7.16 9.14
   25   39 39 43.67 40.36 31.7 6.3 7.9 6.56
   26   40 40 50.52 40.32 28.94 6.12 9.12 8.42
   27   15 15 18.31 11.16 18.6 6.96 14.24 4.88
   28   16 16 20.41 13.53 15.05 6.26 11.6 6.4
   29   17 17 18.41 16.3 16.28 8.8 11.6 7.26
   30   18 18 18.29 15.54 22.44 8.8 12.18 4.94
   31   19 19 22.16 14.73 23.39 7.76 14.34 5.2
   32   20 20 23.88 18.89 17.2 7.44 11.2 7.82
   33   21 21 25.22 17.35 22.28 7.38 13.1 6.1
   34   22 22 28.79 17.59 21.95 5.86 11.96 5.76
   35   23 23 31.57 19.73 19.22 5.98 11.88 7.66
   36   24 24 32.35 21.1 19.75 6 11.34 7.66
   37   25 25 28.48 22.57 24.63 8.12 12.2 6.88
   38   26 26 27.29 23.12 29.42 8.38 11.64 5.48
   39   27 27 32.12 22.17 29.31 7.92 14 6.3
   40   28 28 41.06 21.81 25.12 5.78 13.9 7.36
   41   29 29 31.44 25.73 31.47 8.24 11.92 5.88
   42   30 30 33.53 26.28 31.86 8.2 12.48 6.22
   43   31 31 34.79 24.51 38.94 8.6 14.84 5.38
   44   32 32 38.31 27.79 31.38 7.46 12.44 6.74
   45   33 33 40.05 24.68 40.9 5.94 12 4.14
   46   34 34 37.24 29.74 37.24 8.96 13.34 6.4
   47   35 35 41.51 26.91 42.7 7.44 14.16 5.14
   48   36 36 38.73 29.84 44.3 8.1 12.58 4.94
   49   37 37 46.79 28.93 40.13 6.38 12.84 5.46
   50   38 38 42.64 32.78 41.17 8.22 12.8 6.12
   51   39 39 54.23 32.36 33.8 5.94 12.46 7.4
   52   40 40 55.43 31.52 37.89 6.64 14.74 7.42
   53   15 15 17.54 21.93 7.08 6.42 5.64 13.34
   54   16 16 21.9 22.09 6.77 5.02 5.68 14.28
   55   17 17 26.1 19.1 8.32 5.38 8.88 14.76
   56   18 18 21.5 26.95 8.03 6.3 5.52 14.34
   57   19 19 23.78 27.8 8.26 5.32 5.06 13.18
   58   20 20 30.41 23.21 9.46 4.98 7.82 14.06
   59   21 21 24.31 30.68 10.03 6.12 5.32 12.38
   60   22 22 28.13 27.1 11.74 7.32 8.74 14.62
   61   23 23 26.38 27.75 14.44 7.84 8.44 11.38
   62   24 24 26.74 30.28 14.67 7.86 7.76 11.38
   63   25 25 36.34 33.4 10.31 4.12 5.2 12.96
   64   26 26 34.19 35.07 11.87 4.76 5.28 11.8
   65   27 27 30.91 37.22 14.12 6.14 5.64 11.02
   66   28 28 32.2 41.16 13.37 6.96 5.96 13.98
   67   29 29 41.17 34.91 14.12 5.78 8.02 14.54
   68   30 30 38.39 41.21 13.81 5.86 6.16 13.94
   69   31 31 34.86 40.08 18.1 7.94 7.7 12.26
   70   32 32 40.91 40.2 16.63 5.64 6.58 11.62
   71   33 33 38.3 46.99 16.26 7.48 6.72 14.64
   72   34 34 48.29 41.08 16.46 5.02 6.94 12.72
   73   35 35 54.68 35.91 19.06 4.78 8.96 11.8
   74   36 36 38.42 53.58 18.52 6.6 5.1 11.12
   75   37 37 43.27 55.91 16.71 6.08 5.14 13.3
   76   38 38 52.11 45.82 19.22 5.1 6.78 11.78
   77   39 39 59.67 45.33 18.28 4.28 6.76 12.3
   78   40 40 48.13 49.64 22.74 7.64 8.42 13.18
   79   15 15 12 21.86 11.58 11.2 6.32 8.34
   80   16 16 10.31 25.95 14.47 11.1 4.28 5.32
   81   17 17 12.9 20.75 18.48 12.1 7.9 5.66
   82   18 18 11.95 32.44 13.44 12.64 4.46 7.86
   83   19 19 14.19 28.96 15.17 12.6 6.22 8.32
   84   20 20 15.98 27.56 16.78 13.22 7.96 8.92
   85   21 21 12.45 39.35 17.52 14.78 4.36 7.06
   86   22 22 15.19 35.4 18.17 14.72 6.22 8.52
   87   23 23 16.38 33.85 20.67 13.4 6.52 7.28
   88   24 24 15.06 42 20.25 14.92 5.1 7.52
   89   25 25 17.91 36.78 22.28 13.14 6.44 7.26
   90   26 26 16.44 44.53 22.35 13.9 4.92 6.92
   91   27 27 17.55 39.72 27.82 14.78 6.46 6.14
   92   28 28 19.06 42.97 25.28 11.2 4.92 5.74
   93   29 29 23.04 42.93 22.12 11.32 6.22 8.48
   94   30 30 24.77 37.63 27.64 11.28 7.88 7.08
   95   31 31 22.43 42.78 29.96 13.58 7.26 6.9
   96   32 32 24.54 43.3 29.25 12.12 7.1 7.04
   97   33 33 20.7 48.72 35.69 14.56 6.08 5.48
   98   34 34 24.77 54.64 26.06 12.96 5.84 8.72
   99   35 35 23.19 54.29 32.38 11.9 5 5.74
   100   36 36 22.77 63.2 29.89 14.66 5.04 7.6
   101   37 37 28.61 51.02 32.5 12.72 7.36 7.82
   102   38 38 27.03 64.39 27.99 12.78 5.26 8.76
   103   39 39 26.14 57.99 37.75 12.6 5.64 5.84
   104   40 40 29.78 55.61 36.64 13.9 7.62 7.78
   105   15 15 18.98 14.06 12.1 9.16 14.9 11.12
   106   16 16 19.1 14.65 14.46 10.48 16.36 10.38
   107   17 17 24.97 14.69 12.88 7.08 15.1 11.02
   108   18 18 20.61 18.58 14.26 10.78 13.92 11.88
   109   19 19 23.83 17.81 15.51 9.24 14.88 10.94
   110   20 20 25.13 19.59 15.21 8.92 13.66 11.5
   111   21 21 25.42 19.99 17.52 10.46 15.86 11.58
   112   22 22 27.46 21.1 17.44 9.88 15.4 12.04
   113   23 23 34.47 19.88 17 7.4 16.16 12.14
   114   24 24 29.03 23.34 19.39 9.68 14.3 11.12
   115   25 25 29.73 25.13 19.63 10.64 14.82 12.38
   116   26 26 39.38 22.8 18.55 7.24 15.74 12.54
   117   27 27 39.12 24.42 19.4 7.8 15.52 12.72
   118   28 28 34.56 26.42 23.1 10.72 16.8 12.3
   119   29 29 40.13 27.17 20.9 8.24 14.9 12.68
   120   30 30 35 29.32 25.22 9.96 14.02 10.46
   121   31 31 46.81 26.62 22.94 7.62 16.92 12.6
   122   32 32 41.77 27.68 28.16 8.54 15.84 9.7
   123   33 33 49.81 29.25 23.25 7.28 15.56 12.74
   124   34 34 42.71 31.13 28.74 8.24 13.66 9.38
   125   35 35 42.18 35.69 26.43 9.66 13.44 11.96
   126   36 36 44.29 36.7 26.48 9.68 13.8 12.66
   127   37 37 50.49 32.2 30.44 7.38 14.32 9.56
   128   38 38 51.01 35.29 28.84 8.86 15.62 12.38
   129   39 39 44.28 36.73 36.04 10.9 15.52 9.92
   130   40 40 52.79 38.28 29.62 9.22 15.38 13
   131   15 15 16.94 21.06 7.79 9.2 8.14 16.4
   132   16 16 17.66 20.6 9.62 10.24 9.76 14.94
   133   17 17 16.59 25.04 9.92 12.86 9.06 16.82
   134   18 18 18.21 23.99 11.52 12.66 10.46 15.5
   135   19 19 20.8 24.36 11.61 11.04 10.48 15.66
   136   20 20 18.77 29.38 12.33 12.96 8.74 15.18
   137   21 21 23.54 29.75 10.87 9.52 8.26 16.88
   138   22 22 25.17 28.98 12.26 10.04 9.72 16.72
   139   23 23 26.25 28.85 13.75 10.6 10.84 16.2
   140   24 24 25.06 32.81 14.23 10.62 8.84 14.76
   141   25 25 28.41 30.49 15.64 10.04 10.56 14.48
   142   26 26 28.6 32.27 16.53 9.74 9.66 13.26
   143   27 27 27.18 39.7 15.19 10.6 7.76 15.02
   144   28 28 25.51 43.31 16.72 12.72 7.8 14.94
   145   29 29 30.39 44.32 14.73 9.82 7.2 16.44
   146   30 30 29.2 41.04 19.45 12.64 9.68 14.56
   147   31 31 34.71 37.85 19.73 9.88 10.2 13.72
   148   32 32 33.42 44.16 18.73 10.88 8.96 15.36
   149   33 33 34.14 43.1 21.11 11.74 10.2 14.76
   150   34 34 33.35 51.21 19.14 11.42 7.88 15.68
   151   35 35 34.8 48.38 21.77 11.4 8.84 14.14
   152   36 36 37.52 49.54 21.21 10.92 9 15.26
   153   37 37 37.58 51.57 22.14 10.08 7.94 13.42
   154   38 38 34.3 59.91 22.37 12.04 7.14 14.22
   155   39 39 44.26 52.35 21.38 9.04 8.48 15.2
   156   40 40 40.52 60.78 21.36 10.18 7.22 15.44
   157   15 15 11.22 18.45 16.46 16.08 10.24 7.32
   158   16 16 12.92 17.79 18.37 15.76 12.36 7.44
   159   17 17 15.31 21.69 13.52 13.16 9.98 10.88
   160   18 18 17.14 20.39 15.86 13.14 12.24 10.28
   161   19 19 14.98 22.11 21.04 15.74 11.38 7.54
   162   20 20 16.33 22.07 22.86 15.64 12.54 7.52
   163   21 21 18.75 24.91 18.86 13.42 10.98 9.52
   164   22 22 17.38 26.94 22.41 13.22 9.02 7
   165   23 23 16.78 28.34 26.13 16.6 10.24 7.04
   166   24 24 21.03 28.88 21.64 15.38 12.1 10.62
   167   25 25 23.16 27.99 23.29 13.76 12.58 9.76
   168   26 26 19.64 33.59 26.06 15.66 9.52 8.02
   169   27 27 23.06 32.39 25.37 15.94 12.22 10.18
   170   28 28 23.86 31.8 28.73 13.2 10.76 7.58
   171   29 29 22.32 36.32 29.65 16.98 10.94 8.68
   172   30 30 23.18 39.34 28.42 16.76 10.28 9.42
   173   31 31 26.44 40.19 25.97 13.52 9.44 9.86
   174   32 32 25.38 39.52 32 14.38 9.76 7.82
   175   33 33 27.74 39.95 31.28 15 11.16 9.3
   176   34 34 26.85 44.03 31.81 15.72 10.04 9.2
   177   35 35 28.05 47.16 30.23 15.32 9.5 10.02
   178   36 36 28.57 44.74 35.61 15.78 10.64 8.7
   179   37 37 29.38 48.68 33.54 16.2 10.22 9.9
   180   38 38 30.82 45.36 38.75 15.58 11.3 8.5
   181   39 39 29.89 54.05 34.43 16.34 9.3 9.88
   182   40 40 33.34 46.23 41.25 13.06 10.16 7.26
   183   15 15 14.4 19.12 10.96 12.88 10.54 12.68
   184   16 16 13.85 20.02 13.84 13.98 10.36 10
   185   17 17 17.71 19.07 13.44 11.72 12.28 11.58
   186   18 18 19.13 19.18 14.99 12.02 13.7 11.44
   187   19 19 19.1 23.99 13.24 12.4 10.84 13.64
   188   20 20 22.27 22.62 14.32 11.18 12.54 13.42
   189   21 21 21.7 23.37 17 12.18 12.76 11.6
   190   22 22 24.52 24.64 15.97 10.6 12.04 12.54
   191   23 23 26.83 24.12 17.37 10.76 13.94 12.82
   192   24 24 27.39 27.78 16.1 10.16 11.42 13.56
   193   25 25 27.67 25.61 20.95 10.72 13.42 10.62
   194   26 26 28.51 29.34 19.05 12.18 13.46 13.98
   195   27 27 27.03 30.55 22.25 13.52 13.38 12.14
   196   28 28 29.13 31.77 21.82 11.82 12.2 11.86
   197   29 29 28.61 32.17 25.12 13.86 13.8 11.54
   198   30 30 29.61 33.84 25.31 13.76 13.44 11.82
   199   31 31 30.46 37.25 23.93 13.28 11.98 12.6
   200   32 32 35.63 34.33 24.8 10.4 12.42 11.38
   201   33 33 34.24 38.3 24.95 11.94 11.96 12.38
   202   34 34 38.62 35.38 26.88 10.42 13.2 11.4
   203   35 35 33.1 45.84 25.08 13.76 10.72 13.62
   204   36 36 39.98 41.33 25.3 10.12 11.12 12.38
   205   37 37 40.91 44.14 24.74 10.66 11.14 13.76
   206   38 38 36.95 45.97 29.46 12.74 11.26 11.88
   207   39 39 43.69 40.52 31.48 11.18 13.96 11.74
   208   40 40 38.27 51.38 29.03 13.86 11.2 13.7

 
   

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