Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Individual Coefplot after logistic regression

    I am running a logistic regression model and want to create one plot although my regression is univariate. I know the coefplot command creates an odds plot after a multivariate regression but I only need the plot for univariate analysis.

    logistic outcome i.var1
    logistic outcome i.var2
    logistic outcome i.var3
    logistic outcome i.var4
    logistic outcome i.var5

    coefplot, drop(_cons) xline(1) eform xtitle(Odds ratio)

  • #2
    coefplot is from SSC, as you are asked to explain in FAQ Advice #12. You could use a command that combines estimates from different regressions, e.g., suest. See

    Code:
    help suest
    Or append the r(table) matrices from the regressions and plot.

    Comment


    • #3
      Hi Andrew, this worked perfectly, thank you.

      Comment

      Working...
      X