Announcement

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

  • How build Forestplot graph based on OR and 95% CI data extracted from a table?

    Hello everybody.
    I would like to build a Forest Plot graph that includes all this information from the table below. I am unable to build the commands to include this information in the chart. I've tried to make other posts here, but I haven't been successful. Can someone help me?
    Model 1 Model 2
    Dietary patterns Type of controls Group Cases/Controls OR (95% CI) Cases/Controls OR (95% CI)
    UDP I 1 107/72 1 23/66 1
    2 120/86 1.06 (0.66–1.71) 40/74 1.76 (0.84–3.67)
    3 163/110 1.26 (0.79–2.02) 57/99 2.44 (1.19–5.03)
    4 210/109 1.70 (1.01–2.85) 80/95 3.96 (1.75–8.96)
    p-value for trend 0.04 < 0.001
    HDP I 1 213/91 1 23/78 1
    2 118/103 0.62 (0.41–0.96) 35/91 0.90 (0.44–1.87)
    3 150/78 0.99 (0.63–1.57) 63/71 1.38 (0.67–2.82)
    4 119/105 0.70 (0.42–1.16) 79/94 1.10 (0.53–2.26)
    p-value for trend 0.26 0.67
    UDP II 1 107/216 1
    2 120/202 1.36 (0.92–2.02)
    3 163/177 1.78 (1.20–2.65)
    4 210/179 2.17 (1.39–3.39)
    p-value for trend < 0.001
    HDP II 1 213/197 1
    2 118/185 0.59 (0.40–0.86)
    3 150/209 0.51 (0.34–0.76)
    4 119/183 0.50 (0.32–0.78)
    p-value test for trend < 0.001

    I would like to set up the graph like this example:
    Last edited by ALEX SILVA; 11 May 2024, 10:41.

  • #2
    I would like to set up the graph like this example:

    Comment


    • #3
      David Fisher can you help me? LoL

      Comment

      Working...
      X