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
lnA-0.0002190-0.545
lnL0.35020402606.769
lnK0.4002102865.392
lnM0.2497102172.227
lnLlnL-0.020210-783.093
lnKlnK-0.0211140-830.805
lnMlnM-0.0171620-777.472
lnLlnK0.0241120658.86
lnLlnM0.0162960416.159
lnKlnM0.0180610504.987
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.02 16.44 14.27 9.84 9.32 6.88
   2   16 16 17.65 17.07 12.65 8.38 9.96 8.86
   3   17 17 18.03 22.19 10.54 7.42 6.64 9.96
   4   18 18 20.5 17.03 16.45 6.7 9.52 6.2
   5   19 19 18.01 22.37 15.88 9.78 8.66 8.1
   6   20 20 22.26 21.26 15.73 7.56 9.12 8.12
   7   21 21 23.75 22.08 16.44 6.94 8.64 7.64
   8   22 22 19.08 29.14 17.45 9.88 6.86 7.84
   9   23 23 24.73 25.48 17.78 7.16 7.9 7.54
   10   24 24 29.19 23.34 19.25 6.28 9.34 7.32
   11   25 25 28.87 25.66 19.76 6.9 9.06 7.7
   12   26 26 33.06 28.46 16.51 6 8.18 9.7
   13   27 27 27.27 30.72 21.79 9.16 9.1 8.52
   14   28 28 23.03 37.38 23.63 9.44 6.1 6.54
   15   29 29 27.86 33.77 24.19 9.96 9.08 8.4
   16   30 30 32.62 30.93 25.5 7.02 8.54 6.7
   17   31 31 31.78 33.37 26.7 8.6 9.28 7.54
   18   32 32 36.17 35.06 23.56 8.3 9.84 9.82
   19   33 33 33.96 37.52 26.01 7.22 7.34 7.06
   20   34 34 34.86 37.18 28.57 7.4 7.84 6.68
   21   35 35 38.57 40.42 24.64 8.1 8.76 9.8
   22   36 36 34.93 41.81 29.75 9.62 8.9 8.3
   23   37 37 35.98 42.27 31.25 9.56 9.04 8.06
   24   38 38 34.47 51.18 27.66 8.58 6.16 7.94
   25   39 39 37.14 52.95 26.3 8.34 6.28 8.94
   26   40 40 38.25 47.62 32.49 9.08 8.02 7.86
   27   15 15 16.33 12.11 18.98 8.66 14.06 5.18
   28   16 16 21.42 11.26 19.26 5.04 12.28 4.08
   29   17 17 19.54 13.47 20.59 8.28 14.66 5.56
   30   18 18 19.79 14.45 22.68 8.38 13.86 5.1
   31   19 19 26.61 16.49 15.19 5.76 11.56 7.96
   32   20 20 21.76 18.74 19.75 8.12 11.06 6.5
   33   21 21 24.4 18.13 21.66 7.74 12.54 6.36
   34   22 22 23.51 19.05 25.37 7.9 11.56 5.16
   35   23 23 28.43 17.44 27.11 6.46 13.12 4.88
   36   24 24 30.94 19.8 23.18 6.2 11.98 6.22
   37   25 25 37.75 17.36 26.19 5.08 14.48 5.58
   38   26 26 39.09 18.46 26.37 5.04 13.92 5.72
   39   27 27 40.73 21.93 21.84 5.22 12.36 7.76
   40   28 27.99 29.37 21.05 42.47 8.86 14.98 4.1
   41   29 29 32.57 24.09 33.45 8.64 14.08 5.98
   42   30 30 41.9 22.48 30.59 5.88 13.98 6.08
   43   31 31 39.73 26.38 28.68 6.66 12.32 6.98
   44   32 32 36.61 24.62 41.03 6.66 12.14 4.16
   45   33 33 43.29 27.43 30.78 7.16 14 7.64
   46   34 34 47.13 24.99 36.18 5.6 13.5 5.46
   47   35 35 41.24 31.62 32.88 7.4 11.56 6.9
   48   36 36 41.67 28.87 42.27 7.66 13.48 5.38
   49   37 37 39.87 30.11 46.89 8.1 12.88 4.78
   50   38 38 47.98 31.99 36.51 6.68 12.3 6.58
   51   39 39 50.97 34.12 33.64 6.2 11.36 7.22
   52   40 40 42.93 32.42 51.34 7.12 11.32 4.12
   53   15 15 20.89 19.15 6.9 5.7 7.22 15
   54   16 16 20.36 20.3 8.24 6.54 7.5 13.54
   55   17 17 22.73 22.93 7.62 5.5 6.22 14.22
   56   18 18 20.87 21.96 10.97 7.36 7.92 11.2
   57   19 19 26.98 21.71 9.93 5.68 8.38 13.14
   58   20 20 22.76 27.42 10.62 6.84 6.28 11.98
   59   21 21 24.78 28.12 11.02 7.92 7.8 14.68
   60   22 22 32.66 23.25 12.19 5.28 9 12.02
   61   23 23 28.75 28.28 12.64 7.38 8.6 13.86
   62   24 24 30.26 29.24 13.22 6.1 7.26 11.54
   63   25 25 40.49 29.98 10.54 4.24 6.9 14.76
   64   26 26 34.64 31.29 13.64 5.62 7.24 12.02
   65   27 27 32.88 40.23 11.84 5.88 5.3 13.96
   66   28 28 31.4 39.39 14.62 7.22 6.32 12.68
   67   29 29 33.94 39.83 14.84 6 5.68 11.34
   68   30 30 45.23 33.08 15.38 5.28 8.72 13.42
   69   31 31 38.05 42.08 15.22 5.28 5.36 11.08
   70   32 32 38.45 45.43 15.19 6.58 6.18 14.02
   71   33 33 47.95 37.77 16.76 5.3 8.02 13.04
   72   34 34 43.01 43.94 17.2 5.24 5.84 11
   73   35 35 41.6 43.93 19.88 6.98 7.48 11.88
   74   36 36 41.87 48.3 19.16 7.1 6.86 12.72
   75   37 37 48.06 45.89 19.19 5.42 6.54 11.4
   76   38 38.01 55.23 51.99 15.2 4.4 5.4 14.34
   77   39 39 51.18 54.58 17.01 5.04 5.34 13.16
   78   40 39.99 63.18 44.17 19.4 4.18 7.28 11.98
   79   15 15 11.43 21 13.15 11.52 6.44 6.98
   80   16 16 10.34 28.76 12.45 12.88 4.42 7.4
   81   17 17 11.76 22.7 18.46 14.56 7.68 6.12
   82   18 18 12.55 27.08 16.15 14.88 6.88 7.9
   83   19 19 12.72 28.33 18.35 11.72 5.22 5.44
   84   20 20 14.98 28.38 17.62 14.84 8 8.76
   85   21 21 13.77 30.42 21.84 12.76 5.74 5.3
   86   22 22 17.31 31.7 17.68 12.8 7.18 8.92
   87   23 23 19.24 29.25 20.37 11.26 7.86 7.52
   88   24 24 15.57 38.83 21.54 11.28 4.4 5.5
   89   25 25 19.67 32.74 23.13 11.22 7.04 6.62
   90   26 26 16.29 45.9 21.73 13.44 4.54 6.84
   91   27 27 19.86 36.12 26.67 11.88 6.72 6
   92   28 28 19.83 40.46 26.06 11.62 5.74 6.02
   93   29 28.99 19.44 54.91 19.96 12.82 4.32 8.88
   94   30 30 19.3 53.26 23.91 12.82 4.44 7.12
   95   31 31 21.64 46.19 28.17 12.64 5.92 6.62
   96   32 32 23.05 47.29 28.11 14.14 6.94 8
   97   33 33 24.8 45.43 30.26 13.02 7.3 7.36
   98   34 34 27.29 45.18 29.91 12.32 7.78 7.9
   99   35 35 23.42 53.03 33.03 14.1 6.16 6.72
   100   36 36 22.59 55.86 36.14 12.9 5.08 5.3
   101   37 37 22.26 65.33 32.82 14.72 4.74 6.66
   102   38 38 30.45 49.27 34.75 12.3 7.98 7.52
   103   39 39 27.95 53.64 38.39 13.3 7.06 6.54
   104   40 40 28.57 62.89 32.54 11.78 5.32 7.22
   105   15 15 19.05 13.52 12.81 9.32 15.94 10.62
   106   16 16 22.9 13.57 12.91 7.08 14.98 9.92
   107   17 17 24.28 14.46 13.69 7.58 15.94 10.62
   108   18 18 25.9 16.15 13.2 7.02 13.98 11.08
   109   19 19 22.65 18.11 16.15 10.76 16 11.44
   110   20 20 27.82 16.85 16.9 7.82 16.12 10.04
   111   21 21 26.19 20.72 15.96 8.66 13.04 11.08
   112   22 22 28.81 19.38 18.72 7.62 13.88 9.04
   113   23 23 33.57 21.09 16.04 7.14 14.1 12.16
   114   24 24 28.79 22.66 20.53 9.48 14.36 10.08
   115   25 25 32.52 22.25 21.11 7.68 13.72 9.12
   116   26 26 37.39 21.82 21.19 7.84 16.88 10.92
   117   27 27 34.82 24.34 22.6 7.66 13.34 9.1
   118   28 28 36.11 28.23 19.73 8.58 13.1 12.48
   119   29 29 32.87 28.61 24.97 10.82 14.56 10.68
   120   30 30 43.23 25.94 23.27 8.08 16.84 11.96
   121   31 31 37.93 28.85 26.42 10.54 16.62 11.52
   122   32 32 42.16 30.56 23.83 8.76 14.62 12.24
   123   33 33 41.53 32.88 24.41 9.32 14.02 12.44
   124   34 34 49.25 31.85 23.16 7.4 14.12 12.84
   125   35 35 43.29 36.03 25.2 9.32 13.22 12.58
   126   36 36 45.45 34.98 27.56 9.9 15.4 12.74
   127   37 37 47.6 34.27 29.78 8.24 13.86 10.22
   128   38 38 53.4 33.59 29.39 8.5 16.76 12.26
   129   39 39 48.26 37.26 31.44 9.76 15.12 11.54
   130   40 40 48.72 37.5 33.92 9.62 14.96 10.52
   131   15 15 17.65 18.03 9.17 9.26 10.32 14.3
   132   16 16 16.57 23.96 8.48 9.48 7.02 14.9
   133   17 17 16.29 25.2 10.07 12.6 8.62 15.84
   134   18 18 18.1 27.19 9.78 10 7.08 14.74
   135   19 19 18.65 28.54 10.72 11.58 8.02 15.86
   136   20 20 24.53 24.11 11.57 9.4 10.96 16.26
   137   21 21 22.59 29.43 11.6 9.58 8.02 14.98
   138   22 22 21.48 30.19 14.15 12.3 9.42 14.36
   139   23 23 23.56 31.41 14 11.54 9.4 15.2
   140   24 24 21.02 39 14.11 13 7.18 14.84
   141   25 25 28.57 33.39 13.68 9.04 8.6 15.36
   142   26 26 29.75 31.78 16.07 9.42 9.96 13.88
   143   27 27 28.99 33.83 17.47 10.62 10.12 13.76
   144   28 28 26.95 39.9 17.41 11.44 8.24 13.66
   145   29 29 27.7 42.65 17.44 10.64 7.32 13.1
   146   30 30 30.27 42.4 17.76 10.72 8.24 14.34
   147   31 31 34.1 43.67 16.54 9.74 8.32 16.3
   148   32 32 30.4 45.88 20.07 11.7 8.24 13.62
   149   33 33 33.05 47.09 19.46 12.34 9.3 16.44
   150   34 34 36.06 48.85 18.48 10.78 8.62 16.9
   151   35 35 37.17 46.14 21.37 12.12 10.74 16.6
   152   36 36 34.53 47.8 24.83 12.8 9.98 13.48
   153   37 37 42.91 46.1 21.89 9.54 10.02 15.04
   154   38 38 41.78 47.41 24 10.66 10.5 14.62
   155   39 39 42.24 49.28 24.65 11.16 10.64 15.02
   156   40 40 45.26 55.06 21.27 9.72 8.82 16.88
   157   15 15 12.16 19.34 13.61 14.26 9.44 8.92
   158   16 16 14.45 17.66 15.79 13.36 12.06 8.6
   159   17 17 14.21 19.81 17.22 15.34 11.86 8.74
   160   18 18 16.38 21.31 15.78 14.52 12.18 10.84
   161   19 19 14.75 23.3 19.81 15.14 10.1 7.64
   162   20 20 16.64 23.79 19.75 15.96 11.98 9.32
   163   21 21 18.87 25.67 17.86 14.28 11.36 10.88
   164   22 22 18.61 29.69 17.57 14.34 9.46 10.96
   165   23 23 16.86 30.07 23.66 15.94 9.22 7.64
   166   24 24 21.06 29.14 21.31 15.62 12.18 11
   167   25 25 20.59 32.26 22.15 16.38 11.04 10.74
   168   26 26 18.5 33.99 27.97 16.9 9.44 7.42
   169   27 27 19.67 36.47 26.66 16.9 9.34 8.44
   170   28 28 22.29 37.6 24.53 16.8 10.38 10.72
   171   29 29 23.29 37.37 26.69 16.24 10.64 9.88
   172   30 30 25.97 33.86 30.39 13.44 11.24 7.98
   173   31 31 27.6 34.67 30.6 14.76 12.9 9.34
   174   32 32 28.81 34.88 32.38 14.2 12.96 8.84
   175   33 33 26.79 36.02 38.74 15.12 12.2 7
   176   34 34 25.49 43.23 35.3 15.44 9.48 7.52
   177   35 35 30.62 39.81 34.49 15.3 12.84 9.5
   178   36 36 29.96 41.9 36.79 16.54 12.74 9.28
   179   37 37 31.33 45.67 33.7 13.58 9.96 8.9
   180   38 38 29.17 48.45 37.95 15.8 9.94 8.28
   181   39 39 33.61 51.75 31.12 13.58 9.34 10.62
   182   40 40 33.72 44.78 42.66 14.66 12 7.94
   183   15 15 16.33 17.28 10.76 10.42 11.14 12.16
   184   16 16 17.16 19.03 11.17 11.32 11.46 13.4
   185   17 17 17.21 19.31 13.71 13.78 13.76 12.86
   186   18 18 19.46 20.8 12.98 11.96 12.64 13.76
   187   19 19 18.85 22.53 14.77 12.86 11.92 12.24
   188   20 20 22.83 22.39 14.09 10.76 12.58 13.56
   189   21 21 21.99 25.23 14.91 12.18 11.84 13.74
   190   22 22 23.52 27.36 14.47 10.64 10.18 13.46
   191   23 23 24.9 27.09 16.1 11.38 11.78 13.58
   192   24 24 22.59 29.29 19.19 12.78 10.76 11.06
   193   25 25 23.75 30.45 19.8 14 11.94 12.38
   194   26 26 26.3 31.1 19.45 10.68 10.02 10.88
   195   27 27 28.01 28.95 23 11.88 13.06 10.7
   196   28 28 29.26 34.07 19.56 11.26 10.76 12.92
   197   29 29 28.29 30.95 27.08 13.46 13.84 10.12
   198   30 30 36.01 31.68 21.6 10.28 13.66 13.4
   199   31 31 33.58 35.21 22.87 11.6 12.54 13.02
   200   32 32 35.55 35.06 24.1 10.28 11.94 11.6
   201   33 33 34.7 34.09 29.25 11.52 13.44 10.06
   202   34 34 37.42 40.3 23.08 10.94 11.46 13.8
   203   35 35 39.9 35.59 28.53 10.68 13.96 11.32
   204   36 36 33.34 45.71 27.76 13.34 10.52 11.82
   205   37 37 37.83 40.84 30.77 11.68 12.2 10.64
   206   38 38 45.33 40.17 27.53 10.2 13.44 13.1
   207   39 39 42.34 44.29 28.69 11.94 12.94 13.48
   208   40 40 42.41 45.34 30.45 12.78 13.5 13.48

 
   

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