Announcement

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

  • How to drop variables from a coefplot subgraphs

    Hi everyone,
    I'm trying to drop some variables from my coefplot subgraphs, aimed at representing adjusted OR from a multilevel mixed-effects logistic regression.
    The main variable I would like to remove is a categorical variable (i.cc).

    My regression models are:

    melogit outcomeA i.cc i.var1 i.var2 c.var3..., or || id_facility:
    estimates store A

    melogit outcomeB i.cc i.var1 i.var2 c.var3..., or || id_facility:
    estimates store B

    Here is the command for my subgraphs:
    coefplot A, bylabel(Model 1a) || B, bylabel(Model 1b) ||, drop(*:var(_cons[id_facility]) _cons i.cc) xline(1, lcolor(red) lwidth(thin) lpattern(dash)) eform graphregion(fcolor(white))

    This command doesn't remove the i.cc variable from my graph... Could someone help me?
    I've tried so many things, but I can't get out of this problem.

    Thank you very much in advance!


  • #2
    try *cc

    Comment


    • #3
      Thank you very much, it worked!

      Comment

      Working...
      X