I am completing a cost analysis using a log transformation I.E. log(cost) = treatment + var1 + var2. I am interested in testing for the marginal difference between treatments. I can easily find the marginal log(cost) for each treatment group. Three questions:
- If I exponentiate the marginal log(cost) for each treatment, is that a biased estimator of cost?
- Can I exponentiate the log(cost) for each treatment and find the difference to estimate the difference between treatments?
- If either 1 or 2 is biased, how do I use a smearing estimator?
Code:
regress log_cost i.treatment i.var1 i.var2 margins treatment
| Delta-method | ||||||
| Treatment | Margin | std. err. | t | P>t | [95% conf. | interval] |
| 0 | 11.315 | 0.01456 | 551.1 | 0 | 11.28646 | 11.34354 |
| 1 | 11.05746 | 0.03548 | 442.32 | 0 | 10.98792 | 11.127 |
| exp(0) | 82043.1 | |||||
| exp(1) | 63415.27 | |||||
| Diff | 18627.83 |

Comment