Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | "Ariel Linden, DrPH" <ariel.linden@gmail.com> |
To | <statalist@hsphsun2.harvard.edu> |
Subject | Re: RE: Re: st: RE: Plotting interactions |
Date | Fri, 4 Oct 2013 13:57:26 -0400 |
Amal, You'd be surprised to know that the answer to this question is found in the help file for -margins- and -marginsplot- Ariel Date: Thu, 3 Oct 2013 10:35:07 +0000 From: Amal Khanolkar <Amal.Khanolkar@ki.se> Subject: RE: Re: st: RE: Plotting interactions If I understand correctly, marginsplot can only be used for continuous variables? Or is it only the outcome of interest needs to be continuous but the covariates maybe categorical (and interactions terms specified between categorical variables)? Thanks, /Amal. ________________________________________ From: owner-statalist@hsphsun2.harvard.edu [owner-statalist@hsphsun2.harvard.edu] on behalf of Richard Williams [richardwilliams.ndu@gmail.com] Sent: 01 October 2013 17:45 To: statalist@hsphsun2.harvard.edu; statalist@hsphsun2.harvard.edu Subject: Re: Re: st: RE: Plotting interactions At 09:14 AM 10/1/2013, Ariel Linden, DrPH wrote: >Why not just use -margins- after running the regression, and then display >the estimates using -marginsplot-? Consider too Patrick Royston's new -mcp- (aka -marginscontplot-) command described in the latest issue of the Stata journal and available via -findit-. I find that it can save a few steps over - -margins-, and that it can do some things I am not sure how to do otherwise. The article came out just as i was discussing such issues in class so I quickly put together a handout with some highlights: http://www3.nd.edu/~rwilliam/xsoc73994/Margins03.pdf - ------------------------------------------- Richard Williams, Notre Dame Dept of Sociology OFFICE: (574)631-6668, (574)631-6463 HOME: (574)289-5227 EMAIL: Richard.A.Williams.5@ND.Edu WWW: http://www.nd.edu/~rwilliam * * 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/