Statalist The Stata Listserver

[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: RE: RE: RE: Modeling costs using GLM estimation.

From   "Singhal, Puneet K." <>
To   "''" <>
Subject   st: RE: RE: RE: RE: Modeling costs using GLM estimation.
Date   Wed, 7 Jun 2006 15:55:29 -0400

Hi Maarten, thanks for the clarification.  Looks like it worked but need to
look more closely.  I'll let you know if any doubts.  Thanks. Puneet 

-----Original Message-----
[] On Behalf Of Maarten Buis
Sent: Wednesday, June 07, 2006 3:41 PM
Subject: st: RE: RE: RE: Modeling costs using GLM estimation.

--- Singhal, Puneet K. asked:
> You mean I need to convert my left hand side variable (costs) in log
> first before running the -glm- model? 

You stated that: "My understanding is that the coefficients on the right
side variables will be in logs." -glm- will model the log of costs as a
function of var1, var2, and var3. All this is done by -glm-, you don't need
do anything. -mfx- will automatically show the effect of the explanatory 
variables on costs in dollars, and it will automatically detect dummy
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
copy the example code I sent in my previous post in do file editor and run
to see what it does. 


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

*   For searches and help try:

Notice:  This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New Jersey, USA 08889), and/or its affiliates (which may be known outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD and in Japan, as Banyu) that may be confidential, proprietary copyrighted and/or legally privileged. It is intended solely for the use of the individual or entity named on this message.  If you are not the intended recipient, and have received this message in error, please notify us immediately by reply e-mail and then delete it from your system.
*   For searches and help try:

© Copyright 1996–2022 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index