<>
logit foreign price trunk mpg weight
margeff compute, at(mean mpg=20 trunk=10)
works fine. Admittedly the help file suggests you can omit the word
'mean', but as that is the stated default, it doesn't hurt to use it.
which margeff
*! Obtain partial effects after estimation
*! Version 2.1.8 (20 April 2008) (Revision of Stata Journal
submission)
*! Author: Tamas Bartus (Corvinus University, Budapest)
Kit Baum | Boston College Economics & DIW Berlin | http://ideas.repec.org/e/pba1.html
An Introduction to Stata Programming
| http://www.stata-press.com/books/isp.html
An Introduction to Modern Econometrics Using Stata | http://www.stata-press.com/books/imeus.html
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/