Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

RE: st: back transform coefficients


From   Nick Cox <n.j.cox@durham.ac.uk>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   RE: st: back transform coefficients
Date   Fri, 18 Nov 2011 12:05:03 +0000

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 
n.j.cox@durham.ac.uk 


-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Nikolaos Pandis
Sent: 18 November 2011 11:49
To: statalist@hsphsun2.harvard.edu
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 <maartenlbuis@gmail.com>
To: statalist@hsphsun2.harvard.edu 
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?search
*   http://www.stata.com/support/statalist/faq
*   http://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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index