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: Margins command
From
Richard Williams <[email protected]>
To
[email protected]
Subject
Re: st: Margins command
Date
Fri, 14 Jan 2011 00:43:50 -0500
At 12:29 AM 1/14/2011, Robin Jeffries wrote:
If I run a regression on a subset, for example
xtlogit outcome var1 var2 if level==0
and then ask for margins
margins var1, at var2=1 predict(pu0)
Will the predictions be for everyone? Or for those with level==0 only?
margins are run for the estimation sample. See the -noesample-
option of margins if you wish to change that.
-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
HOME: (574)289-5227
EMAIL: [email protected]
WWW: http://www.nd.edu/~rwilliam
*
* 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/