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]

st: Marginsplot on backtransformed data


From   Daniel Herbert Opi <opi.herbert@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Marginsplot on backtransformed data
Date   Thu, 19 Dec 2013 17:58:28 +1100

Hi All,

I am using the marginsplot function to plot graphs that take into
account adjustments I have carried out following a regression
analysis. Since my regression analysis contains data that has been
normalised by square root transformation, the plots are not that
easily interpretable. Is there a way to plot the same graphs but
somehow tell Stata/marginsplot to use back-transformed results? And
does the margins function store predictions that can be accessed?

I am using Stata 13 and the following are examples of commands I am using:

regress squareroot_transformed_variable i.categorical1 i.categorical2

margins categorical1

marginsplot

Kind Regards
Herbert
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


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