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: mlabel on marginsplot?


From   "Roger B. Newson" <[email protected]>
To   [email protected]
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

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
UNITED KINGDOM
Tel: +44 (0)20 7352 8121 ext 3381
Fax: +44 (0)20 7351 8322
Email: [email protected]
Web page: http://www.imperial.ac.uk/nhli/r.newson/
Departmental Web page:
http://www1.imperial.ac.uk/medicine/about/divisions/nhli/respiration/popgenetics/reph/

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
labels?

Thanks!

Ariel



*
*   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/

*
*   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