Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Marginal effects and -parmest-


From   Roger Newson <[email protected]>
To   [email protected]
Subject   Re: st: Marginal effects and -parmest-
Date   Mon, 17 Oct 2005 17:19:32 +0100

At 16:45 17/10/2005, Friedrich Huebler wrote:
Can -parmest- create a dataset with marginal effects and associated
standard errors, etc.? If this is not possible what other package
could I use for this purpose?
I presume that Friedrich is planning to use -mfx- to estimate marginal effects and elasticities. If you use -parmest- after using -mfx- after using an estimation command, then -parmest- will create a resultsset containing the original model parameters, not the marginal effects and/or elasticities. To create a resultsset with 1 observation for each marginal effect or elasticity, I think Friedrich's best strategy is to use -svmat- to convert the e() matrices returned by -mfx- into variables containing the estimates and standard errors, and then to use -parmcip- (which is part of the SSC package -metaparm-) to add variables containing the confidence limits and P-values.

I hope this helps.

Best wishes

Roger



--
Roger Newson
Lecturer in Medical Statistics
Department of Public Health Sciences
Division of Asthma, Allergy and Lung Biology
King's College London

5th Floor, Capital House
42 Weston Street
London SE1 3QD
United Kingdom

Tel: 020 7848 6648 International +44 20 7848 6648
Fax: 020 7848 6620 International +44 20 7848 6620
or 020 7848 6605 International +44 20 7848 6605
Email: [email protected]
Website: http://phs.kcl.ac.uk/rogernewson/

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

*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index