32 Greene • Econometric Analysis, Seventh Edition
?=======================================================================
? Chapter 4 Application 2
?=======================================================================
Create ; lc = log(cost/pf) ; lpl=log(pl/pf) ; lpk=log(pk/pf)$
? a. Cost function
Regress; lhs = lc ; rhs = x ; printvc $
+—————————————————-+
| Ordinary least squares regression |
| LHS=LC Mean = -.3195570 |
+—————————————————-+
+——–+————–+—————-+——–+——–+———-+
|Variable| Coefficient | Standard Error |t-ratio |P[|T|>t]| Mean of X|
+——–+————–+—————-+——–+——–+———-+
Constant| -6.81816332 .25243920 -27.009 .0000
1 2 3 4 5
+———————————————————————-
1| .06373 -.00238 .00031 .00399 -.01047
?=======================================================================
? b. Capital price coefficient
?=======================================================================
Wald ; fn1 = 1 – b_lpk – b_lpl $
+———————————————–+
| WALD procedure. Estimates and standard errors |
| for nonlinear functions and joint test of |
| nonlinear restrictions. |
+———————————————–+
+——–+————–+—————-+——–+——–+
|Variable| Coefficient | Standard Error |b/St.Er.|P[|Z|>z]|