Statalist The Stata Listserver

[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: aflogit and xi:

From   "Christy McKinney" <>
To   <>
Subject   st: aflogit and xi:
Date   Tue, 25 Jul 2006 11:43:14 -0400

I'm having a problem with aflogit. I'm using Stata 9.2. 

I can't get aflogit to work when using xi: option. It either can't find the
variable or says I'm using invalid syntax. I've looked at and tried to
carefully apply the example code provided with the help file for aflogit and
am still stuck. I've provided my attempted code below. Any suggestions would
be greatly appreciated!

My problematic code:

. quietly: xi: logit case i.bwt4 i.biryr5
. aflogit Ibwt4*, cc

variable Ibwt4* not found

. aflogit _Ibwt4*, cc

Population attributable fraction from logistic regression
Case-control data (n=16516)

No weights assumed

Term      Ref.     A.F.        s.e.      [95% Conf. Int.]*
invalid syntax

Christy McKinney, MPH
PhD Candidate
Department of Epidemiology
University of Washington

*   For searches and help try:

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