--- Singhal, Puneet K. asked:
> You mean I need to convert my left hand side variable (costs) in log dollars
> first before running the -glm- model?
Puneet:
You stated that: "My understanding is that the coefficients on the right hand
side variables will be in logs." -glm- will model the log of costs as a linear
function of var1, var2, and var3. All this is done by -glm-, you don't need to
do anything. -mfx- will automatically show the effect of the explanatory
variables on costs in dollars, and it will automatically detect dummy variables
and show the discrete change. So literally all you need to do is issue your
-glm- command on the untransformed cost variable and than type -mfx-. You can
copy the example code I sent in my previous post in do file editor and run it
to see what it does.
HTH,
Maarten
-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands
visiting adress:
Buitenveldertselaan 3 (Metropolitan), room Z214
+31 20 5986715
http://home.fsw.vu.nl/m.buis/
-----------------------------------------
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/