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]

st: margins

From   "Fitzmaurice, Ann E." <>
To   "" <>
Subject   st: margins
Date   Tue, 10 May 2011 22:24:54 +0100


Am trying to use margins in the following model

Logistic preterm i.bir_grp*i.age_gr2a  other categorical variables

Bir_grp has 4 levels, and age_gp2a has 5 levels

I get an error message "factor bir_grp not found in e(b)"

Question , have I mis-specified the model  and how can I get margins to give me the table



Ann E Fitzmaurice
Medical Statistician
Immpact University of Aberdeen
Health Sciences Building
Aberdeen, AB25 2ZD
Tel: +44 (0)1224 553876
 Fax: +44 (0)1224 555704

The University of Aberdeen is a charity registered in Scotland, No SC013683.

*   For searches and help try:

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