Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: Adjusted Prevalence from Logistic models
A simple question. If I run a logistic model:
logistic BB age sex rural
I get the OR for the effect of rural (which is a flag for rural=0 or urban=1 dwelling) on the use of beta blockers (medication used to treat cardiovascular disease).
A reviewer has asked for us to present the adjusted prevalence for the use of BB by rural and urban status. I am not to sure how to do this.
I assume I could use the 'margin' command.
So would it be as simple as
margins rural, atmeans
(Although I realize I could do it as specific levels of sex and age as well)