Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: back transform coefficients


From   Nikolaos Pandis <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: back transform coefficients
Date   Fri, 18 Nov 2011 04:35:28 -0800 (PST)

Nick,
 
many thanks. It is all clear.
 
BW,
 
Nick


----- Original Message -----
From: Nick Cox <[email protected]>
To: "'[email protected]'" <[email protected]>
Cc: 
Sent: Friday, November 18, 2011 2:05 PM
Subject: RE: st: back transform coefficients

No, no. 

There is no question of an extra back-transformation getting the coefficients on the original scale. The coefficients produced by -glm- are on the original scale. 

Much of the point of GLMs is that the coefficients have dimensions and units as you would expect; the "transformation" of the response is done by fitting on the scale given by the link function and then, without extra prompting, "undone" by doing the calculations needed to produce predictions, etc., on the original scale. 

GLMs are not a different way of doing transformations of the response. They are a way to avoid transformation of the response but to do what a transformation would do for you, and thereby to have it both ways, unlikely though that may seem. 

A better explanation would be tailored to what you are familiar with already, which I don't know. But you may already use e.g. logit models in which you don't follow model fitting with back-transforming the coefficients. 

Otherwise put, back-transforming is _only_ an awkwardness made necessary by transforming; if you don't transform, you don't need to back-transform. 

Nick 
[email protected] 


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Nikolaos Pandis
Sent: 18 November 2011 11:49
To: [email protected]
Subject: Re: st: back transform coefficients


Dear Maarten,
 
Great, many thanks for the help.
I assume from your posting that after I run the command I need to follow an extra step in order to get the coeffs in the origninal scale.
Would you be able to be more specific on how to accomplish this.
 
Many thanks,
 
Nick


________________________________
From: Maarten Buis <[email protected]>
To: [email protected] 
Sent: Friday, November 18, 2011 11:52 AM
Subject: Re: st: back transform coefficients

On Fri, Nov 18, 2011 at 10:05 AM, Nikolaos Pandis wrote:
> I am running linear regression with 3 continous and 1 2-level categorical independent variables.
> The continuous outcome is normally distributed when transformed into sqrt(dep_var).
> I was wondering how I would be able to back transform the produced coefficients and CIs for interpretation.

I would not use -regress- to estimate such model, but -glm- with the
-link(power .5)- option. That way you are modeling the square root
transformed mean of your dependent variable rather than the mean of
your square root transformed dependent variable. This makes the
backtransform much easier, just use -predict-, -margins-, etc.

Hope this helps,
Maarten

--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany


http://www.maartenbuis.nl
--------------------------

*
*  For searches and help try:
*  http://www.stata.com/help.cgi?searchhttp://www.stata.com/support/statalist/faqhttp://www.ats.ucla.edu/stat/stata/

*
*  For searches and help try:
*  http://www.stata.com/help.cgi?searchhttp://www.stata.com/support/statalist/faqhttp://www.ats.ucla.edu/stat/stata/

*
*  For searches and help try:
*  http://www.stata.com/help.cgi?searchhttp://www.stata.com/support/statalist/faqhttp://www.ats.ucla.edu/stat/stata/


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index