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.0003720-0.929
lnL0.34991102613.997
lnK0.40039902724.43
lnM0.24990302086.106
lnLlnL-0.0201610-863.917
lnKlnK-0.0211040-808.327
lnMlnM-0.0171040-785.916
lnLlnK0.0241410621.019
lnLlnM0.016250484.222
lnKlnM0.0179490460.936
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 15.21 19.14 10.18 8.26 7.2 9.46
   2   16 16 18.01 18 11.4 7.52 8.6 9.2
   3   17 17 20.01 16.14 14.79 6.32 9.3 6.44
   4   18 18 17.83 19.94 15.54 8.24 8.26 6.92
   5   19 19 22.47 19.93 14.08 7.16 9.42 8.86
   6   20 20 24.13 20.69 14.75 6.12 8.38 7.8
   7   21 21 26.16 20.66 16.05 6.02 9.08 7.64
   8   22 22 26.69 22.52 16.37 6.16 8.6 7.82
   9   23 23 20.22 33.89 15.38 9.8 6.1 9.66
   10   24 24 25.37 27.26 18.28 8.8 9.24 9.24
   11   25 25 23.61 33.19 17.61 9.64 7.38 9.72
   12   26 26 25.49 32.76 18.78 9.64 8.2 9.86
   13   27 27 29.31 26.37 25.03 7.14 9.24 6.14
   14   28 28 30.76 31.14 20.93 7.1 8 7.98
   15   29 29 34.15 30.71 21.31 7.46 9.66 9.28
   16   30 30 28.64 36.55 23.6 8.72 7.48 7.82
   17   31 31 30.13 40.97 21.16 9.22 7.34 9.98
   18   32 32 37.37 29.43 29.58 6.38 9.66 6
   19   33 33 41.48 32.59 24.78 6.14 9.32 8.04
   20   34 34 28.78 42.81 30.06 9.52 6.82 6.46
   21   35 35 39.58 36.92 27.27 6.74 8.36 7.46
   22   36 36 35.6 40.04 30.96 8.22 8.18 6.92
   23   37 37 30.55 49.05 31.38 9.62 6.3 6.66
   24   38 38 34.99 42.89 35.26 8.56 7.7 6.06
   25   39 39 35.79 43.47 37.08 9.46 8.6 6.48
   26   40 40 43.43 43.02 31.93 7.7 8.9 7.9
   27   15 15 18.65 12.94 14.14 7.32 12.86 7.24
   28   16 16 20.78 14.07 13.8 6.8 12.3 7.86
   29   17 17 21.35 14.52 16.07 7.86 14.14 7.84
   30   18 18 23.66 15.76 15.39 6.72 12.38 7.96
   31   19 19 27.04 13.43 20.88 5 13.02 4.84
   32   20 20 29.11 15.43 18.41 5.96 14.38 7.3
   33   21 21 22.53 17.52 25.66 8.94 13.74 5.48
   34   22 22 23.39 20.07 23.43 8.64 11.82 6.16
   35   23 23 25.31 17.98 30.34 8.04 13.74 4.64
   36   24 24 27.58 20.14 26.34 7 11.58 5.28
   37   25 25 34.62 18.69 25.87 6.34 14.96 6.38
   38   26 26 30.92 21.17 28.64 6.32 11.28 4.94
   39   27 27 34.13 22.48 26.37 8.02 14.98 7.76
   40   28 28 31.29 22.42 34.63 7.32 12.38 4.64
   41   29 29 32.24 22.27 38.89 8.38 14.8 4.8
   42   30 30 30.76 26.94 34.53 8.34 11.14 5.2
   43   31 31 35.66 27.93 30.24 8.44 12.86 7.32
   44   32 32 33.04 26.39 42.18 8.92 13.28 4.78
   45   33 32.99 33.99 25.45 49.12 8.68 13.94 4.02
   46   34 34 39.74 31.45 31.11 8.04 12.1 7.66
   47   35 35 48.95 26.57 34.84 5.8 13.6 6.18
   48   36 36 53.13 28.16 31.82 5.82 14.04 7.6
   49   37 37 48.21 32.77 31.43 6.4 11.52 7.56
   50   38 38 52.22 30.4 35.49 6.38 13.78 7.18
   51   39 39 47.05 34.18 37.29 8.52 14.18 8
   52   40 40 41.57 34.55 48.21 8.8 12.5 5.28
   53   15 15 18.46 20.18 7.43 6.16 6.34 12.84
   54   16 16 17.57 24.11 7.82 6.78 5.34 12.54
   55   17 17 17.08 26.27 8.97 7.26 5 11.06
   56   18 18 26.31 21.87 8.37 4.28 6.08 11.76
   57   19 19 22.31 27.49 9.04 7.14 6.38 14.76
   58   20 20 21.39 27.19 11.6 7.66 6.6 11.24
   59   21 21 25.45 26.93 11.31 6.92 7.4 12.84
   60   22 22 23.59 33.96 10.73 7.52 5.6 13.58
   61   23 23 27.1 31.64 11.65 7.6 7.24 14.66
   62   24 24 31.6 27.95 13.37 6.36 8.4 12.5
   63   25 25 36.92 29.76 11.81 4.1 6.04 11.2
   64   26 26 41.01 29.47 12.18 4.9 8.26 14.6
   65   27 27 32.03 35.97 14.17 6.64 6.62 12.38
   66   28 28 39.9 32.58 14.22 5.28 7.66 12.7
   67   29 29 40.25 33.96 15.05 5 6.98 11.36
   68   30 30 39.13 37.88 15.11 6.4 7.6 14
   69   31 31 39.99 37.18 16.98 6.44 8.02 12.6
   70   32 32 40.62 40.97 16.33 6.24 7.06 13.02
   71   33 33.01 51.66 42.42 13.18 4.08 5.88 14.54
   72   34 34 57.79 36.61 15.72 4.46 8.72 14.74
   73   35 35 42.99 47.12 17.37 6.96 7.14 14.44
   74   36 36 35.62 55.38 19.48 8 5.44 11.62
   75   37 37.01 52.95 50 15.3 4.4 5.38 13.54
   76   38 38 47.22 51.18 18.58 6.58 6.84 14.08
   77   39 38.99 69.66 40.04 18.23 4.06 8.9 14.04
   78   40 40 47.69 53.29 20.86 7.06 7.08 13.34
   79   15 15 11.4 20.64 13.54 11.96 6.8 6.98
   80   16 16 10.19 30.63 11.67 13.86 4.34 8.44
   81   17 17 11.78 24.28 16.62 13.64 6.66 6.5
   82   18 18 11.96 25.18 19.36 13.62 6.48 5.52
   83   19 19 16.23 25.79 14.85 11.2 7.42 8.88
   84   20 20 15.67 27.74 17.09 11.38 6.64 7.34
   85   21 21 15.85 31.36 17 13.32 6.82 8.76
   86   22 22 16.25 29.88 21.11 12.04 6.72 6.32
   87   23 23 17.98 26.84 25.68 11.16 7.96 5.24
   88   24 24 17.5 31.62 24.6 13.34 7.6 6.38
   89   25 25 15.52 47.11 19.33 14.28 4.42 7.88
   90   26 26 16.71 39.8 25.68 14.58 6 6.28
   91   27 27 21.75 35.4 24.1 12.42 8 7.86
   92   28 28 18.26 48.46 22.67 13.9 5.04 7.7
   93   29 29 22.76 38.41 26.46 11.4 7.04 6.82
   94   30 30 21.4 39.11 32.28 14.12 7.94 6.22
   95   31 31 22.63 43.45 28.88 14.06 7.46 7.54
   96   32 32 19.4 58.39 26.79 13.18 4.12 6.44
   97   33 33 21.81 51.89 30.04 13.1 5.4 6.42
   98   34 34 24.61 48.6 31.15 13.52 6.94 7.32
   99   35 35 24.99 60.29 25.07 12.48 5.06 8.88
   100   36 36 19.66 65.45 35.5 14.48 4.02 5.16
   101   37 37 27.49 46.07 40.22 12.4 7.72 5.66
   102   38 38 27 49.71 40.91 13.24 7.38 5.8
   103   39 39 26.18 59.42 36.34 12.44 5.42 6.04
   104   40 40 25.46 69.32 33.51 14.16 4.98 7.32
   105   15 15 17.98 13.93 13.18 10.86 16.76 11.18
   106   16 16 18.96 14.71 14.51 9.46 14.58 9.26
   107   17 17 21.92 14.32 15.87 8.94 16.86 9.34
   108   18 18 22.49 16.37 15.48 9.96 16.54 11.04
   109   19 19 21.23 19.66 15.48 11 13.76 11.4
   110   20 20 28.76 18.02 14.59 8.14 16.12 12.92
   111   21 21 23.29 21.01 18.21 10.4 13.42 9.92
   112   22 22 26.11 20.8 19.04 9.62 14.36 9.96
   113   23 23 29.75 22.3 17.13 9.1 14.6 12.44
   114   24 24 29.7 22.94 19.33 8.82 13.66 10.44
   115   25 25 28.79 23.91 22.13 10.48 14.9 10.2
   116   26 26 31.49 26.88 19.1 9.92 13.66 12.76
   117   27 27 34.83 25.17 21.43 9.66 16.18 12.22
   118   28 28 37.99 24.82 22.55 8.4 15.84 11.08
   119   29 29 35.44 28.81 22.38 10.52 15.34 12.9
   120   30 30 34.72 32.05 22.25 10.4 13.06 12.54
   121   31 31 37.31 30.32 24.99 10.38 15.14 11.88
   122   32 32 38.29 28.84 29.58 10.58 16.88 10.24
   123   33 33 41.53 31.15 26.53 8.76 14.04 10.6
   124   34 34 42.81 33.09 26.05 9.46 14.64 12.12
   125   35 35 42.5 34.85 27.13 9.38 13.54 11.36
   126   36 36 41.8 35.18 30.46 10.96 15.34 11.36
   127   37 37 43.38 33.51 34.87 10.98 17 10.14
   128   38 38 48.14 36.25 29.8 10 15.96 12.56
   129   39 39 50.15 35.1 32.85 8.8 15.3 10.34
   130   40 40 54.23 35.11 32.75 7.24 13.8 9.36
   131   15 15 13.57 22.53 9.4 12.36 7.78 13.6
   132   16 16 17.16 21.12 9.63 11.26 10.08 15.86
   133   17 17 18.9 23.48 9.2 9.96 8.82 16.6
   134   18 18 19.11 23.3 11.29 10.1 9.14 13.4
   135   19 19 19.21 27.17 11.03 9.84 7.48 13.5
   136   20 20 22.05 26.44 11.6 9.1 8.4 13.84
   137   21 21 21.36 27.63 13.59 12.96 10.94 15.76
   138   22 22 21.96 30.46 13.58 10.34 8.04 13
   139   23 23 24.51 29.4 14.6 11.1 10.24 14.58
   140   24 24 23.96 31.45 16.01 11.52 9.56 13.22
   141   25 25 26.02 32.68 15.85 12.38 10.82 15.84
   142   26 26 27.8 33.75 16.08 11.5 10.46 15.64
   143   27 27 25.3 41.38 15.73 12.36 7.92 15.44
   144   28 28 29.75 36.98 17.04 11.98 10.6 16.48
   145   29 29 26.48 45.26 17.06 12.2 7.42 14.62
   146   30 30 31.23 40.58 18.13 11.74 9.86 15.9
   147   31 31 33.04 37.53 21.26 11.02 10.84 13.22
   148   32 32 32.35 42.47 20.62 11.26 9.34 13.66
   149   33 33 33.64 44.6 20.5 10.46 8.58 13.38
   150   34 34 33.36 50.78 19.35 12.02 8.38 16.3
   151   35 35 32.82 54.1 20.15 12.98 8.24 16.46
   152   36 36 38.4 45.8 22.98 10.7 9.94 13.98
   153   37 37 38.44 48.86 23.18 12.46 10.74 16.14
   154   38 38 37 54.12 23.3 11.36 8.3 13.98
   155   39 39 41.91 49.77 24.56 11.14 10.4 14.92
   156   40 40 44.28 54.49 22.16 9.56 8.56 15.42
   157   15 15 12.67 17.21 15.34 14.58 11.62 8.32
   158   16 16 13.89 18.02 16.2 13.36 11.24 7.96
   159   17 17 14.1 18.83 18.87 15.66 12.74 7.94
   160   18 18 14.03 23.03 17.49 16.12 10.28 8.88
   161   19 19 15.13 23.21 19.2 14.3 9.88 7.72
   162   20 20 17.4 26.63 15.67 13.54 9.38 10.94
   163   21 21 17.81 25.47 19.61 16.18 12.14 10.32
   164   22 22 16.89 28.91 20.98 15.18 9.22 8.4
   165   23 23 17.82 28.83 23.26 16.86 10.94 8.8
   166   24 24 18.35 32.53 21.97 16.2 9.44 9.36
   167   25 25 17.87 32.39 27.07 16.52 9.38 7.24
   168   26 26 21.96 27.98 29.45 13.96 12 7.06
   169   27 27 21.72 31.86 28.39 15.08 10.98 7.86
   170   28 28 22.67 38.22 23.38 15.82 9.78 10.9
   171   29 29 25.39 31.47 30.76 13.72 12.18 7.82
   172   30 30 22.44 38.05 31.37 15.7 9.64 7.56
   173   31 31 27.49 36.58 28.33 15.38 12.56 10.6
   174   32 32 24.75 40.84 31.56 15.02 9.52 8.06
   175   33 33 26.81 42.91 29.46 16.8 11.04 10.74
   176   34 34 31.45 38.09 31.71 13.26 12.1 9.38
   177   35 35 26.38 46.45 33.77 15.46 9.08 8.26
   178   36 36 27.26 44.86 38.01 14.78 9.4 7.14
   179   37 37 32.1 41.21 38.16 14.72 12.54 8.58
   180   38 38 34.69 46.44 31.63 13.64 11.06 10.86
   181   39 39 35.33 45.24 35.5 14.56 12.44 10.34
   182   40 40 31.56 46.41 44.43 14.82 10.76 7.08
   183   15 15 14.13 18.67 11.64 13.06 10.76 11.72
   184   16 16 15.91 18.88 12.49 11.6 10.84 11.02
   185   17 17 18.26 18.53 13.49 10.06 11.3 10.26
   186   18 18 16.8 23.61 13.1 14 10.72 13.4
   187   19 19 19.65 20.02 16.7 12 13.42 10.38
   188   20 20 20.08 22.35 16.73 13.12 13.22 11.62
   189   21 21 22.71 23.29 16.09 12.06 13.38 12.92
   190   22 22 21.86 27.5 15.79 12.7 11.08 13.3
   191   23 23 23.53 25.85 18.59 12.9 13.2 12.16
   192   24 24 27.31 26.31 17.5 10.3 12.3 12.42
   193   25 25 24.82 31.6 17.68 13.04 11.22 13.88
   194   26 26 26.47 30.91 19.45 13 12.38 13.34
   195   27 27 29.55 29.88 20.43 11.06 12.48 12.2
   196   28 28 29.79 30.76 22.24 10.94 12.04 11.02
   197   29 29 29.8 32.49 23.41 12.9 13.32 12.24
   198   30 30 30.17 32.94 25.72 13.02 13.42 11.22
   199   31 31 34.6 33.52 23.66 11.28 13.38 12.6
   200   32 32 32.89 38.62 23.13 12.62 11.94 13.64
   201   33 33 38.35 34.09 25.61 10.1 13.26 11.6
   202   34 34 36.65 39.61 24.31 10.64 11.1 12.32
   203   35 35 34.72 41.39 27.33 12.76 11.86 12.08
   204   36 36 40.45 41.06 25.18 10.74 12.06 13.4
   205   37 37 42.35 40.24 27.09 11.14 13.52 13.46
   206   38 38 42.11 42.85 27.51 10.52 11.78 12.4
   207   39 39 40.14 47.07 28.14 11.08 10.5 12.02
   208   40 40 43.77 41.87 32.93 11.26 13.56 11.24

 
   

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