Bookmark and Share

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

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

Re: st: mlabel on marginsplot?

From   "Roger B. Newson" <>
Subject   Re: st: mlabel on marginsplot?
Date   Wed, 17 Oct 2012 16:26:50 +0100

I would be very surprised if this kind of thing couldn't be done using -parmest- followed by -eclplot-, possibly with a bit of help from -descsave-, depending on what exactly what you want to do and how you want to derive the marker labels. To use -parmest- after -margins-, I usually use the options

bmatrix(r(b)) vmatrix(r(V))

to access the estimates from -margins- instead of from the estimation command, and to be able to extract other e() results using the -escal()- and -emacro()- options. The -parnest-, -descsave- and -eclplot- packages can all be downloaded from SSC.

Best wishes


Roger B Newson BSc MSc DPhil
Lecturer in Medical Statistics
Respiratory Epidemiology and Public Health Group
National Heart and Lung Institute
Imperial College London
Royal Brompton Campus
Room 33, Emmanuel Kaye Building
1B Manresa Road
London SW3 6LR
Tel: +44 (0)20 7352 8121 ext 3381
Fax: +44 (0)20 7351 8322
Web page:
Departmental Web page:

Opinions expressed are those of the author, not of the institution.

On 17/10/2012 15:55, Ariel Linden, DrPH wrote:
Hi Fellow Listers,

Does anyone know if there is a way to get marker labels on observations on a
marginsplot? The mlabel () option did not seem to work, but I am not sure if
my syntax was the reason or if marginsplot just does not allow marker



*   For searches and help try:

*   For searches and help try:

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