Announcement

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

  • metan forestplot not showing subgroup analysis

    For a study comparing gender differences in mental health outcomes across different countries, I have run a meta-analysis using the belowmentioned code

    Code:
    metan IRR_GHQ_gender LCI_GHQ_gender UCI_GHQ_gender , eform effect (IRR) xlab(1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 ) random label(namevar=Country) texts (90)
    Now I want to rub some subgroup analyses by comparing low and middle income countries to high income countries so I am using the code below, however I do not get a forest plot split by "Income". Instead I get the forestplot below
    Code:
    metan IRR_GHQ_gender LCI_GHQ_gender UCI_GHQ_gender , eform effect (IRR) by ( Income) xlab(1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 ) random label(namevar=Country) texts (90)
    Click image for larger version

Name:	Graph.jpg
Views:	1
Size:	27.7 KB
ID:	1691090


    I have tried using both an integer as a string variable to split countries, but neither does result in a split forestplot.

    A preview of my data:
    Code:
    input str16 PaĆ­s float(IRR_GHQ_gender LCI_GHQ_gender UCI_GHQ_gender) byte Income
    I am pretty sure I am missing something straightforward but I cannot find the source of the problem. I would appreciate any advice!

  • #2
    Hi Marzena,
    If you still need help with this, could you please re-post with the complete listing of your data? Currently all I can see are the headings (variable labels).
    Many thanks,
    David.



    Comment

    Working...
    X