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: 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]

*   For searches and help try:

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